Mattermost not able to upload to DigitalOcean Spaces

Posted April 24, 2018 2.8k views
DigitalOceanUbuntu 16.04Object Storage


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:
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

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.

Submit an Answer
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


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

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