كيفية استخدام وكيل في `./launcher rebuild app`

فشل تشغيل الأمر ./launcher rebuild app وحصلت على رسالة المخرجات التالية:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 210 exit 128>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin master", "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", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}

أعلم أن الخادم لا يمكنه الوصول إلى GitHub، لذا قمت بإعداد إعدادات الوكيل في مضيف Docker.
لقد جربت استخدام proxychains، وإعداد http_proxy و git config، لكن لم ينجح أي منها.
يبدو أن الأوامر داخل حاوية Docker تحاول جلب البيانات من GitHub دون استخدام الوكيل.

هل توجد طريقة لتثبيت أو تحديث Discourse عبر وكيل؟ شكرًا لك.

إعجاب واحد (1)

آخر مرة قمتُ بذلك كانت حوالي عام 2017، لكن إليك ملخص الأمر:

4 إعجابات