All of a sudden I get a 502 Bad Gateway on my Ghost website. What's happening.

So I use Ghost with Digital ocean, and about a week ago I updated to the recent version of Ghost…my website ( was still working fine. All of sudden today I woke up to 502 error. What’s happening here? Also I use Cloudflare with my domain

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

I can see that your website is already up and running again. Would you mind sharing here with the community how you fixed the error?

Usually, for 502 error, I would recommend following the steps from this answer here:

Regards, Bobby

All I had to do was restart Ghost. I believe there is a command on the CLI to restart Ghost and that resolved the issue