"502 bad gateway" Nginx Error

Try rebuilding, which should reset the borked update and update you to latest.

SSH into your server, and run:

cd /var/discourse
sudo ./launcher rebuild app

This should take a few minutes and get you up and running again.

Edit: Ninja’ed by @jomaxro :slight_smile:

3 Likes