فشل التثبيت على Debian 11 (ProxMox/KVM)

مرحباً، أحاول تثبيت حاوية Discourse Docker (باستخدام هذا الدليل: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub) على خادم جديد مثبت عليه Debian 11 حديثًا. ولكنه يفشل برسالة الخطأ المرفقة أدناه. الرسالة نفسها لا تقدم الكثير من المعلومات حول ما يحدث - ولكنها تشير إلى وجود مشكلة في الوصول إلى 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 معلقة:

هل هناك أي شيء مشابه في تلك المواضيع يبدو مألوفًا لك وقد يساعدنا في تتبع السبب؟

يبدو أن الحالة الأخيرة هي نفسها (على الرغم من أنها في توزيعة لينكس مختلفة).

لم نتمكن من معرفة الخطأ الذي حدث في الخادم الحالي. انتهى بنا الأمر بنسخ مثيل Discourse إلى قطرة جديدة وعمل مرة أخرى.

إعجابَين (2)