قمت بتشغيل ./discourse-doctor وكانت هذه هي النتيجة
==================== معلومات Docker ====================
إصدار Docker: Docker version 25.0.3, build 4debf41
عمليات Docker (docker ps -a)
معرف الحاوية الصورة الأمر تم الإنشاء الحالة المنافذ الأسماء
fef23c0f89aa hello-world "/hello" منذ 28 دقيقة توقف (0) منذ 28 دقيقة recursing_pike
==================== مشكلة خطيرة!!!! ====================
التطبيق لا يعمل!
جاري محاولة إعادة البناء
==================== سجل إعادة البناء ====================
تحذير: دعم aarch64 تجريبي في الوقت الحالي. يرجى الإبلاغ عن أي مشاكل على https://meta.discourse.org/tag/arm
تحذير: نحن على وشك بدء تنزيل صورة Discourse الأساسية
قد تستغرق هذه العملية ما بين بضع دقائق إلى ساعة واحدة، اعتمادًا على سرعة الشبكة الخاصة بك
يرجى التحلي بالصبر
aarch64: سحب من discourse/base
التلخيص: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
الحالة: الصورة محدّثة لـ discourse/base:aarch64
docker.io/discourse/base:aarch64
ضمان تحديث launcher
launcher محدّث
aarch64: سحب من discourse/base
التلخيص: sha256:9b0ee90bb37f4b465e544da33034f3dcf63bfd24808c8b765bd2369521a14d9c
الحالة: الصورة محدّثة لـ discourse/base:aarch64
docker.io/discourse/base:aarch64
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-02-23T01:03:10.167764 #1] INFO -- : القراءة من stdin
I, [2024-02-23T01:03:10.172488 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2024-02-23T01:03:10.199783 #1] INFO -- : جاري إنشاء اللغات (قد يستغرق هذا بعض الوقت)...
اكتمل الإنشاء.
I, [2024-02-23T01:03:10.200117 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2024-02-23T01:03:10.201991 #1] INFO -- :
I, [2024-02-23T01:03:10.202285 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2024-02-23T01:03:10.203892 #1] INFO -- :
I, [2024-02-23T01:03:10.204071 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2024-02-23T01:03:10.205460 #1] INFO -- :
I, [2024-02-23T01:03:10.205632 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2024-02-23T01:03:10.207229 #1] INFO -- :
I, [2024-02-23T01:03:10.207407 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2024-02-23T01:03:10.208914 #1] INFO -- :
I, [2024-02-23T01:03:10.209094 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres يعمل بالفعل، إيقاف الحاوية ; exit 1
2024/02/23 01:03:10 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): لا يوجد مثل هذا الملف أو الدليل
I, [2024-02-23T01:03:10.215205 #1] INFO -- :
I, [2024-02-23T01:03:10.215455 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2024-02-23T01:03:10.217342 #1] INFO -- :
I, [2024-02-23T01:03:10.217505 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2024-02-23T01:03:10.219429 #1] INFO -- :
I, [2024-02-23T01:03:10.219597 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-23T01:03:10.221317 #1] INFO -- :
I, [2024-02-23T01:03:10.221506 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-23T01:03:10.223045 #1] INFO -- :
I, [2024-02-23T01:03:10.226471 #1] INFO -- : ملف > /etc/service/postgres/run chmod: +x chown:
I, [2024-02-23T01:03:10.229662 #1] INFO -- : ملف > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-02-23T01:03:10.232973 #1] INFO -- : ملف > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-02-23T01:03:10.236173 #1] INFO -- : ملف > /root/upgrade_postgres chmod: +x chown:
I, [2024-02-23T01:03:10.236479 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2024-02-23T01:03:16.883260 #1] INFO -- :
I, [2024-02-23T01:03:16.883427 #1] INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/13/bin/initdb -D /shared/postgres_data || exit 0
I, [2024-02-23T01:03:16.885354 #1] INFO -- :
I, [2024-02-23T01:03:16.885535 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2024-02-23T01:03:16.892646 #1] INFO -- :
I, [2024-02-23T01:03:16.892979 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2024-02-23T01:03:16.895281 #1] INFO -- :
I, [2024-02-23T01:03:16.895655 #1] INFO -- : > /root/upgrade_postgres
I, [2024-02-23T01:03:16.899953 #1] INFO -- :
I, [2024-02-23T01:03:16.900342 #1] INFO -- : > rm /root/upgrade_postgres
I, [2024-02-23T01:03:16.902421 #1] INFO -- :
I, [2024-02-23T01:03:16.903785 #1] INFO -- : استبدال data_directory = '/var/lib/postgresql/13/main' بـ data_directory = '/shared/postgres_data' في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.904605 #1] INFO -- : استبدال (?-mix:#?listen_addresses *=.*) بـ listen_addresses = '*' في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.905117 #1] INFO -- : استبدال (?-mix:#?synchronous_commit *=.*) بـ synchronous_commit = $db_synchronous_commit في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.906308 #1] INFO -- : استبدال (?-mix:#?shared_buffers *=.*) بـ shared_buffers = $db_shared_buffers في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.907539 #1] INFO -- : استبدال (?-mix:#?work_mem *=.*) بـ work_mem = $db_work_mem في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.910822 #1] INFO -- : استبدال (?-mix:#?default_text_search_config *=.*) بـ default_text_search_config = '$db_default_text_search_config' في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.914320 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2024-02-23T01:03:16.917362 #1] INFO -- :
I, [2024-02-23T01:03:16.917888 #1] INFO -- : استبدال (?-mix:#?checkpoint_segments *=.*) بـ checkpoint_segments = $db_checkpoint_segments في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.918530 #1] INFO -- : استبدال (?-mix:#?logging_collector *=.*) بـ logging_collector = $db_logging_collector في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.920794 #1] INFO -- : استبدال (?-mix:#?log_min_duration_statement *=.*) بـ log_min_duration_statement = $db_log_min_duration_statement في /etc/postgresql/13/main/postgresql.conf
I, [2024-02-23T01:03:16.924634 #1] INFO -- : استبدال (?-mix:^#local +replication +postgres +peer$) بـ local replication postgres peer في /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.925088 #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-02-23T01:03:16.925531 #1] INFO -- : استبدال (?-mix:^host.*all.*all.*::1\/128.*$) بـ host all all ::/0 md5 في /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-23T01:03:16.928005 #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-02-23T01:03:16.929697 #1] INFO -- : > sleep 5
2024-02-23 01:03:16.993 UTC [42] LOG: بدء تشغيل PostgreSQL 13.14 (Debian 13.14-1.pgdg110+2) على aarch64-unknown-linux-gnu، تم التجميع بواسطة gcc (Debian 10.2.1-6) 10.2.1 20210110، 64-bit
2024-02-23 01:03:16.993 UTC [42] LOG: الاستماع على عنوان IPv4 "0.0.0.0"، المنفذ 5432
2024-02-23 01:03:16.993 UTC [42] LOG: الاستماع على عنوان IPv6 "::"، المنفذ 5432
2024-02-23 01:03:17.004 UTC [42] LOG: الاستماع على المقبض Unix "/var/run/postgresql/.s.PGSQL.5432"
2024-02-23 01:03:17.022 UTC [45] LOG: تم إيقاف نظام قاعدة البيانات في 2024-02-23 01:01:24 UTC
2024-02-23 01:03:17.034 UTC [42] LOG: نظام قاعدة البيانات جاهز لاستقبال الاتصالات
I, [2024-02-23T01:03:21.932176 #1] INFO -- :
I, [2024-02-23T01:03:21.932729 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2024-02-23 01:03:22.019 UTC [55] postgres@postgres ERROR: قاعدة البيانات "discourse" موجودة بالفعل
2024-02-23 01:03:22.019 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: خطأ: فشل إنشاء قاعدة البيانات: ERROR: قاعدة البيانات "discourse" موجودة بالفعل
I, [2024-02-23T01:03:22.022134 #1] INFO -- :
I, [2024-02-23T01:03:22.022590 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2024-02-23 01:03:22.088 UTC [59] postgres@discourse ERROR: الدور "discourse" موجود بالفعل
2024-02-23 01:03:22.088 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: الدور "discourse" موجود بالفعل
I, [2024-02-23T01:03:22.090283 #1] INFO -- :
I, [2024-02-23T01:03:22.090691 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2024-02-23T01:03:22.140709 #1] INFO -- : GRANT
I, [2024-02-23T01:03:22.141235 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2024-02-23T01:03:22.191857 #1] INFO -- : ALTER SCHEMA
I, [2024-02-23T01:03:22.192292 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: الامتداد "hstore" موجود بالفعل، يتم التخطي
I, [2024-02-23T01:03:22.241814 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.242144 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: الامتداد "pg_trgm" موجود بالفعل، يتم التخطي
I, [2024-02-23T01:03:22.293697 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.294020 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists vector;"'
NOTICE: الامتداد "vector" موجود بالفعل، يتم التخطي
I, [2024-02-23T01:03:22.335599 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.335921 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: الامتداد "hstore" موجود بالفعل، يتم التخطي
I, [2024-02-23T01:03:22.377961 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.378282 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: الامتداد "pg_trgm" موجود بالفعل، يتم التخطي
I, [2024-02-23T01:03:22.420317 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.420636 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists vector;"'
NOTICE: الامتداد "vector" موجود بالفعل، يتم التخطي
I, [2024-02-23T01:03:22.462540 #1] INFO -- : CREATE EXTENSION
I, [2024-02-23T01:03:22.462995 #1] INFO -- : > sudo -u postgres psql discourse
I, [2024-02-23T01:03:22.464304 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2024-02-23T01:03:22.527295 #1] INFO -- : ملف > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-02-23T01:03:22.529673 #1] INFO -- : ملف > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-02-23T01:03:22.529877 #1] INFO -- : > echo تم تثبيت postgres!
I, [2024-02-23T01:03:22.531495 #1] INFO -- : تم تثبيت postgres!
I, [2024-02-23T01:03:22.534999 #1] INFO -- : ملف > /etc/service/redis/run chmod: +x chown:
I, [2024-02-23T01:03:22.538499 #1] INFO -- : ملف > /etc/service/redis/log/run chmod: +x chown:
I, [2024-02-23T01:03:22.541956 #1] INFO -- : ملف > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-02-23T01:03:22.544283 #1] INFO -- : استبدال daemonize yes بـ في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.544893 #1] INFO -- : استبدال (?-mix:^pidfile.*$) بـ في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.545349 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-02-23T01:03:22.547470 #1] INFO -- :
I, [2024-02-23T01:03:22.547931 #1] INFO -- : استبدال (?-mix:^logfile.*$) بـ logfile "" في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.549358 #1] INFO -- : استبدال (?-mix:^bind .*$) بـ في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.555255 #1] INFO -- : استبدال (?-mix:^dir .*$) بـ dir /shared/redis_data في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.560533 #1] INFO -- : استبدال (?-mix:^protected-mode yes) بـ protected-mode no في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.565383 #1] INFO -- : استبدال # io-threads 4 بـ io-threads $redis_io_threads في /etc/redis/redis.conf
I, [2024-02-23T01:03:22.569420 #1] INFO -- : > echo تم تثبيت redis
I, [2024-02-23T01:03:22.571057 #1] INFO -- : تم تثبيت redis
I, [2024-02-23T01:03:22.571386 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-02-23T01:03:22.573952 #1] INFO -- : logfile ""
I, [2024-02-23T01:03:22.574263 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-23T01:03:22.575657 #1] INFO -- : > sleep 10
<jemalloc>: حجم صفحة النظام غير مدعوم
<jemalloc>: حجم صفحة النظام غير مدعوم
I, [2024-02-23T01:03:32.577625 #1] INFO -- :
I, [2024-02-23T01:03:32.578022 #1] INFO ---- : > thpoff echo "thpoff is installed!"
I, [2024-02-23T01:03:32.582200 #1] INFO -- : thpoff is installed!
I, [2024-02-23T01:03:32.582566 #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-02-23T01:03:32.680445 #1] INFO -- :
I, [2024-02-23T01:03:32.680727 #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-02-23T01:03:32.749149 #1] INFO -- :
I, [2024-02-23T01:03:32.749427 #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-02-23T01:03:32.817524 #1] INFO -- :
I, [2024-02-23T01:03:32.817855 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-02-23T01:03:32.819660 #1] INFO -- :
I, [2024-02-23T01:03:32.821935 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2024-02-23T01:03:32.825589 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-02-23T01:03:32.829297 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2024-02-23T01:03:32.832905 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2024-02-23T01:03:32.836470 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-02-23T01:03:32.839930 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-02-23T01:03:32.840221 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2024-02-23T01:03:32.840600 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-23T01:03:32.842522 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
<jemalloc>: Unsupported system page size
<jemalloc>: حجم صفحة النظام غير مدعوم
تحديث الملفات: 100% (33860/33860)، تم.
I, [2024-02-23T01:03:37.224372 #1] INFO -- : HEAD هو الآن عند 31e44cfa8 DEV: إصلاح اختبارات النظام "تغيير البريد الإلكتروني" غير المستقرة (#25805)
I, [2024-02-23T01:03:37.224638 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-02-23T01:03:37.347254 #1] INFO -- :
I, [2024-02-23T01:03:37.347519 #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
'
From https://github.com/discourse/discourse
- [deleted] (none) -> origin/bulk-select-dropdown-items
- [deleted] (none) -> origin/chat-composer-mobile
- [deleted] (none) -> origin/composer-space-mobile
- [deleted] (none) -> origin/fix-form-template
- [deleted] (none) -> origin/fix_uncategorized_category
- [deleted] (none) -> origin/glimmer-header-handle-overrides
- [deleted] (none) -> origin/poc/auto-after-before-plugin-outlets
- [deleted] (none) -> origin/translations-from-crowdin-stable
31e44cfa8..1ad8e85b3 main -> origin/main
* [new branch] add_debug_ar_connection_pool -> origin/add_debug_ar_connection_pool
* [new branch] app-events-desktop-notis -> origin/app-events-desktop-notis
* [new branch] chat-mobile-composer-followup-2 -> origin/chat-mobile-composer-followup-2
+ a465edbc1...111b47aec convert-header-to-glimmer -> origin/convert-header-to-glimmer (forced update)
51d6e3130..8c2fdd356 dev/problem-checks-api -> origin/dev/problem-checks-api
+ d6ff2b49e...bc3d69f8c dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic (forced update)
* [new branch] enable_retry_on_main_branch -> origin/enable_retry_on_main_branch
+ 684ac0225...0aad80d92 feature/schema-theme-setting-input-fields -> origin/feature/schema-theme-setting-input-fields (forced update)
* [new branch] hot-fixes -> origin/hot-fixes
* [new branch] modal-class-cleanup -> origin/modal-class-cleanup
* [new branch] see_if_yarn_cache_is_working -> origin/see_if_yarn_cache_is_working
d85414f88..e049f8268 stable -> origin/stable
31e44cfa8..1ad8e85b3 tests-passed -> origin/tests-passed
I, [2024-02-23T01:03:39.237956 #1] INFO -- :
I, [2024-02-23T01:03:39.238303 #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
'
Switched to a new branch 'tests-passed'
I, [2024-02-23T01:03:41.587550 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2024-02-23T01:03:41.587786 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-02-23T01:03:41.658919 #1] INFO -- :
I, [2024-02-23T01:03:41.659153 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-02-23T01:03:41.661685 #1] INFO -- :
I, [2024-02-23T01:03:41.661804 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-02-23T01:03:41.664120 #1] INFO -- :
I, [2024-02-23T01:03:41.664224 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-02-23T01:03:41.666639 #1] INFO -- :
I, [2024-02-23T01:03:41.666743 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-02-23T01:03:41.669270 #1] INFO -- :
I, [2024-02-23T01:03:41.669371 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-02-23T01:03:41.672499 #1] INFO -- :
I, [2024-02-23T01:03:41.672611 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-02-23T01:03:41.674996 #1] INFO -- :
I, [2024-02-23T01:03:41.675119 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-02-23T01:03:41.678344 #1] INFO -- :
I, [2024-02-23T01:03:41.678556 #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-02-23T01:03:41.681835 #1] INFO -- :
I, [2024-02-23T01:03:41.682048 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-02-23T01:03:41.685493 #1] INFO -- :
I, [2024-02-23T01:03:41.685698 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-02-23T01:03:41.688984 #1] INFO -- :
I, [2024-02-23T01:03:41.689191 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-02-23T01:03:41.692769 #1] INFO -- :
I, [2024-02-23T01:03:41.692977 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-02-23T01:03:41.696291 #1] INFO -- :
I, [2024-02-23T01:03:41.696497 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-02-23T01:03:41.698848 #1] INFO -- :
I, [2024-02-23T01:03:41.699056 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-02-23T01:03:41.700571 #1] INFO -- :
I, [2024-02-23T01:03:41.700819 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-02-23T01:03:41.701209 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-02-23T01:03:44.630284 #1] INFO -- :
I, [2024-02-23T01:03:44.630764 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.634075 #1] INFO -- :
I, [2024-02-23T01:03:44.634306 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-02-23T01:03:44.636021 #1] INFO -- :
I, [2024-02-23T01:03:44.636225 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-02-23T01:03:44.638094 #1] INFO -- :
I, [2024-02-23T01:03:44.639062 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.639440 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.639802 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.640836 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-02-23T01:03:44.647665 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-02-23T01:03:44.647911 #1] INFO -- : > echo "done configuring web"
I, [2024-02-23T01:03:44.649326 #1] INFO -- : done configuring web
I, [2024-02-23T01:03:44.649627 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-02-23T01:03:44.843343 #1] INFO -- :
I, [2024-02-23T01:03:44.843476 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-02-23T01:03:45.001607 #1] INFO -- :
I, [2024-02-23T01:03:45.001962 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
I, [2024-02-23T01:03:45.003483 #1] INFO -- :
I, [2024-02-23T01:03:45.003589 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has unmet peer dependency "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has incorrect peer dependency "typescript@^5.3.3".
warning " > @glint/environment-ember-loose@1.3.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > ember-router-service-refresh-polyfill@1.1.0" has incorrect peer dependency "ember-source@^3.4 || 4".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-5a35208a-85e1-4294-85a9-4a289c3d6d2b > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2024-02-23T01:05:49.643583 #1] INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ ./run-patch-package
patch-package 8.0.0
Applying patches...
@ember/test-helpers@2.9.4 ✔
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
ember-cli@5.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 72.93s.
Done in 115.37s.
yarn cache v1.22.19
success Cleared cache.
Done in 8.72s.
I, [2024-02-23T01:05:49.644371 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-02-23T01:05:49.863693 #1] INFO -- :
I, [2024-02-23T01:05:49.864005 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-02-23T01:05:50.022423 #1] INFO -- :
I, [2024-02-23T01:05:50.022715 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-02-23T01:07:36.737768 #1] INFO -- : Fetching gem metadata from https://rubygems.org/.........
Fetching https://github.com/rails/sprockets
Fetching rake 13.1.0
Installing rake 13.1.0
Fetching concurrent-ruby 1.2.3
Fetching minitest 5.22.2
Fetching builder 3.2.4
Fetching erubi 1.12.0
Installing concurrent-ruby 1.2.3
Fetching racc 1.7.3
Installing minitest 5.22.2
Fetching crass 1.0.6
Installing builder 3.2.4
Fetching rack 2.2.8.1
Installing erubi 1.12.0
Fetching mini_mime 1.1.5
Installing racc 1.7.3 with native extensions
Installing crass 1.0.6
Fetching date 3.3.4
Installing rack 2.2.8.1
Fetching timeout 0.4.1
Installing mini_mime 1.1.5
Fetching public_suffix 5.0.4
Installing date 3.3.4 with native extensions
Installing timeout 0.4.1
Fetching aws-eventstream 1.3.0
Installing public_suffix 5.0.4
Installing aws-eventstream 1.3.0
Fetching aws-partitions 1.583.0
Fetching jmespath 1.6.2
Installing aws-partitions 1.583.0
Fetching base64 0.2.0
Installing jmespath 1.6.2
Fetching bigdecimal 3.1.6
Installing base64 0.2.0
Fetching msgpack 1.7.2
Installing bigdecimal 3.1.6 with native extensions
Installing msgpack 1.7.2 with native extensions
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching cbor 0.5.9.8
Installing cbor 0.5.9.8 with native extensions
Fetching cgi 0.4.1
Installing cgi 0.4.1 with native extensions
Fetching chunky_png 1.4.0
Installing chunky_png 1.4.0
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching colored2 4.0.0
Installing colored2 4.0.0
Fetching connection_pool 2.4.1
Installing connection_pool 2.4.1
Fetching openssl 3.2.0
Installing openssl 3.2.0 with native extensions
Fetching cppjieba_rb 0.4.2
Installing cppjieba_rb 0.4.2 with native extensions
Fetching diffy 3.4.2
Installing diffy 3.4.2
Fetching discourse-fonts 0.0.9
Fetching email_reply_trimmer 0.1.13
Installing email_reply_trimmer 0.1.13
Fetching excon 0.109.0
Installing excon 0.109.0
Fetching execjs 2.9.1
Installing execjs 2.9.1
Fetching exifr 1.4.0
Installing exifr 1.4.0
Installing discourse-fonts 0.0.9
Fetching uri 0.13.0
Installing uri 0.13.0
Fetching fast_blank 1.0.1
Installing fast_blank 1.0.1 with native extensions
Fetching fast_xs 0.8.0
Installing fast_xs 0.8.0 with native extensions
Fetching fastimage 2.3.0
Installing fastimage 2.3.0
Fetching ffi 1.16.3
Installing ffi 1.16.3 with native extensions
Fetching fspath 3.1.2
Fetching gc_tracer 1.5.1
Installing fspath 3.1.2
Fetching google-protobuf 3.25.3 (aarch64-linux)
Installing gc_tracer 1.5.1 with native extensions
Installing google-protobuf 3.25.3 (aarch64-linux)
Fetching guess_html_encoding 0.0.11
Installing guess_html_encoding 0.0.11
Fetching hana 1.3.7
Installing hana 1.3.7
Fetching hashie 5.0.0
Installing hashie 5.0.0
Fetching highline 3.0.1
Installing highline 3.0.1
Fetching htmlentities 4.3.4
Installing htmlentities 4.3.4
Fetching http_accept_language 2.1.1
Installing http_accept_language 2.1.1
Fetching image_size 3.4.0
Installing image_size 3.4.0
Fetching in_threads 1.6.0
Installing in_threads 1.6.0
Fetching progress 3.6.0
Installing progress 3.6.0
Fetching json 2.7.1
Installing json 2.7.1 with native extensions
Fetching regexp_parser 2.9.0
Installing regexp_parser 2.9.0
Fetching unf_ext 0.0.9.1
Installing unf_ext 0.0.9.1 with native extensions
Fetching kgio 2.11.4
Installing kgio 2.11.4 with native extensions
Fetching libv8-node 18.16.0.0 (aarch64-linux)
Installing libv8-node 18.16.0.0 (aarch64-linux)
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching thor 1.3.0
Installing thor 1.3.0
Fetching zeitwerk 2.6.13
Installing zeitwerk 2.6.13
Fetching logstash-event 1.2.02
Installing logstash-event 1.2.02
Fetching logster 2.18.1
Installing logster 2.18.1
Fetching lru_redux 1.1.0
Installing lru_redux 1.1.0
Fetching lz4-ruby 0.3.3
Installing lz4-ruby 0.3.3 with native extensions
Fetching maxminddb 0.1.22
Installing maxminddb 0.1.22
Fetching memory_profiler 1.0.1
Installing memory_profiler 1.0.1
Fetching redis 4.8.1
Installing redis 4.8.1
Fetching mini_sql 1.5.0
Installing mini_sql 1.5.0
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching mustache 1.1.1
Installing mustache 1.1.1
Fetching nio4r 2.7.0
Installing nio4r 2.7.0 with native extensions
Fetching version_gem 1.1.3
Installing version_gem 1.1.3
Fetching optimist 3.1.0
Installing optimist 3.1.0
Fetching pg 1.5.4
Installing pg 1.5.4 with native extensions
Fetching raindrops 0.20.1
Fetching rchardet 1.8.0
Installing raindrops 0.20.1 with native extensions
Installing rchardet 1.8.0
Fetching rexml 3.2.6
Installing rexml 3.2.6
Fetching rinku 2.0.6
Installing rinku 2.0.6 with native extensions
Fetching rotp 6.3.0
Installing rotp 6.3.0
Fetching rqrcode_core 1.2.0
Installing rqrcode_core 1.2.0
Fetching rubyzip 2.3.2
Installing rubyzip 2.3.2
Fetching sshkey 3.0.0
Installing sshkey 3.0.0
Fetching stackprof 0.2.26
Installing stackprof 0.2.26 with native extensions
Fetching i18n 1.14.1
Installing i18n 1.14.1
Fetching tzinfo 2.0.6
Installing tzinfo 2.0.6
Fetching rack-test 2.1.0
Installing rack-test 2.1.0
Fetching request_store 1.6.0
Installing request_store 1.6.0
Fetching message_bus 4.3.8
Installing message_bus 4.3.8
Fetching rack-mini-profiler 3.3.1
Installing rack-mini-profiler 3.3.1
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching aws-sigv4 1.5.0
Installing aws-sigv4 1.5.0
Fetching addressable 2.8.6
Installing addressable 2.8.6
Fetching jwt 2.8.0
Installing jwt 2.8.0
Fetching rack-protection 3.2.0
Installing rack-protection 3.2.0
Fetching nokogiri 1.16.2 (aarch64-linux)
Installing nokogiri 1.16.2 (aarch64-linux)
Fetching bootsnap 1.18.3
Installing bootsnap 1.18.3 with native extensions
Fetching oj 3.16.3
Installing oj 3.16.3 with native extensions
Fetching uglifier 4.2.0
Installing uglifier 4.2.0
Fetching net-http 0.4.1
Installing net-http 0.4.1
Fetching sass-embedded 1.71.1 (aarch64-linux-gnu)
Installing sass-embedded 1.71.1 (aarch64-linux-gnu)
Fetching omniauth 1.9.2
Installing omniauth 1.9.2
Fetching image_optim 0.31.3
Installing image_optim 0.31.3
Fetching unf 0.1.4
Installing unf 0.1.4
Fetching mini_suffix 0.3.3
Installing mini_suffix 0.3.3
Fetching pry 0.14.2
Installing pry 0.14.2
Fetching logstash-logger 0.26.1
Installing logstash-logger 0.26.1
Fetching mini_racer 0.8.0
Fetching sidekiq 6.5.12
Installing sidekiq 6.5.12
Fetching redis-namespace 1.11.0
Installing redis-namespace 1.11.0
Fetching oauth-tty 1.0.5
Installing oauth-tty 1.0.5
Fetching snaky_hash 2.0.1
Installing snaky_hash 2.0.1
Fetching rbtrace 0.5.1
Installing rbtrace 0.5.1 with native extensions
Installing mini_racer 0.8.0 with native extensions
Fetching puma 6.4.2
Installing puma 6.4.2 with native extensions
Fetching rss 0.3.0
Installing rss 0.3.0
Fetching rqrcode 2.2.0
Installing rqrcode 2.2.0
Fetching activesupport 7.0.8
Installing activesupport 7.0.8
Fetching tzinfo-data 1.2024.1
Installing tzinfo-data 1.2024.1
Fetching net-imap 0.4.10
Installing net-imap 0.4.10
Fetching net-pop 0.1.2
Installing net-pop 0.1.2
Fetching net-smtp 0.4.0.1
Installing net-smtp 0.4.0.1
Fetching aws-sdk-core 3.130.2
Installing aws-sdk-core 3.130.2
Fetching css_parser 1.16.0
Installing css_parser 1.16.0
Fetching loofah 2.22.0
Installing loofah 2.22.0
Fetching ruby-readability 0.7.0
Installing ruby-readability 0.7.0
Fetching sanitize 6.1.0
Installing sanitize 6.1.0
Fetching unicorn 6.1.0
Installing unicorn 6.1.0 with native extensions
Fetching faraday-net_http 3.1.0
Installing faraday-net_http 3.1.0
Fetching sassc-embedded 1.70.0
Installing sassc-embedded 1.70.0
Fetching simpleidn 0.2.1
Installing simpleidn 0.2.1
Fetching pry-byebug 3.10.1
Installing pry-byebug 3.10.1
Fetching pry-rails 0.3.9
Installing pry-rails 0.3.9
Fetching mini_scheduler 0.16.0
Installing mini_scheduler 0.16.0
Fetching oauth 1.1.0
Installing oauth 1.1.0
Fetching rtlcss 0.2.1
Installing rtlcss 0.2.1
Fetching rails-dom-testing 2.2.0
Installing rails-dom-testing 2.2.0
Fetching globalid 1.2.1
Installing globalid 1.2.1
Fetching activemodel 7.0.8
Installing activemodel 7.0.8
Fetching mail 2.8.1
Installing mail 2.8.1
Fetching aws-sdk-kms 1.56.0
Installing aws-sdk-kms 1.56.0
Fetching aws-sdk-sns 1.53.0
Installing aws-sdk-sns 1.53.0
Fetching rails-html-sanitizer 1.6.0
Installing rails-html-sanitizer 1.6.0
Fetching openssl-signature_algorithm 1.3.0
Installing openssl-signature_algorithm 1.3.0
Fetching web-push 3.0.1
Installing web-push 3.0.1
Fetching faraday 2.9.0
Installing faraday 2.9.0
Fetching json_schemer 2.1.1
Installing json_schemer 2.1.1
Fetching omniauth-oauth 1.2.0
Installing omniauth-oauth 1.2.0
Fetching activejob 7.0.8
Installing activejob 7.0.8
Fetching active_model_serializers 0.8.4
Installing active_model_serializers 0.8.4
Fetching activerecord 7.0.8
Installing activerecord 7.0.8
Fetching aws-sdk-s3 1.114.0
Installing aws-sdk-s3 1.114.0
Fetching actionview 7.0.8
Installing actionview 7.0.8
Fetching cose 1.3.0
Installing cose 1.3.0
Fetching faraday-retry 2.2.0
Installing faraday-retry 2.2.0
Fetching oauth2 1.4.11
Installing oauth2 1.4.11
Fetching omniauth-twitter 1.4.0
Installing omniauth-twitter 1.4.0
Fetching discourse-seed-fu 2.3.12
Installing discourse-seed-fu 2.3.12
Fetching actionpack 7.0.8
Installing actionpack 7.0.8
Fetching actionview_precompiler 0.3.0
Installing actionview_precompiler 0.3.0
Fetching omniauth-oauth2 1.7.3
Installing omniauth-oauth2 1.7.3
Fetching actionmailer 7.0.8
Installing actionmailer 7.0.8
Fetching railties 7.0.8
Installing railties 7.0.8
Fetching sprockets-rails 3.4.2
Installing sprockets-rails 3.4.2
Fetching omniauth-facebook 9.0.0
Installing omniauth-facebook 9.0.0
Fetching omniauth-github 1.4.0
Installing omniauth-github 1.4.0
Fetching omniauth-google-oauth2 0.8.2
Installing omniauth-google-oauth2 0.8.2
Fetching lograge 0.14.0
Installing lograge 0.14.0
Fetching rails_failover 2.0.1
Installing rails_failover 2.0.1
Fetching rails_multisite 5.0.0
Installing rails_multisite 5.0.0
Bundle complete! 138 Gemfile dependencies, 170 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from image_optim:
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove `config.assets.image_optim = false` if you are not going to use that gem
Post-install message from oauth:
You have installed oauth version 1.1.0, congratulations!
Non-commercial support for the 1.x series will end by April, 2025. Please make a plan to upgrade to the next version prior to that date.
The only breaking change will be dropped support for Ruby 2.7 and any other versions which will also have reached EOL by then.
Please see:
• https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md
Note also that I am, and this project is, in the process of leaving Github.
I wrote about some of the reasons here:
• https://dev.to/galtzo/im-leaving-github-50ba
If you are a human, please consider a donation as I move toward supporting myself with Open Source work:
• https://liberapay.com/pboling
• https://ko-fi.com/pboling
• https://patreon.com/galtzo
If you are a corporation, please consider supporting this project, and open source work generally, with a TideLift subscription.
• https://tidelift.com/funding/github/rubygems/oauth
• Or hire me. I am looking for a job!
Please report issues, and support the project!
Thanks, |7eter l-|. l3oling
Post-install message from oauth2:
You have installed oauth2 version 1.4.11, which is EOL.
No further support is anticipated for the 1.4.x series.
OAuth2 version 2 is released.
There are BREAKING changes, but most will not encounter them, and upgrading should be easy!
We have made two other major migrations:
1. master branch renamed to main
2. Github has been replaced with Gitlab
Please see:
• https://gitlab.com/oauth-xx/oauth2#what-is-new-for-v20
• https://gitlab.com/oauth-xx/oauth2/-/blob/main/CHANGELOG.md
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE
Please upgrade, report issues, and support the project! Thanks, |7eter l-|. l3oling
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************
The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
* `Zip::File`
* `Zip::Entry`
* `Zip::InputStream`
* `Zip::OutputStream`
Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
I, [2024-02-23T01:07:36.738151 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-02-23T01:07:39.725809 #1] INFO -- : docker_manager is already at latest compatible version
I, [2024-02-23T01:07:39.726341 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Couldn't connect to Redis
rake aborted!
Redis::CannotConnectError: Error connecting to Redis on localhost:6379 (Errno::EADDRNOTAVAIL) (Redis::CannotConnectError)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:398:in `rescue in establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:379:in `establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:115:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:344:in `with_reconnect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:114:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:409:in `ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:269:in `block in process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:356:in `logging'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:268:in `process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:161:in `call'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:270:in `block in send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/commands/strings.rb:191:in `get'
/var/www/discourse/app/models/global_setting.rb:37:in `safe_secret_key_base'
/var/www/discourse/config/initializers/100-secret_token.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:208:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:666:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:506:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
السبب:
Errno::EADDRNOTAVAIL: لا يمكن تعيين العنوان المطلوب - connect(2) لـ [::1]:6379 (Errno::EADDRNOTAVAIL)
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:158:in `connect_addrinfo'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:196:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `each_with_index'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:194:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/connection/ruby.rb:308:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:385:in `establish_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:115:in `block in connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:344:in `with_reconnect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:114:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:409:in `ensure_connected'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:269:in `block in process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:356:in `logging'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:268:in `process'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/client.rb:161:in `call'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.3.1/lib/mini_profiler/profiling_methods.rb:89:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:270:in `block in send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis.rb:269:in `send_command'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/redis-4.8.1/lib/redis/commands/strings.rb:191:in `get'
/var/www/discourse/app/models/global_setting.rb:37:in `safe_secret_key_base'
/var/www/discourse/config/initializers/100-secret_token.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `load'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:667:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8/lib/active_support/notifications.rb:208:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:666:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/engine.rb:619:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.13/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/railties-7.0.8/lib/rails/application.rb:506:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
المهام: TOP => db:migrate => db:load_config => environment
(انظر التتبع الكامل بتشغيل المهمة مع --trace)
I, [2024-02-23T01:07:41.816270 #1] INFO -- :
I, [2024-02-23T01:07:41.816794 #1] INFO -- : إنهاء العمليات غير المتزامنة
I, [2024-02-23T01:07:41.816848 #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: 42
2024-02-23 01:07:41.817 UTC [42] LOG: تم استلام طلب الإغلاق السريع
2024-02-23 01:07:41.855 UTC [42] LOG: إلغاء أي عمليات معاملة نشطة
2024-02-23 01:07:41.857 UTC [42] LOG: انتهى عامل الخلفية "logical replication launcher" (PID 51) برمز الخروج 1
2024-02-23 01:07:41.857 UTC [46] LOG: جارٍ الإغلاق
2024-02-23 01:07:41.919 UTC [42] LOG: تم إيقاف نظام قاعدة البيانات
فشل
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' فشل مع الإرجاع #<Process::Status: pid 5756 exit 1>
موقع الفشل: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
فشل التنفيذ مع المعاملات {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
فشل التمهيد برمز الخروج 1
** فشل التمهيد ** يرجى التمرير لأعلى والبحث عن رسائل الخطأ السابقة، قد يكون هناك أكثر من واحد.
./discourse-doctor قد يساعد في تشخيص المشكلة.
e37edc0df10c0f119a1e34028c2b58b518cd7b788fa5cb564f0f370eb3bdfaad
==================== نهاية سجل إعادة البناء ====================