Actually, just coming back to this point, emphasis added.Testing this out on XF2.1 RC1 and it throws a 500 error when adding the config. Values exactly the same in config.php as they are in XF2.0 (and using the 2.1 version of the addon).
\XFAws\Composer::autoloadNamespaces(\XF::app());
in your config.php? If so, note that those are in the 2.0.x only section of the description -- you don't do that for 2.1. You really just need the fsAdapters
override (after the add-on is installed).The error code is saying "Access Denied" check AWS S3 permissionsView attachment 195527
i have this problem when upload image
Just to answer to myself, no. The internal-data/ directory should not be public in your bucket/space.I moved my /data directory with the --acl-public flag and it works fine. Should I do the same with internal_data/ or can I upload it without the --acl-public flag (i.e. private)?
Is it possible to run this addon only for future files? Will the files left on the server still work or is it compulsory to move them all to S3 storage?If you're setting this up on an existing site, you will need to manually move your existing files over.
We use essential cookies to make this site work, and optional cookies to enhance your experience.