استجابةً لرسالة لوحة التحكم التي تفيد بأن 3.2.0.beta4 كان ترقية عاجلة، لكن هذا فشل في البناء.
استجابةً لرسالة الخطأ، تم توجيهي للنظر في:
bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/rbtrace-0.5.1/mkmf.log
كان هذا يبني msgpack، مع الخطأ التالي:
LD_LIBRARY_PATH=.:/usr/local/lib "./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/ --libdir=/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rbtrace-0.5.1/ext/dst/lib"
ls: cannot access '.': Operation not permitted
configure: error: working directory cannot be determined
المساعدة من فضلك! أفضل عدم إعادة البناء من النسخة الاحتياطية.
تعديل:
لقد قمت بتشغيل git pull و ./launcher rebuild app.
هل أنت قادر/على استعداد لإعادة البناء على tests-passed؟ أشك في أن أحدث علامة beta تتأثر بخطأ التبعية “العابر” هذا الذي تم مسحه بالفعل في أحدث إصدار. أو انتظر الإصدار beta التالي وأعد تشغيل الحاوية الخاصة بك واجلس هناك؟
For the past few weeks or so, we cannot rebuild our Discourse forum software.
Each time, we get this Bundler error:
occurred while installing rbtrace (0.5.1), and Bundler cannot continue.
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4' failed with return #<Process::Status: pid 541 exit 5>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the pa…
كيف يمكنني التبديل إلى tests-passed؟
كان الأمر يستحق المحاولة، سيتطلب هذا المزيد من البحث. إن تورط هذه الجوهرة في العديد من عمليات البناء الفاشلة مؤخرًا أمر مريب.
نعم، هذه هي النسخة الحالية:
~/discourse$ gem info rbtrace
*** LOCAL GEMS ***
rbtrace (0.5.1, 0.5.0, 0.4.14)
حسنًا، أعتقد أن rbtrace يعتمد على حداثة نظام التشغيل الأساسي لسبب ما، انظر هذه النصيحة:
Debian 9 has been superseded by Debian 10 (“buster”). Security updates have been discontinued as of July 6th, 2020.
You may want to take your backup and migrate to a new server running a current OS version.
لذلك يبدو أن النصيحة هي الانتقال إلى خادم جديد لتسريع ترقية نظام التشغيل.
3 إعجابات
إذًا، هل هذه هي الصورة، أم أن قاعدة أوبونتو هي التي تحتاج إلى تحديث؟
قرأت ذلك على أنه أوبونتو الأساسي.
للعلم، ما هو الإصدار الذي تستخدمه؟ (قد يساعد الآخرين)
إعجابَين (2)
مرحبًا بك في Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-169-generic x86_64)
سأقوم بترقية الإصدار لمعرفة ما إذا كان ذلك سيساعد.
إعجاب واحد (1)
من المثير للاهتمام أنني لم أواجه مشاكل على Jammy (@JammyDodger aha)
:/var/discourse/containers# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
آه!\n\n> عذرًا، برنامج تشغيل التخزين هذا غير مدعوم في النوى للإصدارات الأحدث\n> \n> لن تكون هناك إصدارات Ubuntu أخرى توفر دعم النواة لبرنامج تشغيل التخزين aufs.\n> \n> يرجى التأكد من أن أيًا من حاوياتك لا تستخدم برنامج تشغيل التخزين aufs، وقم بإزالة الدليل /var/lib/docker/aufs وحاول مرة أخرى.\n\nكيف يمكنني تغيير برنامج تشغيل التخزين؟
إعجاب واحد (1)
شخص ما كتب دليلًا مفيدًا:
Hello all,
I have been using Docker with the Devicemapper storage driver. After manually editing the launcher script, I finally took the time to convert to Overlay2. Here are the instructions I took to do this. I hope this helps others. I see others have asked the question , but I don’t see any answers. I used this excellent guide to help figure this out.
Step 1: Halt your Discourse application (and other docker apps)
./launcher stop app
Step 2: Commit and save your old Docker containers/image…
إعجابَين (2)
لقد اتبعت هذه النصيحة، وأنا الآن عدت للعمل. شكراً لك @merefield على مساعدتك.
إعجاب واحد (1)
system
(system)
تم إغلاقه في
10 فبراير 2024، 2:40م
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.