신규 설치 (Hetzner VPS) 실패

지난 며칠간 Layer7와 Hetzner VPS에서 Discourse 설치를 시도해 보고 있습니다. Layer7에서는 ‘Install with Virtualmin’ 가이드를 따라 설치했는데 아무 문제 없이 잘 작동하고 있습니다.

Virtualmin에서는 Discourse 레시피가 포함된 새로운 Podman 모듈도 출시되었는데, 작동은 하지만 버그가 좀 있는 편입니다.

Hetzner 서버에서는 여러 번 설치를 시도해 보았지만 항상 부트스트랩 단계에서 실패합니다.

2GB 스왑을 설정해 두었고, VPS는 4코어, 8GB RAM을 갖추고 있습니다.

아래는 에러 메시지입니다. 누군가 올바른 방향을 알려줄 수 있을지 궁금합니다. 제 판단으로는 doctor 명령어로 인해 상황이 명확해지지 않았습니다.

필요하다면 로그나 명령어 출력을 제공할 수 있습니다.

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  git fetch --tags --prune-tags --prune --force origin
  if [[ $(git symbolic-ref --short HEAD) == latest ]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout latest
  fi
' failed with return #<Process::Status: pid 179 exit 128>
Location of failure: /usr/local/lib/ruby/gems/3.4.0/gems/pups-1.4.0/lib/pups/exec_command.rb:138:in 'Pups::ExecCommand#spawn'
Location of failure: /usr/local/lib/ruby/gems/3.4.0/gems/pups-1.4.0/lib/pups/exec_command.rb:138:in 'Pups::ExecCommand#spawn'
exec failed with the params {"cd" => "$home", "tag" => "build", "hook" => "code", "cmd" => ["sudo -H -E -u discourse git clean -f", "sudo -H -E -u discourse bash -c '\n  set -o errexit\n  git fetch --tags --prune-tags --prune --force origin\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\"", "find /shared/log/rails /shared/uploads /shared/backups /shared/tmp ! \\( -user discourse -group www-data \\) -exec chown discourse:www-data {} \\+", "[ ! -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.

디스크 닥터 출력

==================== MEMORY INFORMATION ====================
RAM (MB): 8127

               total        used        free      shared  buff/cache   available
Mem:            7751        1146         318           8        6604        6604
Swap:           2047           0        2047

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        75G   13G   60G  18% /

==================== DISK INFORMATION ====================
Disk /dev/sda: 76.3 GiB, 81923145728 bytes, 160006144 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 818C9A1D-5D5F-4F06-9432-7B4B83510711

Device      Start       End   Sectors  Size Type
/dev/sda1  528384 160006110 159477727   76G Linux filesystem
/dev/sda14   2048      4095      2048    1M BIOS boot
/dev/sda15   4096    528383    524288  256M EFI System

Partition table entries are not in disk order.

==================== END DISK INFORMATION ====================

실제 이유는 failed 텍스트 이전에 언급됩니다. 거기에 뭔가 이상한 부분이 있나요?

이 메시지는 "도움을 받으려면 로그의 최소 몇백 줄을 게시해 주세요"라고 해석해야 합니다.

더 많은 정보가 필요합니다. 실패한 부트스트랩 코드를 전체적으로 올려 주세요.

Hetzner에 설치하는 것은 매우 쉽습니다. 저는 Hetzner만 사용하고 있습니다.

Podman 설치도 지원되지 않으므로 버그가 있는 것은 놀라운 일이 아닙니다. 이 설치 구성에 대한 지원을 받는 것은 어려울 것입니다.

거의 포기한 상태입니다. 어떤 정보가 필요한 건가요? 말씀드린 대로 로그와 커맨드라인 입력/출력 제공에는 문제없습니다. 새 설치조차 실패해서 저도 당황하고 있습니다.

이전에는 이런 문제가 없었습니다. 이건 Podman 설치가 아니라 1줄 설치기를 사용한 ‘공식’ 버전입니다.

마지막 에러 메시지만 있는 것이 아니라, 부트스트랩 실패에 대한 전체 출력 코드가 필요합니다. 빌드를 시도할 때 시스템이 출력하는 모든 내용을 그대로 올려주세요.

@Lilly 감사합니다. 그런 건 어느 정도 예상하고 있었어요. 오늘은 좀 지쳤으니 내일 전체 로그를 올리겠습니다. 정보 주셔서 감사합니다.