From db842b7da9f50f24ed5d1e3d657a6a5fb4776e71 Mon Sep 17 00:00:00 2001 From: Richard Ward Date: Mon, 1 Aug 2022 14:07:40 +0200 Subject: [PATCH] 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 * Update docs/content/add-plugins/s3.md Co-authored-by: Shahed Nasser --- docs/content/add-plugins/s3.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/content/add-plugins/s3.md b/docs/content/add-plugins/s3.md index 3b02fa6705..2d0a0dbf09 100644 --- a/docs/content/add-plugins/s3.md +++ b/docs/content/add-plugins/s3.md @@ -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.