无法重建应用程序 - 退出代码1失败

大家好,

我有一段时间没有更新网站了,然后它就无法加载了——community.showprowess.com

我尝试重建,但失败了,底部有以下消息:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build' failed with return #<Process::Status: pid 666 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"build", "hook"=>"assets_precompile_build", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile:build'"]}
bootstrap failed with exit code 1
** 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.

我正在使用SSH。有人遇到过同样的问题吗?我应该像一些帖子中提到的那样在新服务器上重建吗?

如果有人能帮忙看看,那就太好了。

附上整个日志,以防万一。

Command_prompt_log.txt (68.7 KB)

删除访客网关插件。

5 个赞

为了提供更多背景信息,该插件已被弃用,并被一个主题组件取代:

7 个赞

当然可以 :man_facepalming: 我正要问为什么我的升级没问题,而且我一直在使用 Guest gate。

谢谢大家。我试试看。我需要弄清楚如何删除一个插件 :grin:

如何卸载插件

2 个赞

因为你使用的是访客网关主题而不是插件?

1 个赞

确实如此。但我没记住我用的是 TC,而不是插件。

1 个赞

大家 – 感谢您的帮助。我通过移除访客网关插件解决了这个问题。

2 个赞

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