Debian 11 (ProxMox/KVM)에서 설치 실패

새로 설치된 Debian 11 서버에 Discourse Docker 컨테이너를 설치하려고 합니다(다음 가이드 사용: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub). 하지만 아래에 첨부된 오류 메시지와 함께 실패합니다. 메시지 자체는 무슨 일이 일어나고 있는지 많은 정보를 제공하지는 않지만, GitHub 접근에 문제가 있음을 시사합니다(github.com을 해석할 수 없음). 서버 자체는 ProxMox/KVM으로 관리되는 가상 머신입니다. 이 문제에 대해 도움을 주실 수 있는 분 계신가요?

I, [2023-01-10T14:10:50.610422 #1]  INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
fatal: unable to access 'https://github.com/discourse/discourse.git/': Could not resolve host: github.com
...
Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 141 exit 128>
Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin main", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $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

안녕하세요, @lukasjelinek 님을 환영합니다 :slight_smile:

최근 이와 관련된 보고가 몇 건 있었는데, 안타깝게도 아직 해결책이 없습니다. @hiddenseal 님은 인스턴스를 새 서버로 이전한 후 문제가 해결되었다고 하고, @littleviolette 님의 문제는 아직 해결되지 않은 상태입니다:

해당 주제에서 원인을 파악하는 데 도움이 될 만한, 익숙하게 느껴지는 유사한 내용이 있으신가요?

후자가 동일한 사례인 것 같습니다(다만 다른 Linux 배포판에서 발생했죠).

기존 서버에서 무엇이 잘못되었는지 파악하지 못했습니다. 결국 Discourse 인스턴스를 새로운 드롭렛으로 복사했고, 이제 다시 정상적으로 작동합니다.