Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@main:/var/discourse# ./launcher rebuild app
- Ensuring launcher is up to date
- Fordere an von origin
- Launcher is up-to-date
- Stopping old container
- + /usr/bin/docker stop -t 60 app
- app
- cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
- From https://github.com/discourse/pups
- b2e71c5..17f04ec master -> origin/master
- * [new branch] gen-env-args -> origin/gen-env-args
- Updating b2e71c5..17f04ec
- Fast-forward
- README.md | 22 ++++++++++--
- lib/pups/cli.rb | 33 +++++++++++++-----
- lib/pups/config.rb | 25 ++++++++++++++
- test/cli_test.rb | 39 +++++++++++++++++++++
- test/config_test.rb | 99 +++++++++++++++++++++++++++++++++++++++++------------
- test/test_helper.rb | 1 +
- 6 files changed, 186 insertions(+), 33 deletions(-)
- create mode 100644 test/cli_test.rb
- Note: checking out 'v1.0.3'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by performing another checkout.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -b with the checkout command again. Example:
- git checkout -b <new-branch-name>
- HEAD is now at d1db030 cut a new version
- I, [2021-05-21T01:16:48.066174 #1] INFO -- : Loading --stdin
- I, [2021-05-21T01:16:48.072168 #1] INFO -- : > locale-gen $LANG && update-locale
- I, [2021-05-21T01:16:48.096605 #1] INFO -- : Generating locales (this might take a while)...
- Generation complete.
- I, [2021-05-21T01:16:48.096811 #1] INFO -- : > mkdir -p /shared/postgres_run
- I, [2021-05-21T01:16:48.099582 #1] INFO -- :
- I, [2021-05-21T01:16:48.099730 #1] INFO -- : > chown postgres:postgres /shared/postgres_run
- I, [2021-05-21T01:16:48.101596 #1] INFO -- :
- I, [2021-05-21T01:16:48.101773 #1] INFO -- : > chmod 775 /shared/postgres_run
- I, [2021-05-21T01:16:48.103520 #1] INFO -- :
- I, [2021-05-21T01:16:48.103633 #1] INFO -- : > rm -fr /var/run/postgresql
- I, [2021-05-21T01:16:48.105221 #1] INFO -- :
- I, [2021-05-21T01:16:48.105336 #1] INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
- I, [2021-05-21T01:16:48.106951 #1] INFO -- :
- I, [2021-05-21T01:16:48.107068 #1] INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
- 2021/05/21 01:16:48 socat[31] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
- I, [2021-05-21T01:16:48.112866 #1] INFO -- :
- I, [2021-05-21T01:16:48.113063 #1] INFO -- : > rm -fr /shared/postgres_run/.s*
- I, [2021-05-21T01:16:48.115230 #1] INFO -- :
- I, [2021-05-21T01:16:48.115396 #1] INFO -- : > rm -fr /shared/postgres_run/*.pid
- I, [2021-05-21T01:16:48.117711 #1] INFO -- :
- I, [2021-05-21T01:16:48.117803 #1] INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
- I, [2021-05-21T01:16:48.119448 #1] INFO -- :
- I, [2021-05-21T01:16:48.119652 #1] INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
- I, [2021-05-21T01:16:48.121283 #1] INFO -- :
- I, [2021-05-21T01:16:48.133223 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
- I, [2021-05-21T01:16:48.136419 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
- I, [2021-05-21T01:16:48.140271 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
- I, [2021-05-21T01:16:48.143749 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
- I, [2021-05-21T01:16:48.144245 #1] INFO -- : > chown -R root /var/lib/postgresql/13/main
- I, [2021-05-21T01:16:48.723375 #1] INFO -- :
- I, [2021-05-21T01:16:48.723556 #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, [2021-05-21T01:16:48.725255 #1] INFO -- :
- I, [2021-05-21T01:16:48.725298 #1] INFO -- : > chown -R postgres:postgres /shared/postgres_data
- I, [2021-05-21T01:16:48.749565 #1] INFO -- :
- I, [2021-05-21T01:16:48.749733 #1] INFO -- : > chown -R postgres:postgres /var/run/postgresql
- I, [2021-05-21T01:16:48.752006 #1] INFO -- :
- I, [2021-05-21T01:16:48.752152 #1] INFO -- : > /root/upgrade_postgres
- I, [2021-05-21T01:16:48.756341 #1] INFO -- :
- I, [2021-05-21T01:16:48.756432 #1] INFO -- : > rm /root/upgrade_postgres
- I, [2021-05-21T01:16:48.758182 #1] INFO -- :
- I, [2021-05-21T01:16:48.758389 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.758934 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.759156 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.759443 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.759740 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.759986 #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, [2021-05-21T01:16:48.760188 #1] INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
- I, [2021-05-21T01:16:48.762511 #1] INFO -- :
- I, [2021-05-21T01:16:48.762727 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.762979 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
- I, [2021-05-21T01:16:48.763263 #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, [2021-05-21T01:16:48.763491 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
- I, [2021-05-21T01:16:48.763690 #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, [2021-05-21T01:16:48.763859 #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, [2021-05-21T01:16:48.765074 #1] INFO -- : > sleep 5
- 2021-05-21 01:16:48.818 UTC [54] LOG: starting PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
- 2021-05-21 01:16:48.818 UTC [54] LOG: listening on IPv4 address "0.0.0.0", port 5432
- 2021-05-21 01:16:48.818 UTC [54] LOG: listening on IPv6 address "::", port 5432
- 2021-05-21 01:16:48.819 UTC [54] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
- 2021-05-21 01:16:48.823 UTC [57] LOG: database system was shut down at 2021-05-21 01:05:59 UTC
- 2021-05-21 01:16:48.827 UTC [54] LOG: database system is ready to accept connections
- I, [2021-05-21T01:16:53.766937 #1] INFO -- :
- I, [2021-05-21T01:16:53.767207 #1] INFO -- : > su postgres -c 'createdb discourse' || true
- 2021-05-21 01:16:53.818 UTC [67] postgres@postgres ERROR: database "discourse" already exists
- 2021-05-21 01:16:53.818 UTC [67] postgres@postgres STATEMENT: CREATE DATABASE discourse;
- createdb: error: database creation failed: ERROR: database "discourse" already exists
- I, [2021-05-21T01:16:53.820005 #1] INFO -- :
- I, [2021-05-21T01:16:53.820267 #1] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
- 2021-05-21 01:16:53.873 UTC [78] postgres@discourse ERROR: role "discourse" already exists
- 2021-05-21 01:16:53.873 UTC [78] postgres@discourse STATEMENT: create user discourse;
- ERROR: role "discourse" already exists
- I, [2021-05-21T01:16:53.875029 #1] INFO -- :
- I, [2021-05-21T01:16:53.875255 #1] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
- I, [2021-05-21T01:16:53.922417 #1] INFO -- : GRANT
- I, [2021-05-21T01:16:53.922649 #1] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
- I, [2021-05-21T01:16:53.968348 #1] INFO -- : ALTER SCHEMA
- I, [2021-05-21T01:16:53.968550 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
- NOTICE: extension "hstore" already exists, skipping
- I, [2021-05-21T01:16:54.016484 #1] INFO -- : CREATE EXTENSION
- I, [2021-05-21T01:16:54.016669 #1] INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
- NOTICE: extension "pg_trgm" already exists, skipping
- I, [2021-05-21T01:16:54.063714 #1] INFO -- : CREATE EXTENSION
- I, [2021-05-21T01:16:54.063942 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
- NOTICE: extension "hstore" already exists, skipping
- I, [2021-05-21T01:16:54.118073 #1] INFO -- : CREATE EXTENSION
- I, [2021-05-21T01:16:54.118260 #1] INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
- NOTICE: extension "pg_trgm" already exists, skipping
- I, [2021-05-21T01:16:54.164931 #1] INFO -- : CREATE EXTENSION
- I, [2021-05-21T01:16:54.165227 #1] INFO -- : > sudo -u postgres psql discourse
- I, [2021-05-21T01:16:54.166804 #1] INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');
- I, [2021-05-21T01:16:54.219975 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
- I, [2021-05-21T01:16:54.222903 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
- I, [2021-05-21T01:16:54.223014 #1] INFO -- : > echo postgres installed!
- I, [2021-05-21T01:16:54.225131 #1] INFO -- : postgres installed!
- I, [2021-05-21T01:16:54.228933 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
- I, [2021-05-21T01:16:54.232229 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
- I, [2021-05-21T01:16:54.235361 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
- I, [2021-05-21T01:16:54.235592 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.236174 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.236647 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
- I, [2021-05-21T01:16:54.239529 #1] INFO -- :
- I, [2021-05-21T01:16:54.239958 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.240426 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.240861 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.241316 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.241704 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.242109 #1] INFO -- : > echo redis installed
- I, [2021-05-21T01:16:54.243771 #1] INFO -- : redis installed
- I, [2021-05-21T01:16:54.243919 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
- I, [2021-05-21T01:16:54.246643 #1] INFO -- : logfile ""
- I, [2021-05-21T01:16:54.246833 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
- I, [2021-05-21T01:16:54.247949 #1] INFO -- : > sleep 10
- 171:C 21 May 2021 01:16:54.252 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
- 171:C 21 May 2021 01:16:54.252 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=171, just started
- 171:C 21 May 2021 01:16:54.252 # Configuration loaded
- 171:M 21 May 2021 01:16:54.252 * monotonic clock: POSIX clock_gettime
- 171:M 21 May 2021 01:16:54.252 * Running mode=standalone, port=6379.
- 171:M 21 May 2021 01:16:54.253 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
- 171:M 21 May 2021 01:16:54.253 # Server initialized
- 171:M 21 May 2021 01:16:54.253 # 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.
- 171:M 21 May 2021 01:16:54.253 * Loading RDB produced by version 6.2.1
- 171:M 21 May 2021 01:16:54.253 * RDB age 655 seconds
- 171:M 21 May 2021 01:16:54.253 * RDB memory usage when created 3.53 Mb
- 171:M 21 May 2021 01:16:54.260 * DB loaded from disk: 0.008 seconds
- 171:M 21 May 2021 01:16:54.260 * Ready to accept connections
- I, [2021-05-21T01:17:04.249704 #1] INFO -- :
- I, [2021-05-21T01:17:04.249949 #1] INFO -- : > thpoff echo "thpoff is installed!"
- I, [2021-05-21T01:17:04.253530 #1] INFO -- : thpoff is installed!
- I, [2021-05-21T01:17:04.253713 #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, [2021-05-21T01:17:04.314328 #1] INFO -- :
- I, [2021-05-21T01:17:04.314576 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
- I, [2021-05-21T01:17:04.371731 #1] INFO -- :
- I, [2021-05-21T01:17:04.371963 #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, [2021-05-21T01:17:04.442719 #1] INFO -- :
- I, [2021-05-21T01:17:04.442947 #1] INFO -- : > chown -R discourse /home/discourse
- I, [2021-05-21T01:17:04.732341 #1] INFO -- :
- I, [2021-05-21T01:17:04.732728 #1] INFO -- : > rm -f /etc/cron.d/anacron
- I, [2021-05-21T01:17:04.735066 #1] INFO -- :
- I, [2021-05-21T01:17:04.737507 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
- I, [2021-05-21T01:17:04.742061 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
- I, [2021-05-21T01:17:04.746419 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
- I, [2021-05-21T01:17:04.750963 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
- I, [2021-05-21T01:17:04.755278 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
- I, [2021-05-21T01:17:04.759400 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
- I, [2021-05-21T01:17:04.759507 #1] INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
- I, [2021-05-21T01:17:04.759767 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
- I, [2021-05-21T01:17:04.761458 #1] INFO -- : > cd /var/www/discourse && git reset --hard
- 199:C 21 May 2021 01:17:04.764 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
- 199:C 21 May 2021 01:17:04.764 # Redis version=6.2.1, bits=64, commit=00000000, modified=0, pid=199, just started
- 199:C 21 May 2021 01:17:04.764 # Configuration loaded
- 199:M 21 May 2021 01:17:04.764 * monotonic clock: POSIX clock_gettime
- 199:M 21 May 2021 01:17:04.765 # Could not create server TCP listening socket *:6379: bind: Address already in use
- Checking out files: 100% (28599/28599), done.
- I, [2021-05-21T01:17:07.058983 #1] INFO -- : HEAD is now at c54609bf UX: Full height composer on mobile Android (#12709)
- I, [2021-05-21T01:17:07.059129 #1] INFO -- : > cd /var/www/discourse && git clean -f
- I, [2021-05-21T01:17:07.164168 #1] INFO -- :
- I, [2021-05-21T01:17:07.164354 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
- I, [2021-05-21T01:17:07.167760 #1] INFO -- :
- I, [2021-05-21T01:17:07.167841 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
- I, [2021-05-21T01:17:07.171149 #1] INFO -- :
- I, [2021-05-21T01:17:07.171256 #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, [2021-05-21T01:17:09.394343 #1] INFO -- :
- I, [2021-05-21T01:17:09.394485 #1] INFO -- : > cd /var/www/discourse && git checkout tests-passed
- Switched to a new branch 'tests-passed'
- I, [2021-05-21T01:17:09.725697 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.
- I, [2021-05-21T01:17:09.725871 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
- I, [2021-05-21T01:17:09.730393 #1] INFO -- :
- I, [2021-05-21T01:17:09.730532 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
- I, [2021-05-21T01:17:09.733899 #1] INFO -- :
- I, [2021-05-21T01:17:09.733976 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
- I, [2021-05-21T01:17:09.736578 #1] INFO -- :
- I, [2021-05-21T01:17:09.736724 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
- I, [2021-05-21T01:17:09.739064 #1] INFO -- :
- I, [2021-05-21T01:17:09.739153 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
- I, [2021-05-21T01:17:09.742107 #1] INFO -- :
- I, [2021-05-21T01:17:09.742184 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
- I, [2021-05-21T01:17:09.744509 #1] INFO -- :
- I, [2021-05-21T01:17:09.744585 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
- I, [2021-05-21T01:17:09.747748 #1] INFO -- :
- I, [2021-05-21T01:17:09.747837 #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, [2021-05-21T01:17:09.751316 #1] INFO -- :
- I, [2021-05-21T01:17:09.751401 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
- I, [2021-05-21T01:17:09.754503 #1] INFO -- :
- I, [2021-05-21T01:17:09.754581 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
- I, [2021-05-21T01:17:09.757452 #1] INFO -- :
- I, [2021-05-21T01:17:09.757536 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
- I, [2021-05-21T01:17:09.760880 #1] INFO -- :
- I, [2021-05-21T01:17:09.760962 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
- I, [2021-05-21T01:17:09.764473 #1] INFO -- :
- I, [2021-05-21T01:17:09.764549 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
- I, [2021-05-21T01:17:09.964874 #1] INFO -- :
- I, [2021-05-21T01:17:09.965024 #1] INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
- I, [2021-05-21T01:17:09.968808 #1] INFO -- :
- I, [2021-05-21T01:17:09.968978 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
- I, [2021-05-21T01:17:09.969540 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
- Cloning into 'docker_manager'...
- I, [2021-05-21T01:17:10.990318 #1] INFO -- :
- I, [2021-05-21T01:17:10.990491 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
- Cloning into 'discourse-solved'...
- I, [2021-05-21T01:17:11.461002 #1] INFO -- :
- I, [2021-05-21T01:17:11.461182 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-tagging.git
- Cloning into 'discourse-tagging'...
- I, [2021-05-21T01:17:11.859400 #1] INFO -- :
- I, [2021-05-21T01:17:11.859548 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting.git
- Cloning into 'discourse-voting'...
- I, [2021-05-21T01:17:12.487207 #1] INFO -- :
- I, [2021-05-21T01:17:12.487378 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
- Cloning into 'discourse-checklist'...
- I, [2021-05-21T01:17:13.224429 #1] INFO -- :
- I, [2021-05-21T01:17:13.224598 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies.git
- Cloning into 'discourse-canned-replies'...
- I, [2021-05-21T01:17:13.852220 #1] INFO -- :
- I, [2021-05-21T01:17:13.852365 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/gdpelican/retort.git
- Cloning into 'retort'...
- I, [2021-05-21T01:17:14.241467 #1] INFO -- :
- I, [2021-05-21T01:17:14.241842 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-staff-notes.git
- Cloning into 'discourse-staff-notes'...
- I, [2021-05-21T01:17:14.691344 #1] INFO -- :
- I, [2021-05-21T01:17:14.691691 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
- I, [2021-05-21T01:17:14.695332 #1] INFO -- :
- I, [2021-05-21T01:17:14.695505 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
- I, [2021-05-21T01:17:14.697811 #1] INFO -- :
- I, [2021-05-21T01:17:14.697917 #1] INFO -- : > mkdir -p /var/nginx/cache
- I, [2021-05-21T01:17:14.699965 #1] INFO -- :
- I, [2021-05-21T01:17:14.701117 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
- I, [2021-05-21T01:17:14.701419 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
- I, [2021-05-21T01:17:14.701912 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
- I, [2021-05-21T01:17:14.702338 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
- I, [2021-05-21T01:17:14.702518 #1] INFO -- : > echo "done configuring web"
- I, [2021-05-21T01:17:14.704243 #1] INFO -- : done configuring web
- I, [2021-05-21T01:17:14.704442 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
- I, [2021-05-21T01:17:14.918457 #1] INFO -- :
- I, [2021-05-21T01:17:14.918641 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
- I, [2021-05-21T01:17:16.893270 #1] INFO -- :
- I, [2021-05-21T01:17:16.893558 #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
- I, [2021-05-21T01:17:33.650735 #1] INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.2.16
- Frozen, using resolution from the lockfile
- The definition is missing ["tzinfo-2.0.4", "activesupport-6.1.3.2", "nokogiri-1.11.4-x86_64-linux", "actionview-6.1.3.2", "actionpack-6.1.3.2", "activejob-6.1.3.2", "actionmailer-6.1.3.2", "activemodel-6.1.3.2", "activerecord-6.1.3.2", "execjs-2.8.1", "bootsnap-1.7.5", "railties-6.1.3.2", "excon-0.81.0", "faraday-excon-1.1.0", "faraday-net_http_persistent-1.1.0", "faraday-1.4.1", "jwt-2.2.3", "libv8-node-15.14.0.1-x86_64-linux", "message_bus-3.3.5", "oj-3.11.5", "onebox-2.2.15", "puma-5.3.1", "rack-mini-profiler-2.3.2", "rails_failover-0.7.3", "rails_multisite-3.0.0", "rqrcode_core-1.0.0", "rqrcode-2.0.0", "stackprof-0.2.17"]
- HTTP GET https://index.rubygems.org/versions
- HTTP 206 Partial Content https://index.rubygems.org/versions
- HTTP GET https://index.rubygems.org/versions
- HTTP 200 OK https://index.rubygems.org/versions
- Fetching gem metadata from https://rubygems.org/
- Looking up gems ["rake", "concurrent-ruby", "i18n", "minitest", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "mail", "actionmailer", "actionview_precompiler", "activemodel", "active_model_serializers", "activerecord", "public_suffix", "addressable", "aws-eventstream", "aws-partitions", "aws-sigv4", "jmespath", "aws-sdk-core", "aws-sdk-kms", "aws-sdk-s3", "aws-sdk-sns", "ember-source", "execjs", "barber", "msgpack", "bootsnap", "byebug", "cbor", "chunky_png", "coderay", "colored2", "connection_pool", "openssl", "openssl-signature_algorithm", "cose", "cppjieba_rb", "css_parser", "diffy", "ember-data-source", "sprockets", "ember-handlebars-template", "method_source", "thor", "railties", "jquery-rails", "discourse-ember-rails", "discourse-ember-source", "discourse-fonts", "exifr", "fspath", "image_size", "in_threads", "progress", "discourse_image_optim", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "faraday-excon", "faraday-net_http", "faraday-net_http_persistent", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "json", "uri_template", "json_schemer", "jwt", "kgio", "libv8-node", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "lz4-ruby", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "multi_json", "multi_xml", "mustache", "nio4r", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-twitter", "sanitize", "onebox", "optimist", "pg", "pry", "pry-byebug", "pry-rails", "puma", "r2", "rack-mini-profiler", "rack-protection", "rails_failover", "rails_multisite", "raindrops", "rbtrace", "rchardet", "redis-namespace", "rinku", "rotp", "rqrcode_core", "rqrcode", "rtlit", "ruby-readability", "rubyzip", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"]
- HTTP GET https://index.rubygems.org/info/nokogiri
- HTTP GET https://index.rubygems.org/info/actionview
- HTTP GET https://index.rubygems.org/info/activejob
- HTTP GET https://index.rubygems.org/info/actionmailer
- HTTP GET https://index.rubygems.org/info/actionpack
- HTTP GET https://index.rubygems.org/info/activesupport
- HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
- HTTP GET https://index.rubygems.org/info/aws-partitions
- HTTP GET https://index.rubygems.org/info/aws-sdk-sns
- HTTP GET https://index.rubygems.org/info/activerecord
- HTTP GET https://index.rubygems.org/info/activemodel
- HTTP GET https://index.rubygems.org/info/bootsnap
- HTTP 206 Partial Content https://index.rubygems.org/info/actionview
- HTTP GET https://index.rubygems.org/info/execjs
- HTTP GET https://index.rubygems.org/info/aws-sdk-s3
- HTTP 206 Partial Content https://index.rubygems.org/info/activemodel
- HTTP GET https://index.rubygems.org/info/faraday-excon
- HTTP 206 Partial Content https://index.rubygems.org/info/activesupport
- HTTP 206 Partial Content https://index.rubygems.org/info/activejob
- HTTP 206 Partial Content https://index.rubygems.org/info/actionmailer
- HTTP GET https://index.rubygems.org/info/faraday-net_http_persistent
- HTTP 206 Partial Content https://index.rubygems.org/info/actionpack
- HTTP GET https://index.rubygems.org/info/railties
- HTTP 206 Partial Content https://index.rubygems.org/info/bootsnap
- HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
- HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
- HTTP 200 OK https://index.rubygems.org/info/faraday-excon
- HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
- HTTP 206 Partial Content https://index.rubygems.org/info/execjs
- HTTP GET https://index.rubygems.org/info/faraday
- HTTP GET https://index.rubygems.org/info/excon
- HTTP 200 OK https://index.rubygems.org/info/faraday-net_http_persistent
- HTTP 206 Partial Content https://index.rubygems.org/info/faraday
- HTTP GET https://index.rubygems.org/info/hkdf
- HTTP GET https://index.rubygems.org/info/libv8-node
- HTTP GET https://index.rubygems.org/info/jwt
- HTTP 206 Partial Content https://index.rubygems.org/info/libv8-node
- HTTP 206 Partial Content https://index.rubygems.org/info/railties
- HTTP 206 Partial Content https://index.rubygems.org/info/activerecord
- HTTP GET https://index.rubygems.org/info/message_bus
- HTTP 206 Partial Content https://index.rubygems.org/info/jwt
- HTTP 206 Partial Content https://index.rubygems.org/info/hkdf
- HTTP 206 Partial Content https://index.rubygems.org/info/message_bus
- HTTP 206 Partial Content https://index.rubygems.org/info/excon
- HTTP GET https://index.rubygems.org/info/oj
- HTTP GET https://index.rubygems.org/info/onebox
- HTTP 206 Partial Content https://index.rubygems.org/info/oj
- HTTP GET https://index.rubygems.org/info/puma
- HTTP 206 Partial Content https://index.rubygems.org/info/onebox
- HTTP GET https://index.rubygems.org/info/rails_failover
- HTTP GET https://index.rubygems.org/info/rack-mini-profiler
- HTTP 206 Partial Content https://index.rubygems.org/info/puma
- HTTP 206 Partial Content https://index.rubygems.org/info/rails_failover
- HTTP GET https://index.rubygems.org/info/rqrcode_core
- HTTP GET https://index.rubygems.org/info/rqrcode
- HTTP GET https://index.rubygems.org/info/stackprof
- HTTP 206 Partial Content https://index.rubygems.org/info/rack-mini-profiler
- HTTP 206 Partial Content https://index.rubygems.org/info/rqrcode_core
- HTTP 206 Partial Content https://index.rubygems.org/info/rqrcode
- HTTP 206 Partial Content https://index.rubygems.org/info/stackprof
- Looking up gems ["functional-ruby", "ref", "thread_safe", "rails-deprecated_sanitizer", "mime-types", "treetop", "tlsmail", "jamespath", "http-2", "handlebars-source", "jsonapi", "case_transform", "jsonapi-renderer", "ember-template-compiler-source", "json_pure", "columnize", "debugger-linecache", "slop", "rb-readline", "rspec", "rdoc", "ruby_parser", "hike", "rails", "rb-appscript", "xattr", "ffi-xattr", "hoe", "rake-compiler", "weakling", "mini_portile", "mini_portile2", "pkg-config", "termios", "erubis", "rdf", "text-format", "bcrypt-ruby", "stud", "memcache-client", "libv8", "rack-mount", "rack-cache", "journey", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "net-http-persistent", "faraday-middleware", "httpauth", "ruby-hmac", "snappy", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "hpricot", "win32console", "yard", "spoon", "pry-doc", "escape_utils", "trollop", "activemodel-globalid", "base32", "bundler", "therubyracer", "rack-ssl", "arel", "activerecord-deprecated_finders", "eventmachine", "thin", "bigdecimal", "moneta", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader", "listen"]
- HTTP GET https://index.rubygems.org/info/net-http-persistent
- HTTP GET https://index.rubygems.org/info/slop
- HTTP GET https://index.rubygems.org/info/rails
- HTTP GET https://index.rubygems.org/info/ruby_parser
- HTTP 200 OK https://index.rubygems.org/info/net-http-persistent
- HTTP 206 Partial Content https://index.rubygems.org/info/slop
- HTTP GET https://index.rubygems.org/info/rdoc
- HTTP 206 Partial Content https://index.rubygems.org/info/rails
- HTTP 206 Partial Content https://index.rubygems.org/info/ruby_parser
- HTTP GET https://index.rubygems.org/info/mini_portile2
- HTTP 206 Partial Content https://index.rubygems.org/info/rdoc
- HTTP GET https://index.rubygems.org/info/bigdecimal
- HTTP GET https://index.rubygems.org/info/moneta
- HTTP GET https://index.rubygems.org/info/bundler
- HTTP GET https://index.rubygems.org/info/thin
- HTTP 206 Partial Content https://index.rubygems.org/info/bigdecimal
- HTTP 206 Partial Content https://index.rubygems.org/info/mini_portile2
- HTTP 206 Partial Content https://index.rubygems.org/info/bundler
- HTTP 206 Partial Content https://index.rubygems.org/info/thin
- HTTP 206 Partial Content https://index.rubygems.org/info/moneta
- Looking up gems ["rspec-core", "rspec-expectations", "rspec-mocks", "mime-types-data", "jsonapi-parser", "ruby_core_source", "debugger-ruby_core_source", "atomic", "spruz", "facets", "polyglot", "rubyforge", "RubyInline", "gemcutter", "abstract", "text-hyphen", "bcrypt", "metriks", "multimap", "ZenTest", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "link_header", "hamster", "sprockets-helpers", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "restclient", "rest-client", "sass-listen", "temple", "snappy-jars", "mongrel", "backports", "mustermann", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "curses", "rack-openid", "ruby-openid-apps-discovery", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "ParseTree", "sexp_processor", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "daemons"]
- HTTP GET https://index.rubygems.org/info/facter
- HTTP GET https://index.rubygems.org/info/rb-fsevent
- HTTP GET https://index.rubygems.org/info/sexp_processor
- HTTP GET https://index.rubygems.org/info/activestorage
- HTTP 206 Partial Content https://index.rubygems.org/info/facter
- HTTP GET https://index.rubygems.org/info/actiontext
- HTTP GET https://index.rubygems.org/info/actioncable
- HTTP GET https://index.rubygems.org/info/daemons
- HTTP GET https://index.rubygems.org/info/actionmailbox
- HTTP 206 Partial Content https://index.rubygems.org/info/rb-fsevent
- HTTP 206 Partial Content https://index.rubygems.org/info/sexp_processor
- HTTP 206 Partial Content https://index.rubygems.org/info/activestorage
- HTTP 206 Partial Content https://index.rubygems.org/info/daemons
- HTTP 206 Partial Content https://index.rubygems.org/info/actioncable
- HTTP 206 Partial Content https://index.rubygems.org/info/actiontext
- HTTP 206 Partial Content https://index.rubygems.org/info/actionmailbox
- Looking up gems ["rspec-support", "diff-lcs", "coveralls", "rubocop", "archive-tar-minitar", "net-scp", "hitimes", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "celluloid-gems", "dotenv-deployment", "tool", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "netrc", "http-cookie", "http-accept", "log4r", "macaddr", "ruby-openid", "blankslate", "rails-observers", "activemodel-serializers-xml", "SexpProcessor", "win32-api", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "marcel", "mimemagic", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver"]
- HTTP GET https://index.rubygems.org/info/rubocop
- HTTP GET https://index.rubygems.org/info/win32-api
- HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
- HTTP 206 Partial Content https://index.rubygems.org/info/win32-api
- Looking up gems ["net-ssh", "ruby-yadis", "colorize", "simplecov", "term-ansicolor", "tins", "minitar", "minitar-cli", "configuration", "mkrf", "roauth", "domain_name", "sqlite3", "systemu", "test-unit", "ffi-win32-extensions", "libxml-ruby", "hiredis", "coffee-script", "websocket-extensions", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast"]
- HTTP GET https://index.rubygems.org/info/parser
- HTTP GET https://index.rubygems.org/info/test-unit
- HTTP GET https://index.rubygems.org/info/tins
- HTTP GET https://index.rubygems.org/info/psych
- HTTP GET https://index.rubygems.org/info/rubocop-ast
- HTTP 206 Partial Content https://index.rubygems.org/info/parser
- HTTP 206 Partial Content https://index.rubygems.org/info/tins
- HTTP 206 Partial Content https://index.rubygems.org/info/psych
- HTTP 206 Partial Content https://index.rubygems.org/info/test-unit
- HTTP 206 Partial Content https://index.rubygems.org/info/rubocop-ast
- Looking up gems ["simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "powerbar", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "coffee-script-source", "ast", "sync", "power_assert", "jar-dependencies", "strscan"]
- HTTP GET https://index.rubygems.org/info/simplecov_json_formatter
- HTTP GET https://index.rubygems.org/info/docile
- HTTP 206 Partial Content https://index.rubygems.org/info/simplecov_json_formatter
- HTTP 206 Partial Content https://index.rubygems.org/info/docile
- Looking up gems ["ansi", "pattern-match", "ruby-maven"]
- Looking up gems ["maven-tools", "ruby-maven-libs"]
- Looking up gems ["virtus"]
- Looking up gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
- Looking up gems ["adamantium", "ice_nine"]
- Looking up gems ["memoizable"'test' and 'development' were not installed.
- Bundled gems are installed into `./vendor/bundle`
- I, [2021-05-21T01:17:33.651053 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
- I, [2021-05-21T01:17:36.304377 #1] INFO -- : discourse-solved is already at latest compatible version
- discourse-checklist is already at latest compatible version
- discourse-voting is already at latest compatible version
- discourse-canned-replies is already at latest compatible version
- discourse-tagging is already at latest compatible version
- docker_manager is already at latest compatible version
- retort is already at latest compatible version
- discourse-staff-notes is already at latest compatible version
- I, [2021-05-21T01:17:36.304651 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
- rake aborted!
- NoMethodError: undefined method `client_setting' for #<Class:0x00005612661416e8>
- Did you mean? client_settings
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
- /var/www/discourse/plugins/discourse-tagging/plugin.rb:13:in `block in activate!'
- /var/www/discourse/lib/plugin/instance.rb:430:in `block in notify_after_initialize'
- /var/www/discourse/lib/plugin/instance.rb:428:in `each'
- /var/www/discourse/lib/plugin/instance.rb:428:in `notify_after_initialize'
- /var/www/discourse/config/application.rb:350:in `each'
- /var/www/discourse/config/application.rb:350:in `block (2 levels) in <class:Application>'
- /var/www/discourse/lib/plugin_initialization_guard.rb:5:in `plugin_initialization_guard'
- /var/www/discourse/config/application.rb:349:in `block in <class:Application>'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:68:in `block in execute_hook'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:51:in `each'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application/finisher.rb:140:in `block in <module:Finisher>'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:32:in `instance_exec'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:32:in `run'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:61:in `block in run_initializers'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/initializable.rb:60:in `run_initializers'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application.rb:384:in `initialize!'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/railtie.rb:207:in `public_send'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/railtie.rb:207:in `method_missing'
- /var/www/discourse/config/environment.rb:7:in `<main>'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `block in require'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:299:in `load_dependency'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/lib/active_support/dependencies.rb:332:in `require'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application.rb:360:in `require_environment!'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/application.rb:526:in `block in run_tasks_blocks'
- /var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
- /usr/local/bin/bundle:23:in `load'
- /usr/local/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate => db:load_config => environment
- (See full trace by running task with --trace)
- I, [2021-05-21T01:17:39.791151 #1] INFO -- :
- I, [2021-05-21T01:17:39.791461 #1] INFO -- : Terminating async processes
- I, [2021-05-21T01:17:39.791520 #1] INFO -- : Sending INT to 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: 54
- I, [2021-05-21T01:17:39.791584 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 171
- 1712021-05-21 01:17:39.791 UTC [54] LOG: received fast shutdown request
- :signal-handler (1621559859) Received SIGTERM scheduling shutdown...
- 2021-05-21 01:17:39.794 UTC [54] LOG: aborting any active transactions
- 2021-05-21 01:17:39.796 UTC [54] LOG: background worker "logical replication launcher" (PID 63) exited with exit code 1
- 2021-05-21 01:17:39.796 UTC [58] LOG: shutting down
- 2021-05-21 01:17:39.819 UTC [54] LOG: database system is shut down
- 171:M 21 May 2021 01:17:39.851 # User requested shutdown...
- 171:M 21 May 2021 01:17:39.851 * Saving the final RDB snapshot before exiting.
- 171:M 21 May 2021 01:17:39.865 * DB saved on disk
- 171:M 21 May 2021 01:17:39.865 # Redis is now ready to exit, bye bye...
- FAILED
- --------------------
- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 802 exit 1>
- Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
- exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
- f1e5de01828576a49c863ecb1e10a46008d7b0e80edb219876f8c65ed67dae82
- ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
- ./discourse-doctor may help diagnose the problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement