marianord encountered an issue where their Discourse instance remained stuck in “Currently upgrading” state after a failed upgrade attempt, even after rebuilding the app via ./launcher rebuild appmarianord. Despite multiple rebuilds, the upgrade flag persisted and the “Reset Upgrade” button failed to work, returning an error marianord. zogstrip suggested rebuilding the app, which marianord confirmed they had already tried. Stephen then recommended flushing Redis by entering the app container and running redis-cli flushall. This solution successfully cleared the upgrade flag, resolving the issue marianord. The problem appears to have stemmed from stale state data in Redis not being cleared by the rebuild alone.
I tried to upgrade my Discourse instance a few days ago, and it didn’t went through the installation as it was waiting for an unicorn to reload, this went on for at least 5-10mins, so I decided to close the upgrade tab.
Right now I’ve updated the instance by rebuilding the app, but, I can’t handle to reset the upgrade flag.