Update hangs for a really long time -- okay to reset?


(Lars Doucet) #1

(I searched for any similar threads before posting this, but they all seem old)

I just did an update for Discourse, and it’s hanging for a lot longer than usual and I’m not sure if it’s safe to press the reset button since it warns not to do that except as a last resort:

Has this happened to anyone else? Will it keep chugging until it’s done or should I pull the reset trigger?

I’m using the stock Digital Ocean setup.


(Jeff Atwood) #2

Can you please try rebuilding?

Please SSH into your server and run:

cd /var/discourse
git pull
./launcher rebuild app

(Lars Doucet) #3

Yup, that did the trick. So – should one ever pull the reset trigger in the admin backend, or is it better to just always manually restart from the server?


(Joshua Rosenfeld) #4

I had to pull that trigger once - I did a web upgrade, it hung, did a rebuild, web still said “updating” but I knew it wasn’t. Had to reset to get Docker Manager to say “Up to date”.


(cpradio) #5

Yeah, it is safe. I’ve done it a few times as well, especially if my server went into heavy load and the upgrade died due to lack of resources. I’ve yet to find myself in a place where it caused me any significant issues or downtime.