前几天,我更新discource的时候,出现了下面的错误:
Oops
The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.
Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.
No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.
刚开始,我以为是服务器出问题了,因为我登录cloudcone的时候,提示我账户被封了,但是后面仔细想了想,出现这个错误提示,说明服务器可以访问。
然后,我连接了ssh,可以正常连接,说明不是服务器的问题,而是Discourse的问题。
接着我用chatgpt问了下,发现问题很多,最后我选择了一个rebuild的方案,具体操作如下:
cd /var/discourse ./launcher rebuild app