ブラウザ経由で更新しようとしても、更新するたびに Sorry, there was an error updating Discourse. Please check the logs below. というエラーが表示されます。常にターミナルに頼らなければならず、フォーラムを30分ほどダウンさせる必要があるため、これは良くありません。
どなたか助けていただけると幸いです。
エラー:
概要
********************************************************
*** 少々お待ちください、次のステップには時間がかかる場合があります ***
********************************************************
ユニコーンをサイクリングしてメモリを解放します
ユニコーンのPIDを再起動します: 603
ユニコーンの再読み込みを待っています。
ユニコーンの再読み込みを待っています..
ユニコーンの再読み込みを待っています...
ユニコーンの再読み込みを待っています....
ユニコーンの再読み込みを待っています.....
ユニコーンの再読み込みを待っています......
ユニコーンの再読み込みを待っています.......
ユニコーンの再読み込みを待っています........
ユニコーンの再読み込みを待っています.........
ユニコーンの再読み込みを待っています..........
ユニコーンの再読み込みを待っています...........
ユニコーンの再読み込みを待っています............
ユニコーンの再読み込みを待っています.............
ユニコーンの再読み込みを待っています..............
ユニコーンの再読み込みを待っています...............
ユニコーンの再読み込みを待っています................
ユニコーンの再読み込みを待っています.................
ユニコーンの再読み込みを待っています..................
ユニコーンの再読み込みを待っています...........
ユニコーンの再読み込みを待っています............
ユニコーンの再読み込みを待っています.............
ユニコーンの再読み込みを待っています..............
ユニコーンの再読み込みを待っていますвка
$ cd /var/www/discourse
$ git reset --hard HEAD@{upstream}
HEAD is now at fe1b1edba FIX: removes + from RTE toggle tooltip (#33542)
$ bundle install --retry 3 --jobs 4
Bundle complete! 143 Gemfile dependencies, 190 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`
3 installed gems you directly depend on are looking for funding.
Run `bundle fund` for details
$ if [ -f yarn.lock ]; then yarn install; else CI=1 pnpm install; fi
Scope: all 16 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 9.1s using pnpm v9.15.6
$ LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all
discourse-adplugin is already at latest compatible version
discourse-categories-suppressed is already at latest compatible version
discourse-doc-categories is already at latest compatible version
Invalid version list in /var/www/discourse/plugins/discourse-landing-pages
discourse-landing-pages is already at latest compatible version
discourse-solved 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
Updating themes with concurrency: 10
[db:default] 'New Topic Header Button' - checking...
[db:default] 'New Topic Header Button' - up to date
[db:default] 'Category Banners' - checking...
[db:default] 'Category Banners' - up to date
[db:default] 'Clickable Topic' - checking...
[db:default] 'Clickable Topic' - up to date
[db:default] 'Tag Banners' - checking...
[db:default] 'Tag Banners' - up to date
[db:default] 'Breadcrumb Links' - checking...
[db:default] 'Breadcrumb Links' - up to date
[db:default] 'Welcome Link Banner' - checking...
[db:default] 'Welcome Link Banner' - up to date
[db:default] 'Tag Icons' - checking...
[db:default] 'Tag Icons' - up to date
[db:default] 'Social Share' - checking...
[db:default] 'Social Share' - up to date
[db:default] 'Navigation Menu Display Control' - checking...
[db:default] 'Navigation Menu Display Control' - up to date
[db:default] 'DiscoTOC' - checking...
Node.js heap_size_limit is less than 2048MB. Setting --max-old-space-size=2048 and CHEAP_SOURCE_MAPS=1
Existing build is not reusable.
- Existing: {"ember_env"=\u003e"production", "core_tree_hash"=\u003e"c71c1ad482ff7f24c3ad3a76d5a521861f29e1fb"}
- Current: {"ember_env"=\u003e"production", "core_tree_hash"=\u003e"d026d5621e9421eaf67123aab7361a44f0fa9c31"}
Running full core build...
Building
Environment: production
The setting 'staticAddonTrees' will default to true in the next version of Embroider and can't be turned off. To prepare for this you should set 'staticAddonTrees: true' in your Embroider config.
The setting 'staticAddonTestSupportTrees' will default to true in the next version of Embroider and can't be turned off. To prepare for this you should set 'staticAddonTestSupportTrees: true' in your Embroider config.
building...
...[ConfigLoader]
...[Babel: @embroider/macros
...[Babel: pretty-text
...[Babel: @ember/legacy-built-in-components
...[Babel: ember-source
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/app/assets/javascripts/discourse/ember/ember-template-compiler.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/app/assets/javascripts/discourse/ember/ember.js as it exceeds the max of 500KB.
...[Babel: @glimmer/component
...[Babel: @ember/render-modifiers
...[Babel: dialog-holder
...[Babel: ember-this-fallback
...[Babel: ember-buffered-proxy
...[Babel: ember-cache-primitive-polyfill
...[Babel: float-kit
...[Babel: select-kit
...[@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]
undefined
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command was killed with SIGKILL (Forced termination): ember build -prod
/var/www/discourse/script/assemble_ember_build.rb:103:in `system': Command failed with exit 1: pnpm (RuntimeError)
from /var/www/discourse/script/assemble_ember_build.rb:103:in `
Docker Manager: FAILED TO UPGRADE
#
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:211:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:112:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in
/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 `
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:44:in `load'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:44:in `block in perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:70:in `conditional_executor'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:43:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command/base.rb:178:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command/base.rb:73:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:71:in `block in invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:149:in `with_argv'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:69:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands.rb:18:in `
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
bin/rails:18:in `
Spinning up 1 Unicorn worker(s) that were stopped initially