IPv6 전용 VPS 설치 및 호환성

여러분 안녕하세요,
IPv6만 있는 VPS(ubuntu server 22.04 LTS)에 Discourse를 설치하려고 하는데 다음과 같은 오류가 발생합니다.

103:M 04 Feb 2023 17:27:33.313 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && sudo -H -E -u discourse git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 145 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"=>["sudo -H -E -u discourse git reset --hard", "sudo -H -E -u discourse git clean -f", "sudo -H -E -u discourse git remote set-branches --add origin main", "sudo -H -E -u discourse git remote set-branches origin $version", "sudo -H -E -u discourse git fetch --depth 1 origin $version", "sudo -H -E -u discourse 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
** 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.
364d2e22530738ab198f829e14d7d8f4d7513ec7da82e30b774381aaa28f2f63

해당 가이드를 따라 IPv4 DNS 문제를 수정했지만 여전히 ./launcher rebuild app를 완료하지 못하고 있습니다.
https://gist.github.com/unixfox/bb299ce4f862fad66ee2e6d9024bef98/
https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/

Discourse가 IPv6만 있는 환경과 호환되지 않는 건가요?
그렇다면 다시 시도하지 않겠습니다.

그들의 자체 호스팅에서 IPv6이 광범위하게 사용되므로, Discourse 자체는 IPv6과 호환됩니다.

로그를 더 보여줄 수 있을까요? 실제 오류는 포함하신 섹션 위에 있습니다. 추측컨대, 설정의 일부가 GitHub에서 데이터를 가져오는 데 문제를 일으키고 있는 것 같습니다. GitHub에 AAAA 레코드가 보이지 않으므로, 이것이 문제일 수 있습니다. 그리고 이 부분도 있습니다:

곧 전체 로그를 추가할게요…

여기에 표시된 DNS를 추가한 후, GitHub을 문제없이 사용할 수 있게 되었습니다.

음. 하지만 만약 지금 겪고 있는 문제가 발생하기 전에 그렇게 했다면, Docker가 GitHub에 액세스하도록 하는 것에는 충분하지 않을 수 있습니다. Docker 컨테이너 내부에서 GitHub을 사용할 수 있나요?

설치를 시작하기 전에 DNS를 변경했는데, 스크립트로 Docker는 성공적으로 설치되었지만 Docker 컨테이너 내부에서 GitHub를 사용할 수 있는지 확인은 하지 않았습니다…

어떻게 확인하면 될까요?
감사합니다 :slight_smile:

잘 모르겠어서 말씀드리기 어렵습니다.

컨테이너를 실행하고, 내부로 들어가서 git clone을 시도하거나, 어쩌면 그냥 curl https://github.com/만 실행해 보아야 합니다.

IPv6 전용 환경에서는 어렵고 지원되지 않을 것 같습니다. google git+clone+inside+docker+ipv6로 검색해 보니 이것을 찾았습니다: tasks have no access to ipv6 services · concourse · Discussion #5919 · GitHub

여러 사이트와 가이드를 읽은 끝에 결국 포기하기로 결정했습니다.
너무 복잡하고 불안정하네요. 그래도 도움 주셔서 감사합니다!