فشل إعادة بناء تطبيق Laucher

مرحبًا، لقد أمضيت بعض الوقت في البحث عن حل لمشكلتي، لذا قررت نشر طلب مساعدة هنا. سأكون ممتنًا جدًا لأي مساعدة.
شكرًا لك.

فشل تحديث Discourse الخاص بي عند محاولة إعادة البناء باستخدام الأمر sudo ./launcher rebuild app.

إليك الخطأ:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 612 exit 1>
موقع الخطأ: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
فشل التنفيذ مع المعاملات {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
فشل التمهيد مع رمز الخروج 1
** فشل في التمهيد ** يرجى التمرير لأعلى والبحث عن رسائل الخطأ السابقة، قد يكون هناك أكثر من واحد.
./discourse-doctor قد يساعد في تشخيص المشكلة.

وهذا هو المخرج الكامل.

تم اكتشاف معمارية x86_64.
تحذير: ملف containers/app.yml قابل للقراءة من قبل الجميع. يمكنك تأمين هذا الملف بتشغيل: chmod o-rwx containers/app.yml
ضمان أن launcher محدّث
جلب origin
remote: تعداد الكائنات: 98، تم.
remote: عد الكائنات: 100% (98/98)، تم.
remote: ضغط الكائنات: 100% (53/53)، تم.
remote: الإجمالي 98 (دلتا 44)، إعادة استخدام 91 (دلتا 41)، pack-reused 0 (من 0)
فك الكائنات: 100% (98/98)، 33.85 KiB | 1.30 MiB/s، تم.
من https://github.com/discourse/discourse_docker
   595dd6a..cfe8aa0  main               -> origin/main
 * [فرع جديد]      clean-bundle-cache -> origin/clean-bundle-cache
 * [فرع جديد]      launcher2-runtime  -> origin/launcher2-runtime
تحديث Launcher...
تحديث 595dd6a..cfe8aa0
سحب سريع
 .github/workflows/build.yml             |   8 +++++++-
 .github/workflows/launcher_go.yml       |  45 +++++++++++++++++++++++++++++++++++++++++++++
 image/base/install-nginx                |   2 ++
 image/base/install-oxipng               |   2 +-
 launcher_go/v2/cli_build.go             |  63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 launcher_go/v2/cli_build_test.go        | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 launcher_go/v2/config/config.go         |  23 ++++++++++++-----------
 launcher_go/v2/docker/commands.go       |  48 +++++++++++++++++++++++++++++++++++-------------
 launcher_go/v2/main.go                  |   2 ++
 launcher_go/v2/test/containers/test.yml |   3 ++-
 10 ملفات متغيرة، 286 إدراج(+)، 42 حذف(-)
 إنشاء وضع 100644 .github/workflows/launcher_go.yml
تم تحديث Launcher، إعادة التشغيل...
تم اكتشاف معمارية x86_64.
تحذير: ملف containers/app.yml قابل للقراءة من قبل الجميع. يمكنك تأمين هذا الملف بتشغيل: chmod o-rwx containers/app.yml
ضمان أن launcher محدّث
جلب origin
Launcher محدّث
إيقاف الحاوية القديمة
+ /usr/bin/docker stop -t 600 app
app
2.0.20240825-0027: سحب من discourse/base
الخلاصة: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
الحالة: الصورة محدّثة لـ discourse/base:2.0.20240825-0027
docker.io/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-30T06:56:18.948183 #1]  INFO -- : القراءة من stdin
I, [2024-08-30T06:56:18.964205 #1]  INFO -- : ملف > /etc/service/postgres/run  chmod: +x  chown: 
I, [2024-08-30T06:56:18.968049 #1]  INFO -- : ملف > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2024-08-30T06:56:18.971804 #1]  INFO -- : ملف > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2024-08-30T06:56:18.975928 #1]  INFO -- : ملف > /root/install_postgres  chmod: +x  chown: 
I, [2024-08-30T06:56:18.980242 #1]  INFO -- : ملف > /root/upgrade_postgres  chmod: +x  chown: 
I, [2024-08-30T06:56:18.981315 #1]  INFO -- : استبدال data_directory = '/var/lib/postgresql/13/main' بـ data_directory = '/shared/postgres_data' في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.982464 #1]  INFO -- : استبدال (?-mix:#?listen_addresses *=.*) بـ listen_addresses = '*' في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.983257 #1]  INFO -- : استبدال (?-mix:#?synchronous_commit *=.*) بـ synchronous_commit = $db_synchronous_commit في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.983946 #1]  INFO -- : استبدال (?-mix:#?shared_buffers *=.*) بـ shared_buffers = $db_shared_buffers في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.984609 #1]  INFO -- : استبدال (?-mix:#?work_mem *=.*) بـ work_mem = $db_work_mem في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.985516 #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-30T06:56:18.986191 #1]  INFO -- : استبدال (?-mix:#?checkpoint_segments *=.*) بـ checkpoint_segments = $db_checkpoint_segments في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.986778 #1]  INFO -- : استبدال (?-mix:#?logging_collector *=.*) بـ logging_collector = $db_logging_collector في /etc/postgresql/13/main/postgresql.conf
I, [2024-08-30T06:56:18.987367 #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-30T06:56:18.988402 #1]  INFO -- : استبدال (?-mix:^#local +replication +postgres +peer$) بـ local replication postgres  peer في /etc/postgresql/13/main/pg_hba.conf
I, [2024-08-30T06:56:18.988907 #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-30T06:56:18.989381 #1]  INFO -- : استبدال (?-mix:^host.*all.*all.*::1\/128.*$) بـ host all all ::/0 md5 في /etc/postgresql/13/main/pg_hba.conf
I, [2024-08-30T06:56:18.989926 #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 يعمل بالفعل إيقاف الحاوية ; exit 1
fi

I, [2024-08-30T06:56:20.337068 #1]  INFO -- : إنشاء اللغات (قد يستغرق هذا بعض الوقت)...
اكتمل الإنشاء.

I, [2024-08-30T06:56:20.337989 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-08-30T06:56:20.346153 #1]  INFO -- : ملف > /usr/local/bin/create_db  chmod: +x  chown: 
I, [2024-08-30T06:56:20.361384 #1]  INFO -- : ملف > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-08-30T06:56:20.368046 #1]  INFO -- : ملف > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2024-08-30T06:56:20.368835 #1]  INFO -- : > sleep 5
2024-08-30 06:56:20.427 UTC [36] LOG:  بدء تشغيل PostgreSQL 13.16 (Debian 13.16-1.pgdg120+1) على x86_64-pc-linux-gnu، تم التجميع بواسطة gcc (Debian 12.2.0-14) 12.2.0، 64-bit
2024-08-30 06:56:20.427 UTC [36] LOG:  الاستماع على عنوان IPv4 "0.0.0.0"، منفذ 5432
2024-08-30 06:56:20.428 UTC [36] LOG:  الاستماع على عنوان IPv6 "::"، منفذ 5432
2024-08-30 06:56:20.431 UTC [36] LOG:  الاستماع على المقبس Unix "/var/run/postgresql/.s.PGSQL.5432"
2024-08-30 06:56:20.436 UTC [45] LOG:  تم إيقاف نظام قاعدة البيانات في 2024-08-30 06:56:09 UTC
2024-08-30 06:56:20.444 UTC [36] LOG:  نظام قاعدة البيانات جاهز لاستقبال الاتصالات
I, [2024-08-30T06:56:25.374933 #1]  INFO -- : 
I, [2024-08-30T06:56:25.375218 #1]  INFO -- : > /usr/local/bin/create_db
2024-08-30 06:56:25.471 UTC [55] postgres@postgres ERROR:  قاعدة البيانات "discourse" موجودة بالفعل
2024-08-30 06:56:25.471 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: خطأ: فشل إنشاء قاعدة البيانات: ERROR:  قاعدة البيانات "discourse" موجودة بالفعل
2024-08-30 06:56:25.550 UTC [58] postgres@discourse ERROR:  الدور "discourse" موجود بالفعل
2024-08-30 06:56:25.550 UTC [58] postgres@discourse STATEMENT:  create user discourse;
ERROR:  الدور "discourse" موجود بالفعل
NOTICE:  الامتداد "hstore" موجود بالفعل، يتم التخطي
NOTICE:  الامتداد "pg_trgm" موجود بالفعل، يتم التخطي
NOTICE:  الامتداد "vector" موجود بالفعل، يتم التخطي
NOTICE:  الإصدار "0.7.4" من الامتداد "vector" مثبت بالفعل
NOTICE:  الامتداد "hstore" موجود بالفعل، يتم التخطي
NOTICE:  الامتداد "pg_trgm" موجود بالفعل، يتم التخطي
NOTICE:  الامتداد "vector" موجود بالفعل، يتم التخطي
NOTICE:  الإصدار "0.7.4" من الامتداد "vector" مثبت بالفعل
I, [2024-08-30T06:56:26.292454 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0

I, [2024-08-30T06:56:26.293093 #1]  INFO -- : > echo postgres installed!
I, [2024-08-30T06:56:26.295550 #1]  INFO -- : postgres installed!

I, [2024-08-30T06:56:26.300606 #1]  INFO -- : ملف > /etc/service/redis/run  chmod: +x  chown: 
I, [2024-08-30T06:56:26.309609 #1]  INFO -- : ملف > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2024-08-30T06:56:26.315683 #1]  INFO -- : ملف > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2024-08-30T06:56:26.316967 #1]  INFO -- : استبدال daemonize yes بـ  في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.318451 #1]  INFO -- : استبدال (?-mix:^pidfile.*$) بـ  في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.319623 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-08-30T06:56:26.323067 #1]  INFO -- : 
I, [2024-08-30T06:56:26.323773 #1]  INFO -- : استبدال (?-mix:^logfile.*$) بـ logfile "" في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.324542 #1]  INFO -- : استبدال (?-mix:^bind .*$) بـ  في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.325226 #1]  INFO -- : استبدال (?-mix:^dir .*$) بـ dir /shared/redis_data في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.326011 #1]  INFO -- : استبدال (?-mix:^protected-mode yes) بـ protected-mode no في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.326740 #1]  INFO -- : استبدال # io-threads 4 بـ io-threads $redis_io_threads في /etc/redis/redis.conf
I, [2024-08-30T06:56:26.327389 #1]  INFO -- : > echo redis installed
I, [2024-08-30T06:56:26.330197 #1]  INFO -- : redis installed

I, [2024-08-30T06:56:26.330677 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-08-30T06:56:26.336165 #1]  INFO -- : logfile ""

I, [2024-08-30T06:56:26.336499 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-08-30T06:56:26.337966 #1]  INFO -- : > sleep 10
104:C 30 Aug 2024 06:56:26.348 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
104:C 30 Aug 2024 06:56:26.348 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=104, just started
104:C 30 Aug 2024 06:56:26.348 # Configuration loaded
104:M 30 Aug 2024 06:56:26.349 * monotonic clock: POSIX clock_gettime
104:M 30 Aug 2024 06:56:26.349 * Running mode=standalone, port=6379.
104:M 30 Aug 2024 06:56:26.349 # Server initialized
104:M 30 Aug 2024 06:56:26.350 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
104:M 30 Aug 2024 06:56:26.350 * Loading RDB produced by version 7.0.7
104:M 30 Aug 2024 06:56:26.350 * RDB age 17 seconds
104:M 30 Aug 2024 06:56:26.350 * RDB memory usage when created 3.73 Mb
104:M 30 Aug 2024 06:56:26.362 * Done loading RDB, keys loaded: 2858, keys expired: 0.
104:M 30 Aug 2024 06:56:26.362 * DB loaded from disk: 0.012 seconds
104:M 30 Aug 2024 06:56:26.362 * Ready to accept connections
I, [2024-08-30T06:56:36.342328 #1]  INFO -- : 
I, [2024-08-30T06:56:36.342654 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-08-30T06:56:36.348798 #1]  INFO -- : thpoff is installed!

I, [2024-08-30T06:56:36.349280 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2024-08-30T06:56:36.454702 #1]  INFO -- : 
I, [2024-08-30T06:56:36.454873 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2024-08-30T06:56:36.556018 #1]  INFO -- : 
I, [2024-08-30T06:56:36.556202 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-08-30T06:56:36.657888 #1]  INFO -- : 
I, [2024-08-30T06:56:36.658084 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-08-30T06:56:36.660378 #1]  INFO -- : 
I, [2024-08-30T06:56:36.662911 #1]  INFO -- : ملف > /etc/cron.d/anacron  chmod:   chown: 
I, [2024-08-30T06:56:36.668033 #1]  INFO -- : ملف > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2024-08-30T06:56:36.672293 #1]  INFO -- : ملف > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2024-08-30T06:56:36.676557 #1]  INFO -- : ملف > /etc/service/nginx/run  chmod: +x  chown: 
I, [2024-08-30T06:56:36.680699 #1]  INFO -- : ملف > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2024-08-30T06:56:36.684848 #1]  INFO -- : ملف > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2024-08-30T06:56:36.684970 #1]  INFO -- : استبدال # postgres بـ if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1
 في /etc/service/unicorn/run
I, [2024-08-30T06:56:36.686390 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
تحديث الملفات: 100% (34680/34680)، تم.
I, [2024-08-30T06:56:40.963927 #1]  INFO -- : HEAD is now at 274e18622 FIX: Video uploads sometimes hang indefinitely (#28523)

I, [2024-08-30T06:56:40.964459 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-08-30T06:56:41.127206 #1]  INFO -- : 
I, [2024-08-30T06:56:41.128273 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
'
من https://github.com/discourse/discourse
 - [محذوف]             (لا شيء)     -> origin/0-a-gjs-ace
 - [محذوف]             (لا شيء)     -> origin/better-respect-End-key-in-topics
 - [محذوف]             (لا شيء)     -> origin/dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.2
 - [محذوف]             (لا شيء)     -> origin/dependabot/npm_and_yarn/ember/test-helpers-4.0.1
 - [محذوف]             (لا شيء)     -> origin/dependabot/npm_and_yarn/eslint-9.7.0
 - [محذوف]             (لا شيء)     -> origin/feature/site-text-result-selected-lang
 - [محذوف]             (لا شيء)     -> origin/fix/add-user-to-user-directory-when-activated
 - [محذوف]             (لا شيء)     -> origin/issue/fix-bookmark-clearing-reminder
 - [محذوف]             (لا شيء)     -> origin/native-class-components-2
 - [محذوف]             (لا شيء)     -> origin/native-class-components-3
 - [محذوف]             (لا شيء)     -> origin/notifications_id_bigint
 - [محذوف]             (لا شيء)     -> origin/prevent-desktop-notifications-on-mobile
 - [محذوف]             (لا شيء)     -> origin/ux/admin-plugins-ui-guidelines
   274e18622..361e954c5  main                    -> origin/main
 * [فرع جديد]          add-ability-to-watch-chat-threads -> origin/add-ability-to-watch-chat-threads
   3729ac14c..0fafa0bb4  category-experts-approved-webhook-event -> origin/category-experts-approved-webhook-event
 * [فرع جديد]          class-initializer       -> origin/class-initializer
 * [فرع جديد]          dependabot/bundler/ruby-readability-0.7.2 -> origin/dependabot/bundler/ruby-readability-0.7.2
 * [فرع جديد]          dependabot/npm_and_yarn/ace-builds-1.36.1 -> origin/dependabot/npm_and_yarn/ace-builds-1.36.1
 * [فرع جديد]          dependabot/npm_and_yarn/babel-fcd205ed66 -> origin/dependabot/npm_and_yarn/babel-fcd205ed66
 * [فرع جديد]          dependabot/npm_and_yarn/puppeteer-core-23.2.1 -> origin/dependabot/npm_and_yarn/puppeteer-core-23.2.1
 * [فرع جديد]          dev-make-user-1-1-with-user-password -> origin/dev-make-user-1-1-with-user-password
 * [فرع جديد]          dev/glimmer-post-menu   -> origin/dev/glimmer-post-menu
 * [فرع جديد]          dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable
 * [فرع جديد]          dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument
 * [فرع جديد]          drop-old-notification-id-columns -> origin/drop-old-notification-id-columns
 * [فرع جديد]          ember-native-class      -> origin/ember-native-class
 * [فرع جديد]          feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event
 * [فرع جديد]          feature/support-multiple-moderation-groups-on-category -> origin/feature/support-multiple-moderation-groups-on-category
 * [فرع جديد]          fix-bookmarks-filtering -> origin/fix-bookmarks-filtering
 * [فرع جديد]          fix/check-existing-custom-flags-before-creation -> origin/fix/check-existing-custom-flags-before-creation
 * [فرع جديد]          login-buttons-multiple-class -> origin/login-buttons-multiple-class
 + a25ac32bc...97bd38cf4 mt/converter            -> origin/mt/converter  (تحديث إجباري)
   d3ad2ecda..15f036baf  stable                  -> origin/stable
   274e18622..361e954c5  tests-passed            -> origin/tests-passed
 * [فرع جديد]          translations-from-crowdin-stable -> origin/translations-from-crowdin-stable
 * [فرع جديد]          unique-tag-user-notification -> origin/unique-tag-user-notification
 * [فرع جديد]          ux-1pw-ignore           -> origin/ux-1pw-ignore
 * [فرع جديد]          ux/convert-chat-plugin-ui -> origin/ux/convert-chat-plugin-ui
 * [فرع جديد]          ux_form_template_flash  -> origin/ux_form_template_flash
 t [تحديث علامة]          beta                    -> beta
 t [تحديث علامة]          latest-release          -> latest-release
 * [علامة جديدة]             v3.3.1                  -> v3.3.1
 * [علامة جديدة]             v3.4.0.beta1            -> v3.4.0.beta1
I, [2024-08-30T06:56:42.073269 #1]  INFO -- : 
I, [2024-08-30T06:56:42.073714 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout tests-passed
  fi
'
تم التبديل إلى فرع جديد 'tests-passed'
I, [2024-08-30T06:56:44.851651 #1]  INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.

I, [2024-08-30T06:56:44.852217 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-08-30T06:56:44.865672 #1]  INFO -- : 
I, [2024-08-30T06:56:44.865986 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-08-30T06:56:44.868951 #1]  INFO -- : 
I, [2024-08-30T06:56:44.869247 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-08-30T06:56:44.872276 #1]  INFO -- : 
I, [2024-08-30T06:56:44.872501 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-08-30T06:56:44.875816 #1]  INFO -- : 
I, [2024-08-30T06:56:44.876029 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-08-30T06:56:44.879320 #1]  INFO -- : 
I, [2024-08-30T06:56:44.879578 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-08-30T06:56:44.882918 #1]  INFO -- : 
I, [2024-08-30T06:56:44.883194 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-08-30T06:56:44.886219 #1]  INFO -- : 
I, [2024-08-30T06:56:44.886447 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-08-30T06:56:44.890808 #1]  INFO -- : 
I, [2024-08-30T06:56:44.891103 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
I, [2024-08-30T06:56:44.895797 #1]  INFO -- : 
I, [2024-08-30T06:56:44.896013 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-08-30T06:56:44.900610 #1]  INFO -- : 
I, [2024-08-30T06:56:44.901011 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-08-30T06:56:44.905409 #1]  INFO -- : 
I, [2024-08-30T06:56:44.905624 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-08-30T06:56:44.910429 #1]  INFO -- : 
I, [2024-08-30T06:56:44.910686 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-08-30T06:56:44.915057 #1]  INFO -- : 
I, [2024-08-30T06:56:44.915356 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-08-30T06:56:44.938455 #1]  INFO -- : 
I, [2024-08-30T06:56:44.938891 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-08-30T06:56:44.941762 #1]  INFO -- : 
I, [2024-08-30T06:56:44.942235 #1]  INFO -- : استبدال # redis بـ sv start redis || exit 1 في /etc/service/unicorn/run
I, [2024-08-30T06:56:44.942951 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
استنساخ إلى 'docker_manager'...
I, [2024-08-30T06:56:45.959336 #1]  INFO -- : 
I, [2024-08-30T06:56:45.959554 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar
استنساخ إلى 'discourse-calendar'...
I, [2024-08-30T06:56:46.979465 #1]  INFO -- : 
I, [2024-08-30T06:56:46.979867 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-events
استنساخ إلى 'discourse-events'...
I, [2024-08-30T06:56:47.680698 #1]  INFO -- : 
I, [2024-08-30T06:56:47.681126 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/xomads/discourse-video-upload
استنساخ إلى 'discourse-video-upload'...
I, [2024-08-30T06:56:48.323561 #1]  INFO -- : 
I, [2024-08-30T06:56:48.324134 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-08-30T06:56:48.328453 #1]  INFO -- : 
I, [2024-08-30T06:56:48.329067 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-08-30T06:56:48.331726 #1]  INFO -- : 
I, [2024-08-30T06:56:48.332230 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-08-30T06:56:48.335070 #1]  INFO -- : 
I, [2024-08-30T06:56:48.335953 #1]  INFO -- : استبدال pid /run/nginx.pid; بـ daemon off; في /etc/nginx/nginx.conf
I, [2024-08-30T06:56:48.336609 #1]  INFO -- : استبدال (?m-ix:upstream[^\}]+\}) بـ upstream discourse { server 127.0.0.1:3000; } في /etc/nginx/conf.d/discourse.conf
I, [2024-08-30T06:56:48.337166 #1]  INFO -- : استبدال (?-mix:server_name.+$) بـ server_name _ ; في /etc/nginx/conf.d/discourse.conf
I, [2024-08-30T06:56:48.337686 #1]  INFO -- : استبدال (?-mix:client_max_body_size.+$) بـ client_max_body_size $upload_size ; في /etc/nginx/conf.d/discourse.conf
I, [2024-08-30T06:56:48.338218 #1]  INFO -- : استبدال (?-mix:worker_connections.+$) بـ worker_connections $nginx_worker_connections ; في /etc/nginx/nginx.conf
I, [2024-08-30T06:56:48.338673 #1]  INFO -- : > echo "done configuring web"
I, [2024-08-30T06:56:48.340760 #1]  INFO -- : done configuring web

I, [2024-08-30T06:56:48.341186 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-08-30T06:56:48.663785 #1]  INFO -- : 
I, [2024-08-30T06:56:48.663958 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-08-30T06:56:50.010467 #1]  INFO -- : 
I, [2024-08-30T06:56:50.010985 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-08-30T06:56:50.012899 #1]  INFO -- : 
I, [2024-08-30T06:56:50.013108 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn config set network-timeout 60000 -g'
I, [2024-08-30T06:56:50.386384 #1]  INFO -- : yarn config v1.22.22
success Set "network-timeout" to "60000".
Done in 0.08s.

I, [2024-08-30T06:56:50.386945 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning " > @discourse/lint-configs@1.3.9" has incorrect peer dependency "ember-template-lint@6.0.0".
warning " > @glint/environment-ember-loose@1.4.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-f15441dd-2a2f-4d3b-8279-019453a69d41 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-f15441dd-2a2f-4d3b-8279-019453a69d41 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-f15441dd-2a2f-4d3b-8279-019453a69d41 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-f15441dd-2a2f-4d3b-8279-019453a69d41 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-f15441dd-2a2f-4d3b-8279-019453a69d41 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-f15441dd-2a2f-4d3b-8279-019453a69d41 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2024-08-30T06:59:00.836576 #1]  INFO -- : yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules
patch-package 8.0.0
Applying patches...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
decorator-transforms@2.0.0 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Done in 121.86s.
yarn cache v1.22.22
success Cleared cache.
Done in 7.97s.

I, [2024-08-30T06:59:00.838203 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
I, [2024-08-30T06:59:08.967237 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/........
Fetching net-imap 0.4.15
Installing net-imap 0.4.15
Fetching css_parser 1.19.0
Installing css_parser 1.19.0
Fetching uri 0.13.1
Installing uri 0.13.1
Fetching faraday-net_http 3.3.0
Installing faraday-net_http 3.3.0
Fetching faraday 2.11.0
Installing faraday 2.11.0
Fetching google-protobuf 4.28.0 (x86_64-linux)
Installing google-protobuf 4.28.0 (x86_64-linux)
Fetching highline 3.1.1
Installing highline 3.1.1
Fetching thor 1.3.2
Installing thor 1.3.2
Fetching omniauth-oauth 1.2.1
Installing omniauth-oauth 1.2.1
Bundle complete! 142 Gemfile dependencies, 184 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`
1 installed gem you directly depend on is looking for funding.
  Run `bundle fund` for details

I, [2024-08-30T06:59:08.967865 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-08-30T06:59:13.800474 #1]  INFO -- : discourse-calendar is already at latest compatible version
discourse-events is already at latest compatible version
discourse-video-upload is already at latest compatible version
docker_manager is already at latest compatible version

I, [2024-08-30T06:59:13.801181 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-08-30T06:59:13.803288 #1]  INFO -- : > sleep 10
608:C 30 Aug 2024 06:59:13.823 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
608:C 30 Aug 2024 06:59:13.823 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=608, just started
608:C 30 Aug 2024 06:59:13.823 # Configuration loaded
608:M 30 Aug 2024 06:59:13.824 * monotonic clock: POSIX clock_gettime
608:M 30 Aug 2024 06:59:13.824 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
608:M 30 Aug 2024 06:59:13.824 # Failed listening on port 6379 (TCP), aborting.
I, [2024-08-30T06:59:23.807920 #1]  INFO -- : 
I, [2024-08-30T06:59:23.808747 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
[DiscourseVideoUpload] Javascript files under `assets/javascripts` are automatically included in JS bundles.
Manual register_asset calls should be removed. (attempted to add javascripts/lib/vimeo-upload.js)
/var/www/discourse/lib/plugin/instance.rb:717:in `register_asset'
/var/www/discourse/plugins/discourse-video-upload/plugin.rb:13:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:778:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:778:in `activate!'
/var/www/discourse/lib/discourse.rb:348:in `block in activate_plugins!'
/var/www/discourse/lib/discourse.rb:345:in `each'
/var/www/discourse/lib/discourse.rb:345:in `activate_plugins!'
/var/www/discourse/config/application.rb:232:in `block in <class:Application>'
/var/www/discourse/lib/plugin.rb:6:in `initialization_guard'
/var/www/discourse/config/application.rb:232:in `<class:Application>'
/var/www/discourse/config/application.rb:75:in `<module:Discourse>'
/var/www/discourse/config/application.rb:74:in `<top (required)>'
/var/www/discourse/Rakefile:7:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
(See full trace by running task with --trace)
I, [2024-08-30T06:59:55.564695 #1]  INFO -- : gem install uuidtools -v 2.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت uuidtools-2.2.0 بنجاح
تم تثبيت جوهرة واحدة
gem install iso-639 -v 0.3.5 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت iso-639-0.3.5 بنجاح
تم تثبيت جوهرة واحدة
gem install ice_cube -v 0.16.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت ice_cube-0.16.4 بنجاح
تم تثبيت جوهرة واحدة
gem install icalendar -v 2.8.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
مطلوب ActiveSupport لدعم TimeWithZone، لكنه غير مطلوب للاستخدام العام.
تم تثبيت icalendar-2.8.0 بنجاح
تم تثبيت جوهرة واحدة
gem install icalendar-recurrence -v 1.1.3 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت icalendar-recurrence-1.1.3 بنجاح
تم تثبيت جوهرة واحدة
gem install date -v 3.3.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
بناء الامتدادات الأصلية. قد يستغرق هذا بعض الوقت...
تم تثبيت date-3.3.4 بنجاح
تم تثبيت جوهرة واحدة
gem install time -v 0.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت time-0.2.0 بنجاح
تم تثبيت جوهرة واحدة
gem install stringio -v 3.1.1 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
بناء الامتدادات الأصلية. قد يستغرق هذا بعض الوقت...
تم تثبيت stringio-3.1.1 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent -v 0.1.0.pre3 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-0.1.0.pre3 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent-icalendar -v 0.1.0.pre5 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-icalendar-0.1.0.pre5 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent-api -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-api-0.1.0.pre2 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent-eventbrite -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-eventbrite-0.1.0.pre2 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent-eventzilla -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-eventzilla-0.1.0.pre2 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent-meetup -v 0.1.0.pre1 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-meetup-0.1.0.pre1 بنجاح
تم تثبيت جوهرة واحدة
gem install omnievent-outlook -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
تم تثبيت omnievent-outlook-0.1.0.pre2 بنجاح
تم تثبيت جوهرة واحدة

I, [2024-08-30T06:59:55.565538 #1]  INFO -- : إنهاء العمليات غير المتزامنة
I, [2024-08-30T06:59:55.565618 #1]  INFO -- : إرسال INT إلى HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 36
I, [2024-08-30T06:59:55.565721 #1]  INFO -- : إرسال TERM إلى exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 104
104:signal-handler (1725001195) تم استقبال SIGTERM لجدولة الإغلاق...
2024-08-30 06:59:55.566 UTC [36] LOG:  تم استقبال طلب الإغلاق السريع
2024-08-30 06:59:55.568 UTC [36] LOG:  إلغاء أي معاملات نشطة
2024-08-30 06:59:55.572 UTC [36] LOG:  exited worker الخلفية "logical replication launcher" (PID 51) مع رمز الخروج 1
2024-08-30 06:59:55.578 UTC [46] LOG:  جارٍ الإغلاق
104:M 30 Aug 2024 06:59:55.599 # طلب المستخدم الإغلاق...
104:M 30 Aug 2024 06:59:55.599 * حفظ لقطة RDB النهائية قبل الخروج.
2024-08-30 06:59:55.612 UTC [36] LOG:  تم إيقاف نظام قاعدة البيانات
104:M 30 Aug 2024 06:59:55.622 * تم حفظ قاعدة البيانات على القرص
104:M 30 Aug 2024 06:59:55.622 # Redis الآن جاهز للخروج، وداعاً...


فشل
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' فشل مع العودة #<Process::Status: pid 612 exit 1>
موقع الفشل: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
فشل التنفيذ مع المعلمات {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
فشل التمهيد مع رمز الخروج 1
** فشل في التمهيد ** يرجى التمرير لأعلى والبحث عن رسائل الخطأ السابقة، قد يكون هناك أكثر من واحد.
./discourse-doctor قد يساعد في تشخيص المشكلة.
df03c3401b35e1722e269363f40677ac73227c543d2bac52730700a30795f531

لا، لا أعتقد أن الأمر كذلك. لماذا تقول ذلك يا @pinder99؟

إنه DiscourseVideoUpload، قم بإزالة هذا المكون الإضافي.

يمكنك رؤية أنه يحتوي على مشاكل من السجل.

لا أرى أي مشاكل في السجل تتعلق بالأحداث.

لقد قمت بتعطيل إضافة DiscourseVideoUpload كما هو مقترح واكتمل الترقية بنجاح. عاد موقعي، شكرًا لك.