对于使用 discourse_docker 的稳定版本(v3.2.1 及以下)用户的重大更改

今天早上我不小心运行了 launcher rebuild 而不是 launcher restart。由于我们使用的是特定标签 v3.2.1 而不是 test-passed,这本不应该是个大问题,结果发现由于昨天推送的一个更改(提高了 Ruby 版本)导致构建失败。

这将破坏稳定版本的安装。因此,你将被迫安装 -beta 版本,否则你的安装将失败,因为 v3.2.1 仍然使用之前的 Ruby 版本。

I, [2024-05-20T08:53:18.602308 #1]  INFO -- : > cd /var/www/discourse & su discourse -c 'bundle install --retry 3 --jobs 4'
google-protobuf-3.25.2-x86_64-linux requires ruby version < 3.3.dev, >= 2.7,
which is incompatible with the current version, 3.3.1
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 1276 exit 5>
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", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle config --local deployment true'", "su discourse -c 'bundle config --local without \\\"development test\\\"'", "su discourse -c 'bundle install --retry 3 --jobs 4'"]}
bootstrap failed with exit code 5
** 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_docker 是否有标签,因为这是一个非常重要的插件,令我惊讶的是,并没有。请在推送更改到 main 时更加小心。

5 个赞

感谢您的反馈,我们会尽快解决 :eyes:

4 个赞

我们已撤销 discourse_docker 的更改,同时制定稳定支持计划。

6 个赞

2 篇帖子已拆分到一个新主题:更新损坏的事件插件时出错