I have configured the Frappe S3 Attachment v0.0.1 (HEAD) app on the site rushabh-test.frappe.cloud with all the required details, but I am facing some issues:
While uploading a file, it doesn’t get uploaded as public unless we explicitly select the private option. Even after setting default to all public, it doesn’t work.
The app provides an option to migrate existing files to S3, but when I click it, I get a failed error.
If the configuration was incorrect, then when adding a file through the UI with private selected, it should not go to S3 — but it does. How is this possible?
Similarly, when a file is created from the backend, it is correctly stored in S3.
So, why are the existing files not migrating, and why is the public option not working? Could you please check and let us know what might be missing or wrong in the setup?
I have also attached the respective screenshots for your reference.
Your best bet would be to reach out to the owners of this app on GitHub. They may or may not be watching posts here. The repo hasn’t seen much activity over the past several years, so it may be significantly outdated.
It looks like ACLs is disabled in the Object Ownership. If yes then you can’t upload the public files. You’ll have to update the Object Ownership settings for this.
If you don’t want to update the Ownership settings, then you have to remove the following line from the code. you can take the fork and remove this line.