[Solved the original issue. See my reply for the continuing saga of the 502 bad gateway]
Hi - I’ve been trying to clean up what was once a multi-site hosting of ghost and is now only a site site hosting. I’m very nearly there, I think as I’ve fixed a whole heap of symlink issues and mysql problems. But I’m still getting a 502 Bad Gateway message which I’m fairly sure is some kind of permissions issue. Here’s the output from “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
System checks failed with message: ‘Linux version is not Ubuntu 16, 18, or 20’
Some features of Ghost-CLI may not work without additional configuration.
For local installs we recommend using ghost install local
instead.
? Continue anyway? Yes [Note, system is Raspberry Pi"]
System stack check skipped
Checking system compatibility [skipped]
Checking for a MySQL installation
- sudo systemctl is-active ghost_corballis-co-uk
Validating config
Checking folder permissions
Checking file permissions
Checking memory availability
Checking binary dependencies
Checking free space
One or more errors occurred.
- undefined
Error: EACCES: permission denied, open ‘/var/www/corballis.co.uk/.ghost-cli’
Debug Information:
OS: Raspbian GNU/Linux, v9
Node Version: v14.15.3
Ghost Version: 3.40.2
Ghost-CLI Version: 1.15.3
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.