Hello,
Is there anyone here who knows how to solve my restart problem.
I installed Ghost with DigitalOcean’s 1-Click service. I changed the email settings, but now I should restart Ghost.
I have run into a problem:
root@ghostubuntus1vcpu1gbfra101melio20210506-s-1vcpu-1gb-fra1-01 : /var/www/ghost # sudo -i -u ghost-mgr
ghost-mgr@ghostubuntus1vcpu1gbfra101melio20210506-s-1vcpu-1gb-fra1-01 : ~ $ cd /var/www/ghost
ghost-mgr@ghostubuntus1vcpu1gbfra101melio20210506-s-1vcpu-1gb-fra1-01 : /var/www/ghost $ ghost restart
Ghost instance is not running! Starting…
Starting Ghost
A SystemError occurred.
Message: The content folder is not owned by the current user.
Ensure the content folder has correct permissions and try again.
Debug Information:
OS: Ubuntu, v18.04.4 LTS
Node Version: v12.18.0
Ghost Version: 4.4.0
Ghost-CLI Version: 1.17.2
Environment: production
Command: ‘ghost restart’
Try running ghost doctor to check your system for known issues.
You can always refer to Ghost-CLI - A fully loaded tool for installation and configuration for troubleshooting.
Then I will check these permissions:
ghost-mgr@ghostubuntus1vcpu1gbfra101melio20210506-s-1vcpu-1gb-fra1-01 : /var/www/ghost $ ls -al /var/www/ghost
total 28
drwxrwxr-x 5 ghost-mgr ghost-mgr 4096 May 19 20:52 .
drwxr-xr-x 4 root root 4096 Jun 8 2020 …
-rw-r–r-- 1 ghost-mgr ghost-mgr 124 May 19 20:52 .ghost-cli
-rw-r–r-- 1 ghost-mgr ghost-mgr 752 May 19 20:52 config.production.json
drwxr-xr-x 8 ghost ghost 4096 May 18 19:30 content
lrwxrwxrwx 1 ghost-mgr ghost-mgr 29 May 18 19:31 current → /var/www/ghost/versions/4.4.0
drwxr-xr-x 3 root root 4096 May 18 19:31 system
drwxr-xr-x 3 ghost-mgr ghost-mgr 4096 May 18 19:30 versions
ghost-mgr@ghostubuntus1vcpu1gbfra101melio20210506-s-1vcpu-1gb-fra1-01 : /var/www/ghost $