Sudden 502 error

You need to revert to 2.4.11. You can find the fix here: https://github.com/RocketChat/Rocket.Chat/issues/17628

These are the steps to revert to previous version (From ubuntu-snap channel):

snap revert rocketchat-server # Revert to 2.4.11
sudo snap run --shell rocketchat-server
snapctl get snap-refreshing #which returned "true"
snapctl set snap-refreshing=false
exit

Then I restarted the service:

sudo systemctl restart snap.rocketchat-server.rocketchat-server

I freaked out for 3 hours trying to fix my server. All good now!

3 Likes