Can't restart ghost after update: "Ghost-CLI commands do not work..." error

Posted February 5, 2020 1.1k views


I have a 1-click Ghost droplet. It was running fine but was outdated so I did an update, which went smoothly. Unfortunately, now I can’t restart ghost.

When I do sudo -i -u ghost-mgr and attempt ghost restart I get:

ghost-mgr@br-2:/var/www/ghost$ ghost restart
Ghost-CLI commands do not work inside of a git clone, zip download or with Ghost <1.0.0.
Perhaps you meant `grunt restart`?
Otherwise, run `ghost restart` again within a valid Ghost installation.

Can anyone provide any pointers please?

edited by AHA

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.

1 answer


I’ve tried to replicate this at my end by setting up a Ghost 1-click Droplet and upgrading Ghost but in the end it worked as expected and I did not get the error.

What is the output of the following command:

ghost ls

Also, can you run an ls -lah in the /var/www/ghost folder?


Submit an Answer