نحن نحاول إعادة بناء تثبيتنا لـ Discourse (كما طلبت واجهة الإدارة)
إليك الأخطاء، يرجى المساعدة، فنحن غير ملمين بـ Docker
root@school-forum:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
cat: templates/sshd.template.yml: No such file or directory
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: invalid reference format: repository name must be lowercase.
See '/usr/bin/docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
rm: cannot remove 'cids/app_bootstrap.cid': No such file or directory
** 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.
root@school-forum:/var/discourse#
يرجى المساعدة — فلا يبدو أننا نجد أشخاصًا واجهوا مشاكل مشابهة مؤخرًا.
تحرير: بعد تشغيل apt-get update/upgrade، تظهر رسالة خطأ جديدة:
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
root@school-forum:/var/discourse# ./launcher rebuild app
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
مرحبًا بالجميع، تحديث سريع: تم حل هذه المشكلة عن طريق وضع سطر في ملف app.yml داخل تعليق، لكن إعادة البناء تفشل لاحقًا مع الرسالة التالية:
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
1e4e6a45815a1196e4687a17e44a0beb1dd6229cd61ba2a3b657903e6cd2b56e
** FAILED TO BOOTSTRAP ** يرجى التمرير لأعلى والبحث عن رسائل الأخطاء السابقة، قد يكون هناك أكثر من خطأ.
قد يساعد ./discourse-doctor في تشخيص المشكلة.
أيضًا، يفشل أمر ./discourse-doctor بعد محاولة إعادة البناء — بنفس الرسالة
واجهت نفس المشكلة بالضبط عند الترقية من الإصدار 2.4.2 إلى 2.4.3، وكان سجل الأخطاء كالتالي:
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cat: templates/sshd.template.yml: No such file or directory
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: invalid reference format: repository name must be lowercase.
See '/usr/bin/docker run --help'.
cat: cids/app_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument(s).
See 'docker rm --help'.
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
rm: cannot remove 'cids/app_bootstrap.cid': No such file or directory
** 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.
بعد تشغيل ./discourse-doctor، فشل إعادة بناء التطبيق مرة أخرى، لكن تم إعادة تشغيل الحاوية، لذا عاد الموقع إلى وضعه الطبيعي على الإصدار 2.4.2.