Resolving S3 Storage Configuration Issues in Chatwoot

TLDR ankwad faced an issue with S3 storage configuration in Chatwoot. v_shnu provided resources and advice, suggesting there may be permission issues with the IAM user.

Photo of ankwad
ankwad
Thu, 15 Sep 2022 16:58:21 UTC

Anyone here can help me with S3 storage configuration..

Photo of v_shnu
v_shnu
Thu, 15 Sep 2022 17:43:35 UTC

https://www.chatwoot.com/docs/self-hosted/deployment/storage/supported-providers/#using-amazon-s3

Photo of v_shnu
v_shnu
Thu, 15 Sep 2022 17:43:41 UTC

https://www.chatwoot.com/docs/self-hosted/deployment/storage/supported-providers/#using-amazon-s3

Photo of v_shnu
v_shnu
Thu, 15 Sep 2022 17:44:15 UTC

Create an s3 bucket and IAM user with access to that bucket. Configure the necessary env variables in Chatwoot. You are good to go.

Photo of ankwad
ankwad
Thu, 15 Sep 2022 17:45:24 UTC

I have done that.. in the log it says access denied

Photo of ankwad
ankwad
Thu, 15 Sep 2022 17:45:36 UTC

is there a way to know whats the reason behind that

Photo of v_shnu
v_shnu
Thu, 15 Sep 2022 17:48:19 UTC

you iam user must be missing permissions to write to that bucket

Photo of v_shnu
v_shnu
Thu, 15 Sep 2022 17:48:44 UTC

install aws cli on your local machine and see if you can upload a file using that credentials