The discussion revolves around the “Upgrade link no longer works” issue in Discourse. kdmilelr45 reported that after running the upgrade in the admin console, they received a message saying that upgrades via the web UI are disabled until they run the latest image. Despite performing the recommended steps, the upgrade stage still doesn’t work.
Steven suggested sharing the error during the ./launcher rebuild app command to help find a solution, while pfaffman asked if the user logged in to the server and ran the rebuild command as instructed.
IAmGav and JammyDodger shared their experiences and solutions, including running ./launcher rebuild app and updating the server with apt-get update and apt-get upgrade. Steven recommended running additional commands, such as apt-get -y autoremove and apt-get -y autoclean, and advised against running ./launcher cleanup immediately after a rebuild.
Frully shared a similar experience and pfaffman explained that the base image needs to be updated periodically due to underlying library upgrades.
A reboot as you stated finalize everything. This checkup every few weeks is good enough.
I don’t recommand using the ./launcher cleanup app right after a rebuild tho, because if there’s an issue, it can be helpful to go back quickly to the previous rebuild using ./launcher restart app. A few days later, it’s fine.
I ran into this problem yesterday upgrading from beta7 to beta8; got my dev to run the ./launcher rebuild command and it seems to have resolved. Interested to see the solution/possible cause.
For me it was ‘update docker manager’ first, then ‘update all’ - which did 4 plugins and discourse itself. When it came back up, it showed that discourse and one of the plugins still had an update to run. Clicking update all again just brought up the terminal, and black for over an hour. Refreshing the page brought on the ‘old version of discourse image’.