By appl3s
Hello,
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Hello,
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?
Regards, Bobby
I am having the same issue, tried updating Ghost from 3.2 to 3.40 but when I try to restart Ghost I get “Ghost-CLI commands do not work inside of a git clone, zip download or with Ghost <1.0.0.”
any help?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

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