Upgrade Error from 2.4.0.beta8 to 2.4.0.beta9

Hi,
I received the following error during upgrading docker_manager via gui when trying to upgrade from Installed 2.4.0.beta8(3ec2081059) to Latest 2.4.0.beta9

brotli -f --quality=6 /var/www/discourse/public/assets/locales/pl_PL-91951ff9c6ff9e5624fe64081461c056473e679d1f569473042e922b058a35c4.js --output=/var/www/discourse/public/assets/locales/pl_PL-91951ff9c6ff9e5624fe64081461c056473e679d1f569473042e922b058a35c4.js.br


Done compressing locales/pl_PL-91951ff9c6ff9e5624fe64081461c056473e679d1f569473042e922b058a35c4.js : 0.08 secs

142609.295201088 Compressing: locales/el-ce217d9e83d763cfbc766d5391a83614fa28330cb4e5cc8f0b189ba9755d0e82.js
gzip -f -c -9 /var/www/discourse/public/assets/locales/el-ce217d9e83d763cfbc766d5391a83614fa28330cb4e5cc8f0b189ba9755d0e82.js > /var/www/discourse/public/assets/locales/el-ce217d9e83d763cfbc766d5391a83614fa28330cb4e5cc8f0b189ba9755d0e82.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/locales/el-ce217d9e83d763cfbc766d5391a83614fa28330cb4e5cc8f0b189ba9755d0e82.js --output=/var/www/discourse/public/assets/locales/el-ce217d9e83d763cfbc766d5391a83614fa28330cb4e5cc8f0b189ba9755d0e82.js.br


Done compressing locales/el-ce217d9e83d763cfbc766d5391a83614fa28330cb4e5cc8f0b189ba9755d0e82.js : 0.09 secs

142609.385322084 Compressing: locales/nb_NO-b9271310b01bb456d578a2d631c7507284ac0a4605b072a9360957babff3cf94.js
gzip -f -c -9 /var/www/discourse/public/assets/locales/nb_NO-b9271310b01bb456d578a2d631c7507284ac0a4605b072a9360957babff3cf94.js > /var/www/discourse/public/assets/locales/nb_NO-b9271310b01bb456d578a2d631c7507284ac0a4605b072a9360957babff3cf94.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/locales/nb_NO-b9271310b01bb456d578a2d631c7507284ac0a4605b072a9360957babff3cf94.js --output=/var/www/discourse/public/assets/locales/nb_NO-b9271310b01bb456d578a2d631c7507284ac0a4605b072a9360957babff3cf94.js.br


Done compressing locales/nb_NO-b9271310b01bb456d578a2d631c7507284ac0a4605b072a9360957babff3cf94.js : 0.08 secs

142609.463926224 Compressing: locales/sw-12ecabc2c474c1be3005b49d2e4b9146fd52adb1845e997e6f06748d82b0b0ae.js
gzip -f -c -9 /var/www/discourse/public/assets/locales/sw-12ecabc2c474c1be3005b49d2e4b9146fd52adb1845e997e6f06748d82b0b0ae.js > /var/www/discourse/public/assets/locales/sw-12ecabc2c474c1be3005b49d2e4b9146fd52adb1845e997e6f06748d82b0b0ae.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/locales/sw-12ecabc2c474c1be3005b49d2e4b9146fd52adb1845e997e6f06748d82b0b0ae.js --output=/var/www/discourse/public/assets/locales/sw-12ecabc2c474c1be3005b49d2e4b9146fd52adb1845e997e6f06748d82b0b0ae.js.br


Done compressing locales/sw-12ecabc2c474c1be3005b49d2e4b9146fd52adb1845e997e6f06748d82b0b0ae.js : 0.08 secs

142609.541287289 Compressing: locales/es-a3ff1203256ae887f24cf250fe52a7fe016df94a5a7f5c89d0310820c8f9cd96.js
gzip -f -c -9 /var/www/discourse/public/assets/locales/es-a3ff1203256ae887f24cf250fe52a7fe016df94a5a7f5c89d0310820c8f9cd96.js > /var/www/discourse/public/assets/locales/es-a3ff1203256ae887f24cf250fe52a7fe016df94a5a7f5c89d0310820c8f9cd96.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/locales/es-a3ff1203256ae887f24cf250fe52a7fe016df94a5a7f5c89d0310820c8f9cd96.js --output=/var/www/discourse/public/assets/locales/es-a3ff1203256ae887f24cf250fe52a7fe016df94a5a7f5c89d0310820c8f9cd96.js.br


Done compressing locales/es-a3ff1203256ae887f24cf250fe52a7fe016df94a5a7f5c89d0310820c8f9cd96.js : 0.09 secs

142609.627158136 Compressing: locales/ca-e8ce471543fec6a0f2105a39aaba93b4eb97ab83239a8b04ddd8ef6fa60aa426.js
gzip -f -c -9 /var/www/discourse/public/assets/locales/ca-e8ce471543fec6a0f2105a39aaba93b4eb97ab83239a8b04ddd8ef6fa60aa426.js > /var/www/discourse/public/assets/locales/ca-e8ce471543fec6a0f2105a39aaba93b4eb97ab83239a8b04ddd8ef6fa60aa426.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/locales/ca-e8ce471543fec6a0f2105a39aaba93b4eb97ab83239a8b04ddd8ef6fa60aa426.js --output=/var/www/discourse/public/assets/locales/ca-e8ce471543fec6a0f2105a39aaba93b4eb97ab83239a8b04ddd8ef6fa60aa426.js.br


Done compressing locales/ca-e8ce471543fec6a0f2105a39aaba93b4eb97ab83239a8b04ddd8ef6fa60aa426.js : 0.08 secs

142609.706318107 Compressing: locales/da-18b99802d142de48abd7a258fc86d6ad141eb0c87af687c29470078232c13df5.js
gzip -f -c -9 /var/www/discourse/public/assets/locales/da-18b99802d142de48abd7a258fc86d6ad141eb0c87af687c29470078232c13df5.js > /var/www/discourse/public/assets/locales/da-18b99802d142de48abd7a258fc86d6ad141eb0c87af687c29470078232c13df5.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/locales/da-18b99802d142de48abd7a258fc86d6ad141eb0c87af687c29470078232c13df5.js --output=/var/www/discourse/public/assets/locales/da-18b99802d142de48abd7a258fc86d6ad141eb0c87af687c29470078232c13df5.js.br


Done compressing locales/da-18b99802d142de48abd7a258fc86d6ad141eb0c87af687c29470078232c13df5.js : 0.08 secs

142609.78552307 Compressing: docker-manager-app-888922f3ec4fc42543c1916f533f3fecb9af503803eb6b8b59904a2310219d1d.js
gzip -f -c -9 /var/www/discourse/public/assets/docker-manager-app-888922f3ec4fc42543c1916f533f3fecb9af503803eb6b8b59904a2310219d1d.js > /var/www/discourse/public/assets/docker-manager-app-888922f3ec4fc42543c1916f533f3fecb9af503803eb6b8b59904a2310219d1d.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/docker-manager-app-888922f3ec4fc42543c1916f533f3fecb9af503803eb6b8b59904a2310219d1d.js --output=/var/www/discourse/public/assets/docker-manager-app-888922f3ec4fc42543c1916f533f3fecb9af503803eb6b8b59904a2310219d1d.js.br


Done compressing docker-manager-app-888922f3ec4fc42543c1916f533f3fecb9af503803eb6b8b59904a2310219d1d.js : 0.02 secs

142609.807621351 Compressing: docker-manager-vendor-91af87077979e715f4d5034ea05c612f734c3aece05878051e901d07e84878ee.js
gzip -f -c -9 /var/www/discourse/public/assets/docker-manager-vendor-91af87077979e715f4d5034ea05c612f734c3aece05878051e901d07e84878ee.js > /var/www/discourse/public/assets/docker-manager-vendor-91af87077979e715f4d5034ea05c612f734c3aece05878051e901d07e84878ee.js.gz

brotli -f --quality=6 /var/www/discourse/public/assets/docker-manager-vendor-91af87077979e715f4d5034ea05c612f734c3aece05878051e901d07e84878ee.js --output=/var/www/discourse/public/assets/docker-manager-vendor-91af87077979e715f4d5034ea05c612f734c3aece05878051e901d07e84878ee.js.br


Done compressing docker-manager-vendor-91af87077979e715f4d5034ea05c612f734c3aece05878051e901d07e84878ee.js : 0.14 secs

Done compressing all JS files : 8.65 secs

rake aborted!
SocketError: Failed to open TCP connection to geolite.maxmind.com:443 (getaddrinfo: Name or service not known)
/var/www/discourse/lib/final_destination.rb:411:in `safe_session'
/var/www/discourse/lib/final_destination.rb:362:in `safe_get'
/var/www/discourse/lib/final_destination.rb:131:in `get'
/var/www/discourse/lib/file_helper.rb:51:in `download'
/var/www/discourse/lib/discourse_ip_info.rb:30:in `mmdb_download'
/var/www/discourse/lib/tasks/assets.rake:220:in `block (3 levels) in <top (required)>'
/var/www/discourse/lib/tasks/assets.rake:219:in `each'
/var/www/discourse/lib/tasks/assets.rake:219:in `block (2 levels) in <top (required)>'

Caused by:
SocketError: getaddrinfo: Name or service not known
/var/www/discourse/lib/final_destination.rb:411:in `safe_session'
/var/www/discourse/lib/final_destination.rb:362:in `safe_get'
/var/www/discourse/lib/final_destination.rb:131:in `get'
/var/www/discourse/lib/file_helper.rb:51:in `download'
/var/www/discourse/lib/discourse_ip_info.rb:30:in `mmdb_download'
/var/www/discourse/lib/tasks/assets.rake:220:in `block (3 levels) in <top (required)>'
/var/www/discourse/lib/tasks/assets.rake:219:in `each'
/var/www/discourse/lib/tasks/assets.rake:219:in `block (2 levels) in <top (required)>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:167:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:81:in `upgrade'
/var/www/discourse/plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:95:in `block in upgrade'
/var/www/discourse/plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:91:in `fork'
/var/www/discourse/plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:91:in `upgrade'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/base.rb:196:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/callbacks.rb:135:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications.rb:180:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/notifications.rb:180:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/base.rb:136:in `process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/rendering.rb:39:in `process'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.1.4/lib/mini_profiler/profiling_methods.rb:78:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal.rb:191:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal.rb:252:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:51:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:49:in `block in serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:32:in `each'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:32:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:837:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine.rb:526:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb:190:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb:190:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:49:in `block in serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:32:in `each'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/journey/router.rb:32:in `serve'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/routing/route_set.rb:837:in `call'
/var/www/discourse/lib/middleware/omniauth_bypass_middleware.rb:68:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/conditional_get.rb:38:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/head.rb:12:in `call'
/var/www/discourse/lib/content_security_policy/middleware.rb:12:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:318:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb:232:in `context'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb:226:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/cookies.rb:648:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/callbacks.rb:101:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/logster-2.5.0/lib/logster/middleware/reporter.rb:43:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/rack/logger.rb:28:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:18:in `call'
/var/www/discourse/config/initializers/100-silence_logger.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/var/www/discourse/lib/middleware/enforce_hostname.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/method_override.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/sendfile.rb:111:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/host_authorization.rb:77:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-mini-profiler-1.1.4/lib/mini_profiler/profiler.rb:184:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/message_bus-2.2.3/lib/message_bus/rack/middleware.rb:57:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:181:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/engine.rb:526:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb:190:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/railtie.rb:190:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/urlmap.rb:68:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `each'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `call'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:605:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:700:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:562:in `maintain_worker_count'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/lib/unicorn/http_server.rb:295:in `join'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/unicorn-5.5.1/bin/unicorn:128:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.6.0/bin/unicorn:23:in `<main>'
Spinning up 1 Unicorn worker(s) that were stopped initially

When going back to the upgrade page it shows docker manager to be “up to date”

How can I check what happend and how to safely proceed?

Best,
Uwe

1 Like

You’ll have to rebuild. There were some changes in Docker Manager that are causing this and the solution is to rebuild.

SSH into Your server then:

cd /var/discourse
git pull
./launcher rebuild app
6 Likes

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