最新的(安全)版本升级在单站点实例上运行正常,但在多站点安装中失败。
日志没有提供关于确切错误的太多线索:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate failed with return #<Process::Status: pid 3978 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate"
617ffe76bfeb2b963c76d3205013104c31e050e9974c1b3feae790063767ea55
** 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.
这可能与代码审查插件有关,如果它没有配置的话……
已确认:注释掉该插件后,升级成功完成。但不知道发生了什么。