로컬에 Ubuntu Discourse를 설치하는 문제

로컬호스트에 Discourse를 설치한 후 ./discourse-setup을 실행했습니다. 앱은 성공적으로 빌드되었습니다.
하지만 app.yml을 수정하여 다음 줄을 추가한 후 ./launcher rebuild app.yml을 실행하면 항상 문제가 발생합니다.

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml

"
  *- "templates/web.china.template.yml"*

ChatGPT, Grok, DeepSeek에 질문을 해보았지만 결국 문제를 해결하지 못했습니다. 구체적인 문제는 다음과 같습니다:

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 145 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 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"]}

제발 도와주실 수 있는 분 없을까요? 제 업무용으로 훈련 및 Q&A 시스템을 구축하고 싶습니다.

추가 템플릿의 포맷이 위 항목들과 정확히 동일하도록 확인하십시오. 위 코드에 별표(*)가 포함되어 있습니다. 이것이 app.yml에 입력되는 내용인지 판단하기 어렵습니다.

네, 아마도 서식 문제인 것 같습니다. “…china…yml” 코드 줄을 타이핑할 때 별표를 잊어버렸네요. 다시 시도해 보겠습니다. 감사합니다.

저는 로컬라이제이션에서 언어만 변경하고 새로고침을 했어요. 우와. 디스코urses 언어를 빌드하는 가이드를 몇 개 봤기 때문에 이 방법을 시도해 본 거예요. 시간을 낭비해서 별로예요.