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

**URL:** https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345
**Category:** Self-hosting
**Created:** [2024 年 1 月 20 日午前 5:16 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345 "2024-01-20T05:16:39Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Dotila\_Li](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dotila_li/32/303426_2.png) [@Dotila\_Li](https://meta.discourse.org/u/Dotila_Li)
#### Post date: [2024 年 1 月 20 日午前 5:16 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/1 "2024-01-20T05:16:39Z")

</div>

ターミナルメッセージ：

```plaintext

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

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2024 年 1 月 20 日午前 5:45 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/2 "2024-01-20T05:45:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Dotila\_Li](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dotila_li/32/303426_2.png) [@Dotila\_Li](https://meta.discourse.org/u/Dotila_Li)
#### Post date: [2024 年 1 月 20 日午前 9:02 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/3 "2024-01-20T09:02:16Z")

</div>

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

```plaintext

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 が問題を診断するのに役立つかもしれません。

```

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [2024 年 1 月 20 日午前 11:23 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/4 "2024-01-20T11:23:33Z")

</div>

> [@Dotila\_Li](#):
>
> ```plaintext
> 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
> 
> ```

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

---

<div class="post-metadata">

### Author: ![Dotila\_Li](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dotila_li/32/303426_2.png) [@Dotila\_Li](https://meta.discourse.org/u/Dotila_Li)
#### Post date: [2024 年 1 月 20 日午前 11:51 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/5 "2024-01-20T11:51:13Z")

</div>

> [@Firepup650](#):
>
> 単に再構築するだけでうまくいく可能性はありますか？

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

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

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [2024 年 1 月 20 日午前 11:58 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/6 "2024-01-20T11:58:50Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Dotila\_Li](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dotila_li/32/303426_2.png) [@Dotila\_Li](https://meta.discourse.org/u/Dotila_Li)
#### Post date: [2024 年 1 月 20 日午後 12:31 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/7 "2024-01-20T12:31:35Z")

</div>

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

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

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

```

（GitHubへの接続は）機能します。

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [2024 年 1 月 20 日午後 2:10 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/8 "2024-01-20T14:10:12Z")

</div>

以前の投稿でアイデアが見つかるかもしれません。  
[Fatal: ‘https://github.com/SamSaffron/pups.git/’ にアクセスできません](https://meta.discourse.org/t/fatal-unable-to-access-https-github-com-samsaffron-pups-git/86477/11):

> [@schleifer](#):
>
> コンテナの内側と外側で、GitHub の証明書が異なります。

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [2024 年 1 月 20 日午後 3:28 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/9 "2024-01-20T15:28:35Z")

</div>

私の見立てでは、HKはGFW（Great Firewall）の内部にある可能性が高いです。結果の一貫性のなさはGFWと一致します。以下を参照してください。  
[中国向けDiscourse Dockerリポジトリのフォーク](https://meta.discourse.org/t/a-fork-of-discourse-docker-repo-for-china/193668)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2024 年 2 月 19 日午後 3:29 UTC](https://meta.discourse.org/t/launcher-rebuild-app-failed-how-to-fix-this/292345/10 "2024-02-19T15:29:28Z")

</div>

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