How to restart ghost on Digital Ocean

Hey there,
This may be totally obvious — but not for an almost total noob on hosting a ghost droplet on Digital Ocean…

After editing the config.production.json to use mailgun for bulk mail sending I cannot execute the comand “ghost restart” — not when logged in as root user nor when using ghost-mgr.

In both cases I’m getting the following response from the server:

Working directory is not a recognisable Ghost installation.
Run ghost restart again within a folder where Ghost was installed with Ghost-CLI.

What am I missing? Any ideas, help, suggestions gladly accepted!

Best from sunny Berlin,
Paul

you have to be in the folder where Ghost was installed.

cd /var/www/ghost/
ghost restart

2 Likes

And what about the error:

Ghost instance is not running! Starting…
:heavy_multiplication_x: Starting Ghost
A SystemError occurred.

Message: The content folder is not owned by the current user.
Ensure the content folder has correct permissions and try again.

when restarting from cli? I am on DigitalOcean droplet.