Trouble installing Ghost (#2)

Hi, I have exactly same issue as in this post:

Logs show me error 500 and the message

ERROR Migration lock was never released or currently a migration is running.
Migration lock was never released or currently a migration is running.
“If you are sure no migration is running, check your data and if your database is in a broken state, you could run yarn knex-migrator rollback.”

I checked environment variables, but they are correct (Mysql user and password). I do not understand how to debug this error using Render UI.

Apparently I had to manually unlock the mysql database with following:

UPDATE migrations_lock set locked=0 where lock_key=‘km01’;

and re-deploy. I wonder why it did not release the lock after the migration was finished.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.