记录一次Discourse报错的解决过程

前几天,我更新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

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

给TA打赏
共{{data.count}}人
人已打赏
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索