最近的升级尝试失败,重建也出错

在过去的 1-2 天里,我的前端“升级”操作卡住了,我重启了服务器来修复它,但没有成功。

然后我尝试了“Git Pull”和“Rebuild”。
但是重建“web_only”失败了,并显示以下消息:

Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake db:migrate' failed with return <Process::Status: pid 723 exit 1>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
4454b841c169a9af4f4019b36d647517a7c8624218f9b883ed91
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

请有人指导一下。

您可以向上滚动并检查更具体的错误吗?

1 个赞

感谢您的回复。

不过,我通过禁用以下插件解决了我的错误(现在我将逐个启用它们进行检查):

discourse-telegram-notifications 
discourse-locations
discourse-formatting-toolbar
discourse-legal-tools
2 个赞

没关系。 :slightly_smiling_face: 很高兴你这么快就解决了。:+1:

我认为 legal-tools 可能是那个:

5 个赞

啊!!这将为我节省大量时间来考虑每个插件然后重建。谢谢你,ji。

3 个赞

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