"إعادة بناء" موقع الفشل: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'

حاولت إعادة البناء، لكن ظهر خطأ، سجل كامل:

root@infinitydis:~# /var/discourse/launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
/usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2022-02-07T08:37:08.451302 #1]  INFO -- : Reading from stdin
I, [2022-02-07T08:37:08.459332 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2022-02-07T08:37:08.971342 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2022-02-07T08:37:08.971776 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2022-02-07T08:37:09.015942 #1]  INFO -- :
I, [2022-02-07T08:37:09.023520 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2022-02-07T08:37:09.042179 #1]  INFO -- :
I, [2022-02-07T08:37:09.042387 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2022-02-07T08:37:09.052675 #1]  INFO -- :
I, [2022-02-07T08:37:09.052856 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2022-02-07T08:37:09.056344 #1]  INFO -- :
I, [2022-02-07T08:37:09.056515 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2022-02-07T08:37:09.060379 #1]  INFO -- :
I, [2022-02-07T08:37:09.060545 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2022/02/07 08:37:09 socat[18] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2022-02-07T08:37:09.285348 #1]  INFO -- :
I, [2022-02-07T08:37:09.285630 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2022-02-07T08:37:09.290843 #1]  INFO -- :
I, [2022-02-07T08:37:09.291005 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2022-02-07T08:37:09.294245 #1]  INFO -- :
I, [2022-02-07T08:37:09.294403 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2022-02-07T08:37:09.297139 #1]  INFO -- :
I, [2022-02-07T08:37:09.297379 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2022-02-07T08:37:09.299901 #1]  INFO -- :
I, [2022-02-07T08:37:09.386640 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2022-02-07T08:37:09.392128 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2022-02-07T08:37:09.409475 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2022-02-07T08:37:09.414807 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2022-02-07T08:37:09.415087 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2022-02-07T08:37:21.089413 #1]  INFO -- :
I, [2022-02-07T08:37:21.089813 #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, [2022-02-07T08:37:21.094740 #1]  INFO -- :
I, [2022-02-07T08:37:21.094847 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2022-02-07T08:37:21.264259 #1]  INFO -- :
I, [2022-02-07T08:37:21.264469 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2022-02-07T08:37:21.269515 #1]  INFO -- :
I, [2022-02-07T08:37:21.269849 #1]  INFO -- : > /root/upgrade_postgres
I, [2022-02-07T08:37:21.310015 #1]  INFO -- :
I, [2022-02-07T08:37:21.310267 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2022-02-07T08:37:21.314416 #1]  INFO -- :
I, [2022-02-07T08:37:21.345913 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.347008 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.364124 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.366505 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.368616 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.370509 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.372502 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2022-02-07T08:37:21.403737 #1]  INFO -- :
I, [2022-02-07T08:37:21.404374 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.405237 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.407951 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2022-02-07T08:37:21.414906 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2022-02-07T08:37:21.415575 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2022-02-07T08:37:21.424627 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2022-02-07T08:37:21.426106 #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, [2022-02-07T08:37:21.430196 #1]  INFO -- : > sleep 5
2022-02-07 08:37:22.610 UTC [41] LOG:  starting PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-02-07 08:37:22.615 UTC [41] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2022-02-07 08:37:22.615 UTC [41] LOG:  listening on IPv6 address "::", port 5432
2022-02-07 08:37:22.635 UTC [41] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-02-07 08:37:22.663 UTC [44] LOG:  database system was shut down at 2022-02-07 08:12:36 UTC
2022-02-07 08:37:22.794 UTC [41] LOG:  database system is ready to accept connections
I, [2022-02-07T08:37:26.523148 #1]  INFO -- :
I, [2022-02-07T08:37:26.523701 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2022-02-07 08:37:27.291 UTC [54] postgres@postgres ERROR:  database "discourse" already exists
2022-02-07 08:37:27.291 UTC [54] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2022-02-07T08:37:27.294013 #1]  INFO -- :
I, [2022-02-07T08:37:27.294407 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2022-02-07 08:37:27.573 UTC [58] postgres@discourse ERROR:  role "discourse" already exists
2022-02-07 08:37:27.573 UTC [58] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2022-02-07T08:37:27.577716 #1]  INFO -- :
I, [2022-02-07T08:37:27.578190 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2022-02-07T08:37:27.659826 #1]  INFO -- : GRANT

I, [2022-02-07T08:37:27.660234 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2022-02-07T08:37:27.742312 #1]  INFO -- : ALTER SCHEMA

I, [2022-02-07T08:37:27.742669 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2022-02-07T08:37:27.946407 #1]  INFO -- : CREATE EXTENSION

I, [2022-02-07T08:37:27.946812 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2022-02-07T08:37:28.015469 #1]  INFO -- : CREATE EXTENSION

I, [2022-02-07T08:37:28.016183 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2022-02-07T08:37:28.083195 #1]  INFO -- : CREATE EXTENSION

I, [2022-02-07T08:37:28.083820 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2022-02-07T08:37:28.149904 #1]  INFO -- : CREATE EXTENSION

I, [2022-02-07T08:37:28.150543 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2022-02-07T08:37:28.169280 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2022-02-07T08:37:28.416051 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2022-02-07T08:37:28.453465 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2022-02-07T08:37:28.453608 #1]  INFO -- : > echo postgres installed!
I, [2022-02-07T08:37:28.457926 #1]  INFO -- : postgres installed!

I, [2022-02-07T08:37:28.466751 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2022-02-07T08:37:28.491687 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2022-02-07T08:37:28.499559 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2022-02-07T08:37:28.518542 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.519419 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.529449 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2022-02-07T08:37:28.533394 #1]  INFO -- :
I, [2022-02-07T08:37:28.534081 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.535137 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.537651 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.540074 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.543971 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2022-02-07T08:37:28.565718 #1]  INFO -- : > echo redis installed
I, [2022-02-07T08:37:28.569523 #1]  INFO -- : redis installed

I, [2022-02-07T08:37:28.569939 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2022-02-07T08:37:28.628868 #1]  INFO -- : logfile ""

I, [2022-02-07T08:37:28.629384 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2022-02-07T08:37:28.632482 #1]  INFO -- : > sleep 10
102:C 07 Feb 2022 08:37:28.658 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
102:C 07 Feb 2022 08:37:28.658 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=102, just started
102:C 07 Feb 2022 08:37:28.658 # Configuration loaded
102:M 07 Feb 2022 08:37:28.660 * monotonic clock: POSIX clock_gettime
102:M 07 Feb 2022 08:37:28.663 * Running mode=standalone, port=6379.
102:M 07 Feb 2022 08:37:28.663 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
102:M 07 Feb 2022 08:37:28.663 # Server initialized
102:M 07 Feb 2022 08:37:28.663 # 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.
102:M 07 Feb 2022 08:37:28.664 * Loading RDB produced by version 5.0.5
102:M 07 Feb 2022 08:37:28.664 * RDB age 36 seconds
102:M 07 Feb 2022 08:37:28.664 * RDB memory usage when created 4.22 Mb
102:M 07 Feb 2022 08:37:28.677 # Done loading RDB, keys loaded: 3298, keys expired: 0.
102:M 07 Feb 2022 08:37:28.677 * DB loaded from disk: 0.014 seconds
102:M 07 Feb 2022 08:37:28.677 * Ready to accept connections
I, [2022-02-07T08:37:38.636150 #1]  INFO -- :
I, [2022-02-07T08:37:38.636660 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2022-02-07T08:37:38.658382 #1]  INFO -- : thpoff is installed!

I, [2022-02-07T08:37:38.658633 #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, [2022-02-07T08:37:38.730100 #1]  INFO -- :
I, [2022-02-07T08:37:38.730555 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2022-02-07T08:37:38.814556 #1]  INFO -- :
I, [2022-02-07T08:37:38.814713 #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, [2022-02-07T08:37:38.901268 #1]  INFO -- :
I, [2022-02-07T08:37:38.901731 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2022-02-07T08:37:38.944782 #1]  INFO -- :
I, [2022-02-07T08:37:38.950150 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2022-02-07T08:37:38.983026 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2022-02-07T08:37:38.991354 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2022-02-07T08:37:39.000231 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2022-02-07T08:37:39.008710 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2022-02-07T08:37:39.018205 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2022-02-07T08:37:39.018410 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2022-02-07T08:37:39.018881 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2022-02-07T08:37:39.023685 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
130:C 07 Feb 2022 08:37:39.026 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
130:C 07 Feb 2022 08:37:39.026 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=130, just started
130:C 07 Feb 2022 08:37:39.026 # Configuration loaded
130:M 07 Feb 2022 08:37:39.027 * monotonic clock: POSIX clock_gettime
130:M 07 Feb 2022 08:37:39.027 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
130:M 07 Feb 2022 08:37:39.027 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (30947/30947), done.
I, [2022-02-07T08:37:49.213233 #1]  INFO -- : HEAD is now at e1367cde I18N: Improve copy on blocked words error messages (#15741)

I, [2022-02-07T08:37:49.213450 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2022-02-07T08:37:49.383447 #1]  INFO -- :
I, [2022-02-07T08:37:49.383661 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2022-02-07T08:37:49.388789 #1]  INFO -- :
I, [2022-02-07T08:37:49.388990 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2022-02-07T08:37:49.395595 #1]  INFO -- :
I, [2022-02-07T08:37:49.395724 #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
I, [2022-02-07T08:37:53.262967 #1]  INFO -- :
I, [2022-02-07T08:37:53.263232 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2022-02-07T08:37:53.863164 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2022-02-07T08:37:53.863413 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2022-02-07T08:37:53.869257 #1]  INFO -- :
I, [2022-02-07T08:37:53.869415 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2022-02-07T08:37:53.875433 #1]  INFO -- :
I, [2022-02-07T08:37:53.875569 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2022-02-07T08:37:53.886846 #1]  INFO -- :
I, [2022-02-07T08:37:53.887210 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2022-02-07T08:37:53.891755 #1]  INFO -- :
I, [2022-02-07T08:37:53.891879 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2022-02-07T08:37:53.912181 #1]  INFO -- :
I, [2022-02-07T08:37:53.912392 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2022-02-07T08:37:53.919152 #1]  INFO -- :
I, [2022-02-07T08:37:53.919317 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2022-02-07T08:37:53.925844 #1]  INFO -- :
I, [2022-02-07T08:37:53.926098 #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, [2022-02-07T08:37:53.934149 #1]  INFO -- :
I, [2022-02-07T08:37:53.934272 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2022-02-07T08:37:53.940413 #1]  INFO -- :
I, [2022-02-07T08:37:53.940675 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2022-02-07T08:37:53.946322 #1]  INFO -- :
I, [2022-02-07T08:37:53.946436 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2022-02-07T08:37:53.955341 #1]  INFO -- :
I, [2022-02-07T08:37:53.955454 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2022-02-07T08:37:53.961269 #1]  INFO -- :
I, [2022-02-07T08:37:53.961387 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2022-02-07T08:37:58.280709 #1]  INFO -- :
I, [2022-02-07T08:37:58.281100 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2022-02-07T08:37:58.355266 #1]  INFO -- :
I, [2022-02-07T08:37:58.355642 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2022-02-07T08:37:58.356594 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2022-02-07T08:38:00.502423 #1]  INFO -- :
I, [2022-02-07T08:38:00.502668 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/zh99998/discourse-username-localization.git
Cloning into 'discourse-username-localization'...
I, [2022-02-07T08:38:01.965870 #1]  INFO -- :
I, [2022-02-07T08:38:01.966145 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/zh99998/discourse-discuz-migrate.git
Cloning into 'discourse-discuz-migrate'...
I, [2022-02-07T08:38:03.416506 #1]  INFO -- :
I, [2022-02-07T08:38:03.416755 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/fantasticfears/discourse-chinese-localization-pack.git
Cloning into 'discourse-chinese-localization-pack'...
I, [2022-02-07T08:38:04.946618 #1]  INFO -- :
I, [2022-02-07T08:38:04.947210 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2022-02-07T08:38:04.993392 #1]  INFO -- :
I, [2022-02-07T08:38:04.993737 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2022-02-07T08:38:04.998883 #1]  INFO -- :
I, [2022-02-07T08:38:04.999113 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2022-02-07T08:38:05.005333 #1]  INFO -- :
I, [2022-02-07T08:38:05.020709 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2022-02-07T08:38:05.021572 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2022-02-07T08:38:05.022333 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2022-02-07T08:38:05.031361 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2022-02-07T08:38:05.033022 #1]  INFO -- : > echo "done configuring web"
I, [2022-02-07T08:38:05.038826 #1]  INFO -- : done configuring web

I, [2022-02-07T08:38:05.039372 #1]  INFO -- : > gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
I, [2022-02-07T08:38:09.814320 #1]  INFO -- : https://gems.ruby-china.com/ added to sources
https://rubygems.org/ removed from sources

I, [2022-02-07T08:38:09.814813 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2022-02-07T08:38:11.730090 #1]  INFO -- : Successfully installed bundler-2.3.4
1 gem installed

```I, [2022-02-07T08:38:11.730274 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2022-02-07T08:38:55.270252 #1]  INFO -- :
I, [2022-02-07T08:38:55.270751 #1]  INFO -- : > su discourse -c 'bundle config mirror.https://rubygems.org https://gems.ruby-china.com/'
I, [2022-02-07T08:38:55.891153 #1]  INFO -- :
I, [2022-02-07T08:38:55.891618 #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 في الإصدارات المستقبلية. بدلاً من ذلك، يرجى استخدام `bundle config set --local without 'test development'`، والتوقف عن استخدام هذه العلامة
I, [2022-02-07T08:39:33.094750 #1]  INFO -- : تشغيل `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` باستخدام bundler 2.3.4
مثبت، استخدام الحل من ملف القفل
التعريف ينقصه ["bootsnap-1.10.3", "excon-0.91.0", "nokogiri-1.13.1-x86_64-linux", "oj-3.13.11", "pg-1.3.1", "mini_sql-1.3.0", "sidekiq-6.4.0", "mini_racer-0.6.2", "puma-5.6.1", "cppjieba_rb-0.4.2", "msgpack-1.4.4", "i18n-1.9.1", "zeitwerk-2.5.4", "ipaddr-1.2.4"]
HTTP GET https://gems.ruby-china.com/versions
HTTP 206 Partial Content https://gems.ruby-china.com/versions
HTTP GET https://gems.ruby-china.com/versions
HTTP 200 OK https://gems.ruby-china.com/versions
بصمة /versions لا تتطابق مع البصمة التي قدمها الخادم! هناك خطأ ما (البصمة المحلية هي "\"b9a4a84cc18e5b244624c53e26ba7150\""، وكان من المتوقع "\"099c7ea63dc582fab0d8c952c013c8c2\"")

يبدو أن الخطأ يأتي من الإضافة: