Restart Ghost On DigitalOcean (One-Click)


#1

The installation was perfect yesterday. Today, I added some s3 info to the config.production.json file and then restarted the server. Ok…got 502 bad gateway. Cool. I started nginx and checked if mysql was running. They were and same error. Next, I must have hit the “do not press the red button” by cd into /var/www/ghost/current then npm start. Seems like Ive recreated all tables and going to the /ghost Im asked to create an account. Whataaattt? Not major as Ive just set it up.

Where is the doc that tells us what to do when a server restarts?

Nevermind. I got it. I should be in then ghost folder the run ‘ghost start’ :man_facepalming:t4:


#2

Glad you got it figured out! Always recommended to manage Ghost using Ghost-CLI commands rather than trying to manually keep track of everything :slight_smile:

In future you can also run ghost restart when you need to reload config


#3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.