docs: add troubleshooting to medusa-file-s3 plugin (#1952)

* docs: add troubleshooting to medusa-file-s3 plugin

Closes #1943 

This updates the documentation to add some troubleshooting to the medusa-file-s3 plugin documentation.

The fix has been show to work with 2 installations so far - context is here: https://discord.com/channels/876835651130097704/877195433649258536/1003273089284571156

* Update docs/content/add-plugins/s3.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Update docs/content/add-plugins/s3.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
Richard Ward
2022-08-01 14:07:40 +02:00
committed by GitHub
parent ee58c588f1
commit db842b7da9

View File

@@ -93,3 +93,17 @@ If you have multiple storage plugins configured, the last plugin declared in the
### Try it out
Finally, run your Medusa server alongside our admin system to try out your new file service. Upon editing or creating products, you can now upload thumbnails and images, that are stored in an AWS S3 bucket.
### Troubleshoot Errors
#### The bucket does not allow ACLs
If the backend file upload fails with this message then you need to enable ACLs on your S3 bucket.
To do this,
- Go to the `Bucket -> Permissions` tab
- Scroll to `Object Ownership` and click `edit`
- Select `ACLs enabled` and `Bucket owner preferred`
- Click the `Save Changes`
File uploads should now work.