Hey,

I have setup Mattermost and have selected Amazon S3 as my storage system and have setup the following options:

S3 Bucket: <my-space-name>
S3 Region: sgp1
S3 Endpoint: digitaloceanspaces.com
S3 Access Key ID: <my-access-key>
S3 Secret Access Key: <my-secret-key>

However, when I try to upload a file to the system, it get’s stuck at “loading”. When I try to upload a profile picture, it tells me “Couldn’t upload profile image”. This seems to be working with S3 but not with DigitalOcean Spaces. Is there anything wrong that I did in my configuration? Please do let me know how I can fix this

Regards,
Rakshith Ravi

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Can you share any more details, like your Space name and your log file? Feel free to email it to me if you prefer - jgannon at do dot co

Thanks!

Have you found any solution @rakshith ? I am stuck with the same problem.

  • Yes! So the solution was to make the endpoint as sgp1.digitaloceanspaces.com (change it to your requirements). The thing is, the base route of digitaloceanspaces.com doesn’t have any endpoint in it. It’s the region.domain.com that has it. So leave the region field as blank and try it. Worked for me

Submit an Answer