./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Total 5 (delta 2), reused 5 (delta 2), pack-reused 0
Unpacking objects: 100% (5/5), 1.64 KiB | 420.00 KiB/s, done.
From https://github.com/discourse/discourse_docker
* [new branch] build-27 -> origin/build-27
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
2.0.20221221-0050: Pulling from discourse/base
Digest: sha256:7ac6489e34a0f40f32457bffaa331940a98447b46451a6a1279a79868ee5420b
Status: Image is up to date for discourse/base:2.0.20221221-0050
docker.io/discourse/base:2.0.20221221-0050
/usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-01-06T09:56:37.862822 #1] INFO -- : Reading from stdin
I, [2023-01-06T09:56:37.873432 #1] INFO -- : > locale-gen $LANG && update-locale
I, [2023-01-06T09:56:37.916480 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2023-01-06T09:56:37.916796 #1] INFO -- : > mkdir -p /shared/postgres_run
I, [2023-01-06T09:56:37.920730 #1] INFO -- :
I, [2023-01-06T09:56:37.921489 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-01-06T09:56:37.925468 #1] INFO -- :
I, [2023-01-06T09:56:37.925768 #1] INFO -- : > chmod 775 /shared/postgres_run
I, [2023-01-06T09:56:37.929274 #1] INFO -- :
I, [2023-01-06T09:56:37.929503 #1] INFO -- : > rm -fr /var/run/postgresql
I, [2023-01-06T09:56:37.936629 #1] INFO -- :
I, [2023-01-06T09:56:37.936917 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-01-06T09:56:37.942210 #1] INFO -- :
I, [2023-01-06T09:56:37.942617 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2023/01/06 09:56:37 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-01-06T09:56:37.955798 #1] INFO -- :
I, [2023-01-06T09:56:37.956293 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-01-06T09:56:37.961528 #1] INFO -- :
I, [2023-01-06T09:56:37.962113 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-01-06T09:56:37.967246 #1] INFO -- :
I, [2023-01-06T09:56:37.967766 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-01-06T09:56:37.972186 #1] INFO -- :
I, [2023-01-06T09:56:37.972821 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-01-06T09:56:37.976397 #1] INFO -- :
I, [2023-01-06T09:56:37.984067 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2023-01-06T09:56:37.992449 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2023-01-06T09:56:37.999761 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2023-01-06T09:56:38.008435 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2023-01-06T09:56:38.009072 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-01-06T09:56:39.996250 #1] INFO -- :
I, [2023-01-06T09:56:39.996944 #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, [2023-01-06T09:56:40.001030 #1] INFO -- :
I, [2023-01-06T09:56:40.001279 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-01-06T09:56:40.028125 #1] INFO -- :
I, [2023-01-06T09:56:40.028920 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-01-06T09:56:40.032896 #1] INFO -- :
I, [2023-01-06T09:56:40.033431 #1] INFO -- : > /root/upgrade_postgres
I, [2023-01-06T09:56:40.040148 #1] INFO -- :
I, [2023-01-06T09:56:40.040814 #1] INFO -- : > rm /root/upgrade_postgres
I, [2023-01-06T09:56:40.044602 #1] INFO -- :
I, [2023-01-06T09:56:40.046108 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.047133 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.048699 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.049489 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.051460 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.052387 #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, [2023-01-06T09:56:40.053139 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-01-06T09:56:40.060323 #1] INFO -- :
I, [2023-01-06T09:56:40.061251 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.062204 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-01-06T09:56:40.063149 #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, [2023-01-06T09:56:40.064554 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-01-06T09:56:40.065507 #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, [2023-01-06T09:56:40.066299 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2023-01-06T09:56:40.067025 #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, [2023-01-06T09:56:40.070647 #1] INFO -- : > sleep 5
2023-01-06 09:56:40.147 UTC [42] LOG: starting PostgreSQL 13.9 (Debian 13.9-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-01-06 09:56:40.148 UTC [42] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-01-06 09:56:40.148 UTC [42] LOG: listening on IPv6 address "::", port 5432
2023-01-06 09:56:40.150 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-01-06 09:56:40.156 UTC [45] LOG: database system was shut down at 2023-01-06 09:56:28 UTC
2023-01-06 09:56:40.166 UTC [42] LOG: database system is ready to accept connections
I, [2023-01-06T09:56:45.073997 #1] INFO -- :
I, [2023-01-06T09:56:45.074652 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-01-06 09:56:45.185 UTC [55] postgres@postgres ERROR: database "discourse" already exists
2023-01-06 09:56:45.185 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
I, [2023-01-06T09:56:45.188022 #1] INFO -- :
I, [2023-01-06T09:56:45.188495 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-01-06 09:56:45.267 UTC [59] postgres@discourse ERROR: role "discourse" already exists
2023-01-06 09:56:45.267 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
I, [2023-01-06T09:56:45.271387 #1] INFO -- :
I, [2023-01-06T09:56:45.272002 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-01-06T09:56:45.334691 #1] INFO -- : GRANT
I, [2023-01-06T09:56:45.335171 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-01-06T09:56:45.396533 #1] INFO -- : ALTER SCHEMA
I, [2023-01-06T09:56:45.396999 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-01-06T09:56:45.475854 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.476288 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-01-06T09:56:45.540930 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.541321 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
I, [2023-01-06T09:56:45.604694 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.605659 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
I, [2023-01-06T09:56:45.684519 #1] INFO -- : CREATE EXTENSION
I, [2023-01-06T09:56:45.685169 #1] INFO -- : > sudo -u postgres psql discourse
I, [2023-01-06T09:56:45.689551 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
I, [2023-01-06T09:56:45.773054 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2023-01-06T09:56:45.777722 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2023-01-06T09:56:45.778143 #1] INFO -- : > echo postgres installed!
I, [2023-01-06T09:56:45.780994 #1] INFO -- : postgres installed!
I, [2023-01-06T09:56:45.787429 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2023-01-06T09:56:45.793509 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2023-01-06T09:56:45.800521 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2023-01-06T09:56:45.802279 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.803245 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.803992 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-01-06T09:56:45.808325 #1] INFO -- :
I, [2023-01-06T09:56:45.809392 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.810316 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.811139 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.812249 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.817079 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-01-06T09:56:45.817912 #1] INFO -- : > echo redis installed
I, [2023-01-06T09:56:45.821678 #1] INFO -- : redis installed
I, [2023-01-06T09:56:45.822096 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-01-06T09:56:45.827204 #1] INFO -- : logfile ""
I, [2023-01-06T09:56:45.827701 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.confI, [2023-01-06T09:56:45.829988 #1] INFO -- : > sleep 10
103:C 06 Jan 2023 09:56:45.837 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
103:C 06 Jan 2023 09:56:45.837 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=103, just started
103:C 06 Jan 2023 09:56:45.837 # Configuration loaded
103:M 06 Jan 2023 09:56:45.838 * monotonic clock: POSIX clock_gettime
103:M 06 Jan 2023 09:56:45.839 * Running mode=standalone, port=6379.
103:M 06 Jan 2023 09:56:45.839 # Server initialized
103:M 06 Jan 2023 09:56:45.840 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
103:M 06 Jan 2023 09:56:45.840 * Loading RDB produced by version 7.0.7
103:M 06 Jan 2023 09:56:45.840 * RDB age 18 seconds
103:M 06 Jan 2023 09:56:45.840 * RDB memory usage when created 62.75 Mb
103:M 06 Jan 2023 09:56:46.126 * Done loading RDB, keys loaded: 42875, keys expired: 25.
103:M 06 Jan 2023 09:56:46.126 * DB loaded from disk: 0.285 seconds
103:M 06 Jan 2023 09:56:46.126 * Ready to accept connections
I, [2023-01-06T09:56:55.833137 #1] INFO -- :
I, [2023-01-06T09:56:55.833631 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-01-06T09:56:55.838644 #1] INFO -- : thpoff is installed!
I, [2023-01-06T09:56:55.839000 #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, [2023-01-06T09:56:55.937009 #1] INFO -- :
I, [2023-01-06T09:56:55.937523 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2023-01-06T09:56:56.055190 #1] INFO -- :
I, [2023-01-06T09:56:56.056052 #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, [2023-01-06T09:56:56.165960 #1] INFO -- :
I, [2023-01-06T09:56:56.166528 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-01-06T09:56:56.170055 #1] INFO -- :
I, [2023-01-06T09:56:56.173793 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2023-01-06T09:56:56.179969 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2023-01-06T09:56:56.186007 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2023-01-06T09:56:56.191686 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2023-01-06T09:56:56.197830 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2023-01-06T09:56:56.204069 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2023-01-06T09:56:56.204477 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-01-06T09:56:56.204950 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.confI, [2023-01-06T09:56:56.208008 #1] INFO -- : > cd /var/www/discourse && git reset --hard
130:C 06 Jan 2023 09:56:56.214 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
130:C 06 Jan 2023 09:56:56.214 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=130, just started
130:C 06 Jan 2023 09:56:56.214 # Configuration loaded
130:M 06 Jan 2023 09:56:56.215 * monotonic clock: POSIX clock_gettime
130:M 06 Jan 2023 09:56:56.216 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
130:M 06 Jan 2023 09:56:56.216 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (32637/32637), done.
I, [2023-01-06T09:57:00.148769 #1] INFO -- : HEAD is now at e775ed1c DEV: Properly include spec examples (#19532)
I, [2023-01-06T09:57:00.148996 #1] INFO -- : > cd /var/www/discourse && git clean -f
I, [2023-01-06T09:57:00.298213 #1] INFO -- :
I, [2023-01-06T09:57:00.298417 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2023-01-06T09:57:00.303868 #1] INFO -- :
I, [2023-01-06T09:57:00.304305 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2023-01-06T09:57:00.308952 #1] INFO -- :
I, [2023-01-06T09:57:00.309534 #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, [2023-01-06T09:57:02.291480 #1] INFO -- :
I, [2023-01-06T09:57:02.292020 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2023-01-06T09:57:02.778403 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
I, [2023-01-06T09:57:02.778757 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-01-06T09:57:02.783573 #1] INFO -- :
I, [2023-01-06T09:57:02.783852 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-01-06T09:57:02.788155 #1] INFO -- :
I, [2023-01-06T09:57:02.788374 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-01-06T09:57:02.793490 #1] INFO -- :
I, [2023-01-06T09:57:02.793745 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-01-06T09:57:02.798955 #1] INFO -- :
I, [2023-01-06T09:57:02.799276 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-01-06T09:57:02.804037 #1] INFO -- :
I, [2023-01-06T09:57:02.804158 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2023-01-06T09:57:02.809532 #1] INFO -- :
I, [2023-01-06T09:57:02.810042 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-01-06T09:57:02.816507 #1] INFO -- :
I, [2023-01-06T09:57:02.817103 #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, [2023-01-06T09:57:02.823217 #1] INFO -- :
I, [2023-01-06T09:57:02.823371 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2023-01-06T09:57:02.830664 #1] INFO -- :
I, [2023-01-06T09:57:02.831217 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-01-06T09:57:02.838035 #1] INFO -- :
I, [2023-01-06T09:57:02.838188 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2023-01-06T09:57:02.845017 #1] INFO -- :
I, [2023-01-06T09:57:02.845161 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-01-06T09:57:02.852142 #1] INFO -- :
I, [2023-01-06T09:57:02.852719 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-01-06T09:57:03.088067 #1] INFO -- :
I, [2023-01-06T09:57:03.088676 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-01-06T09:57:03.096456 #1] INFO -- :
I, [2023-01-06T09:57:03.097157 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-01-06T09:57:03.098182 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-01-06T09:57:04.007060 #1] INFO -- :
I, [2023-01-06T09:57:04.007276 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
I, [2023-01-06T09:57:04.533307 #1] INFO -- :
I, [2023-01-06T09:57:04.533437 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/tarck-bike/discourse-poster-location.git
Cloning into 'discourse-poster-location'...
I, [2023-01-06T09:57:04.827646 #1] INFO -- :
I, [2023-01-06T09:57:04.827830 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/tarck-bike/discourse-word-replace.git
Cloning into 'discourse-word-replace'...
I, [2023-01-06T09:57:05.157347 #1] INFO -- :
I, [2023-01-06T09:57:05.157476 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Cloning into 'discourse-reactions'...
I, [2023-01-06T09:57:06.028406 #1] INFO -- :
I, [2023-01-06T09:57:06.029058 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-prometheus.git
Cloning into 'discourse-prometheus'...
I, [2023-01-06T09:57:06.487202 #1] INFO -- :
I, [2023-01-06T09:57:06.487327 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification.git
Cloning into 'discourse-gamification'...
I, [2023-01-06T09:57:06.937075 #1] INFO -- :
I, [2023-01-06T09:57:06.938007 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.943289 #1] INFO -- :
I, [2023-01-06T09:57:06.944013 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-01-06T09:57:06.947967 #1] INFO -- :
I, [2023-01-06T09:57:06.948611 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2023-01-06T09:57:06.952672 #1] INFO -- :
I, [2023-01-06T09:57:06.953780 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-01-06T09:57:06.954545 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.955128 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.955894 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-01-06T09:57:06.956428 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-01-06T09:57:06.956934 #1] INFO -- : > echo "done configuring web"
I, [2023-01-06T09:57:06.960192 #1] INFO -- : done configuring web
I, [2023-01-06T09:57:06.960696 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-01-06T09:57:07.752125 #1] INFO -- : Successfully installed bundler-2.4.1
1 gem installed
I, [2023-01-06T09:57:07.752250 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-01-06T09:57:18.492684 #1] INFO -- :
I, [2023-01-06T09:57:18.493382 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --production --frozen-lockfile && yarn cache clean'
warning " > @mixer/parallel-prettier@2.0.3" has unmet peer dependency "prettier@^2.0.0".
warning "eslint-config-discourse > eslint-plugin-lodash@7.1.0" has unmet peer dependency "lodash@>=4".
I, [2023-01-06T09:58:36.178866 #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/discourse $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 43.67s.
Done in 70.48s.
yarn cache v1.22.19
success Cleared cache.
Done in 6.41s.
I, [2023-01-06T09:58:36.179801 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test development'`, and stop using this flag
Bundler::PathError: The path `/var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/web-push-369df8f475a4` does not exist.
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/path.rb:209:in `load_spec_files'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/git.rb:205:in `load_spec_files'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/path.rb:107:in `local_specs'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/source/git.rb:172:in `specs'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/lazy_specification.rb:86:in `materialize_for_installation'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:195:in `map!'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:195:in `specs_for_dependency'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:33:in `block in for'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:22:in `loop'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:22:in `for'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/spec_set.rb:79:in `materialize'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/definition.rb:198:in `missing_specs'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/definition.rb:202:in `missing_specs?'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:253:in `resolve_if_needed'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:82:in `block in run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/process_lock.rb:12:in `block in lock'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/process_lock.rb:9:in `open'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/process_lock.rb:9:in `lock'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:71:in `run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/installer.rb:23:in `install'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/install.rb:62:in `run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:260:in `block in install'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/settings.rb:131:in `temporary'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:259:in `install'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:28:in `start'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
I, [2023-01-06T09:59:30.411465 #1] INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.4.1
Frozen, using resolution from the lockfile
The definition is missing dependencies, failed to resolve & materialize locallحدث خطأ في تحديثي
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
يرجى مساعدتي في إصلاحه..
2: cgi (0.3.6) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cgi-0.3.6.gemspec
استخدام rbtrace 0.4.14
2: rbtrace (0.4.14) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rbtrace-0.4.14.gemspec
استخدام redis-namespace 1.9.0
2: redis-namespace (1.9.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/redis-namespace-1.9.0.gemspec
استخدام rqrcode 2.1.2
2: rqrcode (2.1.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode-2.1.2.gemspec
استخدام rss 0.2.9
2: rss (0.2.9) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rss-0.2.9.gemspec
استخدام unf 0.1.4
2: unf (0.1.4) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf-0.1.4.gemspec
استخدام unicorn 6.1.0
2: unicorn (6.1.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unicorn-6.1.0.gemspec
استخدام activesupport 7.0.3.1
2: activesupport (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activesupport-7.0.3.1.gemspec
استخدام net-imap 0.3.1
2: net-imap (0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-imap-0.3.1.gemspec
استخدام net-pop 0.1.2
2: net-pop (0.1.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-pop-0.1.2.gemspec
استخدام net-smtp 0.3.3
2: net-smtp (0.3.3) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/net-smtp-0.3.3.gemspec
جلب css_parser 1.13.0
تثبيت css_parser 1.13.0
2: css_parser (1.13.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/css_parser-1.13.0.gemspec
استخدام aws-sdk-core 3.130.2
2: aws-sdk-core (3.130.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-core-3.130.2.gemspec
استخدام json_schemer 0.2.23
2: json_schemer (0.2.23) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/json_schemer-0.2.23.gemspec
استخدام faraday-retry 2.0.0
2: faraday-retry (2.0.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/faraday-retry-2.0.0.gemspec
استخدام oauth2 1.4.11
2: oauth2 (1.4.11) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth2-1.4.11.gemspec
استخدام mini_scheduler 0.15.0
2: mini_scheduler (0.15.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/mini_scheduler-0.15.0.gemspec
استخدام oauth 1.1.0
2: oauth (1.1.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth-1.1.0.gemspec
استخدام pry-byebug 3.10.1
2: pry-byebug (3.10.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-byebug-3.10.1.gemspec
استخدام pry-rails 0.3.9
2: pry-rails (0.3.9) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-rails-0.3.9.gemspec
استخدام globalid 1.0.0
2: globalid (1.0.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/globalid-1.0.0.gemspec
استخدام activemodel 7.0.3.1
2: activemodel (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activemodel-7.0.3.1.gemspec
استخدام aws-sdk-kms 1.56.0
2: aws-sdk-kms (1.56.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-kms-1.56.0.gemspec
استخدام aws-sdk-sns 1.53.0
2: aws-sdk-sns (1.53.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-sns-1.53.0.gemspec
استخدام omniauth-oauth2 1.7.3
2: omniauth-oauth2 (1.7.3) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth2-1.7.3.gemspec
استخدام omniauth-oauth 1.2.0
2: omniauth-oauth (1.2.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth-1.2.0.gemspec
استخدام activejob 7.0.3.1
2: activejob (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activejob-7.0.3.1.gemspec
استخدام active_model_serializers 0.8.4
2: active_model_serializers (0.8.4) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/active_model_serializers-0.8.4.gemspec
استخدام activerecord 7.0.3.1
2: activerecord (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activerecord-7.0.3.1.gemspec
استخدام aws-sdk-s3 1.114.0
2: aws-sdk-s3 (1.114.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-s3-1.114.0.gemspec
استخدام omniauth-facebook 9.0.0
2: omniauth-facebook (9.0.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-facebook-9.0.0.gemspec
استخدام omniauth-github 1.4.0
2: omniauth-github (1.4.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-github-1.4.0.gemspec
استخدام omniauth-google-oauth2 0.8.2
2: omniauth-google-oauth2 (0.8.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
استخدام omniauth-twitter 1.4.0
2: omniauth-twitter (1.4.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-twitter-1.4.0.gemspec
استخدام discourse-seed-fu 2.3.12
2: discourse-seed-fu (2.3.12) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/discourse-seed-fu-2.3.12.gemspec
1: racc (1.6.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/racc-1.6.2.gemspec
استخدام nokogiri 1.13.10 (x86_64-linux)
2: nokogiri (1.13.10) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/nokogiri-1.13.10-x86_64-linux.gemspec
استخدام loofah 2.19.1
2: loofah (2.19.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/loofah-2.19.1.gemspec
استخدام rails-dom-testing 2.0.3
1: rails-dom-testing (2.0.3) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-dom-testing-2.0.3.gemspec
استخدام ruby-readability 0.7.0
2: ruby-readability (0.7.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/ruby-readability-0.7.0.gemspec
استخدام sanitize 6.0.0
استخدام rails-html-sanitizer 1.4.4
2: rails-html-sanitizer (1.4.4) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-html-sanitizer-1.4.4.gemspec
1: sanitize (6.0.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sanitize-6.0.0.gemspec
استخدام actionview 7.0.3.1
1: actionview (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview-7.0.3.1.gemspec
استخدام actionview_precompiler 0.2.3
2: actionview_precompiler (0.2.3) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview_precompiler-0.2.3.gemspec
استخدام actionpack 7.0.3.1
1: actionpack (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionpack-7.0.3.1.gemspec
استخدام railties 7.0.3.1
2: railties (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/railties-7.0.3.1.gemspec
استخدام actionmailer 7.0.3.1
1: actionmailer (7.0.3.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionmailer-7.0.3.1.gemspec
استخدام sprockets-rails 3.4.2
2: sprockets-rails (3.4.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sprockets-rails-3.4.2.gemspec
استخدام lograge 0.12.0
1: lograge (0.12.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/lograge-0.12.0.gemspec
استخدام rails_failover 0.8.1
2: rails_failover (0.8.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_failover-0.8.1.gemspec
استخدام rails_multisite 4.0.1
1: rails_multisite (4.0.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails_multisite-4.0.1.gemspec
استخدام sassc-rails 2.1.2
1: sassc-rails (2.1.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-rails-2.1.2.gemspec
3: puma (6.0.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/puma-6.0.2.gemspec
0: openssl (3.0.2) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-3.0.2.gemspec
استخدام web-push 2.1.0 من GitHub - xfalcox/web-push: Web Push library for Ruby (RFC8030) - A fork of zaru/webpush actively maintained by Pushpad with many improvements, bug fixes and frequent updates. · GitHub (عند openssl-3-compat@369df8f)
استخدام openssl-signature_algorithm 1.2.1
1: web-push (2.1.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/web-push-369df8f475a4/web-push.gemspec
2: openssl-signature_algorithm (1.2.1) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-signature_algorithm-1.2.1.gemspec
استخدام cose 1.3.0
3: cose (1.3.0) من /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cose-1.3.0.gemspec
اكتمل الحزمة! 133 اعتمادًا في ملف Gemfile، وتم تثبيت 171 جوهرة الآن.
لم يتم تثبيت الجواهر الموجودة في المجموعات ‘test’ و ‘development’.
تم تثبيت الجواهر المربوطة في ./vendor/bundle