Hello!
A little time ago I made a mistake to install mariadb while mysql worked with ghost. After this mysql broke so do ghost.
Looks like I uninstalled mariadb but now I can’t wake up mysql. So I don’t know where to look. Sorry I’m not a developer so maybe I’m asking stupid questions.
Ghost doctor says:
Checking system Node.js version - found v14.17.0
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 system compatibility
Local MySQL install was not found or is stopped. You can ignore this if you are using a remote MySQL host.
Alternatively you could:
a) install/start MySQL locally
b) run ghost install --db=sqlite3
to use sqlite
c) run ghost install local
to get a development install using sqlite3.
? Continue anyway? No
Checking for a MySQL installation
- sudo systemctl is-active ***********
Validating config
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
Checking binary dependencies
Checking free space
Checking systemd unit file
Checking systemd node version - found v14.17.0
One or more errors occurred.
- Checking for a MySQL installation
Message: MySQL check failed.
Debug Information:
OS: Ubuntu, v18.04.4 LTS
Node Version: v14.17.0
Ghost Version: 4.6.6
Ghost-CLI Version: 1.17.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.