Пожалуйста, скажите, что мне делать?
Я, [2023-01-14T15:20:10.327274 #1] INFO -- :
Я, [2023-01-14T15:20:10.327716 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
Я, [2023-01-14T15:20:10.330613 #1] INFO -- :
Я, [2023-01-14T15:20:10.337332 #1] INFO -- : Файл > /etc/service/postgres/run chmod: +x chown:
Я, [2023-01-14T15:20:10.342856 #1] INFO -- : Файл > /etc/service/postgres/log/run chmod: +x chown:
Я, [2023-01-14T15:20:10.348165 #1] INFO -- : Файл > /etc/runit/3.d/99-postgres chmod: +x chown:
Я, [2023-01-14T15:20:10.353384 #1] INFO -- : Файл > /root/upgrade_postgres chmod: +x chown:
Я, [2023-01-14T15:20:10.353832 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
Я, [2023-01-14T15:20:11.440692 #1] INFO -- :
Я, [2023-01-14T15:20:11.440855 #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
Я, [2023-01-14T15:20:11.444036 #1] INFO -- :
Я, [2023-01-14T15:20:11.444406 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
Я, [2023-01-14T15:20:11.464894 #1] INFO -- :
Я, [2023-01-14T15:20:11.465432 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
Я, [2023-01-14T15:20:11.469254 #1] INFO -- :
Я, [2023-01-14T15:20:11.469717 #1] INFO -- : > /root/upgrade_postgres
Я, [2023-01-14T15:20:11.477575 #1] INFO -- :
Я, [2023-01-14T15:20:11.478021 #1] INFO -- : > rm /root/upgrade_postgres
Я, [2023-01-14T15:20:11.481636 #1] INFO -- :
Я, [2023-01-14T15:20:11.484481 #1] INFO -- : Замена data_directory = '/var/lib/postgresql/13/main' на data_directory = '/shared/postgres_data' в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.485291 #1] INFO -- : Замена (?-mix:#?listen_addresses *=.*) на listen_addresses = '*' в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.488676 #1] INFO -- : Замена (?-mix:#?synchronous_commit *=.*) на synchronous_commit = $db_synchronous_commit в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.490278 #1] INFO -- : Замена (?-mix:#?shared_buffers *=.*) на shared_buffers = $db_shared_buffers в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.491438 #1] INFO -- : Замена (?-mix:#?work_mem *=.*) на work_mem = $db_work_mem в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.495023 #1] INFO -- : Замена (?-mix:#?default_text_search_config *=.*) на default_text_search_config = '$db_default_text_search_config' в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.497010 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
Я, [2023-01-14T15:20:11.502200 #1] INFO -- :
Я, [2023-01-14T15:20:11.502943 #1] INFO -- : Замена (?-mix:#?checkpoint_segments *=.*) на checkpoint_segments = $db_checkpoint_segments в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.503524 #1] INFO -- : Замена (?-mix:#?logging_collector *=.*) на logging_collector = $db_logging_collector в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.504876 #1] INFO -- : Замена (?-mix:#?log_min_duration_statement *=.*) на log_min_duration_statement = $db_log_min_duration_statement в /etc/postgresql/13/main/postgresql.conf
Я, [2023-01-14T15:20:11.505632 #1] INFO -- : Замена (?-mix:^#local +replication +postgres +peer$) на local replication postgres peer в /etc/postgresql/13/main/pg_hba.conf
Я, [2023-01-14T15:20:11.506029 #1] INFO -- : Замена (?-mix:^host.*all.*all.*127.*$) на host all all 0.0.0.0/0 md5 в /etc/postgresql/13/main/pg_hba.conf
Я, [2023-01-14T15:20:11.506514 #1] INFO -- : Замена (?-mix:^host.*all.*all.*::1\/128.*$) на host all all ::/0 md5 в /etc/postgresql/13/main/pg_hba.conf
Я, [2023-01-14T15:20:11.506835 #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
Я, [2023-01-14T15:20:11.509874 #1] INFO -- : > sleep 5
2023-01-14 15:20:11.573 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-14 15:20:11.575 UTC [42] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-01-14 15:20:11.576 UTC [42] LOG: listening on IPv6 address "::", port 5432
2023-01-14 15:20:11.578 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-01-14 15:20:11.585 UTC [45] LOG: database system was shut down at 2023-01-14 15:19:50 UTC
2023-01-14 15:20:11.597 UTC [42] LOG: database system is ready to accept connections
Я, [2023-01-14T15:20:16.513351 #1] INFO -- :
Я, [2023-01-14T15:20:16.513604 #1] INFO -- : > su postgres -c 'createdb discourse' || true
2023-01-14 15:20:16.571 UTC [55] postgres@postgres ERROR: database "discourse" already exists
2023-01-14 15:20:16.571 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
Я, [2023-01-14T15:20:16.574150 #1] INFO -- :
Я, [2023-01-14T15:20:16.574590 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-01-14 15:20:16.629 UTC [59] postgres@discourse ERROR: role "discourse" already exists
2023-01-14 15:20:16.629 UTC [59] postgres@discourse STATEMENT: create user discourse;
ERROR: role "discourse" already exists
Я, [2023-01-14T15:20:16.631900 #1] INFO -- :
Я, [2023-01-14T15:20:16.632313 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
Я, [2023-01-14T15:20:16.685250 #1] INFO -- : GRANT
Я, [2023-01-14T15:20:16.685757 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
Я, [2023-01-14T15:20:16.738067 #1] INFO -- : ALTER SCHEMA
Я, [2023-01-14T15:20:16.738570 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
Я, [2023-01-14T15:20:16.795136 #1] INFO -- : CREATE EXTENSION
Я, [2023-01-14T15:20:16.795668 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
Я, [2023-01-14T15:20:16.851832 #1] INFO -- : CREATE EXTENSION
Я, [2023-01-14T15:20:16.852398 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE: extension "hstore" already exists, skipping
Я, [2023-01-14T15:20:16.904659 #1] INFO -- : CREATE EXTENSION
Я, [2023-01-14T15:20:16.905150 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE: extension "pg_trgm" already exists, skipping
Я, [2023-01-14T15:20:16.956892 #1] INFO -- : CREATE EXTENSION
Я, [2023-01-14T15:20:16.957456 #1] INFO -- : > sudo -u postgres psql discourse
Я, [2023-01-14T15:20:16.960638 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
Я, [2023-01-14T15:20:17.031056 #1] INFO -- : Файл > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
Я, [2023-01-14T15:20:17.034441 #1] INFO -- : Файл > /var/spool/cron/crontabs/postgres chmod: chown:
Я, [2023-01-14T15:20:17.034712 #1] INFO -- : > echo postgres installed!
Я, [2023-01-14T15:20:17.037047 #1] INFO -- : postgres installed!
Я, [2023-01-14T15:20:17.042393 #1] INFO -- : Файл > /etc/service/redis/run chmod: +x chown:
Я, [2023-01-14T15:20:17.047424 #1] INFO -- : Файл > /etc/service/redis/log/run chmod: +x chown:
Я, [2023-01-14T15:20:17.052510 #1] INFO -- : Файл > /etc/runit/3.d/10-redis chmod: +x chown:
Я, [2023-01-14T15:20:17.053373 #1] INFO -- : Замена daemonize yes на в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.054121 #1] INFO -- : Замена (?-mix:^pidfile.*$) на в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.055081 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
Я, [2023-01-14T15:20:17.058234 #1] INFO -- :
Я, [2023-01-14T15:20:17.058837 #1] INFO -- : Замена (?-mix:^logfile.*$) на logfile "" в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.059492 #1] INFO -- : Замена (?-mix:^bind .*$) на в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.060470 #1] INFO -- : Замена (?-mix:^dir .*$) на dir /shared/redis_data в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.061549 #1] INFO -- : Замена (?-mix:^protected-mode yes) на protected-mode no в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.062449 #1] INFO -- : Замена # io-threads 4 на io-threads $redis_io_threads в /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.063413 #1] INFO -- : > echo redis installed
Я, [2023-01-14T15:20:17.066313 #1] INFO -- : redis installed
Я, [2023-01-14T15:20:17.066678 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
Я, [2023-01-14T15:20:17.071544 #1] INFO -- : logfile ""
Я, [2023-01-14T15:20:17.071867 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
Я, [2023-01-14T15:20:17.073813 #1] INFO -- : > sleep 10
103:C 14 Jan 2023 15:20:17.082 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
103:C 14 Jan 2023 15:20:17.082 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=103, just started
103:C 14 Jan 2023 15:20:17.082 # Configuration loaded
103:M 14 Jan 2023 15:20:17.083 * monotonic clock: POSIX clock_gettime
103:M 14 Jan 2023 15:20:17.083 * Running mode=standalone, port=6379.
103:M 14 Jan 2023 15:20:17.083 # Server initialized
103:M 14 Jan 2023 15:20:17.084 # 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 14 Jan 2023 15:20:17.084 * Loading RDB produced by version 7.0.7
103:M 14 Jan 2023 15:20:17.084 * RDB age 2518 seconds
103:M 14 Jan 2023 15:20:17.084 * RDB memory usage when created 18.99 Mb
103:M 14 Jan 2023 15:20:17.144 * Done loading RDB, keys loaded: 4565, keys expired: 62.
103:M 14 Jan 2023 15:20:17.145 * DB loaded from disk: 0.060 seconds
103:M 14 Jan 2023 15:20:17.145 * Ready to accept connections
Я, [2023-01-14T15:20:27.076638 #1] INFO -- :
Я, [2023-01-14T15:20:27.077285 #1] INFO -- : > thpoff echo "thpoff is installed!"
Я, [2023-01-14T15:20:27.083514 #1] INFO -- : thpoff is installed!
Я, [2023-01-14T15:20:27.083985 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
Я, [2023-01-14T15:20:27.173960 #1] INFO -- :
Я, [2023-01-14T15:20:27.174760 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
Я, [2023-01-14T15:20:27.255056 #1] INFO -- :
Я, [2023-01-14T15:20:27.255629 #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'
Я, [2023-01-14T15:20:27.337678 #1] INFO -- :
Я, [2023-01-14T15:20:27.338146 #1] INFO -- : > rm -f /etc/cron.d/anacron
Я, [2023-01-14T15:20:27.341776 #1] INFO -- :
Я, [2023-01-14T15:20:27.345358 #1] INFO -- : Файл > /etc/cron.d/anacron chmod: chown:
Я, [2023-01-14T15:20:27.350966 #1] INFO -- : Файл > /etc/runit/1.d/copy-env chmod: +x chown:
Я, [2023-01-14T15:20:27.356572 #1] INFO -- : Файл > /etc/service/unicorn/run chmod: +x chown:
Я, [2023-01-14T15:20:27.362001 #1] INFO -- : Файл > /etc/service/nginx/run chmod: +x chown:
Я, [2023-01-14T15:20:27.367247 #1] INFO -- : Файл > /etc/runit/3.d/01-nginx chmod: +x chown:
Я, [2023-01-14T15:20:27.373348 #1] INFO -- : Файл > /etc/runit/3.d/02-unicorn chmod: +x chown:
Я, [2023-01-14T15:20:27.373683 #1] INFO -- : Замена # postgres на sv start postgres || exit 1 в /etc/service/unicorn/run
Я, [2023-01-14T15:20:27.374254 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
Я, [2023-01-14T15:20:27.376856 #1] INFO -- : > cd /var/www/discourse && git reset --hard
131:C 14 Jan 2023 15:20:27.384 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
131:C 14 Jan 2023 15:20:27.384 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=131, just started
131:C 14 Jan 2023 15:20:27.384 # Configuration loaded
131:M 14 Jan 2023 15:20:27.385 * monotonic clock: POSIX clock_gettime
131:M 14 Jan 2023 15:20:27.385 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
131:M 14 Jan 2023 15:20:27.385 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (32637/32637), done.
Я, [2023-01-14T15:20:30.195658 #1] INFO -- : HEAD is now at e775ed1c DEV: Properly include spec examples (#19532)
Я, [2023-01-14T15:20:30.195797 #1] INFO -- : > cd /var/www/discourse && git clean -f
Я, [2023-01-14T15:20:30.333643 #1] INFO -- :
Я, [2023-01-14T15:20:30.334184 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
Я, [2023-01-14T15:20:30.339433 #1] INFO -- :
Я, [2023-01-14T15:20:30.339648 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
Я, [2023-01-14T15:20:30.344719 #1] INFO -- :
Я, [2023-01-14T15:20:30.345119 #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
Я, [2023-01-14T15:20:33.500237 #1] INFO -- :
Я, [2023-01-14T15:20:33.500424 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
Я, [2023-01-14T15:20:34.338013 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
Я, [2023-01-14T15:20:34.338160 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
Я, [2023-01-14T15:20:34.343182 #1] INFO -- :
Я, [2023-01-14T15:20:34.343477 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
Я, [2023-01-14T15:20:34.347396 #1] INFO -- :
Я, [2023-01-14T15:20:34.347503 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
Я, [2023-01-14T15:20:34.351342 #1] INFO -- :
Я, [2023-01-14T15:20:34.351730 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
Я, [2023-01-14T15:20:34.355202 #1] INFO -- :
Я, [2023-01-14T15:20:34.355301 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
Я, [2023-01-14T15:20:34.358930 #1] INFO -- :
Я, [2023-01-14T15:20:34.359319 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
Я, [2023-01-14T15:20:34.362679 #1] INFO -- :
Я, [2023-01-14T15:20:34.362778 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
Я, [2023-01-14T15:20:34.367598 #1] INFO -- :
Я, [2023-01-14T15:20:34.367713 #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"
Я, [2023-01-14T15:20:34.372403 #1] INFO -- :
Я, [2023-01-14T15:20:34.372784 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
Я, [2023-01-14T15:20:34.377508 #1] INFO -- :
Я, [2023-01-14T15:20:34.377830 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
Я, [2023-01-14T15:20:34.382445 #1] INFO -- :
Я, [2023-01-14T15:20:34.382540 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
Я, [2023-01-14T15:20:34.387500 #1] INFO -- :
Я, [2023-01-14T15:20:34.387730 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
Я, [2023-01-14T15:20:34.392281 #1] INFO -- :
Я, [2023-01-14T15:20:34.392564 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
Я, [2023-01-14T15:20:34.505504 #1] INFO -- :
Я, [2023-01-14T15:20:34.505907 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
Я, [2023-01-14T15:20:34.511590 #1] INFO -- :
Я, [2023-01-14T15:20:34.512078 #1] INFO -- : Замена # redis на sv start redis || exit 1 в /etc/service/unicorn/run
Я, [2023-01-14T15:20:34.513271 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
Я, [2023-01-14T15:20:35.262697 #1] INFO -- :
Я, [2023-01-14T15:20:35.262867 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-translator.git
Cloning into 'discourse-translator'...
Я, [2023-01-14T15:20:35.700782 #1] INFO -- :
Я, [2023-01-14T15:20:35.700943 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
Я, [2023-01-14T15:20:36.059316 #1] INFO -- :
Я, [2023-01-14T15:20:36.059489 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
Я, [2023-01-14T15:20:36.406019 #1] INFO -- :
Я, [2023-01-14T15:20:36.406147 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-patreon.git
Cloning into 'discourse-patreon'...
Я, [2023-01-14T15:20:36.982984 #1] INFO -- :
Я, [2023-01-14T15:20:36.983157 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
Я, [2023-01-14T15:20:37.321593 #1] INFO -- :
Я, [2023-01-14T15:20:37.322087 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-follow.git
Cloning into 'discourse-follow'...
Я, [2023-01-14T15:20:37.642974 #1] INFO -- :
Я, [2023-01-14T15:20:37.643458 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign.git
Cloning into 'discourse-assign'...
Я, [2023-01-14T15:20:38.085929 #1] INFO -- :
Я, [2023-01-14T15:20:38.086461 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies.git
Cloning into 'discourse-canned-replies'...
Я, [2023-01-14T15:20:38.443553 #1] INFO -- :
Я, [2023-01-14T15:20:38.443760 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
Cloning into 'discourse-checklist'...
Я, [2023-01-14T15:20:38.769904 #1] INFO -- :
Я, [2023-01-14T15:20:38.770018 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
Я, [2023-01-14T15:20:39.092350 #1] INFO -- :
Я, [2023-01-14T15:20:39.092555 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar.git
Cloning into 'discourse-calendar'...
Я, [2023-01-14T15:20:39.625377 #1] INFO -- :
Я, [2023-01-14T15:20:39.625542 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification.git
Cloning into 'discourse-gamification'...
Я, [2023-01-14T15:20:39.961425 #1] INFO -- :
Я, [2023-01-14T15:20:39.961591 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-saved-searches.git
Cloning into 'discourse-saved-searches'...
Я, [2023-01-14T15:20:40.379340 #1] INFO -- :
Я, [2023-01-14T15:20:40.379503 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-yearly-review.git
Cloning into 'discourse-yearly-review'...
Я, [2023-01-14T15:20:40.675729 #1] INFO -- :
Я, [2023-01-14T15:20:40.675914 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bcc.git
Cloning into 'discourse-bcc'...
Я, [2023-01-14T15:20:40.986527 #1] INFO -- :
Я, [2023-01-14T15:20:40.986709 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/worldismine/PM-Scanner.git
Cloning into 'PM-Scanner'...
Я, [2023-01-14T15:20:41.275315 #1] INFO -- :
Я, [2023-01-14T15:20:41.275465 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
Я, [2023-01-14T15:20:41.557417 #1] INFO -- :
Я, [2023-01-14T15:20:41.557921 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Cloning into 'discourse-reactions'...
Я, [2023-01-14T15:20:41.943399 #1] INFO -- :
Я, [2023-01-14T15:20:41.943581 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-fingerprint.git
Cloning into 'discourse-fingerprint'...
Я, [2023-01-14T15:20:42.238602 #1] INFO -- :
Я, [2023-01-14T15:20:42.238793 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-perspective-api.git
Cloning into 'discourse-perspective-api'...
Я, [2023-01-14T15:20:42.539596 #1] INFO -- :
Я, [2023-01-14T15:20:42.539751 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
Я, [2023-01-14T15:20:42.932603 #1] INFO -- :
Я, [2023-01-14T15:20:42.932773 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-spoiler-alert.git
Cloning into 'discourse-spoiler-alert'...
Я, [2023-01-14T15:20:43.239008 #1] INFO -- :
Я, [2023-01-14T15:20:43.239675 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
Я, [2023-01-14T15:20:43.244629 #1] INFO -- :
Я, [2023-01-14T15:20:43.245055 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
Я, [2023-01-14T15:20:43.248052 #1] INFO -- :
Я, [2023-01-14T15:20:43.248481 #1] INFO -- : > mkdir -p /var/nginx/cache
Я, [2023-01-14T15:20:43.251598 #1] INFO -- :
Я, [2023-01-14T15:20:43.251976 #1] INFO -- : Замена pid /run/nginx.pid; на daemon off; в /etc/nginx/nginx.conf
Я, [2023-01-14T15:20:43.252512 #1] INFO -- : Замена (?m-ix:upstream[^\}]+\}) на upstream discourse { server 127.0.0.1:3000; } в /etc/nginx/conf.d/discourse.conf
Я, [2023-01-14T15:20:43.252965 #1] INFO -- : Замена (?-mix:server_name.+$) на server_name _ ; в /etc/nginx/conf.d/discourse.conf
Я, [2023-01-14T15:20:43.253455 #1] INFO -- : Замена (?-mix:client_max_body_size.+$) на client_max_body_size $upload_size ; в /etc/nginx/conf.d/discourse.conf
Я, [2023-01-14T15:20:43.253905 #1] INFO -- : Замена (?-mix:worker_connections.+$) на worker_connections $nginx_worker_connections ; в /etc/nginx/nginx.conf
Я, [2023-01-14T15:20:43.254271 #1] INFO -- : > echo "done configuring web"
Я, [2023-01-14T15:20:43.257069 #1] INFO -- : done configuring web
Я, [2023-01-14T15:20:43.257491 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
Я, [2023-01-14T15:20:43.794680 #1] INFO -- : Successfully installed bundler-2.4.1
1 gem installed
Я, [2023-01-14T15:20:43.795215 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
Я, [2023-01-14T15:20:47.388059 #1] INFO -- :
Я, [2023-01-14T15:20:47.388692 #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".
Я, [2023-01-14T15:21:42.078520 #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 31.32s.
Done in 49.69s.
yarn cache v1.22.19
success Cleared cache.
Done in 4.61s.
Я, [2023-01-14T15:21:42.079283 #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/sprockets-f4d3dae71ef2` 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>'
Я, [2023-01-14T15:22:25.177096 #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 locally (https://github.com/rails/sprockets (at 3.x@f4d3dae) is not yet checked out. Run `bundle install` first.)
Frozen, using resolВ обновлении произошла ошибка
```ruby
api_key = "a quick brown fox"
fetch("https://api.example.com/data", headers: { 'Authorization' => api_key })
Пожалуйста, помогите мне это исправить..
1: cgi (0.3.6) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cgi-0.3.6.gemspec
Используется redis-namespace 1.9.0
1: redis-namespace (1.9.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/redis-namespace-1.9.0.gemspec
Используется rbtrace 0.4.14
1: rbtrace (0.4.14) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rbtrace-0.4.14.gemspec
Используется rqrcode 2.1.2
1: rqrcode (2.1.2) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rqrcode-2.1.2.gemspec
Используется rss 0.2.9
1: rss (0.2.9) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rss-0.2.9.gemspec
Используется unf 0.1.4
1: unf (0.1.4) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unf-0.1.4.gemspec
Используется unicorn 6.1.0
1: unicorn (6.1.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/unicorn-6.1.0.gemspec
Используется activesupport 7.0.3.1
1: 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
1: 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
1: 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
1: 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
1: 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
1: 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
1: 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
1: 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
1: oauth2 (1.4.11) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth2-1.4.11.gemspec
Используется pry-byebug 3.10.1
1: 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
1: pry-rails (0.3.9) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/pry-rails-0.3.9.gemspec
Используется mini_scheduler 0.15.0
1: 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
1: oauth (1.1.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/oauth-1.1.0.gemspec
Используется globalid 1.0.0
1: globalid (1.0.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/globalid-1.0.0.gemspec
Используется activemodel 7.0.3.1
1: 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
1: 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
1: 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
1: omniauth-oauth2 (1.7.3) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth2-1.7.3.gemspec
Используется activejob 7.0.3.1
1: 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
1: 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
1: activerecord (7.0.3.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/activerecord-7.0.3.1.gemspec
Используется omniauth-oauth 1.2.0
1: omniauth-oauth (1.2.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-oauth-1.2.0.gemspec
Используется aws-sdk-s3 1.114.0
1: aws-sdk-s3 (1.114.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/aws-sdk-s3-1.114.0.gemspec
Используется discourse-seed-fu 2.3.12
1: discourse-seed-fu (2.3.12) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/discourse-seed-fu-2.3.12.gemspec
Используется omniauth-facebook 9.0.0
1: 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
1: 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
1: 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
1: omniauth-twitter (1.4.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/omniauth-twitter-1.4.0.gemspec
3: racc (1.6.2) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/racc-1.6.2.gemspec
Получение nokogiri 1.14.0 (x86_64-linux)
Установка nokogiri 1.14.0 (x86_64-linux)
1: nokogiri (1.14.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/nokogiri-1.14.0-x86_64-linux.gemspec
Используется rails-dom-testing 2.0.3
3: rails-dom-testing (2.0.3) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-dom-testing-2.0.3.gemspec
Используется loofah 2.19.1
3: loofah (2.19.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/loofah-2.19.1.gemspec
Используется ruby-readability 0.7.0
3: 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
3: sanitize (6.0.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sanitize-6.0.0.gemspec
Используется rails-html-sanitizer 1.4.4
3: rails-html-sanitizer (1.4.4) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/rails-html-sanitizer-1.4.4.gemspec
Используется actionview 7.0.3.1
3: actionview (7.0.3.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview-7.0.3.1.gemspec
Используется actionpack 7.0.3.1
3: actionpack (7.0.3.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionpack-7.0.3.1.gemspec
Используется actionview_precompiler 0.2.3
3: actionview_precompiler (0.2.3) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionview_precompiler-0.2.3.gemspec
Используется actionmailer 7.0.3.1
3: actionmailer (7.0.3.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/actionmailer-7.0.3.1.gemspec
Используется railties 7.0.3.1
3: railties (7.0.3.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/railties-7.0.3.1.gemspec
Используется sprockets-rails 3.4.2
3: 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
3: lograge (0.12.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/lograge-0.12.0.gemspec
Используется rails_failover 0.8.1
3: 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
3: 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
3: sassc-rails (2.1.2) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/sassc-rails-2.1.2.gemspec
2: 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
Используется openssl-signature_algorithm 1.2.1
3: openssl-signature_algorithm (1.2.1) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/openssl-signature_algorithm-1.2.1.gemspec
Получение web-push 3.0.0
Используется cose 1.3.0
2: cose (1.3.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/cose-1.3.0.gemspec
Установка web-push 3.0.0
3: web-push (3.0.0) из /var/www/discourse/vendor/bundle/ruby/3.1.0/specifications/web-push-3.0.0.gemspec
Сборка завершена! 135 зависимостей Gemfile, 171 gem теперь установлен.
Gems в группах ‘test’ и ‘development’ не были установлены.
Установленные gems находятся в ./vendor/bundle
I, [2023-01-14T15:22:25.177577 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all’
I, [2023-01-14T15:22:26.935503 #1] INFO – : PM-Scanner уже имеет последнюю совместимую версию
discourse-adplugin уже имеет последнюю совместимую версию
discourse-assign уже имеет последнюю совместимую версию
discourse-bcc уже имеет последнюю совместимую версию
discourse-cakeday уже имеет последнюю совместимую версию
discourse-calendar уже имеет последнюю совместимую версию
discourse-canned-replies уже имеет последнюю совместимую версию
discourse-checklist уже имеет последнюю совместимую версию
discourse-data-explorer уже имеет последнюю совместимую версию
discourse-fingerprint уже имеет последнюю совместимую версию
discourse-follow уже имеет последнюю совместимую версию
discourse-gamification уже имеет последнюю совместимую версию
discourse-patreon уже имеет последнюю совместимую версию
discourse-perspective-api уже имеет последнюю совместимую версию
discourse-reactions уже имеет последнюю совместимую версию
discourse-saved-searches уже имеет последнюю совместимую версию
discourse-solved уже имеет последнюю совместимую версию
discourse-spoiler-alert уже имеет последнюю совместимую версию
discourse-translator уже имеет последнюю совместимую версию
discourse-user-notes уже имеет последнюю совместимую версию
discourse-whos-online уже имеет последнюю совместимую версию
discourse-yearly-review уже имеет последнюю совместимую версию
docker_manager уже имеет последнюю совместимую версию
I, [2023-01-14T15:22:26.936443 #1] INFO – : > cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’
rake aborted!
NameError: неинициализированная константа ChatMessage
Object.const_get(camel_cased_word)
^^^^^^^^^^
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/inflector/methods.rb:280:in const_get' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/inflector/methods.rb:280:in constantize’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/core_ext/string/inflections.rb:74:in constantize' /var/www/discourse/lib/plugin/instance.rb:327:in rescue in block in add_model_callback’
/var/www/discourse/lib/plugin/instance.rb:324:in block in add_model_callback' /var/www/discourse/lib/plugin/instance.rb:1320:in reloadable_patch’
/var/www/discourse/lib/plugin/instance.rb:322:in add_model_callback' /var/www/discourse/plugins/PM-Scanner/plugin.rb:12:in block in activate!’
/var/www/discourse/lib/plugin/instance.rb:503:in block in notify_after_initialize' /var/www/discourse/lib/plugin/instance.rb:501:in each’
/var/www/discourse/lib/plugin/instance.rb:501:in notify_after_initialize' /var/www/discourse/config/application.rb:228:in each’
/var/www/discourse/config/application.rb:228:in block (2 levels) in <class:Application>' /var/www/discourse/lib/plugin.rb:6:in initialization_guard’
/var/www/discourse/config/application.rb:228:in block in <class:Application>' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:79:in block in execute_hook’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:72:in with_execution_control' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:77:in execute_hook’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:63:in block in run_load_hooks' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:62:in each’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:62:in run_load_hooks' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application/finisher.rb:87:in block in module:Finisher’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in instance_exec' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in run’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:61:in block in run_initializers' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:60:in run_initializers’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application.rb:372:in initialize!' /var/www/discourse/config/environment.rb:7:in ’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application.rb:348:in require_environment!’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application.rb:511:in block in run_tasks_blocks' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>’
/usr/local/bin/bundle:25:in load' /usr/local/bin/bundle:25:in ’
Причина:
NameError: неинициализированная константа ChatMessage
Object.const_get(camel_cased_word)
^^^^^^^^^^
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/inflector/methods.rb:280:in const_get' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/inflector/methods.rb:280:in constantize’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/core_ext/string/inflections.rb:74:in constantize' /var/www/discourse/lib/plugin/instance.rb:325:in block in add_model_callback’
/var/www/discourse/lib/plugin/instance.rb:1320:in reloadable_patch' /var/www/discourse/lib/plugin/instance.rb:322:in add_model_callback’
/var/www/discourse/plugins/PM-Scanner/plugin.rb:12:in block in activate!' /var/www/discourse/lib/plugin/instance.rb:503:in block in notify_after_initialize’
/var/www/discourse/lib/plugin/instance.rb:501:in each' /var/www/discourse/lib/plugin/instance.rb:501:in notify_after_initialize’
/var/www/discourse/config/application.rb:228:in each' /var/www/discourse/config/application.rb:228:in block (2 levels) in class:Application’
/var/www/discourse/lib/plugin.rb:6:in initialization_guard' /var/www/discourse/config/application.rb:228:in block in class:Application’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:79:in block in execute_hook' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:72:in with_execution_control’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:77:in execute_hook' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:63:in block in run_load_hooks’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:62:in each' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:62:in run_load_hooks’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application/finisher.rb:87:in block in <module:Finisher>' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in instance_exec’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in run' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:61:in block in run_initializers’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/initializable.rb:60:in run_initializers' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application.rb:372:in initialize!’
/var/www/discourse/config/environment.rb:7:in <main>' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in require’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application.rb:348:in require_environment!' /var/www/discourse/vendor/bundle/ruby/3.1.0/gems/railties-7.0.3.1/lib/rails/application.rb:511:in block in run_tasks_blocks’
/var/www/discourse/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' /usr/local/bin/bundle:25:in load’
/usr/local/bin/bundle:25:in `’
Задачи: TOP => db:migrate => db:load_config => environment
(Посмотрите полный трассировку, запустив задачу с флагом --trace)
I, [2023-01-14T15:22:30.598254 #1] INFO – : gem install rrule -v 0.4.4 -i /var/www/discourse/plugins/discourse-calendar/gems/3.1.3 --no-document --ignore-dependencies --no-user-install
Успешно установлен rrule-0.4.4
1 gem установлен
gem install aws-sdk-translate -v 1.35.0 -i /var/www/discourse/plugins/discourse-translator/gems/3.1.3 --no-document --ignore-dependencies --no-user-install
Успешно установлен aws-sdk-translate-1.35.0
1 gem установлен
I, [2023-01-14T15:22:30.598778 #1] INFO – : Завершение асинхронных процессов
I, [2023-01-14T15:22:30.598898 #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
I, [2023-01-14T15:22:30.599111 #1] INFO – : Отправка TERM в exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2023-01-14 15:22:30.599 UTC [42] LOG: получен запрос на быстрое завершение работы
103:signal-handler (1673709750) Получен SIGTERM, планирование завершения…
2023-01-14 15:22:30.610 UTC [42] LOG: прерывание любых активных транзакций
2023-01-14 15:22:30.614 UTC [42] LOG: фоновый процесс “logical replication launcher” (PID 51) завершился с кодом выхода 1
2023-01-14 15:22:30.616 UTC [46] LOG: завершение работы
2023-01-14 15:22:30.644 UTC [42] LOG: система базы данных остановлена
103:M 14 Jan 2023 15:22:30.644 # Пользователь запросил завершение…
103:M 14 Jan 2023 15:22:30.644 * Сохранение финального снимка RDB перед выходом.
103:M 14 Jan 2023 15:22:30.743 * БД сохранена на диске
103:M 14 Jan 2023 15:22:30.743 # Redis готов к выходу, пока…
ОШИБКА
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ завершился с кодом #<Process::Status: pid 1428 exit 1>
Место сбоя: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1..1/lib/pups/exec_command.rb:117:in spawn' Выполнение команды завершилось ошибкой с параметрами {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]} Bootstrap завершился с кодом выхода 1 ** ОШИБКА BOOTSTRAP ** прокрутите вверх и найдите сообщения об ошибках, их может быть больше одной. ./discourse-doctor может помочь в диагностике проблемы. 4c51c030c0d917cc3e186cec3af5a9ab7d2d3fafd9e4a3e57243aa5a03ecdc6b