Website is down after trying to upgrade from 5.23.0 to 5.25.0. Even though the install detected an issue and I said not to continue, it still did, and now I’m stuck at broken 5.25.0
-bash-4.2$ ghost start
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
- sudo systemctl is-active ghost_deeptide-com
Checking system Node.js version - found v16.17.0
Ensuring user is not logged in as ghost user
Checking if logged in user is directory owner
Checking current folder permissions - sudo systemctl is-active ghost_deeptide-com
Validating config
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
Checking binary dependencies
Checking systemd unit file
Checking systemd node version - found v16.17.0 - sudo systemctl start ghost_deeptide-com
- sudo systemctl stop ghost_deeptide-com
Starting Ghost: deeptide-com
A GhostError occurred.
Message: Ghost was able to start, but errored during boot with: alter table suppressions
add constraint suppressions_email_id_foreign
foreign key (email_id
) references emails
(id
) - Referencing column ‘email_id’ and referenced column ‘id’ in foreign key constraint ‘suppressions_email_id_foreign’ are incompatible.
Help: Error occurred while executing the following migration: 2022-11-24-10-36-add-suppressions-table.js
Suggestion: journalctl -u ghost_deeptide-com -n 50
Debug Information:
OS: CentOS Linux, v7
Node Version: v16.17.0
Ghost Version: 5.25.0
Ghost-CLI Version: 1.23.1
Environment: production
Command: ‘ghost start’
Additional log info available in: /home/deeptideghost/.ghost/logs/ghost-cli-debug-2022-12-06T01_53_48_456Z.log
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.
-bash-4.2$
This is the second time Ghost has broken for me randomly when doing an upgrade. Last time it was because using MariaDB which became unsupported but now using MySQL and not sure why this is happening
Thanks for any advice