Failed data upgrade to 2.9.0beta for multisite

Although other hosts upgraded correctly, this multisite one with two containers (web_only and data) and no unofficial plugin has issues upgrading the data container:

./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
/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>'
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

I tried upgrading it several times, once after the ‘noop’ 2.9.0beta1 upgrade which was supposed to just work, and one today for beta2. Wondering…

The host is running Ubuntu 20.04.

FWIW, I’ve just rebuilt the data container on my test site, and that went through without a hitch. It is a new build from a few days ago though, so that may have helped.

(Digital Ocean, 1GB droplet, Ubunutu 20.04)

Since the web_only container upgraded successfully, and despite the data container failing to bootstrap, I ran ./launcher start data and the existing container started; reloading the admin page showed the new version instead.

I’m still curious about this bug since it may affect future upgrades that would require database migrations.


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