Multiple users are experiencing issues with the Forum upgrade crashing at the docker_manager step. modius reports high CPU usage and the need to reboot the server, while brunoedigital experiences high memory usage.
To resolve the issue, Steven recommends resetting the upgrade and rebuilding from the server using the commands:
cd /var/discourse
git pull
./launcher rebuild app
Additionally, codinghorror emphasizes the importance of having 2GB of swap space set up.
My forum is crashing at this point in a web based upgrade; sends CPU to 100% and I have to reboot the server to recover; standard vanilla 2GB Droplet at DigitalOcean.
In Upgrade docker_manager
*** Bundling assets. This might take a while ***
$ bundle exec rake assets:precompile
Purging temp files
Just thought I’d update on my fix. Turns out you were right to check if there was a swap file in place – there was not.
We use to have a swap file but…
This is how i got to this point, and it might be useful for others:
was upgrading discourse when postgres upgrade failed
rather than troubleshoot directly, thought we would simply spin up a new droplet, fresh install and restore from back-up
used the DigitalOcean instant install for Discourse (this was my MISTAKE)
Looks like the standard Digital Ocean jumpstart thing for Discourse does not set up a swapfile. Probably should have just run through a standard installation from a vanilla Ubuntu install.