فشل التمهيد لـ data.yml وكذلك web_only

أنا لا أعيد بناء الحاويات الخاصة بي في كثير من الأحيان، وأكتفي بالتحديث من خلال واجهة المتصفح.
اليوم، عندما أردت إدراج إضافة الذكاء الاصطناعي، وجدت أن كلًا من حاويات/ملفات YML الخاصة بـ ‘Data’ و’Web_only’ تفشل في عملية التمهيد.

مخرجات أداة فحص ديسكوز (Discourse Doctor) مرفقة أدناه

DISCOURSE DOCTOR Tue Feb 27 06:32:10 AM UTC 2024
OS: Linux cpx21-3c-4r-80ssd 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


YML=web_only.yml
تم العثور على containers/web_only.yml

==================== إعدادات YML ====================
DISCOURSE_HOSTNAME=bathindahelper.com
SMTP_ADDRESS=email-smtp.ap-south-1.amazonaws.com ## smtp-relay.sendinblue.com # سابقًا
DEVELOPER_EMAILS=bathindahelper@gmail.com
SMTP_PASSWORD=مخفي
SMTP_PORT=587
SMTP_USER_NAME=مخفي
LETSENCRYPT_ACCOUNT_EMAIL=bathindahelper@gmail.com

==================== معلومات Docker ====================
إصدار Docker: Docker version 25.0.3, build 4debf41

عمليات Docker (docker ps -a)

معرف الحاوية   الصورة                              الأمر                  تم الإنشاء منذ     الحالة                   المنافذ     الأسماء
06c70a81e392   local_discourse/web_only           "/sbin/boot"             منذ 5 أسابيع     قيد التشغيل منذ أسبوعين                         web_only
6b9837b4be61   discourse/base:2.0.20231218-0429   "/bin/bash -c '/usr/…"   منذ 5 أسابيع     خرجت (1) منذ 5 أسابيع             elegant_jang
ba6f0dc49ce7   local_discourse/data               "/sbin/boot"             منذ 21 شهرًا     قيد التشغيل منذ أسبوعين                         data

06c70a81e392   local_discourse/web_only   "/sbin/boot"   منذ 5 أسابيع     قيد التشغيل منذ أسبوعين             web_only

حاوية ديسكوز web_only قيد التشغيل


==================== الإضافات ====================
          - git clone https://github.com/discourse/discourse-google-one-tap
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-oauth2-basic
          - git clone https://github.com/discourse/discourse-adplugin
          - git clone https://github.com/discourse/discourse-data-explorer
          - git clone https://github.com/discourse/discourse-tooltips
          - git clone https://github.com/discourse/discourse-whos-online
          - git clone https://github.com/discourse/discourse-translator
          - git clone https://github.com/discourse/discourse-chat-integration ## للدمج مع تطبيقات الدردشة مثل تيليجرام أو سلاك وما إلى ذلك
#          - git clone https://github.com/discourse/discourse-chat
#          - git clone https://github.com/discourse/discourse-cakeday
#          - git clone https://github.com/discourse/discourse-follow
#          - git clone https://github.com/paviliondev/discourse-news
#          - git clone https://github.com/discourse/discourse-math
#          - git clone https://github.com/discourse/discourse-reactions
#          - git clone https://github.com/discourse/discourse-ai
#          - git clone https://github.com/discourse/discourse-rss-polling
#يسبب مشكلة:          - git clone https://github.com/discourse/discourse-math #https://meta.discourse.org/t/discourse-math-plugin/65770
#          - git clone https://github.com/discourse/discourse-lti #.../learning-management-system-integration-lti-1-3-authentication/196174
#          - git clone https://github.com/discourse/discourse-subscriptions #https://meta.discourse.org/t/discourse-subscriptions/140818
#          - git clone https://github.com/discourse/discourse-voting #https://meta.discourse.org/t/discourse-voting/40121
#          - git clone https://github.com/discourse/discourse-calendar #https://meta.discourse.org/t/discourse-calendar/97376
#          - git clone https://github.com/discourse/discourse-solved.git #https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155
#          - git clone https://github.com/discourse/discourse-yearly-review
#          - git clone https://github.com/discoursehosting/discourse-adsense ## تم الاستغناء عنه لصالح إصدار أحدث وأفضل من إضافة ديسكوز للإعلانات.
#          - git clone https://github.com/discoursehosting/discourse-guest-gate
#مهجور          - git clone https://github.com/discourse/discourse-sitemap.git #...meta.discourse.org/t/discourse-sitemap/40348
#          - git clone https://github.com/davidtaylorhq/discourse-telegram-notifications #...iscourse-telegram-notifications/60483
#          - git clone https://github.com/iunctis/discourse-formatting-toolbar #https://meta.discourse.org/t/formatting-toolbar/40649
#          - git clone https://github.com/angusmcleod/discourse-locations #https://meta.discourse.org/t/locations-plugin/69742
#          - git clone https://github.com/angusmcleod/discourse-legal-tools #سيتم إصلاحها من قبل فريق ديسكوز.
#يتعارض حاليًا مع إضافة follow الرسمية - git clone https://github.com/paviliondev/discourse-follow # تجاهلها إذا كان هناك تعارض مع الإضافة غير الرسمية.
#          - git clone https://github.com/paviliondev/discourse-topic-previews  ## تم نقلها حاليًا إلى مكون سمة لنفس الوظيفة
#          - git clone https://github.com/saiqulhaq/tvc #https://meta.discourse.org/t/topic-visitors-counter-plugin/41456
#          - git clone https://github.com/angusmcleod/discourse-layouts #https://meta.discourse.org/t/custom-layouts-plugin/55208
#          - git clone https://github.com/featheredtoast/discourse-pushover-notifications #.../pushover-notifications/119258
#          - git clone https://github.com/orlando/discourse-user-scores #https://meta.discourse.org/t/user-scores-reputation-plugin/92364
#          - git clone https://github.com/gdpelican/babble  #قد يكون السبب في تعطل الموقع بالكامل
#          - git clone https://github.com/synweap15/discourse-voice-record
#          - git clone https://github.com/procourse/procourse-memberships
#          - git clone https://github.com/angusmcleod/discourse-events
# معطلة          - git clone https://github.com/curiousdannii/discourse-merge-users #https://meta.discourse.org/t/merge-users-plugin/114917
# معطلة          - git clone https://github.com/paviliondev/discourse-quick-messages #https://meta.discourse.org/t/quick-messages-plugin/39188
# معطلة         - git clone https://github.com/Alavi1412/discourse-reputation-plugin #.../reputation-plugin-version-0-2/54758/13
#مدمجة في نواة ديسكوز. لذا لم تعد هناك حاجة إليها - git clone https://github.com/discourse/discourse-spoiler-alert #...discourse-spoiler-alert/12650

تحذير:
يبدو أن لديك إضافات غير رسمية.
إذا كنت تواجه مشكلة، يجب عليك تعطيلها والمحاولة مرة أخرى لإعادة البناء.
راجع https://github.com/discourse/discourse/blob/main/lib/plugin/metadata.rb للحصول على القائمة الرسمية.

========================================
Discourse 3.3.0.beta1
إصدار ديسكوز في bathindahelper.com: Discourse 3.3.0.beta1
إصدار ديسكوز في localhost: غير موجود
==================== مشكلة DNS ====================
يبلغ هذا الخادم عن «غير موجود»، لكن bathindahelper.com يبلغ عن Discourse 3.3.0.beta1.
هذا يشير إلى وجود مشكلة في DNS أو أن هناك وسيطًا (proxy) هو المسؤول.
إذا كنت تستخدم Cloudflare أو شبكة توصيل محتوى (CDN)، فقد يكون الإعداد غير صحيح.


==================== معلومات الذاكرة ====================
الذاكرة العشوائية (RAM) بالميغابايت: 4001

               الإجمالي        المستعمل        الحر        المشترك  ذاكرة التخزين المؤقت   المتاحة
الذاكرة:            3815        1475        1648         113         691        1987
مساحة التبديل:           2047        1834         213

==================== فحص مساحة القرص ====================
---------- مساحة قرص النظام ----------
نظام الملفات      الحجم  المستعمل  المتاح النسبة% المثبت على
/dev/sda1        75G   39G   34G  54% /

==================== معلومات القرص ====================
القرص /dev/sda: 76.3 جيجابايت، 81923145728 بايت، 160006144 قطاع
نموذج القرص: QEMU HARDDISK
الوحدات: قطاعات بمعدل 1 * 512 = 512 بايت
حجم القطاع (منطقي/فيزيائي): 512 بايت / 512 بايت
حجم الإدخال/الإخراج (الحد الأدنى/الأفضل): 512 بايت / 512 بايت
نوع تسمية القرص: gpt
معرف القرص: 429800E9-7239-4627-BEC9-7792EEDDB87A

الجهاز      البداية       النهاية   القطاعات  الحجم النوع
/dev/sda1  528384 160006110 159477727   76G نظام ملفات Linux
/dev/sda14   2048      4095      2048    1M تمهيد BIOS
/dev/sda15   4096    528383    524288  256M نظام EFI

مدخلات جدول الأقسام غير مرتبة حسب ترتيب القرص.

==================== نهاية معلومات القرص ====================

==================== اختبار البريد ====================
لإجراء اختبار قوي، احصل على عنوان من http://www.mail-tester.com/
أو أرسل ببساطة رسالة تجريبية إلى نفسك.
عنوان البريد الإلكتروني لاختبار البريد؟ (اكتب 'n' للتخطي) [bathindahelper@gmail.com]:
جاري إرسال البريد إلى bathindahelper@gmail.com. . .
اختبار الإرسال إلى bathindahelper@gmail.com باستخدام email-smtp.ap-south-1.amazonaws.com:587، اسم المستخدم:AKIAWRLBIAD2ZJ73AK3F مع مصادقة عادية.
تمت عملية الاتصال بخادم SMTP بنجاح.
جاري الإرسال إلى bathindahelper@gmail.com. . .
تم قبول الرسالة من قبل خادم SMTP.
معرف الرسالة: 4df35f46-7338-41c2-9d3f-9e56304463df@bathindahelper.com

إذا لم تستلم الرسالة، تحقق من مجلد البريد العشوائي (SPAM)
أو قم بإجراء الاختبار مرة أخرى باستخدام خدمة مثل http://www.mail-tester.com/.

إذا لم يتم تسليم الرسالة، فهذا لا يعني وجود مشكلة في ديسكوز.
تحقق من سجلات خادم SMTP لمعرف الرسالة أعلاه لمعرفة سبب فشل تسليم الرسالة.
استبدال: SMTP_PASSWORD
استبدال: LETSENCRYPT_ACCOUNT_EMAIL
استبدال: DEVELOPER_EMAILS
استبدال: DISCOURSE_DB_PASSWORD
استبدال: جاري إرسال البريد إلى

==================== تم! ====================

يمكنك فحص مخرجات هذا السكربت باستخدام
LESS=-Ri less /tmp/discourse-debug.txt

لكن أولًا، تأكد من أنك تعرف الأوامر الثلاثة الأولى أدناه!!!

الأوامر التي يجب معرفتها عند عرض الملف بالأمر السابق (المسمى 'less'):
q              -- الخروج
/error<ENTER>  -- البحث عن كلمة 'error'
n              -- الانتقال إلى التكرار التالي
g              -- الانتقال إلى بداية الملف
f              -- الانتقال للأمام بصفحة واحدة
b              -- العودة للخلف بصفحة واحدة
G              -- الانتقال إلى نهاية الملف
root@cpx21-3c-4r-80ssd:/var/discourse#

كما هو موضح أعلاه، قمت بتعطيل几乎所有 الإضافات باستخدام علامة #.
هل يمكن لأي شخص مساعدتي في معرفة سبب فشل بناء كلا الحاويتين؟

##فشل_إعادة_بناء_الحاوية
##فشل_إعادة_بناء_web_only
##فشل_إعادة_بناء_data

تحتاج بالتأكيد إلى إعادة بناء حاوية البيانات لتثبيت المكون الإضافي للذكاء الاصطناعي.

ستحتاج إلى تضمين الإخراج الكامل من إعادة البناء حتى يتمكن أي شخص من المساعدة في معرفة المشكلة.

بالإضافة إلى إعادة بناء حاوية ‘data’ (التي احتاجت إلى إيقاف حاوية web_only أولاً، لمن لم يكن يعرف)، كنت أعاني أيضًا من نقص في ذاكرة الوصول العشوائي (4 جيجابايت فقط، واضطررت إلى إضافة 4 جيجابايت swap).

شكراً مرة أخرى. ربما أنت مهم لمجتمع Discourse (المجتمع) بنفس القدر الذي يهم به هذا المجتمع نفسه.