실패: 반환 #<Process::Status: pid 144 exit 128>

Discourse 커뮤니티 회원 여러분께,

중국 Aliyun 서버에 Discourse 포럼을 배포하는 과정에서 해결되지 않은 오류를 겪고 있습니다. 오류 메시지는 다음과 같습니다:
FAILED

--------------------
Pups::ExecError: cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
' failed with return #<Process::Status: pid 144 exit 128>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["sudo -H -E -u discourse git reset --hard", "sudo -H -E -u discourse git clean -f", "sudo -H -E -u discourse bash -c '\n  set -o errexit\n  if [ $(git rev-parse --is-shallow-repository) == \"true\" ]; then\n      git remote set-branches --add origin main\n      git remote set-branches origin $version\n      git fetch --depth 1 origin $version\n  else\n      git fetch --tags --prune-tags --prune --force origin\n  fi\n'", "sudo -H -E -u discourse bash -c '\n  set -o errexit\n  if [[ $(git symbolic-ref --short HEAD) == $version ]] ; then\n      git pull\n  else\n      git -c advice.detachedHead=false checkout $version\n  fi\n'", "sudo -H -E -u discourse git config user.discourse-version $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", "[ ! -d public/plugins ] || 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.
0ae30c93e953921c82004a93bce079b8b85b5b6bf6e4d42968a0de6e16a2d684

중국에서는 GitHub에 대한 접근이 제한될 수 있으므로 네트워크 문제라고 추정합니다. Docker를 Alibaba Cloud 미러를 사용하도록 구성해 보았지만 문제가 계속되고 있습니다.

이 문제를 해결하는 데 도움을 주실 수 있을까요? 정말 감사합니다!

이 토픽에 유용한 정보가 있을 수 있습니다.

또한 이 토픽을 발견한 방법도 공유합니다.

검색에서 "Aliyun"이라는 키워드를 사용해 보세요. 검색 결과에 중국어로 된 가이드가 있을 가능성이 있습니다. 기억이 정확하지는 않지만, 정보를 찾을 수 있는 또 다른 검색 키워드로는 "Great firewall"가 있습니다.

에러 메시지에 언급된 내용으로 볼 때, 에러는 복사하신 부분보다 위에 있을 가능성이 높습니다. 위로 스크롤하여 에러를 찾아보세요.

여기서 단계들을 확인해 주시겠습니까?

특히 “중국 네트워크 환경 최적화” 부분을 참고해 주세요.

제 문제를 성공적으로 해결해 주셔서 정말 감사합니다. 도움과 전문성에 진심으로 감사드립니다.

또 다른 이야기지만, 중국의 인터넷 장벽을 다루는 것은 정말 짜증스럽습니다. 온라인 접근과 자유를 크게 방해하거든요.

다시 한번 감사드립니다!