I’ve had a glitch on upgrading to 4.1.0. I got the following message.
Message: Ghost was able to start, but errored during boot with: alter table
members_login_events_member_id_foreignforeign key (
id) on delete CASCADE - UNKNOWN_CODE_PLEASE_REPORT: Referencing column ‘member_id’ and referenced column ‘id’ in foreign key constraint ‘members_login_events_member_id_foreign’ are incompatible.
Help: Error occurred while executing the following migration: 08-add-members-login-events-table.js
Here’s the system info.
OS: Ubuntu, v20.04.1 LTS Node Version: v14.16.0 Ghost Version: 4.1.0 Ghost-CLI Version: 1.16.2
I’ve temporarily rolled back to the v3 so the site is still accessible. Any thoughts? (I didn’t access the log file before rolling back, which was a mistake, so if necessary, I can break it again to get hold of the logs).