✓ Solved

502 Bad Gateway after restoring backup

Hello,

So I'm running a discourse community(https://lynka.online/) on my Linode server. I was having an issue with some configurations that i couldn't undo so i decided to restore my latest working backup to fix the issue. I did the entire process to restore, selected "Restore to existing Linode" and also "Overwrite Linode". So after a couple of minutes the restore process finished, and the server rebooted, when i try to access the link i get "502 Bad Gateway".

I thought maybe i need to rebuild the Discourse app but when i ssh into the server and try to ls i get nothing…

Here are my server details: 1 CPU Core, 25 GB Storage, 1 GB RAM, 0 Volumes. Very simple setup.

Can anyone please help? Much appreciated.
Regards

1 Reply

✓ Best Answer

I got it to work. Had to rebuild the app again. Just needed to cd up a folder and then do:
cd /var/discourse
./launcher rebuild app

Regards.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct