Easily configure a performant, secure, and stable NGINX server.Learn More
Updating Ghost broke my blog
I’ve read a few posts on this subject, but I just updated my ghost using the DO-specific guide and it came up with a 502 error.
I followed a couple of questions on how and why this is happening, including debugging it by turning nginx off and then running npm start –production inside my ghost folder. This worked fine, I then restarted nginx and ran the command again and my blog came back up.
Problem is that naturally, this will stop working when I close down that terminal window/want to do anything else in the same terminal window, but when I close it and use “service ghost start” or “service ghost restart” I get a 502 bad gateway again.
Should note my original install was a DO one-click.
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.×