Having the same issue… DO Droplet on Ubuntu 20.04. Tried to Upgrade Docker from within Discourse first but it kept getting an error code 137. So then I tried to rebuild Discourse from the command line and it hung on The database is ready to accept connections. Ctrl+C wouldn’t do anything so closed SSH and opened a new one and started Discourse again and it was still working but not updated. Rebooted the droplet and tried upgrading Docker again from Discourse and this time it worked! So I tried rebuilding Discourse again but it still hung on the same place. Closed SSH again and opened and started Discourse again but now I get the Oops screen! So now my Discourse site is down and the only way I’ve ever been able to recover from the Oops screen previously is by rebuild the app which I can’t do!
So now I’m at a loss as my Discourse and Droplet experience is very limited and I’m not sure what I can do now. docker_manager is the only plugin used in my app.yml so I can only assume the error is due to Docker being a newer version and not jiving with my Discourse version? I don’t know. I last updated Discourse in January so it’s not that out of date…
So my site is down until this issue can be figured out… Unless I start up a new Droplet and re-set up everything again and restore the Discourse backup that I took? Is that my only option at this point?
Hello, same error here. Workaround for now is to force version param in app.yml to v3.3.0. Arch AMD64, Ubuntu 18.04. Strange that a minor version failed, update to v3.3.0 passed without problem last week
For anyone running into this problem and am comfortable giving me access to your server, please PM me so that I can debug the problem on a server that has the problem. I have tried multiple ways and cannot reproduce this problem which makes it harder to push a fix.
For anyone that is stuck with this issue with Discourse down, I’ve found you can at least get the old version of the forum up by restarting the VM and then running ./launcher start app. This command won’t work after attempting a rebuild without restarting your instance / VM.
I should be able to bump the Ubuntu version on our affected VM on Monday, so will keep everyone posted on the outcome.
I’ve another forum on another droplet and that doesn’t give any issue with updating. It is weird why with same server configuration one droplet has issues while other doesn’t?
Btw for anyone running into this problem, you can work around it for now by adding base_image: discourse/base:2.0.20240708-0023 to the top of containers/app.yml file.
The database on our prod server is pretty large, but dev is very small. That’s the only real difference between the VMs that have successfully upgraded and the affected one (in my case).
OMG! Why didn’t I read this solution before. It also worked for me.
So what is the solution going forward? Do we need to keep specifying this base image in the future as well or change it to get updated image?