Hope you are all okay, I was doing an update yesterday and through my forum admin panel, but for some reason, my site hit a snag the update couldn’t complete, and the site is in accessible, it bring 502 error when I try to access it,
Anybody with how I can recover it step by step?
Yeah, I have been doing that, but it has failed to rebuild. I have even tried to remove broken containers and rebuild fresh ones but still causing errors when I try to restore the site
If the update is failing, the reason should appear on the screen during the update. You’ll want to scroll back and carefully read through it to look for failure errors.
In my experience, updates typically fail because of disk space issues! Discourse needs more space during updating than during normal operation. Try running:
./df -h
and you will see how much storage you have. Running ./launcher cleanup app from /var/discourse will remove any unused containers. I jus did this on one of my self-hosted sites and disk space usage went down from 83% to 54%!
Another place to recover space can be your backups; if you are keeping too many of them they will take over your drive. You can remove older ones from /var/discourse/shared/standalone/backups/default and then try the update again.
Like are you running Tests Passed or Stable? Test-passed us the recommended version of discourse.
Server Config.
Cpu and Ram
As Tobias said free space.
Presume you are running Ubuntu LTS so OS version
Awhile ago some plugins were merged in core. This should be detailed in the rebuild log if any plugins need to be removed from your app yml. There should also be potentially other errors that can help debugging