مرحبًا. لقد تعطل منتدانا (https://forum.pardus.org.tr)، وعندما دخلت إلى وحدة التحكم وحاولت إعادة البناء، ظهرت لي رسالة الخطأ التالية:
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 606 exit 1>
يوجد خطأ آخر في السجل:
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
ERROR: unsupported Unicode escape sequence
DETAIL: \u0000 cannot be converted to text.
السجل أدناه. قمت بتعطيل جميع الإضافات، وتحديث النظام، وإعادة تشغيل النظام، لكن لم ينجح أي منها.
بعد إعادة البناء غير الناجحة، لا يبدأ التطبيق، ولكن عند تشغيل ./launcher start app فإنه يبدأ. ثم، تظهر الشاشة فارغة مع تحميل بعض CSS مخصص في الخلفية:
النظام هو Ubuntu 16.04.7 LTS ونحن نستخدم إصدار Docker من Discourse.
هل لديك أي اقتراحات؟
السجل الكامل:
root@pardus:/var/discourse# git pull
Already up-to-date.
root@pardus:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
From https://github.com/discourse/pups
17f04ec..ebe1069 master -> origin/master
+ 4db217f...af226b0 gen-env-args -> origin/gen-env-args (forced update)
Updating 17f04ec..ebe1069
Fast-forward
.github/workflows/ci.yml | 29 ++++++
.github/workflows/lint.yml | 27 ++++++
.rubocop.yml | 3 +
Gemfile | 2 +
Guardfile | 4 +-
README.md | 12 +++
Rakefile | 14 +--
bin/pups | 8 +-
lib/pups.rb | 32 ++++---
lib/pups/cli.rb | 86 +++++++++--------
lib/pups/command.rb | 25 ++---
lib/pups/config.rb | 222 +++++++++++++++++++++----------------------
lib/pups/exec_command.rb | 182 ++++++++++++++++++-----------------
lib/pups/file_command.rb | 60 ++++++------
lib/pups/merge_command.rb | 94 +++++++++---------
lib/pups/replace_command.rb | 70 +++++++-------
lib/pups/runit.rb | 47 +++++----
lib/pups/version.rb | 4 +-
pups.gemspec | 37 ++++----
test/cli_test.rb | 44 ++++++---
test/config_test.rb | 165 ++++++++++++++++++++------------
test/exec_command_test.rb | 62 ++++++------
test/file_command_test.rb | 17 ++--
test/merge_command_test.rb | 64 ++++++-------
test/replace_command_test.rb | 86 ++++++++---------
test/test_helper.rb | 2 +
26 files changed, 780 insertions(+), 618 deletions(-)
create mode 100644 .github/workflows/ci.yml
create mode 100644 .github/workflows/lint.yml
create mode 100644 .rubocop.yml
Note: checking out 'v1.0.3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now atd1db030 cut a new version
أنا، [2021-06-14T20:43:19.976735 #1] INFO -- : تحميل --stdin
أنا، [2021-06-14T20:43:19.983799 #1] INFO -- : > locale-gen $LANG && update-locale
أنا، [2021-06-14T20:43:20.100506 #1] INFO -- : إنشاء اللغات (قد يستغرق هذا بعض الوقت)...
اكتمل الإنشاء.
أنا، [2021-06-14T20:43:20.101476 #1] INFO -- : > mkdir -p /shared/postgres_run
أنا، [2021-06-14T20:43:20.120154 #1] INFO -- :
أنا، [2021-06-14T20:43:20.122575 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
أنا، [2021-06-14T20:43:20.129408 #1] INFO -- :
أنا، [2021-06-14T20:43:20.130175 #1] INFO -- : > chmod 775 /shared/postgres_run
أنا، [2021-06-14T20:43:20.135192 #1] INFO -- :
أنا، [2021-06-14T20:43:20.135721 #1] INFO -- : > rm -fr /var/run/postgresql
أنا، [2021-06-14T20:43:20.140161 #1] INFO -- :
أنا، [2021-06-14T20:43:20.140743 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
أنا، [2021-06-14T20:43:20.146673 #1] INFO -- :
أنا، [2021-06-14T20:43:20.147212 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/06/14 20:43:20 socat[32] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
أنا، [2021-06-14T20:43:20.173287 #1] INFO -- :
أنا، [2021-06-14T20:43:20.173784 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
أنا، [2021-06-14T20:43:20.179456 #1] INFO -- :
أنا، [2021-06-14T20:43:20.179915 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
أنا، [2021-06-14T20:43:20.184575 #1] INFO -- :
أنا، [2021-06-14T20:43:20.185051 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
أنا، [2021-06-14T20:43:20.188867 #1] INFO -- :
أنا، [2021-06-14T20:43:20.189503 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
أنا، [2021-06-14T20:43:20.192744 #1] INFO -- :
أنا، [2021-06-14T20:43:20.200309 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
أنا، [2021-06-14T20:43:20.206820 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
أنا، [2021-06-14T20:43:20.213637 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
أنا، [2021-06-14T20:43:20.220171 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
أنا، [2021-06-14T20:43:20.220635 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
أنا، [2021-06-14T20:43:20.876768 #1] INFO -- :
أنا، [2021-06-14T20:43:20.877210 #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
أنا، [2021-06-14T20:43:20.882644 #1] INFO -- :
أنا، [2021-06-14T20:43:20.882848 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
أنا، [2021-06-14T20:43:20.928151 #1] INFO -- :
أنا، [2021-06-14T20:43:20.928800 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
أنا، [2021-06-14T20:43:20.934584 #1] INFO -- :
أنا، [2021-06-14T20:43:20.935465 #1] INFO -- : > /root/upgrade_postgres
أنا، [2021-06-14T20:43:20.945676 #1] INFO -- :
أنا، [2021-06-14T20:43:20.946088 #1] INFO -- : > rm /root/upgrade_postgres
أنا، [2021-06-14T20:43:20.949097 #1] INFO -- :
أنا، [2021-06-14T20:43:20.950937 #1] INFO -- : استبدال data_directory = '/var/lib/postgresql/13/main' بـ data_directory = '/shared/postgres_data' في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.951899 #1] INFO -- : استبدال (?-mix:#?listen_addresses *=.*) بـ listen_addresses = '*' في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.953130 #1] INFO -- : استبدال (?-mix:#?synchronous_commit *=.*) بـ synchronous_commit = $db_synchronous_commit في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.954157 #1] INFO -- : استبدال (?-mix:#?shared_buffers *=.*) بـ shared_buffers = $db_shared_buffers في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.955090 #1] INFO -- : استبدال (?-mix:#?work_mem *=.*) بـ work_mem = $db_work_mem في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.955919 #1] INFO -- : استبدال (?-mix:#?default_text_search_config *=.*) بـ default_text_search_config = '$db_default_text_search_config' في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.957005 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
أنا، [2021-06-14T20:43:20.966382 #1] INFO -- :
أنا، [2021-06-14T20:43:20.967335 #1] INFO -- : استبدال (?-mix:#?checkpoint_segments *=.*) بـ checkpoint_segments = $db_checkpoint_segments في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.968116 #1] INFO -- : استبدال (?-mix:#?logging_collector *=.*) بـ logging_collector = $db_logging_collector في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.969279 #1] INFO -- : استبدال (?-mix:#?log_min_duration_statement *=.*) بـ log_min_duration_statement = $db_log_min_duration_statement في /etc/postgresql/13/main/postgresql.conf
أنا، [2021-06-14T20:43:20.970202 #1] INFO -- : استبدال (?-mix:^#local +replication +postgres +peer$) بـ local replication postgres peer في /etc/postgresql/13/main/pg_hba.conf
أنا، [2021-06-14T20:43:20.971016 #1] INFO -- : استبدال (?-mix:^host.*all.*all.*127.*$) بـ host all all 0.0.0.0/0 md5 في /etc/postgresql/13/main/pg_hba.conf
أنا، [2021-06-14T20:43:20.972338 #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
أنا، [2021-06-14T20:43:20.975654 #1] INFO -- : > sleep 5
2021-06-14 20:43:21.164 UTC [55] LOG: بدء تشغيل PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) على x86_64-pc-linux-gnu، تم التجميع بواسطة gcc (Debian 8.3.0-6) 8.3.0، 64-bit
2021-06-14 20:43:21.165 UTC [55] LOG: الاستماع على عنوان IPv4 "0.0.0.0"، المنفذ 5432
2021-06-14 20:43:21.165 UTC [55] LOG: الاستماع على عنوان IPv6 "::"، المنفذ 5432
2021-06-14 20:43:21.172 UTC [55] LOG: الاستماع على المقبض Unix "/var/run/postgresql/.s.PGSQL.5432"
2021-06-14 20:43:21.187 UTC [58] LOG: تم إيقاف نظام قاعدة البيانات في 2021-06-14 20:43:07 UTC
2021-06-14 20:43:21.214 UTC [55] LOG: نظام قاعدة البيانات جاهز لقبول الاتصالات
أنا، [2021-06-14T20:43:25.983349 #1] INFO -- :
أنا، [2021-06-14T20:43:25.984446 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-14 20:43:26.169 UTC [68] postgres@postgres ERROR: قاعدة البيانات "discourse" موجودة بالفعل
2021-06-14 20:43:26.169 UTC [68] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: فشل إنشاء قاعدة البيانات: ERROR: قاعدة البيانات "discourse" موجودة بالفعل
أنا، [2021-06-14T20:43:26.176701 #1] INFO -- :
أنا، [2021-06-14T20:43:26.177002 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-14 20:43:26.300 UTC [79] postgres@discourse ERROR: الدور "discourse" موجود بالفعل
2021-06-14 20:43:26.300 UTC [79] postgres@discourse STATEMENT: create user discourse;
ERROR: الدور "discourse" موجود بالفعل
أنا، [2021-06-14T20:43:26.303983 #1] INFO -- :
أنا، [2021-06-14T20:43:26.304385 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
أنا، [2021-06-14T20:43:26.398821 #1] INFO -- : GRANT
أنا، [2021-06-14T20:43:26.399108 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
أنا، [2021-06-14T20:43:26.483017 #1] INFO -- : ALTER SCHEMA
أنا، [2021-06-14T20:43:26.483445 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: الامتداد "hstore" موجود بالفعل، يتم التخطي
أنا، [2021-06-14T20:43:26.601361 #1] INFO -- : CREATE EXTENSION
أنا، [2021-06-14T20:43:26.601596 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: الامتداد "pg_trgm" موجود بالفعل، يتم التخطي
أنا، [2021-06-14T20:43:26.681708 #1] INFO -- : CREATE EXTENSION
أنا، [2021-06-14T20:43:26.682557 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: الامتداد "hstore" موجود بالفعل، يتم التخطي
أنا، [2021-06-14T20:43:26.771819 #1] INFO -- : CREATE EXTENSION
أنا، [2021-06-14T20:43:26.772095 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: الامتداد "pg_trgm" موجود بالفعل، يتم التخطي
أنا، [2021-06-14T20:43:26.859172 #1] INFO -- : CREATE EXTENSION
أنا، [2021-06-14T20:43:26.859684 #1] INFO -- : > sudo -u postgres psql discourse
أنا، [2021-06-14T20:43:26.864324 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
أنا، [2021-06-14T20:43:27.012727 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
أنا، [2021-06-14T20:43:27.018312 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
أنا، [2021-06-14T20:43:27.018442 #1] INFO -- : > echo postgres installed!
أنا، [2021-06-14T20:43:27.021238 #1] INFO -- : تم تثبيت postgres!
أنا، [2021-06-14T20:43:27.028213 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
أنا، [2021-06-14T20:43:27.034695 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
أنا، [2021-06-14T20:43:27.041086 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
أنا، [2021-06-14T20:43:27.041875 #1] INFO -- : استبدال daemonize yes بـ في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.042713 #1] INFO -- : استبدال (?-mix:^pidfile.*$) بـ في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.044658 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
أنا، [2021-06-14T20:43:27.048290 #1] INFO -- :
أنا، [2021-06-14T20:43:27.049013 #1] INFO -- : استبدال (?-mix:^logfile.*$) بـ logfile "" في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.049645 #1] INFO -- : استبدال (?-mix:^bind .*$) بـ في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.051683 #1] INFO -- : استبدال (?-mix:^dir .*$) بـ dir /shared/redis_data في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.053735 #1] INFO -- : استبدال (?-mix:^protected-mode yes) بـ protected-mode no في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.055899 #1] INFO -- : استبدال # io-threads 4 بـ io-threads $redis_io_threads في /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.058009 #1] INFO -- : > echo redis installed
أنا، [2021-06-14T20:43:27.061320 #1] INFO -- : تم تثبيت redis
أنا، [2021-06-14T20:43:27.061883 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
أنا، [2021-06-14T20:43:27.069345 #1] INFO -- : logfile ""
أنا، [2021-06-14T20:43:27.070056 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
أنا، [2021-06-14T20:43:27.072228 #1] INFO -- : > sleep 10
172:C 14 Jun 2021 20:43:27.083 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
172:C 14 Jun 2021 20:43:27.083 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=172, just started
172:C 14 Jun 2021 20:43:27.083 # Configuration loaded
172:M 14 Jun 2021 20:43:27.084 * monotonic clock: POSIX clock_gettime
172:M 14 Jun 2021 20:43:27.085 * Running mode=standalone, port=6379.
172:M 14 Jun 2021 20:43:27.086 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
172:M 14 Jun 2021 20:43:27.086 # Server initialized
172:M 14 Jun 2021 20:43:27.086 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. 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.
172:M 14 Jun 2021 20:43:27.086 * Loading RDB produced by version 6.2.1
172:M 14 Jun 2021 20:43:27.086 * RDB age 22 seconds
172:M 14 Jun 2021 20:43:27.086 * RDB memory usage when created 33.91 Mb
172:M 14 Jun 2021 20:43:27.250 * DB loaded from disk: 0.164 seconds
172:M 14 Jun 2021 20:43:27.250 * Ready to accept connections
أنا، [2021-06-14T20:43:37.077667 #1] INFO -- :
أنا، [2021-06-14T20:43:37.078562 #1] INFO -- : > thpoff echo "thpoff is installed!"
أنا، [2021-06-14T20:43:37.091668 #1] INFO -- : تم تثبيت thpoff!
أنا، [2021-06-14T20:43:37.092496 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
أنا، [2021-06-14T20:43:37.231617 #1] INFO -- :
أنا، [2021-06-14T20:43:37.232119 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
أنا، [2021-06-14T20:43:37.332854 #1] INFO -- :
أنا، [2021-06-14T20:43:37.333974 #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'
أنا، [2021-06-14T20:43:37.440820 #1] INFO -- :
أنا، [2021-06-14T20:43:37.441063 #1] INFO -- : > chown -R discourse /home/discourse
أنا، [2021-06-14T20:43:37.538075 #1] INFO -- :
أنا، [2021-06-14T20:43:37.538616 #1] INFO -- : > rm -f /etc/cron.d/anacron
أنا، [2021-06-14T20:43:37.547281 #1] INFO -- :
أنا، [2021-06-14T20:43:37.552659 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
أنا، [2021-06-14T20:43:37.559876 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
أنا، [2021-06-14T20:43:37.566833 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
أنا، [2021-06-14T20:43:37.573935 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
أنا، [2021-06-14T20:43:37.587581 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
أنا، [2021-06-14T20:43:37.594449 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
أنا، [2021-06-14T20:43:37.594597 #1] INFO -- : استبدال # postgres بـ sv start postgres || exit 1 في /etc/service/unicorn/run
أنا، [2021-06-14T20:43:37.594867 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
أنا، [2021-06-14T20:43:37.597846 #1] INFO -- : > cd /var/www/discourse && git reset --hard
200:C 14 Jun 2021 20:43:37.605 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
200:C 14 Jun 2021 20:43:37.605 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=200, just started
200:C 14 Jun 2021 20:43:37.605 # Configuration loaded
200:M 14 Jun 2021 20:43:37.606 * monotonic clock: POSIX clock_gettime
200:M 14 Jun 2021 20:43:37.607 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
200:M 14 Jun 2021 20:43:37.607 # Failed listening on port 6379 (TCP), aborting.
Checking out files: 100% (28860/28860), done.
أنا، [2021-06-14T20:43:42.073375 #1] INFO -- : HEAD is now at 74f71503 FEATURE: Automatically timed delete stub topics after entire topic is merged into another topic (#13187)
أنا، [2021-06-14T20:43:42.074080 #1] INFO -- : > cd /var/www/discourse && git clean -f
أنا، [2021-06-14T20:43:42.219169 #1] INFO -- :
أنا، [2021-06-14T20:43:42.219598 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
أنا، [2021-06-14T20:43:42.229970 #1] INFO -- :
أنا، [2021-06-14T20:43:42.230355 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
أنا، [2021-06-14T20:43:42.238944 #1] INFO -- :
أنا، [2021-06-14T20:43:42.239762 #1] INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
From https://github.com/discourse/discourse
* branch tests-passed -> FETCH_HEAD
* [new branch] tests-passed -> origin/tests-passed
أنا، [2021-06-14T20:43:45.057423 #1] INFO -- :
أنا، [2021-06-14T20:43:45.058071 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
أنا، [2021-06-14T20:43:45.816357 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
أنا، [2021-06-14T20:43:45.817039 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
أنا، [2021-06-14T20:43:45.826749 #1] INFO -- :
أنا، [2021-06-14T20:43:45.827249 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
أنا، [2021-06-14T20:43:45.831952 #1] INFO -- :
أنا، [2021-06-14T20:43:45.832450 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
أنا، [2021-06-14T20:43:45.837227 #1] INFO -- :
أنا، [2021-06-14T20:43:45.837784 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
أنا، [2021-06-14T20:43:45.842277 #1] INFO -- :
أنا، [2021-06-14T20:43:45.842839 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
أنا، [2021-06-14T20:43:45.848716 #1] INFO -- :
أنا، [2021-06-14T20:43:45.849244 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
أنا، [2021-06-14T20:43:45.853781 #1] INFO -- :
أنا، [2021-06-14T20:43:45.854368 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
أنا، [2021-06-14T20:43:45.862602 #1] INFO -- :
أنا، [2021-06-14T20:43:45.862982 #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"
أنا، [2021-06-14T20:43:45.870208 #1] INFO -- :
أنا، [2021-06-14T20:43:45.870773 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
أنا، [2021-06-14T20:43:45.879241 #1] INFO -- :
أنا، [2021-06-14T20:43:45.879855 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
أنا، [2021-06-14T20:43:45.887230 #1] INFO -- :
أنا، [2021-06-14T20:43:45.887785 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
أنا، [2021-06-14T20:43:45.896465 #1] INFO -- :
أنا، [2021-06-14T20:43:45.897013 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
أنا، [2021-06-14T20:43:45.904285 #1] INFO -- :
أنا، [2021-06-14T20:43:45.904987 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
أنا، [2021-06-14T20:43:46.506807 #1] INFO -- :
أنا، [2021-06-14T20:43:46.507139 #1] INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
أنا، [2021-06-14T20:43:46.516332 #1] INFO -- :
أنا، [2021-06-14T20:43:46.516985 #1] INFO -- : استبدال # redis بـ sv start redis || exit 1 في /etc/service/unicorn/run
أنا، [2021-06-14T20:43:46.518700 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
أنا، [2021-06-14T20:43:47.994787 #1] INFO -- :
أنا، [2021-06-14T20:43:47.995523 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
أنا، [2021-06-14T20:43:48.894663 #1] INFO -- :
أنا، [2021-06-14T20:43:48.895108 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign.git
Cloning into 'discourse-assign'...
أنا، [2021-06-14T20:43:49.890703 #1] INFO -- :
أنا، [2021-06-14T20:43:49.891259 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
أنا، [2021-06-14T20:43:50.858131 #1] INFO -- :
أنا، [2021-06-14T20:43:50.858720 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies.git
Cloning into 'discourse-canned-replies'...
أنا، [2021-06-14T20:43:51.880063 #1] INFO -- :
أنا، [2021-06-14T20:43:51.880335 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-tooltips.git
Cloning into 'discourse-tooltips'...
أنا، [2021-06-14T20:43:52.740379 #1] INFO -- :
أنا، [2021-06-14T20:43:52.740818 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-characters-required.git
Cloning into 'discourse-characters-required'...
أنا، [2021-06-14T20:43:53.556996 #1] INFO -- :
أنا، [2021-06-14T20:43:53.557554 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
أنا، [2021-06-14T20:43:54.909869 #1] INFO -- :
أنا، [2021-06-14T20:43:54.911115 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
أنا، [2021-06-14T20:43:55.842237 #1] INFO -- :
أنا، [2021-06-14T20:43:55.843187 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-yearly-review.git
Cloning into 'discourse-yearly-review'...
أنا، [2021-06-14T20:43:56.661489 #1] INFO -- :
أنا، [2021-06-14T20:43:56.661858 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
أنا، [2021-06-14T20:43:57.494156 #1] INFO -- :
أنا، [2021-06-14T20:43:57.495054 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
Cloning into 'discourse-chat-integration'...
أنا، [2021-06-14T20:43:58.580532 #1] INFO -- :
أنا، [2021-06-14T20:43:58.580764 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
Cloning into 'discourse-checklist'...
أنا، [2021-06-14T20:43:59.532088 #1] INFO -- :
أنا، [2021-06-14T20:43:59.532553 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-plugin-linkedin-auth.git
Cloning into 'discourse-plugin-linkedin-auth'...
أنا، [2021-06-14T20:44:00.442385 #1] INFO -- :
أنا، [2021-06-14T20:44:00.443170 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-footnote.git
Cloning into 'discourse-footnote'...
أنا، [2021-06-14T20:44:01.360433 #1] INFO -- :
أنا، [2021-06-14T20:44:01.360724 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bcc.git
Cloning into 'discourse-bcc'...
أنا، [2021-06-14T20:44:02.397428 #1] INFO -- :
أنا، [2021-06-14T20:44:02.398230 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications.git
Cloning into 'discourse-push-notifications'...
أنا، [2021-06-14T20:44:03.251425 #1] INFO -- :
أنا، [2021-06-14T20:44:03.252219 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-follow.git
Cloning into 'discourse-follow'...
أنا، [2021-06-14T20:44:04.130192 #1] INFO -- :
أنا، [2021-06-14T20:44:04.130759 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/davidtaylorhq/discourse-telegram-notifications.git
Cloning into 'discourse-telegram-notifications'...
أنا، [2021-06-14T20:44:04.841531 #1] INFO -- :
أنا، [2021-06-14T20:44:04.842641 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
أنا، [2021-06-14T20:44:04.849495 #1] INFO -- :
أنا، [2021-06-14T20:44:04.850244 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
أنا، [2021-06-14T20:44:04.853726 #1] INFO -- :
أنا، [2021-06-14T20:44:04.854379 #1] INFO -- : > mkdir -p /var/nginx/cache
أنا، [2021-06-14T20:44:04.858443 #1] INFO -- :
أنا، [2021-06-14T20:44:04.859257 #1] INFO -- : استبدال pid /run/nginx.pid; بـ daemon off; في /etc/nginx/nginx.conf
أنا، [2021-06-14T20:44:04.860061 #1] INFO -- : استبدال (?m-ix:upstream[^\}]+\}) بـ upstream discourse { server 127.0.0.1:3000; } في /etc/nginx/conf.d/discourse.conf
أنا، [2021-06-14T20:44:04.860716 #1] INFO -- : استبدال (?-mix:server_name.+$) بـ server_name _ ; في /etc/nginx/conf.d/discourse.conf
أنا، [2021-06-14T20:44:04.861470 #1] INFO -- : استبدال (?-mix:client_max_body_size.+$) بـ client_max_body_size $upload_size ; في /etc/nginx/conf.d/discourse.conf
أنا، [2021-06-14T20:44:04.862438 #1] INFO -- : > echo "done configuring web"
أنا، [2021-06-14T20:44:04.865608 #1] INFO -- : تم الانتهاء من تكوين الويب
أنا، [2021-06-14T20:44:04.866449 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
أنا، [2021-06-14T20:44:06.350029 #1] INFO -- : تم تثبيت bundler-2.2.19 بنجاح
تم تثبيت 1 gem
I, [2021-06-14T20:44:06.350429 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-06-14T20:44:07.650595 #1] INFO -- :
I, [2021-06-14T20:44:07.651328 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[مُعطَّل] علامة `--deployment` مُعطَّلة لأنها تعتمد على تذكر الإعداد عبر استدعاءات bundler المتعددة، وهو ما لن يفعله bundler في الإصدارات المستقبلية. بدلاً من ذلك، يُرجى استخدام `bundle config set --local deployment 'true'`، والتوقف عن استخدام هذه العلامة
[مُعطَّل] علامة `--without` مُعطَّلة لأنها تعتمد على تذكر الإعداد عبر استدعاءات bundler المتعددة، وهو ما لن يفعله bundler في الإصدارات المستقبلية
