Restarting Ghost in Digital Ocean

Restarting Ghost in Digital Ocean
Restarting Ghost in Digital Ocean

Installing Ghost from Digital Ocean Marketplace is fairly straightforward. They’ll create a new droplet and then you login as root using the given credentials. Just follow the instruction and you are done.

But then you need to install Disqus or customize something that requires you to restart Ghost. However the help page in Digital Ocean is ancient (2013) and the command listed will not work.

So what’s working?

  1. Login as root. Then change to user ghost-mgr

sudo -i -u ghost-mgr

2. Change directory to where Ghost is installed

cd /var/www/ghost/

3. Restart Ghost

ghost restart

If you skip changing directory, Ghost CLI will give you an error.