The issue at hand is that users are unable to upgrade from Docker Manager due to the “Currently Upgrading” status being stuck, despite successful rebuilds. barreeeiroo reports that even after executing cd /var/discourse && git pull and ./launcher rebuild app, the problem persists.
gerhard suggests that there may have been a problem with Docker Manager a few months back that caused stuck upgrades and recommends clicking the gray “Upgrading” button and selecting “Reset Upgrade”. However, barreeeiroo finds that the button is disabled.
gerhard recommends checking the app.yml file to ensure that the master branch of docker_manager is being cloned, but barreeeiroo confirms that this is already the case.
jomaxro confirms that the “Currently Upgrading…” status is not clickable, even when an upgrade is running. Osama reveals that this was a change made during an Ember upgrade and has now been fixed in a commit. As a temporary workaround, users can manually type the URL /admin/upgrade#/upgrade/<repo name> to access the upgrade page.
However, as you can see, it is not being upgraded
Moreover, after executing cd /var/discourse && git pull and ./launcher rebuild app the problem persists
I think there was a problem with Docker Manager a few months back that might have caused stuck upgrades. You should be able to click the gray “Upgrading” buttons and click on “Reset Upgrade” on the next screen. Do this for every stuck upgrade process.
Did you create the screenshot in the first post before or after running launcher rebuild app? Revision 29ec548 is quite old and probably broken. It should have been upgraded during a rebuild though.
But it’s really weird
I hadn’t noticed that, and I just checked for that commit and it’s from September
But I made the rebuild on January this year, and I also made previous rebuilds each previous month
That’s weird indeed. Please check your app.yml and make sure that you are cloning the master branch of docker_manager. Then try rebuilding the container and watch out for errors.
I can confirm that Currently Upgrading... is not clickable, even when an upgrade is running. If you click upgrade, then start upgrade, and hit “Versions” or “Processes”, there’s no way to get back to the upgrade status other than the browser back button.