حاولت التحديث إلى الإصدار 3.4.0 الليلة الماضية والفشل في التحديث مستمر. لا يمكنني العثور على خطأ واضح في المكون الإضافي ويبدو أن هناك ذاكرة كافية أيضًا…
==================== مشكلة خطيرة!!!! ====================
التطبيق لا يعمل!
محاولة إعادة البناء
==================== سجل إعادة البناء ====================
تم اكتشاف بنية x86_64.
تحذير: ملف containers/app.yml قابل للقراءة من قبل الجميع. يمكنك تأمين هذا الملف عن طريق تشغيل: chmod o-rwx containers/app.yml
التأكد من تحديث المشغل
جلب الأصل
المشغل محدث
إيقاف الحاوية القديمة
+ /usr/bin/docker stop -t 600 app
app
2.0.20240825-0027: السحب من discourse/base
Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
الحالة: الصورة محدثة لـ discourse/base:2.0.20240825-0027
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-08-29T06:27:54.954308 #1] INFO -- : القراءة من stdin
I, [2024-08-29T06:27:54.967006 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-08-29T06:27:54.972778 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-08-29T06:27:54.977868 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-08-29T06:27:54.983048 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
I, [2024-08-29T06:27:54.988576 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-08-29T06:27:54.988882 #1] INFO -- : استبدال data_directory = '/var/lib/postgresql/13/main' بـ data_directory = '/shared/postgres_data' في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.989890 #1] INFO -- : استبدال (?-mix:#?listen_addresses *=.*) بـ listen_addresses = '*' في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.992525 #1] INFO -- : استبدال (?-mix:#?synchronous_commit *=.*) بـ synchronous_commit = $db_synchronous_commit في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.993361 #1] INFO -- : استبدال (?-mix:#?shared_buffers *=.*) بـ shared_buffers = $db_shared_buffers في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.994078 #1] INFO -- : استبدال (?-mix:#?work_mem *=.*) بـ work_mem = $db_work_mem في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.994692 #1] INFO -- : استبدال (?-mix:#?default_text_search_config *=.*) بـ default_text_search_config = '$db_default_text_search_config' في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.996207 #1] INFO -- : استبدال (?-mix:#?checkpoint_segments *=.*) بـ checkpoint_segments = $db_checkpoint_segments في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.996893 #1] INFO -- : استبدال (?-mix:#?logging_collector *=.*) بـ logging_collector = $db_logging_collector في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.998006 #1] INFO -- : استبدال (?-mix:#?log_min_duration_statement *=.*) بـ log_min_duration_statement = $db_log_min_duration_statement في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-29T06:27:54.998824 #1] INFO -- : استبدال (?-mix:^#local +replication +postgres +peer$) بـ local replication postgres peer في /etc/postgresql/13/main/pg_hba.conf
I, [2024-08-29T06:27:54.999520 #1] INFO -- : استبدال (?-mix:^host.*all.*all.*127.*$) بـ host all all 0.0.0.0/0 md5 في /etc/postgresql/13/main/pg_hba.conf
I, [2024-08-29T06:27:55.000423 #1] INFO -- : استبدال (?-mix:^host.*all.*all.*::1\/128.*$) بـ host all all ::/0 md5 في /etc/postgresql/13/main/pg_hba.conf
I, [2024-08-29T06:27:55.001096 #1] INFO -- : > if [ -f /root/install_postgres ]; then
/root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi
I, [2024-08-29T06:27:55.067844 #1] INFO -- : إنشاء اللغات (قد يستغرق هذا بعض الوقت)...
اكتمل الإنشاء.
postgres already running stop container
فشل
--------------------
Pups::ExecError: if [ -f /root/install_postgres ]; then
/root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi
فشل مع العودة #<Process::Status: pid 16 exit 1>
الموقع الذي فشل فيه: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
فشل التنفيذ مع المعلمات {"tag"=>"db", "cmd"=>"if [ -f /root/install_postgres ]; then\n /root/install_postgres && rm -f /root/install_postgres\nelif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then\n socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1\nfi\n"}
فشل التمهيد برمز خروج 1
** فشل التمهيد ** يرجى التمرير لأعلى والبحث عن رسائل خطأ سابقة، قد يكون هناك أكثر من واحدة.
قد يساعد ./discourse-doctor في تشخيص المشكلة.
afa7edec7b05a0d8269e150cef76c0f3d66c0ec9ff17378f8202d2e10b81ded1
==================== نهاية سجل إعادة البناء ====================
total used free shared buff/cache available
Mem: 4039588 282424 1478380 44144 2278784 3421444
Swap: 0 0 0