Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED Ghost: Crashing

    Ghost
    ghost migration
    3
    5
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      will last edited by girish

      I've had a few instances of ghost go down recently, logs show this error repeating.
      MigrationsAreLockedError: Migrations are running at the moment. Please wait that the lock get`s released.
      I've never had issues with Ghost like this before. This site happens to be empty, so I'm not losing any data. This is the second site to die recently due to this issue. Anyone else seeing this?

      M 1 Reply Last reply Reply Quote 0
      • M
        murgero App Dev @will last edited by murgero

        @will How long have you waited though for it to come up, the error message almost makes it sound like ghosts it updating or something?

        Edit: See the following link for a fix: https://github.com/TryGhost/Ghost/issues/9404#issuecomment-358664633

        1 Reply Last reply Reply Quote -1
        • girish
          girish Staff last edited by

          @will I think there is some "race" in the Cloudron package. We haven't been able to nail down why this happens (it happens when we push Ghost updates to some sites...). The fix is simple.

          • Put the app in repair mode. Console -> repair.
          • Open Webterminal and click the MySQL button
            • UPDATE migrations_lock set locked=0 where lock_key='km01';
          • End repair mode
          W 1 Reply Last reply Reply Quote 2
          • girish
            girish Staff last edited by

            This issue is same as https://git.cloudron.io/cloudron/ghost-app/-/issues/2 which I thought I had fixed but looks like it's come back...

            1 Reply Last reply Reply Quote 0
            • W
              will @girish last edited by

              @girish Thanks for the quick turn around on a fix!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post