Report this

What is the reason for this report?

Updating Ghost broke my blog

Posted on April 27, 2015

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. Help? Should note my original install was a DO one-click.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.