升级中断后卡在“正在更新…”状态 - 无法安装新更新

Dear Discourse Support Team,

I am the administrator of a Discourse forum. Recently, I initiated an upgrade of our forum via the web UI. Unfortunately, the internet connection was interrupted mid-process, and I had to close the browser window.

Since then, the “Updating…” status indicator in the admin panel has remained active. Clicking on it does not display any ongoing process, and consequently, I am unable to install any new Discourse updates.

To troubleshoot this, I subsequently connected via SSH and executed the ./launcher rebuild app command in the terminal. The rebuild process completed successfully without any reported errors. However, even after a successful rebuild, the Discourse UI still displays the “Updating…” message, preventing me from applying further updates.

This issue is preventing us from accessing and applying critical security and feature updates. Could you please advise on how to resolve this persistent “Updating…” state and restore the ability to upgrade our forum?

Thank you for your time and assistance.

Best regards,

尊敬的 Discourse 支持团队:

我是 Discourse 论坛的管理员。最近,我通过 Web UI 启动了论坛的升级。但不幸的是,在升级过程中互联网连接中断了,我不得不关闭浏览器窗口。

从那时起,“正在更新…”状态指示器在管理面板中一直处于活动状态。点击它不会显示任何正在进行的进程,因此我也无法安装任何新的 Discourse 更新。

为了解决这个问题,我随后通过 SSH 连接到服务器,并在终端中执行了 ./launcher rebuild app 命令。重建过程成功完成,没有报告任何错误。但是,即使在成功重建之后,Discourse UI 仍然显示“正在更新…”消息,阻止了我应用进一步的更新。

此问题阻碍了我们访问和应用关键的安全和功能更新。您能否就如何解决此持续的“正在更新…”状态并恢复我们论坛的升级能力提供建议?

感谢您的时间和帮助。

此致,

1 个赞

只是为了确认,即使在重新加载页面后,它仍然卡在“正在更新…”消息中吗?

是的,没错。即使在重新加载页面后,以及在注销并重新登录后,“正在更新…”消息仍然存在。

1 个赞

重置按钮是否可用?

如果不可用,也许这篇帖子有帮助,尽管它有点旧了

3 个赞

非常感谢您的指导。运行以下命令后:

./launcher enter app
rails c
Discourse.redis.flushall

我观察到了附加图像中显示的更改。我相信问题已经解决。

2 个赞

这种情况我时不时会遇到。非常烦人

2 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.