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

**URL:** https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809
**Category:** Support
**Created:** [12월 30, 2024, 2:40오전 UTC](https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809 "2024-12-30T02:40:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![qingfeng1024](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qingfeng1024/32/495412_2.png) [@qingfeng1024](https://meta.discourse.org/u/qingfeng1024)
#### Post date: [12월 30, 2024, 2:40오전 UTC](https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809/1 "2024-12-30T02:40:43Z")

</div>

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

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

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

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

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [12월 30, 2024, 7:34오전 UTC](https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809/2 "2024-12-30T07:34:33Z")

</div>

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

> [@설치 중 GitHub에 연결할 수 없음](https://meta.discourse.org/t/installation-unable-to-connect-to-github/217758?u=heliosurge):
>
> The environment I use is aliyun ECS (1Core 2 GiB Ubuntu 20.04 64bit), source.list is also the default of aliyun. In the past two days, I have installed N times according to the novice installation tutorial of discourse, and there are errors.

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

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

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

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [12월 30, 2024, 9:01오전 UTC](https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809/3 "2024-12-30T09:01:13Z")

</div>

> [@qingfeng1024](#):
>
> 네트워크 문제일 것 같습니다. 중국에서는 GitHub에 대한 접근이 제한될 수 있기 때문입니다. Alibaba Cloud의 미러를 사용하도록 Docker를 구성해 보았습니다.

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

> [@cn Discourse 공식 설치 가이드 | Discourse 클라우드 플랫폼 설치](https://meta.discourse.org/t/discourse-official-install-guide-discourse/197803#h-12):
>
> 本文档是根据 [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) 页面中的内容进行翻译的。 翻译的原文发布在：[Discourse 云平台安装 - Discourse - iSharkFly](https://www.isharkfly.com/t/discourse/13590) ， 欢迎参与讨论。 云平台安装 在基于云平台的 Discourse 安装通常不会超过 30 分钟，哪怕你没有任何有关 Rails 或 Linux shell 的知识都能够顺利完成安装。 下面我们是通过 [DigitalOcean](https://www.digitalocean.com/?refcode=5fa48ac82415) 服务提供商来进行安装测的，但是所有的安装步骤都能够在 所有兼容 Docker 的云计算平台上进行，同时也可以在本地的服务器上完成安装。 bell 如果你连 30 分钟都没有的话？你可以联系 Discourse 社区来帮你完成安装，Discourse 社区将会收取一次性 $150 （美元）的费用。 [单击此处链接来对服务进行购买](https://www.literatecomputing.com/product/discourse-install/) 。 开始前的准备工作 域名bell Discourse 不能通过 IP 地址来工作，你必须拥有一个域名或者二级域名来进行安装，例如 exam…

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

---

<div class="post-metadata">

### Author: ![qingfeng1024](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qingfeng1024/32/495412_2.png) [@qingfeng1024](https://meta.discourse.org/u/qingfeng1024)
#### Post date: [1월 2, 2025, 2:21오전 UTC](https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809/5 "2025-01-02T02:21:14Z")

</div>

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

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

다시 한번 감사드립니다!

---

<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: [2월 1, 2025, 2:21오전 UTC](https://meta.discourse.org/t/failed-with-return-process-pid-144-exit-128/344809/6 "2025-02-01T02:21:19Z")

</div>

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