실패: 반환 #<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 미러를 사용하도록 구성해 보았지만 문제가 계속되고 있습니다.

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

This topic may contain helpful info

Also how I found this topic

In Search use keyword “Aliyun”. There looks to be possibly a guide there in Chinese in the search results. Another keyword for search that may also have info is “Great firewall” iirc

As error message mentions the error is likely higher up than what you copied. Scroll up and look for errors.

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

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

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

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

다시 한번 감사드립니다!