您好,
我尝试从 2.9.0 beta 3 更新到 beta 4。通过 Web 界面更新失败。执行 git pull 和 /launcher rebuild app 均无效。
最终输出:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 647 exit 134>
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"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 134
** 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.
f5cd177671cf156b418115fd9956929e98c03223fbab30c91da284cee52510e3
==================== END REBUILD LOG ====================
Failed to rebuild app.
Discourse doctor 也没有帮助。
我在日志中找不到更早的错误信息,只是一些关于 Theme plugin Slick 的警告。但这些信息在 PowerShell 中被截断了。
我不确定升级日志文件的位置。我执行了 ./launcher build app | tee ~\\Rebuild.txt
但这导致了一个奇怪的状态,日志文件非常短,只有大约 50 行。论坛启动了,但仍然是 beta 3 版本。速度非常慢,并且无法访问任何帖子。
在更新之前,我确实做了一个备份。