By apoeschl
Hi,
I successfully set up the 1-Click droplet for Ghost. It runs fine, Ghost Doctor doesn’t show any errors. However, the site goes down every few days and shows a 502 Bad Gateway error. As soon as I restart Ghost in the console it starts working again. I doubt it has anything to do with memory as content and traffic is still low/limited. I use Cloudflare for DNS/CDN. Ghost log -f only shows a “cookie members ssr not found” warning, which doesn’t seem to be the issue. sudo nginx -t says “ok” and “successful”.
Can someone please help or point me in the correct direction? Thanks.
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!
Hi there @apoeschl,
It looks like that your Ghost service might be crashing, how much RAM do you have on your Droplet?
I could suggest checking your system logs and possibly adding a little bit more RAM and a SWAP file:
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
Let me know how it goes. Regards, Bobby
Edit: Log shows the following errors (see picture, couldn’t copy any text from the console):
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.