Question

Can't restart ghost on my droplet

I am trying to upgrade my Ghost installation from 3.2 to 3.40.1, however after following the instructions here in which I stopped the ghost service, downloaded the latest zip from http://ghost.org/zip/ghost-latest.zip, and unzipped it and replaced my files in the core directory, when I try to restart the service with ghost start I get the following error:

Ghost-CLI commands do not work inside of a git clone, zip download or with Ghost <1.0.0.

I am in /var/www/ghost right now.

Thanks!

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @morganholland,

Yes indeed this is quite possibly the reason why you are seeing that permissions error.

Have you tried setting the group of the file to the ghost-mgw user instead? You can do that with the following command:

  1. sudo chgrp ghost-mgw config.production.json

Regards, Bobby