Docker 升级后出现“网关错误”。
我尝试了:
- 重新安装 Docker 并重建
- 检查了 IP 地址
- 检查了服务器是否单独运行
- 可以通过 Putty 连接服务器
- 启用了 Docker Doctor
请建议我如何恢复在线 ![]()
Docker 升级后出现“网关错误”。
我尝试了:
请建议我如何恢复在线 ![]()
您可能只需要再等一两分钟,让服务器完成启动。
你说得对——谢谢你指明了正确的方向。
所以你又回来了,而且又能正常工作了?
抱歉,不行。
看起来 Discourse 实例在重建后有 75% 的可访问性……但之后,它又会返回 502 错误网关。
设置完成后(重建)——它又离线了。
重建期间预计会停机。
重建后需要一两分钟才能全部启动。
您的磁盘空间是否足够?
那么你很可能还有其他问题,也许是插件。你可以查看
tail -f /var/discourse/shared/standalone/log/rails/production.log
或者非常类似的内容
Completed 200 OK in 43ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1349 9)
Started POST “/t/6242/notifications.json” for 172.71.102.181 at 2023-03-08 14:43 :49 +0000
Processing by TopicsController#set_notifications as JSON
Parameters: {“notification_level”=>3, “topic_id”=>“6242”, “topic”=>{}, “external_id”=>“19929.json”}
Can’t verify CSRF token authenticity.
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 2675 )
Deprecation notice:SiteSetting.enable_personal_messageshas been deprecated. Please useSiteSetting.personal_message_enabled_groupsinstead. (removal in Di scourse 3.0)
At /var/www/discourse/lib/site_setting_extension.rb:199:inpublic_send
Rendered layouts/email_template.html.erb (Duration: 2.2ms | Allocations: 775)Thanks for helping me out @pfaffman.
Unfortunately, I am not able to fix it.
Can I hire you to fix this issue, please?
@pfaffman 帮了我!谢谢!
是我们的 app.yml 中的一个拼写错误。
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.