./launcher rebuild app 실패. 어떻게 해결할 수 있나요?

터미널 메시지:


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git 실패, 반환 코드: #<Process::Status: pid 281 exit 128>
실패 위치: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
파라미터 {"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가 문제를 진단하는 데 도움이 될 수 있습니다.

서버: Ubuntu 20.04

이 문제를 해결하는 데 도움이 되는 오류 메시지는 FAILED 위에 있습니다. 콘솔 출력을 더 많이 제공해 주시겠습니까?

네, 콘솔 출력 내용을 더 추가합니다:


I, [2024-01-20T08:58:14.792020 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git
Cloning into '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 -- : Terminating async processes
I, [2024-01-20T09:00:02.284707 #1]  INFO -- : Sending INT to 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
2024-01-20 09:00:02.287 UTC [57] LOG:  received fast shutdown request
I, [2024-01-20T09:00:02.291386 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 126
126:signal-handler (1705741202) Received SIGTERM scheduling shutdown...
2024-01-20 09:00:02.302 UTC [57] LOG:  aborting any active transactions
126:M 20 Jan 2024 09:00:02.308 # User requested shutdown...
126:M 20 Jan 2024 09:00:02.311 * Saving the final RDB snapshot before exiting.
126:M 20 Jan 2024 09:00:02.333 * DB saved on disk
126:M 20 Jan 2024 09:00:02.334 # Redis is now ready to exit, bye bye...
2024-01-20 09:00:02.406 UTC [57] LOG:  background worker "logical replication launcher" (PID 66) exited with exit code 1
2024-01-20 09:00:02.409 UTC [61] LOG:  shutting down
2024-01-20 09:00:02.475 UTC [57] LOG:  database system is shut down


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git failed with return #<Process::Status: pid 299 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.


인터넷 오류인 것 같은데, 우연히 다시 빌드하면 해결될까요?

최소 4번은 다시 빌드해 봤는데, 한 번도 작동하지 않았습니다.

인터넷 오류일 수도 있지만, 아직 원인을 찾지 못했습니다.

서버가 중국에 있거나 GitHub에 연결하는 데 문제가 있을 수 있는 다른 곳에 있나요?

아마도 그렇지 않을 것 같습니다. 제 서버는 홍콩에 위치해 있으며, GitHub에 연결하는 데는 문제가 없습니다.

그리고 이를 확인하기 위해 다음 명령을 수동으로 실행해 보았습니다:

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

정상적으로 작동합니다 (GitHub에 연결됨)

음, 아이디어를 얻으려면 이 이전 스레드를 참고해 보세요?
Fatal: unable to access 'https://github.com/SamSaffron/pups.git/':

HK가 GFW(만리방화벽) 안에 있는 것으로 보입니다. GFW와 일치하는 불일치된 결과가 나타나고 있습니다. 다음 링크를 참고해 보세요.
A fork of discourse docker repo for China