Discourse update seems stuck after resolving 502 bad gateway?

AI-generated summary

larsiusprime reported that their Discourse forum went down with a “502 bad gateway” error after initiating an update via the admin panel. After successfully restoring the site by running ./launcher rebuild app on the remote server, the upgrade status in the admin panel remained stuck on “currently upgrading…”. The user sought advice on whether to wait or click “reset upgrade,” fearing it might break the forum. zogstrip reassured them that resetting the upgrade is safe and noted that the rebuild process effectively served as a reset. Subsequently, larsiusprime confirmed that the issue resolved itself, with the admin panel finally displaying that the forum was up to date.

So last night I go ahead and update Discourse from the admin panel. It gets to the last step and I just leave the computer and go to bed (I mean the process is running on a remote server so it doesn’t need me to babysit, right?)

I come back the next morning and my forum is down – “502 bad gateway nginx” is all it says. Googling around and searching this forum, I eventually figure out I should try rebuilding. So I save a snapshot of the DO droplet, ssh into my droplet, and run ./launcher rebuild app. Luckily, the forum comes back online.

So I go to check in on the upgrade in the admin panel.

This is what I see:

Okay, so I click on “currently upgrading…”

Been like that for a while now.

So… should I just leave it and hope it resolves? Should I click “reset upgrade?” Will that brick my forum?

Just want to do a quick sanity check before I break anything else.

It’s fine to “reset the upgrade”. You just did one when rebuilding :wink:

Cool, funnily enough I go back to the upgrade panel and it says everything’s magically up to date!