多站点数据升级到 2.9.0beta 失败

尽管其他主机已成功升级,但这个拥有两个容器(web_onlydata)且没有非官方插件的 multisite 主机在升级 data 容器时出现问题:

./launcher rebuild data
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 data
data
/usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2022-03-21T14:08:36.336829 #1]  INFO -- : Reading from stdin
/usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/config.rb:70:in `combine_template_and_process_env': undefined method `each' for nil:NilClass (NoMethodError)
        from /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/config.rb:17:in `initialize'
        from /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/cli.rb:55:in `new'
        from /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/cli.rb:55:in `run'
        from /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/bin/pups:9:in `<top (required)>'
        from /usr/local/bin/pups:25:in `load'
        from /usr/local/bin/pups:25:in `<main>'
5bf317d1a66a44ec1d100a9da77210dfd7c10dd25f4cb999bd7c2ab69cd330dc
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

我尝试了几次升级,一次是在“noop”的 2.9.0beta1 升级之后(本应能正常工作),另一次是今天针对 beta2。我想知道……
主机运行的是 Ubuntu 20.04。

FWIW,我刚刚在我的测试站点上重建了 data 容器,一切顺利。不过这是几天前的一个新版本,所以可能有所帮助。

(Digital Ocean,1GB 内存,Ubunutu 20.04)

由于 web_only 容器已成功升级,并且尽管 data 容器启动失败,但我运行了 ./launcher start data,现有容器已启动;重新加载管理页面后显示的是新版本。

我仍然对这个 bug 感到好奇,因为它可能会影响需要数据库迁移的未来升级。

2 个赞

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