VerticalVeg
(Mark Ridsdill Smith)
2018 年11 月 15 日 11:12
1
我本周早些时候将 我的论坛 更新到了最新版本,当时运行正常——但今天早上却出现了 502 Bad Gateway 错误……
我的技术知识非常有限,想知道可能的原因是什么,以及如何解决?
供参考,当我更新站点时,起初似乎出现了问题,但随后又正常通过了——不过这次我并没有需要执行以下操作:
cd /var/discourse
git pull
./launcher rebuild app
而这通常是我在进行重大更新时必须执行的步骤……这是否与当前问题有关?
或者问题是否出在托管该站点的 Digital Ocean 上?我看到他们正在经历一些问题。
关于如何让站点恢复正常运行,如有任何建议,我将不胜感激。
vitorl
2018 年11 月 15 日 11:12
2
That error code is very generic…you need to check the logs and give us more information
Still battling with the 502 bad gateway error whenever i access the admin dashboard. I guess discourse needs to check their latest updates for bugs…
VerticalVeg
(Mark Ridsdill Smith)
2018 年11 月 15 日 11:34
4
Thanks. Is there somewhere that tells me how to check the logs (my droplet is on Digital Ocean)? Sorry, as I said, my technical knowledge is minimal…
VerticalVeg
(Mark Ridsdill Smith)
2018 年11 月 15 日 14:41
5
I’ve solved this by running:
cd /var/discourse
git pull
./launcher rebuild app
BTW, when I was updating to the latest versions a couple of days ago, I got a message half way through the install to say there was a problem… but then I waited and when I checked back it said all the updates were up to date… so I assumed all was ok. Anyway it is all working fine again now.