I keep running into permissions issues in Ghost. This is the 2nd time I’ve installed - the first time I had to uninstall and re-install. I installed yesterday, but now I get the errors below. Running the suggested commands doesn’t fix the problem. Any thoughts?
Thanks!
Mark
vhc08@birch:~/webapps/vhc08_web$ ghost doctor
Checking system Node.js version
Checking logged in user
Ensuring user is not logged in as ghost user
Checking if logged in user is directory owner
Checking current folder permissions
Checking operating system compatibility
Checking for a MySQL installation
- sudo systemctl is-active ghost_ghost-brudos-net
Instance is currently running
Validating config [skipped]
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
Checking binary dependencies
One or more errors occurred.
- Checking folder permissions
Message: Ghost can’t access some files or directories to check for correct permissions.
Help: Run sudo find ./ -type d -exec chmod 00775 {} ; and try again.
- Checking file permissions
Message: Ghost can’t access some files or directories to check for correct permissions.
Help: Run sudo find ./ -type d -exec chmod 00775 {} ; and try again.
- Checking content folder ownership
Message: Ghost can’t access some files or directories to check for correct permissions.
Help: Run sudo find ./ -type d -exec chmod 00775 {} ; and try again.
Debug Information:
OS: Ubuntu, v18.04.4 LTS
Node Version: v12.18.2
Ghost Version: 3.24.0
Ghost-CLI Version: 1.14.1
Environment: production
Command: ‘ghost doctor’
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.