توقف المنتدى الخاص بي عن العمل... لم أتمكن من إعادة بناء التطبيق

مرحباً، كان منتدى يعمل بشكل جيد حتى قبل أيام قليلة عندما حاولت الترقية عبر /admin/upgrade/
ثم طلب مني الذهاب إلى الطرفية (console) وإجراء التحديث.
لقد اتبعت التعليمات بالضبط، ذهبت إلى /var/discourse —> ثم قمت بتشغيل git pull —> ./launcher rebuild app

ولكن الطرفية أخرجت بعض الأخطاء كما يلي:

root@discourse:/var/discourse# ./launcher rebuild app
x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/hu_HU.utf8/LC_COLLATE: no space left on device
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/hu_HU.utf8/LC_COLLATE: no space left on device
Unable to find image 'discourse/base:2.0.20220128-1817' locally
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pulling fs layer
13f791631149: Pulling fs layer
9cf83aefd7da: Pulling fs layer
5eb5b503b376: Verifying Checksum
5eb5b503b376: Download complete
9cf83aefd7da: Verifying Checksum
9cf83aefd7da: Download complete
13f791631149: Verifying Checksum
13f791631149: Download complete
5eb5b503b376: Pull complete
docker: failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/hu_HU.utf8/LC_COLLATE: no space left on device.
See 'docker run --help'.
Your Docker installation is not working correctly
==================== MEMORY INFORMATION ====================
RAM (MB): 1028

              total        used        free      shared  buff/cache   available
Mem:            981         513         150          63         317         259
Swap:          2047         746        1301

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        25G   23G  1.5G  94% /

لقد حاولت تشغيل الحاوية أيضًا.. ولكنها تعرض هذه الأخطاء

root@grumpy:/var/discourse# ./launcher start app
x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/ig_NG/LC_COLLATE: no space left on device
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pull complete 
13f791631149: Extracting [==================================================>]  585.9MB/585.9MB
9cf83aefd7da: Download complete 
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/ig_NG/LC_COLLATE: no space left on device
Unable to find image 'discourse/base:2.0.20220128-1817' locally
2.0.20220128-1817: Pulling from discourse/base
5eb5b503b376: Pulling fs layer
13f791631149: Pulling fs layer
9cf83aefd7da: Pulling fs layer
5eb5b503b376: Verifying Checksum
5eb5b503b376: Download complete
9cf83aefd7da: Verifying Checksum
9cf83aefd7da: Download complete
13f791631149: Verifying Checksum
13f791631149: Download complete
5eb5b503b376: Pull complete
docker: failed to register layer: Error processing tar file(exit status 1): write /usr/lib/locale/ig_NG/LC_ADDRESS: no space left on device.
See 'docker run --help'.
Your Docker installation is not working correctly

تفيد رسائل الخطأ بعدم وجود مساحة كافية على الجهاز لكتابة الملفات /usr/lib/locale/ig_NG/LC_COLLATE و /usr/lib/locale/ig_NG/LC_ADDRESS

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

إذا نفدت المساحة لديك بسبب التحميلات على منتدى Discourse الخاص بك، فقد يكون من المفيد النظر في ترحيل التحميلات إلى S3 (سواء كان Amazon S3 أو بديلاً) للتخزين. قد لا يزال يتعين عليك ترقية التخزين مؤقتًا إذا كنت ترغب في اتباع هذا المسار.

إعجابَين (2)

كما هو مقترح، هذه هي المشكلة التي سأعمل عليها أولاً.

 ./launcher cleanup

وحذف النسخ الاحتياطي هي أماكن جيدة للبدء.

3 إعجابات

تم حل المشكلة. لقد قمت بتنظيف مساحة أكبر والآن يمكنني إعادة بناء discourse

3 إعجابات