# Debian 11 (ProxMox/KVM) でインストールが失敗しました

**URL:** <https://meta.discourse.org/t/installation-failed-on-debian-11-proxmox-kvm/251292>\
**Category:** Self-hosting\
**Created:** [2023 年 1 月 10 日午後 2:22 UTC](https://meta.discourse.org/t/installation-failed-on-debian-11-proxmox-kvm/251292 "2023-01-10T14:22:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lukasjelinek](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@lukasjelinek](https://meta.discourse.org/u/lukasjelinek)\
**Post date:** [2023 年 1 月 10 日午後 2:22 UTC](https://meta.discourse.org/t/installation-failed-on-debian-11-proxmox-kvm/251292/1 "2023-01-10T14:22:16Z")

</div>

こんにちは。Discourse Dockerコンテナを新しいサーバー（Debian 11をクリーンインストール）にインストールしようとしていますが（このガイド：[https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.mdを使用）、以下のエラーメッセージが表示されて失敗します。メッセージ自体は、何が起こっているのかについての情報はあまり提供していませんが、GitHubへのアクセスに問題がある（github.comを解決できない）ことを示唆しています。サーバー自体は、ProxMox/KVMで管理されている仮想マシンです。この問題について、どなたか助けていただけますでしょうか？](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md%E3%82%92%E4%BD%BF%E7%94%A8%EF%BC%89%E3%80%81%E4%BB%A5%E4%B8%8B%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%A6%E5%A4%B1%E6%95%97%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E8%87%AA%E4%BD%93%E3%81%AF%E3%80%81%E4%BD%95%E3%81%8C%E8%B5%B7%E3%81%93%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%81%AE%E3%81%8B%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%81%AE%E6%83%85%E5%A0%B1%E3%81%AF%E3%81%82%E3%81%BE%E3%82%8A%E6%8F%90%E4%BE%9B%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%81%8C%E3%80%81GitHub%E3%81%B8%E3%81%AE%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%AB%E5%95%8F%E9%A1%8C%E3%81%8C%E3%81%82%E3%82%8B%EF%BC%88github.com%E3%82%92%E8%A7%A3%E6%B1%BA%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84%EF%BC%89%E3%81%93%E3%81%A8%E3%82%92%E7%A4%BA%E5%94%86%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E8%87%AA%E4%BD%93%E3%81%AF%E3%80%81ProxMox/KVM%E3%81%A7%E7%AE%A1%E7%90%86%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E4%BB%AE%E6%83%B3%E3%83%9E%E3%82%B7%E3%83%B3%E3%81%A7%E3%81%99%E3%80%82%E3%81%93%E3%81%AE%E5%95%8F%E9%A1%8C%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%80%81%E3%81%A9%E3%81%AA%E3%81%9F%E3%81%8B%E5%8A%A9%E3%81%91%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%81%8B%EF%BC%9F)

```plaintext
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

```

---

_[View the full topic](https://meta.discourse.org/t/installation-failed-on-debian-11-proxmox-kvm/251292)._
