./launcher rebuild app が失敗しました。これを修正するにはどうすればよいですか?

ターミナルメッセージ:


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git failed with return #<Process::Status: pid 281 exit 128>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-data-explorer.git", "git clone https://github.com/discourse/discourse-whos-online.git", "git clone https://github.com/discourse/discourse-math.git"]}
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.

サーバー:Ubuntu 20.04

トラブルシューティングに役立つエラーメッセージは、FAILED の上にあります。コンソール出力をもう少し詳しく教えていただけますか?

「いいね!」 1

はい、コンソール出力です。


I, [2024-01-20T08:58:14.792020 #1]  INFO -- : cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git
'discourse-math' にクローン中...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 907 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
I, [2024-01-20T09:00:02.242893 #1]  INFO -- :
I, [2024-01-20T09:00:02.281901 #1]  INFO -- : 非同期プロセスを終了しています
I, [2024-01-20T09:00:02.284707 #1]  INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 57 に INT を送信しています
2024-01-20 09:00:02.287 UTC [57] LOG:  高速シャットダウンリクエストを受信しました
I, [2024-01-20T09:00:02.291386 #1]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 126 に TERM を送信しています
126:signal-handler (1705741202) SIGTERMを受信しました。シャットダウンをスケジュールしています...
2024-01-20 09:00:02.302 UTC [57] LOG:  アクティブなトランザクションを中止しています
126:M 20 Jan 2024 09:00:02.308 # シャットダウンをユーザーがリクエストしました...
126:M 20 Jan 2024 09:00:02.311 * 終了する前に最終的なRDBスナップショットを保存しています。
126:M 20 Jan 2024 09:00:02.333 * DBはディスクに保存されました
126:M 20 Jan 2024 09:00:02.334 # Redisは終了する準備ができました。さようなら...
2024-01-20 09:00:02.406 UTC [57] LOG:  バックグラウンドワーカー「logical replication launcher」(PID 66) が終了コード 1 で終了しました
2024-01-20 09:00:02.409 UTC [61] LOG:  シャットダウンしています
2024-01-20 09:00:02.475 UTC [57] LOG:  データベースシステムはシャットダウンされました


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git がリターンコード #<Process::Status: pid 299 exit 128> で失敗しました
失敗場所: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec がパラメータ {\"cd\"=>\"$home/plugins\", \"cmd\"=>[\"git clone https://github.com/discourse/docker_manager.git\", \"git clone https://github.com/discourse/discourse-data-explorer.git\", \"git clone https://github.com/discourse/discourse-whos-online.git\", \"git clone https://github.com/discourse/discourse-math.git\"]} で失敗しました
ブートストラップが終了コード 128 で失敗しました
** ブートストラップに失敗しました ** 上記にスクロールして、以前のエラーメッセージを探してください。複数ある場合があります。

./discourse-doctor が問題を診断するのに役立つかもしれません。


インターネットのエラーのようですね。再ビルドするだけで直るでしょうか?

「いいね!」 2

4回以上再構築しましたが、一度も機能しませんでした。

インターネットのエラーの可能性がありますが、まだ解決していません。

サーバーは中国にあるか、GitHubへの接続に問題がある可能性のある他の場所にあるのでしょうか?

「いいね!」 2

おそらくそうではありません。私のサーバーは香港にあり、GitHubへの接続に問題はありません。

それを確認するために、手動でこれを実行します。

git clone https://github.com/discourse/discourse-math.git

(GitHubへの接続は)機能します。

以前の投稿でアイデアが見つかるかもしれません。
Fatal: ‘https://github.com/SamSaffron/pups.git/’ にアクセスできません:

「いいね!」 2

私の見立てでは、HKはGFW(Great Firewall)の内部にある可能性が高いです。結果の一貫性のなさはGFWと一致します。以下を参照してください。
中国向けDiscourse Dockerリポジトリのフォーク

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