Report this

What is the reason for this report?

Can't restart ghost on my droplet

Posted on December 14, 2020

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!



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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.