简体   繁体   English

更新 Discourse 后如何解决 502 Bad Gateway 问题?

[英]How to troubleshoot 502 Bad Gateway after updating Discourse?

I just updated Discourse by running the following after the server being at sleep for a few months.我刚刚通过在服务器休眠几个月后运行以下命令来更新 Discourse。

cd /var/discourse
git pull
./launcher rebuild app

Now, when I open my Discourse URL, I get a Nginx 502 Bad Gateway error.现在,当我打开我的 Discourse URL 时,我收到 Nginx 502 Bad Gateway 错误。

I know very little about Docker.我对 Docker 知之甚少。 How can I figure out what isn't working?我怎样才能弄清楚什么不起作用?

Thanks!谢谢!

Running ./launcher rebuild app again fixed the issue.再次运行./launcher rebuild app解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM