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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.