I can’t update Discourse. Below is the update log:
********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
Cycling Unicorn, to free up memory
Restarting unicorn pid: 545
Waiting for Unicorn to reload.
Waiting for Unicorn to reload..
Waiting for Unicorn to reload...
Waiting for Unicorn to reload....
Waiting for Unicorn to reload.....
Waiting for Unicorn to reload......
Waiting for Unicorn to reload.......
Waiting for Unicorn to reload........
Waiting for Unicorn to reload.........
Waiting for Unicorn to reload..........
Stopping 3 Unicorn worker(s), to free up memory
Stopping job queue to reclaim memory, master pid is 211038
$ cd /var/www/discourse && git fetch --tags --prune-tags --prune --force
$ cd /var/www/discourse && git reset --hard HEAD@{upstream}
Updating files: 2% (7/285)
Updating files: 3% (9/285)
Updating files: 4% (12/285)
Updating files: 5% (15/285)
Updating files: 6% (18/285)
Updating files: 7% (20/285)
Updating files: 8% (23/285)
Updating files: 9% (26/285)
Updating files: 10% (29/285)
Updating files: 11% (32/285)
Updating files: 12% (35/285)
Updating files: 13% (38/285)
Updating files: 14% (40/285)
Updating files: 15% (43/285)
Updating files: 16% (46/285)
Updating files: 17% (49/285)
Updating files: 18% (52/285)
Updating files: 19% (55/285)
Updating files: 20% (57/285)
Updating files: 21% (60/285)
Updating files: 22% (63/285)
Updating files: 23% (66/285)
Updating files: 24% (69/285)
Updating files: 25% (72/285)
Updating files: 26% (75/285)
Updating files: 27% (77/285)
Updating files: 28% (80/285)
Updating files: 29% (83/285)
Updating files: 30% (86/285)
Updating files: 31% (89/285)
Updating files: 32% (92/285)
Updating files: 33% (95/285)
Updating files: 34% (97/285)
Updating files: 35% (100/285)
Updating files: 36% (103/285)
Updating files: 37% (106/285)
Updating files: 38% (109/285)
Updating files: 39% (112/285)
Updating files: 40% (114/285)
Updating files: 41% (117/285)
Updating files: 42% (120/285)
Updating files: 43% (123/285)
Updating files: 44% (126/285)
Updating files: 45% (129/285)
Updating files: 46% (132/285)
Updating files: 47% (134/285)
Updating files: 48% (137/285)
Updating files: 49% (140/285)
Updating files: 50% (143/285)
Updating files: 51% (146/285)
Updating files: 52% (149/285)
Updating files: 53% (152/285)
Updating files: 54% (154/285)
Updating files: 55% (157/285)
Updating files: 56% (160/285)
Updating files: 57% (163/285)
Updating files: 58% (166/285)
Updating files: 59% (169/285)
Updating files: 60% (171/285)
Updating files: 61% (174/285)
Updating files: 62% (177/285)
Updating files: 63% (180/285)
Updating files: 64% (183/285)
Updating files: 65% (186/285)
Updating files: 66% (189/285)
Updating files: 67% (191/285)
Updating files: 68% (194/285)
Updating files: 69% (197/285)
Updating files: 70% (200/285)
Updating files: 71% (203/285)
Updating files: 72% (206/285)
Updating files: 73% (209/285)
Updating files: 74% (211/285)
Updating files: 75% (214/285)
Updating files: 76% (217/285)
Updating files: 77% (220/285)
Updating files: 78% (223/285)
Updating files: 79% (226/285)
Updating files: 80% (228/285)
Updating files: 81% (231/285)
Updating files: 82% (234/285)
Updating files: 83% (237/285)
Updating files: 84% (240/285)
Updating files: 85% (243/285)
Updating files: 86% (246/285)
Updating files: 87% (248/285)
Updating files: 88% (251/285)
Updating files: 89% (254/285)
Updating files: 90% (257/285)
Updating files: 91% (260/285)
Updating files: 92% (263/285)
Updating files: 93% (266/285)
Updating files: 94% (268/285)
Updating files: 95% (271/285)
Updating files: 96% (274/285)
Updating files: 97% (277/285)
Updating files: 98% (280/285)
Updating files: 99% (283/285)
Updating files: 100% (285/285)
Updating files: 100% (285/285), done.
HEAD is now at 491e7a342 DEV: Don't create backups during version bumps (#25484)
$ bundle install --retry 3 --jobs 4
Bundle complete! 138 Gemfile dependencies, 170 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
$ yarn install
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
yarn install v1.22.19
[1/4] Resolving packages...
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
[2/4] Fetching packages...
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > discourse > ember-router-service-refresh-polyfill@1.1.0" has incorrect peer dependency "ember-source@^3.4 || 4".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-13c547f0-d771-4eaa-a2b6-af4b9529c851 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
[4/4] Building fresh packages...
$ ./run-patch-package
patch-package 8.0.0
Applying patches...
@ember/test-helpers@2.9.4 ✔
babel-plugin-debug-macros@0.3.4 ✔
content-tag@1.2.2 ✔
ember-cli@5.0.0 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Done in 57.44s.
Done in 58.33s.
$ LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all
disable-email-verification-discourse is already at latest compatible version
discourse-chat-bridge is already at latest compatible version
discourse-post-voting is already at latest compatible version
discourse-steam-login is already at latest compatible version
discourse-vk-auth is already at latest compatible version
docker_manager is already at latest compatible version
$ SKIP_POST_DEPLOYMENT_MIGRATIONS=1 bundle exec rake multisite:migrate
Multisite migrator is running using 1 threads
Migrating default
Seeding default
*** Bundling assets. This will take a while ***
$ bundle exec rake themes:update assets:precompile
Checking 'redditish' for 'default'... up to date
Checking 'Full width' for 'default'... up to date
Checking 'Discourse Header Search' for 'default'... up to date
Checking 'Mint' for 'default'... up to date
Checking 'Showcased Categories' for 'default'... up to date
Checking 'discourse-search-banner' for 'default'... up to date
Checking 'Air Theme' for 'default'... up to date
Checking 'Modern Category + Group Boxes' for 'default'... up to date
Checking 'Discourse Clickable Topic' for 'default'... up to date
Checking 'Pro theme old' for 'default'... up to date
Checking 'Radiant' for 'default'... up to date
Checking 'discourse-right-sidebar-blocks' for 'default'... up to date
Checking 'discourse-gifs' for 'default'... up to date
Checking 'Topic List Previews' for 'default'... up to date
Checking 'Topic List Previews' for 'default'... up to date
Checking 'Topic Thumbnails' for 'default'... up to date
Checking 'image-alignment' for 'default'... up to date
Checking 'Slick - Gallery Component' for 'default'... up to date
Checking 'Discourse Insert Video' for 'default'... up to date
Checking 'Category Badge Styles' for 'default'... up to date
Node.js heap_size_limit (1009.75) is less than 2048MB. Setting --max-old-space-size=2048.
yarn run v1.22.19
$ /var/www/discourse/app/assets/javascripts/node_modules/.bin/ember build
Building
Environment: development
WARNING: ember-test-selectors: You are using an unsupported ember-cli-babel version. data-test properties are not automatically stripped from your JS code.
building...
...[ConfigLoader]
...[Babel: @embroider/macros > applyPatches]
...[Babel: ember-source > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: @glimmer/component > applyPatches]
...[Babel: pretty-text > applyPatches]
...[Babel: discourse-common > applyPatches]
...[Babel: truth-helpers > applyPatches]
...[Babel: @ember/legacy-built-in-components > applyPatches]
...[Babel: @ember/render-modifiers > applyPatches]
...[Babel: @ember/test-helpers > applyPatches]
...[Babel: @ember/test-waiters > applyPatches]
...[Babel: ember-destroyable-polyfill > applyPatches]
...[Babel: dialog-holder > applyPatches]
...[Babel: ember-cached-decorator-polyfill > applyPatches]
...[Babel: ember-load-initializers > applyPatches]
...[Babel: ember-resize-observer-service > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
Killed
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:210:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:111:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/commands/runner/runner_command.rb:43:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/commands/runner/runner_command.rb:43:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/command/base.rb:87:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/command.rb:48:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/commands.rb:18:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.17.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
bin/rails:18:in `<main>'
Spinning up 3 Unicorn worker(s) that were stopped initially
And when I go to the main page of the site, I now see this: