1-Click Droplet for Ghost - working, but frequent 502 Bad Gateway errors

  • Posted February 4, 2021
  • Ghost


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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

Let me know how it goes. Regards, Bobby

Edit: Log shows the following errors (see picture, couldn’t copy any text from the console):