By Boris
I’ve set up the Mattermost droplet from the marketplace now multiple times by:
This results to Mattermost working perfectly fine for a few minutes, I can set things up and use everything.
Then after a few minutes it only comes up with the error page:
502 Bad Gateway nginx/1.14.0 (Ubuntu)
What can I do about this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Turns out Mattermost had turned itself off, I used sudo systemctl start mattermost.service to restart the server, hopefully this holds.
Hello there,
The issue is most likely related to resource usage on the droplet causing the mattermost service to timeout or eventually “die”.
You can add SWAP space on the droplet in order to prevent further issues.
https://www.digitalocean.com/community/tutorial_collections/how-to-add-swap-space
Also examining the logs and confirm that the issue is connected with the resources on the droplet. The Nginx error log and the syslog will be a good point to start.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.