最新アップデートでエラーが発生しました

An error occurred while updating Discourse. Please check the logs below.

Starting update

******************************************************** *** Please be patient, next steps might take a while *** ******************************************************** Cycling Unicorn, to free up memory Restarting unicorn pid: 44 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… 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 62237 $ cd /var/www/discourse & git fetch --tags --prune-tags --prune --force From https://ghfast.top/https://github.com/discourse/discourse 78ee107fe..e8bf70510 tests-passed → origin/tests-passed + 5d4649970…b0d88ea96 my-pref-lang → origin/my-pref-lang (forced update) $ cd /var/www/discourse & git reset --hard HEAD@{upstream} Updating files: 28% (2/7) Updating files: 42% (3/7) Updating files: 57% (4/7) Updating files: 71% (5/7) Updating files: 85% (6/7) Updating files: 100% (7/7) Updating files: 100% (7/7), done. HEAD is now at e8bf70510 FEATURE: create new topic while viewing restricted category or tag (#33495) $ bundle install --retry 3 --jobs 4 Bundle complete! 160 Gemfile dependencies, 207 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 Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +6 ++++++ ERR_PNPM_FETCH_404 GET https://registry.npmmirror.com/babel-plugin-ember-template-compilation/-/babel-plugin-ember-template-compilation-3.0.0.tgz: Not Found - 404 No authorization header was set for the request. Docker Manager: FAILED TO UPGRADE #<RuntimeError: RuntimeError> /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:102: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-8.0.2/lib/rails/commands/runner/runner_command.rb:44:in `load’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/commands/runner/runner_command.rb:44:in `block in perform’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb:91:in `wrap’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/commands/runner/runner_command.rb:70:in `conditional_executor’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/commands/runner/runner_command.rb:43:in `perform’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.4.0/lib/thor/command.rb:28:in `run’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.4.0/lib/thor/invocation.rb:127:in `invoke_command’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/command/base.rb:178:in `invoke_command’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.4.0/lib/thor.rb:538:in `dispatch’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/command/base.rb:73:in `perform’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/command.rb:65:in `block in invoke’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/command.rb:143:in `with_argv’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/lib/rails/command.rb:63:in `invoke’ /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-8.0.2/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 3 Unicorn worker(s) that were stopped initially

コンソールから再構築できますか?

おそらく、関連する問題: Bundling more popular plugins with Discourse core

私は現在最新バージョンですが、1時間前に更新バージョンがリリースされました。インストール時にTaobaoソースを使用したところ、ファイルが見つからないというエラーが表示されました。

「いいね!」 1

こんにちは、標準的なインストールを実行していますか?

「いいね!」 1

自動翻訳で重要な情報が失われたようです(cc @nat)。@cshll が共有したエラーは次のとおりです。

ERR_PNPM_FETCH_404 GET https://registry.npmmirror.com/babel-plugin-ember-template-compilation/-/babel-plugin-ember-template-compilation-3.0.0.tgz: Not Found - 404 リクエストに承認ヘッダーが設定されていませんでした。Docker Manager: FAILED

問題は NPM の中国のミラーにあるようです(web.china.template.yml によって設定されています)。メインの NPMJS サイトで同じ URL にアクセスすると、正常に動作します。

https://registry.npmjs.com/babel-plugin-ember-template-compilation/-/babel-plugin-ember-template-compilation-3.0.0.tgz

ここからどうすればよいかよくわかりません。npmmirror.com に連絡して、パッケージが見つからないことを報告してみてはどうでしょうか? :thinking:

「いいね!」 1

インジケーターは、翻訳が古いことを示しています

これは、編集が再翻訳されないという既知の問題ではありませんか?

@Lhc_fl アップデートで問題はありましたか?もしあなたが淘宝網(タオバオ)ミラーを使用している場合にも。

「いいね!」 2

淘宝ミラーは使用したことがありませんが、私の知る限りでは、ミラーリングが不十分なため、淘宝ミラーも同様の問題を抱えている可能性があります。

実際、他のプロジェクト(electronでのエラー)でも同様の状況を見たことがあり、唯一の解決策は中国本土外のサーバーを使用するか、グローバルプロキシを有効にすることだと思います。

「いいね!」 4