启动器重建应用程序时出错

我尝试使用 /var/discourse/launcher rebuild app 重建 discourse,在升级失败后出现此问题:

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

有什么办法可以启动 discourse 应用吗?

谢谢!

请至少发布之前的 50-100 行。

您可能内存+交换空间不足:请发布以下命令的输出

free -m
3 个赞

就是这样。内存不足。我通过增加内存解决了问题,然后重新运行了重建。

谢谢 @Ed_S

2 个赞

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