我做了一件坏事。我继承了我组织的一个 discourse 服务器。几个月来,每次我登录时,它都告诉我必须安装关键更新(3.2.x –\u003e 3.3.x)。我终于屈服了,点击了管理员面板中的更新。docker 更新没问题——它很快就完成了,之后一切正常。然后我点击了 3.3 discourse 更新。它进行了一段时间,然后弹出了这个错误消息:
Bundle complete! 146 Gemfile dependencies, 185 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from i18n:
PSA: I18n will be dropping support for Ruby < 3.2 in the next major release (April 2025), due to Ruby's end of life for 3.1 and below (https://endoflife.date/ruby). Please upgrade to Ruby 3.2 or newer by April 2025 to continue using future versions of this gem.
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
$ yarn install
yarn install v1.22.19
info No lockfile found.
[1/5] Validating package.json...
error discourse@: The engine "yarn" is incompatible with this module. Expected version "please-use-pnpm". Got "1.22.19"
warning discourse@: The engine "pnpm" appears to be invalid.
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
我还有时间复制这个,但当我点击后退按钮时,服务器显然已经完全宕机了。
“糟糕
为这个讨论论坛提供支持的软件遇到了意外问题。我们对由此带来的不便深表歉意。
详细的错误信息已记录,并已生成自动通知。我们会进行查看。
无需进一步操作。但是,如果错误状况持续存在,您可以通过在站点的反馈类别中发布讨论主题来提供更多详细信息,包括重现错误的步骤。”
虽然我很感激这里的保证,说它正在得到处理,但我很确定我才是应该处理它的人。
有什么建议可以开始吗?