test-passedブランチの再構築を試みた後に502 Bad Gatewayが発生

指示に従ってアプリを再構築しようとしましたが、コンテナを再構築する際に次の致命的なエラーが発生しました。

git pull
./launcher rebuild app

エラーメッセージは次のとおりです。

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 140 exit 128>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin main", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p                    /shared/log/rails", "bash -c \"touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log\"", "bash -c \"ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p           /shared/{uploads,backups}\"", "bash -c \"ln    -s           /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p           /shared/tmp/{backups,restores}\"", "bash -c \"ln    -s           /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp\"", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}}
bootstrap failed with exit code 128
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
14b470c4c6575f2bc366dff1fa8559f98bce37abe5703f63c070b939f67dab65

ウェブサイトには次のエラーが表示されます。

502 Bad Gateway

これをどうすれば修正できますか?

ログ全体はこちらにあります。
whole log.txt (18.3 KB)

再構築が失敗したようです。./discourse-doctor を実行したところ、次の結果が表示されました。

==================== SERIOUS PROBLEM!!!! ====================

app not running!

Attempting to rebuild

アウトバウンドトラフィックにプロキシを使用していますか?正しく機能していないようです。

fatal: 'https://github.com/discourse/discourse.git/' にアクセスできません:
  CONNECT 後にプロキシから HTTP コード 503 を受信しました
「いいね!」 1

中国本土にサーバーがあるのですが、GFWの影響を受けているのではないかと疑っています。GFWの影響で、GitHub上のブランチを取得できず、再構築アクションが失敗しているのでしょうか?

はい、私のサーバーは中国本土にあり、アップデートは常に非常に困難です。デフォルトのアクションではGitHubからgitをプルできません。

それが問題です。

詳細はこちら: Upgrade from within China fails due to git issues

「いいね!」 1

プロキシをサーバーにインストールする方法がわかりません。。。