Discourse bundle exec rake multisite:migrate failed

Hi discourse community,

today, I tried to update my discourse multisite instance. According to the E-Mail I got:

Your version: 2.7.0.beta4
New version: 2.7.0.beta5

So I ssh’d onto the server, cd’d to /var/discourse, did a git pull and a ./launcher rebuild app

Unfortunately, this failed.

./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up to date.
I, [2021-03-12T11:56:14.238266 #1]  INFO -- : Loading --stdin
I, [2021-03-12T11:56:14.249154 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-03-12T11:56:14.321067 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2021-03-12T11:56:14.321626 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-03-12T11:56:14.332795 #1]  INFO -- : 
I, [2021-03-12T11:56:14.333382 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-03-12T11:56:14.337573 #1]  INFO -- : 
I, [2021-03-12T11:56:14.338086 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-03-12T11:56:14.341662 #1]  INFO -- : 
I, [2021-03-12T11:56:14.342086 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-03-12T11:56:14.345471 #1]  INFO -- : 
I, [2021-03-12T11:56:14.345849 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-03-12T11:56:14.349051 #1]  INFO -- : 
I, [2021-03-12T11:56:14.349415 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/03/12 11:56:14 socat[29] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-03-12T11:56:14.360417 #1]  INFO -- : 
I, [2021-03-12T11:56:14.360833 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-03-12T11:56:14.365343 #1]  INFO -- : 
I, [2021-03-12T11:56:14.365687 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-03-12T11:56:14.369748 #1]  INFO -- : 
I, [2021-03-12T11:56:14.370120 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-12T11:56:14.373249 #1]  INFO -- : 
I, [2021-03-12T11:56:14.374013 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-12T11:56:14.377067 #1]  INFO -- : 
I, [2021-03-12T11:56:14.383919 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2021-03-12T11:56:14.391884 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2021-03-12T11:56:14.402147 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2021-03-12T11:56:14.408816 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2021-03-12T11:56:14.409247 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-03-12T11:56:21.888748 #1]  INFO -- : 
I, [2021-03-12T11:56:21.889200 #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-03-12T11:56:21.892545 #1]  INFO -- : 
I, [2021-03-12T11:56:21.892691 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-03-12T11:56:21.959651 #1]  INFO -- : 
I, [2021-03-12T11:56:21.959862 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-03-12T11:56:21.963797 #1]  INFO -- : 
I, [2021-03-12T11:56:21.964287 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-03-12T11:56:21.971460 #1]  INFO -- : 
I, [2021-03-12T11:56:21.971936 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-03-12T11:56:21.974953 #1]  INFO -- : 
I, [2021-03-12T11:56:21.976222 #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-03-12T11:56:21.977792 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.986524 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.987239 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.987867 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:21.988504 #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-03-12T11:56:21.989042 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-03-12T11:56:21.997633 #1]  INFO -- : 
I, [2021-03-12T11:56:21.999066 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:22.000019 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-12T11:56:22.000859 #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-03-12T11:56:22.001943 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2021-03-12T11:56:22.002716 #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-03-12T11:56:22.010527 #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-03-12T11:56:22.014118 #1]  INFO -- : > sleep 5
2021-03-12 11:56:22.097 UTC [52] 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-03-12 11:56:22.099 UTC [52] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-03-12 11:56:22.099 UTC [52] LOG:  listening on IPv6 address "::", port 5432
2021-03-12 11:56:22.110 UTC [52] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-03-12 11:56:22.129 UTC [55] LOG:  database system was shut down at 2021-03-12 11:55:56 UTC
2021-03-12 11:56:22.151 UTC [52] LOG:  database system is ready to accept connections
I, [2021-03-12T11:56:27.019556 #1]  INFO -- : 
I, [2021-03-12T11:56:27.020093 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-03-12 11:56:27.125 UTC [65] postgres@postgres ERROR:  database "discourse" already exists
2021-03-12 11:56:27.125 UTC [65] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2021-03-12T11:56:27.128162 #1]  INFO -- : 
I, [2021-03-12T11:56:27.128703 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-03-12 11:56:27.250 UTC [76] postgres@discourse ERROR:  role "discourse" already exists
2021-03-12 11:56:27.250 UTC [76] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2021-03-12T11:56:27.252703 #1]  INFO -- : 
I, [2021-03-12T11:56:27.253255 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-03-12T11:56:27.337166 #1]  INFO -- : GRANT

I, [2021-03-12T11:56:27.337619 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-03-12T11:56:27.425790 #1]  INFO -- : ALTER SCHEMA

I, [2021-03-12T11:56:27.426500 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2021-03-12T11:56:27.526741 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-12T11:56:27.527227 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2021-03-12T11:56:27.611653 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-12T11:56:27.612139 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2021-03-12T11:56:27.695641 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-12T11:56:27.696131 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2021-03-12T11:56:27.779551 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-12T11:56:27.780104 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-03-12T11:56:27.783417 #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-03-12T11:56:27.885899 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-03-12T11:56:27.889959 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2021-03-12T11:56:27.890160 #1]  INFO -- : > echo postgres installed!
I, [2021-03-12T11:56:27.892776 #1]  INFO -- : postgres installed!

I, [2021-03-12T11:56:27.898926 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2021-03-12T11:56:27.904772 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2021-03-12T11:56:27.910473 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2021-03-12T11:56:27.911376 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.912193 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.920377 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-03-12T11:56:27.927016 #1]  INFO -- : 
I, [2021-03-12T11:56:27.927727 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.928646 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.929485 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.930418 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.931251 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2021-03-12T11:56:27.932240 #1]  INFO -- : > echo redis installed
I, [2021-03-12T11:56:27.935013 #1]  INFO -- : redis installed

I, [2021-03-12T11:56:27.935324 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-03-12T11:56:27.939980 #1]  INFO -- : logfile ""

I, [2021-03-12T11:56:27.940321 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-12T11:56:27.942289 #1]  INFO -- : > sleep 10
169:C 12 Mar 2021 11:56:27.949 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
169:C 12 Mar 2021 11:56:27.949 # Redis version=6.0.10, bits=64, commit=00000000, modified=0, pid=169, just started
169:C 12 Mar 2021 11:56:27.949 # Configuration loaded
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 6.0.10 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 169
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

169:M 12 Mar 2021 11:56:27.951 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
169:M 12 Mar 2021 11:56:27.951 # Server initialized
169:M 12 Mar 2021 11:56:27.951 # 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.
169:M 12 Mar 2021 11:56:27.952 * Loading RDB produced by version 6.0.10
169:M 12 Mar 2021 11:56:27.952 * RDB age 32 seconds
169:M 12 Mar 2021 11:56:27.952 * RDB memory usage when created 14.44 Mb
169:M 12 Mar 2021 11:56:27.999 * DB loaded from disk: 0.047 seconds
169:M 12 Mar 2021 11:56:27.999 * Ready to accept connections
I, [2021-03-12T11:56:37.945872 #1]  INFO -- : 
I, [2021-03-12T11:56:37.946561 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-03-12T11:56:37.962190 #1]  INFO -- : thpoff is installed!

I, [2021-03-12T11:56:37.962808 #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-03-12T11:56:38.136041 #1]  INFO -- : 
I, [2021-03-12T11:56:38.136793 #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-03-12T11:56:38.257693 #1]  INFO -- : 
I, [2021-03-12T11:56:38.258340 #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-03-12T11:56:38.367084 #1]  INFO -- : 
I, [2021-03-12T11:56:38.367676 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-03-12T11:56:42.373028 #1]  INFO -- : 
I, [2021-03-12T11:56:42.373979 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-03-12T11:56:42.381252 #1]  INFO -- : 
I, [2021-03-12T11:56:42.385040 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2021-03-12T11:56:42.391412 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2021-03-12T11:56:42.397414 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2021-03-12T11:56:42.403267 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2021-03-12T11:56:42.409182 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2021-03-12T11:56:42.415115 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2021-03-12T11:56:42.415478 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2021-03-12T11:56:42.416083 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-12T11:56:42.419023 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
198:C 12 Mar 2021 11:56:42.423 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
198:C 12 Mar 2021 11:56:42.423 # Redis version=6.0.10, bits=64, commit=00000000, modified=0, pid=198, just started
198:C 12 Mar 2021 11:56:42.423 # Configuration loaded
198:M 12 Mar 2021 11:56:42.424 # Could not create server TCP listening socket *:6379: bind: Address already in use
Checking out files: 100% (28489/28489), done.
I, [2021-03-12T11:56:47.419391 #1]  INFO -- : HEAD is now at c4ff6def UX: change emailLogin to info class when empty (#12105)

I, [2021-03-12T11:56:47.419999 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-03-12T11:56:47.610349 #1]  INFO -- : 
I, [2021-03-12T11:56:47.611036 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-03-12T11:56:47.616703 #1]  INFO -- : 
I, [2021-03-12T11:56:47.617284 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-03-12T11:56:47.622394 #1]  INFO -- : 
I, [2021-03-12T11:56:47.622933 #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-03-12T11:56:50.342564 #1]  INFO -- : 
I, [2021-03-12T11:56:50.343035 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-03-12T11:56:51.154118 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-03-12T11:56:51.154674 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-03-12T11:56:51.176871 #1]  INFO -- : 
I, [2021-03-12T11:56:51.177556 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-03-12T11:56:51.182949 #1]  INFO -- : 
I, [2021-03-12T11:56:51.183427 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-03-12T11:56:51.188113 #1]  INFO -- : 
I, [2021-03-12T11:56:51.188560 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-03-12T11:56:51.192692 #1]  INFO -- : 
I, [2021-03-12T11:56:51.193248 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-03-12T11:56:51.206386 #1]  INFO -- : 
I, [2021-03-12T11:56:51.207023 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-03-12T11:56:51.212369 #1]  INFO -- : 
I, [2021-03-12T11:56:51.212860 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-03-12T11:56:51.220182 #1]  INFO -- : 
I, [2021-03-12T11:56:51.220414 #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-03-12T11:56:51.227126 #1]  INFO -- : 
I, [2021-03-12T11:56:51.227326 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-03-12T11:56:51.233623 #1]  INFO -- : 
I, [2021-03-12T11:56:51.233796 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-03-12T11:56:51.253826 #1]  INFO -- : 
I, [2021-03-12T11:56:51.254455 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-03-12T11:56:51.261816 #1]  INFO -- : 
I, [2021-03-12T11:56:51.262331 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-03-12T11:56:51.268122 #1]  INFO -- : 
I, [2021-03-12T11:56:51.268302 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-03-12T11:56:51.297876 #1]  INFO -- : 
I, [2021-03-12T11:56:51.298577 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-03-12T11:56:51.313307 #1]  INFO -- : 
I, [2021-03-12T11:56:51.313689 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2021-03-12T11:56:51.314571 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-03-12T11:56:53.452046 #1]  INFO -- : 
I, [2021-03-12T11:56:53.452754 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.458379 #1]  INFO -- : 
I, [2021-03-12T11:56:53.458987 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-03-12T11:56:53.462286 #1]  INFO -- : 
I, [2021-03-12T11:56:53.462694 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-03-12T11:56:53.465967 #1]  INFO -- : 
I, [2021-03-12T11:56:53.466707 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2021-03-12T11:56:53.468033 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.468797 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.476470 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2021-03-12T11:56:53.477143 #1]  INFO -- : > echo "done configuring web"
I, [2021-03-12T11:56:53.479943 #1]  INFO -- : done configuring web

I, [2021-03-12T11:56:53.480515 #1]  INFO -- : > cd /var/www/discourse && gem update bundler
I, [2021-03-12T11:57:02.030942 #1]  INFO -- : Updating installed gems
Updating bundler
Successfully installed bundler-2.2.14
Gems updated: bundler

I, [2021-03-12T11:57:02.031261 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-03-12T11:57:20.129383 #1]  INFO -- : 
I, [2021-03-12T11:57:20.130344 #1]  INFO -- : > ln -s /multisite/multisite.yml /var/www/discourse/config/multisite.yml
I, [2021-03-12T11:57:20.135472 #1]  INFO -- : 
I, [2021-03-12T11:57:20.136021 #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-03-12T11:58:09.626235 #1]  INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.2.14
Frozen, using resolution from the lockfile
Bundler::PathError: The path `/var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6` does not exist.
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/path.rb:207:in `load_spec_files'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/git.rb:203:in `load_spec_files'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/path.rb:105:in `local_specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source/git.rb:170:in `specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/lazy_specification.rb:72:in `__materialize__'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:86:in `block in materialize'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:214:in `missing_specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:219:in `missing_specs?'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:288:in `resolve_if_needed'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:83:in `block in run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/process_lock.rb:12:in `block in lock'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/process_lock.rb:9:in `open'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/process_lock.rb:9:in `lock'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:72:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/installer.rb:24:in `install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli/install.rb:64:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:259:in `block in install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/settings.rb:115:in `temporary'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:258:in `install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:30:in `dispatch'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/cli.rb:24:in `start'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/exe/bundle:49:in `block in <top (required)>'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/exe/bundle:37:in `<top (required)>'
  /usr/local/bin/bundle:23:in `load'
  /usr/local/bin/bundle:23:in `<main>'
The definition is missing dependencies, failed to resolve & materialize locally (https://github.com/discourse/mail.git is not yet checked out. Run `bundle install` first.)
Frozen, using resolution from the lockfile
HTTP GET https://index.rubygems.org/versions
HTTP 416 Range Not Satisfiable https://index.rubygems.org/versions
HTTP GET https://index.rubygems.org/versions
HTTP 200 OK 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", "thread_safe", "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-net_http", "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", "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/minitest
HTTP GET https://index.rubygems.org/info/nokogiri
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/aws-sdk-kms
HTTP 206 Partial Content https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/aws-sigv4
HTTP GET https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sigv4
HTTP GET https://index.rubygems.org/info/discourse-ember-source
HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/ecma-re-validator
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-ember-source
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-kms
HTTP 200 OK https://index.rubygems.org/info/ecma-re-validator
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/hana
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/json_schemer
HTTP GET https://index.rubygems.org/info/discourse-fonts
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-fonts
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/uri_template
HTTP 206 Partial Content https://index.rubygems.org/info/regexp_parser
HTTP 200 OK https://index.rubygems.org/info/uri_template
HTTP GET https://index.rubygems.org/info/ffi
HTTP 206 Partial Content https://index.rubygems.org/info/ffi
HTTP 200 OK https://index.rubygems.org/info/hana
HTTP 200 OK https://index.rubygems.org/info/json_schemer
HTTP GET https://index.rubygems.org/info/oj
HTTP GET https://index.rubygems.org/info/nio4r
HTTP GET https://index.rubygems.org/info/fastimage
HTTP GET https://index.rubygems.org/info/omniauth
HTTP 206 Partial Content https://index.rubygems.org/info/nio4r
HTTP 206 Partial Content https://index.rubygems.org/info/oj
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth
HTTP GET https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/puma
Looking up gems ["functional-ruby", "ref", "jsonapi", "case_transform", "jsonapi-renderer", "rails-deprecated_sanitizer", "bcrypt-ruby", "rspec", "atomic", "arel", "activerecord-deprecated_finders", "text-format", "mime-types", "treetop", "tlsmail", "erubis", "json_pure", "activemodel-globalid", "rack-mount", "rack-cache", "journey", "memcache-client", "ember-template-compiler-source", "handlebars-source", "hike", "rdoc", "columnize", "debugger-linecache", "slop", "rb-readline", "rails", "ruby_parser", "hoe", "weakling", "mini_portile", "mini_portile2", "pkg-config", "snappy", "rb-appscript", "xattr", "ffi-xattr", "rack-ssl", "rake-compiler", "stud", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "termios", "jamespath", "http-2", "rdf", "hpricot", "bigdecimal", "ruby-hmac", "faraday-middleware", "httpauth", "eventmachine", "thin", "pry-doc", "win32console", "yard", "spoon", "escape_utils", "base32", "trollop", "listen", "therubyracer", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "bundler", "moneta", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader"]
HTTP GET https://index.rubygems.org/info/rdf
HTTP 200 OK https://index.rubygems.org/info/rdf
HTTP GET https://index.rubygems.org/info/bundler
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
Looking up gems ["bcrypt", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "ruby_core_source", "debugger-ruby_core_source", "mime-types-data", "multimap", "ZenTest", "RubyInline", "rspec-core", "rspec-expectations", "rspec-mocks", "text-hyphen", "facets", "polyglot", "abstract", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "temple", "snappy-jars", "jsonapi-parser", "ParseTree", "sexp_processor", "rubyforge", "gemcutter", "sass-listen", "spruz", "daemons", "metriks", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "sprockets-helpers", "mongrel", "backports", "mustermann", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "rack-openid", "ruby-openid-apps-discovery", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "rest-client", "restclient", "curses", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "link_header", "hamster"]
HTTP GET https://index.rubygems.org/info/mime-types-data
HTTP 206 Partial Content https://index.rubygems.org/info/mime-types-data
HTTP GET https://index.rubygems.org/info/hamster
HTTP GET https://index.rubygems.org/info/link_header
HTTP 200 OK https://index.rubygems.org/info/hamster
HTTP 200 OK https://index.rubygems.org/info/link_header
Looking up gems ["marcel", "mimemagic", "rspec-support", "diff-lcs", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "hitimes", "CFPropertyList", "sys-admin", "win32-api", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "net-scp", "celluloid-gems", "coveralls", "rubocop", "dotenv-deployment", "rails-observers", "activemodel-serializers-xml", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "netrc", "http-cookie", "http-accept", "ruby-openid", "log4r", "archive-tar-minitar", "SexpProcessor", "blankslate", "macaddr", "tool"]
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
Looking up gems ["websocket-extensions", "net-ssh", "coffee-script", "configuration", "mkrf", "test-unit", "ffi-win32-extensions", "minitar", "minitar-cli", "hiredis", "domain_name", "sqlite3", "libxml-ruby", "systemu", "term-ansicolor", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "tins", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast", "colorize", "simplecov", "roauth", "ruby-yadis"]
HTTP GET https://index.rubygems.org/info/psych
HTTP 206 Partial Content https://index.rubygems.org/info/psych
Looking up gems ["coffee-script-source", "power_assert", "ast", "sync", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "powerbar", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "jar-dependencies", "strscan"]
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 ["ice_nine", "adamantium"]
Looking up gems ["memoizable"]
Fetching https://github.com/discourse/mail.git
Using rake 13.0.3
0:  rake (13.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.3.gemspec
Using concurrent-ruby 1.1.8
0:  concurrent-ruby (1.1.8) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.8.gemspec
Fetching minitest 5.14.4
Using thread_safe 0.3.6
1:  thread_safe (0.3.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thread_safe-0.3.6.gemspec
Using zeitwerk 2.4.2
1:  zeitwerk (2.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/zeitwerk-2.4.2.gemspec
Using builder 3.2.4
1:  builder (3.2.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/builder-3.2.4.gemspec
Using erubi 1.10.0
1:  erubi (1.10.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/erubi-1.10.0.gemspec
Using racc 1.5.2
1:  racc (1.5.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/racc-1.5.2.gemspec
Using crass 1.0.6
1:  crass (1.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/crass-1.0.6.gemspec
Using rack 2.2.3
1:  rack (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-2.2.3.gemspec
Using mini_mime 1.0.2
1:  mini_mime (1.0.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_mime-1.0.2.gemspec
Using public_suffix 4.0.6
1:  public_suffix (4.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/public_suffix-4.0.6.gemspec
Using jmespath 1.4.0
Fetching aws-eventstream 1.1.1
Fetching aws-partitions 1.432.0
3:  jmespath (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jmespath-1.4.0.gemspec
Using ember-source 2.18.2
3:  ember-source (2.18.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-source-2.18.2.gemspec
Using execjs 2.7.0
3:  execjs (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/execjs-2.7.0.gemspec
Using msgpack 1.4.2
3:  msgpack (1.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
Using bundler 2.2.14
3:  bundler (2.2.14) from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/source
Using byebug 11.1.3
3:  byebug (11.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/byebug-11.1.3.gemspec
Using cbor 0.5.9.6
3:  cbor (0.5.9.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cbor-0.5.9.6.gemspec
Using chunky_png 1.4.0
3:  chunky_png (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/chunky_png-1.4.0.gemspec
Using coderay 1.1.3
3:  coderay (1.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/coderay-1.1.3.gemspec
Using colored2 3.1.2
3:  colored2 (3.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/colored2-3.1.2.gemspec
Using connection_pool 2.2.3
3:  connection_pool (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/connection_pool-2.2.3.gemspec
Using openssl 2.2.0
3:  openssl (2.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-2.2.0.gemspec
Using cppjieba_rb 0.3.3
3:  cppjieba_rb (0.3.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cppjieba_rb-0.3.3.gemspec
Using diffy 3.4.0
3:  diffy (3.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/diffy-3.4.0.gemspec
Using method_source 1.0.0
3:  method_source (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/method_source-1.0.0.gemspec
Using thor 1.1.0
3:  thor (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thor-1.1.0.gemspec
Fetching discourse-ember-source 3.12.2.3
Installing aws-partitions 1.432.0
Installing aws-eventstream 1.1.1
Installing minitest 5.14.4
1:  aws-eventstream (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-eventstream-1.1.1.gemspec
Fetching discourse-fonts 0.0.8
2:  aws-partitions (1.432.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-partitions-1.432.0.gemspec
Using exifr 1.3.9
2:  exifr (1.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/exifr-1.3.9.gemspec
Using fspath 3.1.2
2:  fspath (3.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fspath-3.1.2.gemspec
Using image_size 1.5.0
2:  image_size (1.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_size-1.5.0.gemspec
Using in_threads 1.5.4
2:  in_threads (1.5.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/in_threads-1.5.4.gemspec
Using progress 3.5.2
2:  progress (3.5.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/progress-3.5.2.gemspec
Fetching regexp_parser 2.1.1
Installing regexp_parser 2.1.1
0:  minitest (5.14.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/minitest-5.14.4.gemspec
Using email_reply_trimmer 0.1.13
0:  email_reply_trimmer (0.1.13) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/email_reply_trimmer-0.1.13.gemspec
Using excon 0.79.0
0:  excon (0.79.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/excon-0.79.0.gemspec
Using faraday-net_http 1.0.1
0:  faraday-net_http (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-net_http-1.0.1.gemspec
Using multipart-post 2.1.1
0:  multipart-post (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multipart-post-2.1.1.gemspec
Using ruby2_keywords 0.0.4
0:  ruby2_keywords (0.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby2_keywords-0.0.4.gemspec
Using fast_blank 1.0.0
0:  fast_blank (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_blank-1.0.0.gemspec
Using fast_xs 0.8.0
0:  fast_xs (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fast_xs-0.8.0.gemspec
Fetching fastimage 2.2.3
Installing fastimage 2.2.3
0:  fastimage (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fastimage-2.2.3.gemspec
Fetching ffi 1.15.0
Installing ffi 1.15.0 with native extensions
2:  regexp_parser (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/regexp_parser-2.1.1.gemspec
Using gc_tracer 1.5.1
2:  gc_tracer (1.5.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/gc_tracer-1.5.1.gemspec
Using guess_html_encoding 0.0.11
2:  guess_html_encoding (0.0.11) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/guess_html_encoding-0.0.11.gemspec
Fetching hana 1.3.7
Installing hana 1.3.7
2:  hana (1.3.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hana-1.3.7.gemspec
Using hashie 4.1.0
2:  hashie (4.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hashie-4.1.0.gemspec
Using highline 2.0.3
2:  highline (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/highline-2.0.3.gemspec
Using hkdf 0.3.0
2:  hkdf (0.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/hkdf-0.3.0.gemspec
Using htmlentities 4.3.4
2:  htmlentities (4.3.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/htmlentities-4.3.4.gemspec
Using http_accept_language 2.1.1
2:  http_accept_language (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/http_accept_language-2.1.1.gemspec
Using json 2.5.1
2:  json (2.5.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json-2.5.1.gemspec
Fetching uri_template 0.7.0
Installing uri_template 0.7.0
2:  uri_template (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uri_template-0.7.0.gemspec
Using jwt 2.2.2
2:  jwt (2.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jwt-2.2.2.gemspec
Using kgio 2.11.3
2:  kgio (2.11.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/kgio-2.11.3.gemspec
Using libv8 8.4.255.0 (x86_64-linux)
2:  libv8 (8.4.255.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/libv8-8.4.255.0-x86_64-linux.gemspec
Using logstash-event 1.2.02
2:  logstash-event (1.2.02) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-event-1.2.02.gemspec
Fetching logster 2.9.6
Installing logster 2.9.6
Installing discourse-ember-source 3.12.2.3
Installing discourse-fonts 0.0.8
2:  logster (2.9.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logster-2.9.6.gemspec
Using lru_redux 1.1.0
2:  lru_redux (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lru_redux-1.1.0.gemspec
Using lz4-ruby 0.3.3
2:  lz4-ruby (0.3.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lz4-ruby-0.3.3.gemspec
Using maxminddb 0.1.22
2:  maxminddb (0.1.22) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/maxminddb-0.1.22.gemspec
Using memory_profiler 1.0.0
2:  memory_profiler (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/memory_profiler-1.0.0.gemspec
Using redis 4.2.5
2:  redis (4.2.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-4.2.5.gemspec
Using mini_sql 1.0.1
2:  mini_sql (1.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_sql-1.0.1.gemspec
Using multi_json 1.15.0
2:  multi_json (1.15.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multi_json-1.15.0.gemspec
Using multi_xml 0.6.0
2:  multi_xml (0.6.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/multi_xml-0.6.0.gemspec
Using mustache 1.1.1
2:  mustache (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mustache-1.1.1.gemspec
Fetching nio4r 2.5.7
Installing nio4r 2.5.7 with native extensions
Building native extensions. This could take a while...
Building native extensions. This could take a while...
3:  discourse-ember-source (3.12.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-source-3.12.2.3.gemspec
Using oauth 0.5.5
3:  oauth (0.5.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth-0.5.5.gemspec
Fetching oj 3.11.3
Installing oj 3.11.3 with native extensions
1:  discourse-fonts (0.0.8) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-fonts-0.0.8.gemspec
Using optimist 3.0.1
1:  optimist (3.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/optimist-3.0.1.gemspec
Using pg 1.2.3
1:  pg (1.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pg-1.2.3.gemspec
Using r2 0.2.7
1:  r2 (0.2.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/r2-0.2.7.gemspec
Using raindrops 0.19.1
1:  raindrops (0.19.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/raindrops-0.19.1.gemspec
Using rchardet 1.8.0
1:  rchardet (1.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rchardet-1.8.0.gemspec
Using rinku 2.0.6
1:  rinku (2.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rinku-2.0.6.gemspec
Using rotp 6.2.0
1:  rotp (6.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rotp-6.2.0.gemspec
Using rqrcode_core 0.2.0
1:  rqrcode_core (0.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode_core-0.2.0.gemspec
Using rtlit 0.0.5
1:  rtlit (0.0.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rtlit-0.0.5.gemspec
Using rubyzip 2.3.0
1:  rubyzip (2.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rubyzip-2.3.0.gemspec
Using tilt 2.0.10
1:  tilt (2.0.10) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tilt-2.0.10.gemspec
Using sshkey 2.0.0
1:  sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sshkey-2.0.0.gemspec
Using stackprof 0.2.16
1:  stackprof (0.2.16) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/stackprof-0.2.16.gemspec
Using unf_ext 0.0.7.7
1:  unf_ext (0.0.7.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf_ext-0.0.7.7.gemspec
Using xorcist 1.1.2
1:  xorcist (1.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/xorcist-1.1.2.gemspec
Using i18n 1.8.9
1:  i18n (1.8.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.9.gemspec
Using tzinfo 1.2.9
1:  tzinfo (1.2.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-1.2.9.gemspec
Fetching nokogiri 1.11.2 (x86_64-linux)
Building native extensions. This could take a while...
Installing nokogiri 1.11.2 (x86_64-linux)
1:  nokogiri (1.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.2-x86_64-linux.gemspec
Using rack-test 1.1.0
1:  rack-test (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-test-1.1.0.gemspec
Using mail 2.8.0.edge from https://github.com/discourse/mail.git (at master@5b700fc)
1:  mail (2.8.0.edge) from /var/www/discourse/vendor/bundle/ruby/2.7.0/bundler/gems/mail-5b700fc95ee6/mail.gemspec
Using addressable 2.7.0
1:  addressable (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/addressable-2.7.0.gemspec
Using sprockets 3.7.2
1:  sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
Using request_store 1.5.0
1:  request_store (1.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/request_store-1.5.0.gemspec
Using message_bus 3.3.4
1:  message_bus (3.3.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.4.gemspec
Using rack-mini-profiler 2.3.1
1:  rack-mini-profiler (2.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-mini-profiler-2.3.1.gemspec
Using rack-protection 2.1.0
1:  rack-protection (2.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-protection-2.1.0.gemspec
Using barber 0.12.2
1:  barber (0.12.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/barber-0.12.2.gemspec
Using bootsnap 1.7.2
1:  bootsnap (1.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.2.gemspec
Using ember-data-source 3.0.2
1:  ember-data-source (3.0.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-data-source-3.0.2.gemspec
Using uglifier 4.2.0
1:  uglifier (4.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uglifier-4.2.0.gemspec
Using openssl-signature_algorithm 1.1.1
1:  openssl-signature_algorithm (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/openssl-signature_algorithm-1.1.1.gemspec
Using pry 0.13.1
1:  pry (0.13.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
Fetching aws-sigv4 1.2.3
Installing aws-sigv4 1.2.3
1:  aws-sigv4 (1.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sigv4-1.2.3.gemspec
Using discourse_image_optim 0.26.2
1:  discourse_image_optim (0.26.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse_image_optim-0.26.2.gemspec
Using faraday 1.3.0
1:  faraday (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.3.0.gemspec
Fetching ecma-re-validator 0.3.0
Installing ecma-re-validator 0.3.0
1:  ecma-re-validator (0.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ecma-re-validator-0.3.0.gemspec
Using omniauth 1.9.1
1:  omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
Using logstash-logger 0.26.1
1:  logstash-logger (0.26.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-logger-0.26.1.gemspec
Using mini_racer 0.3.1
1:  mini_racer (0.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.3.1.gemspec
Using webpush 1.1.0
1:  webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
Using sidekiq 6.1.3
1:  sidekiq (6.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.1.3.gemspec
Using redis-namespace 1.8.1
1:  redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
Fetching activesupport 6.0.3.5
Installing activesupport 6.0.3.5
1:  activesupport (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.0.3.5.gemspec
Using rqrcode 1.2.0
1:  rqrcode (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-1.2.0.gemspec
Using unf 0.1.4
1:  unf (0.1.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unf-0.1.4.gemspec
Using unicorn 5.8.0
1:  unicorn (5.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-5.8.0.gemspec
Using loofah 2.9.0
1:  loofah (2.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.9.0.gemspec
Using nokogumbo 2.0.4
1:  nokogumbo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogumbo-2.0.4.gemspec
Using ruby-readability 0.7.0
1:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
Using css_parser 1.9.0
1:  css_parser (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
Using ember-handlebars-template 0.8.0
1:  ember-handlebars-template (0.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ember-handlebars-template-0.8.0.gemspec
Using cose 1.2.0
1:  cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
Using pry-byebug 3.9.0
1:  pry-byebug (3.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-byebug-3.9.0.gemspec
Using pry-rails 0.3.9
1:  pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
Fetching aws-sdk-core 3.112.1
Installing aws-sdk-core 3.112.1
1:  aws-sdk-core (3.112.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.112.1.gemspec
Using oauth2 1.4.4
1:  oauth2 (1.4.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.4.gemspec
Fetching json_schemer 0.2.18
Installing json_schemer 0.2.18
1:  json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
Using mini_scheduler 0.13.0
1:  mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
Using omniauth-oauth 1.2.0
1:  omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
Using rails-dom-testing 2.0.3
1:  rails-dom-testing (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-dom-testing-2.0.3.gemspec
Using globalid 0.4.2
1:  globalid (0.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/globalid-0.4.2.gemspec
Fetching activemodel 6.0.3.5
Installing activemodel 6.0.3.5
1:  activemodel (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.0.3.5.gemspec
Using rails-html-sanitizer 1.3.0
1:  rails-html-sanitizer (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails-html-sanitizer-1.3.0.gemspec
Using sanitize 5.2.3
1:  sanitize (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
Fetching aws-sdk-kms 1.42.0
Installing aws-sdk-kms 1.42.0
1:  aws-sdk-kms (1.42.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.42.0.gemspec
Fetching aws-sdk-sns 1.38.0
Installing aws-sdk-sns 1.38.0
1:  aws-sdk-sns (1.38.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.38.0.gemspec
Using omniauth-oauth2 1.7.1
1:  omniauth-oauth2 (1.7.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth2-1.7.1.gemspec
Using omniauth-twitter 1.4.0
1:  omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
Fetching activejob 6.0.3.5
Installing activejob 6.0.3.5
1:  activejob (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.0.3.5.gemspec
Using active_model_serializers 0.8.4
1:  active_model_serializers (0.8.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/active_model_serializers-0.8.4.gemspec
Fetching activerecord 6.0.3.5
Installing activerecord 6.0.3.5
1:  activerecord (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.0.3.5.gemspec
Fetching actionview 6.0.3.5
Installing actionview 6.0.3.5
1:  actionview (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.0.3.5.gemspec
Fetching onebox 2.2.8
Installing onebox 2.2.8
1:  onebox (2.2.8) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/onebox-2.2.8.gemspec
Fetching aws-sdk-s3 1.90.0
Installing aws-sdk-s3 1.90.0
1:  aws-sdk-s3 (1.90.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.90.0.gemspec
Using omniauth-facebook 8.0.0
1:  omniauth-facebook (8.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-facebook-8.0.0.gemspec
Using omniauth-github 1.4.0
1:  omniauth-github (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-github-1.4.0.gemspec
Using omniauth-google-oauth2 0.8.1
1:  omniauth-google-oauth2 (0.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.1.gemspec
Using seed-fu 2.3.9
1:  seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
Fetching actionpack 6.0.3.5
Installing actionpack 6.0.3.5
1:  actionpack (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.0.3.5.gemspec
Using actionview_precompiler 0.2.3
1:  actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
Fetching actionmailer 6.0.3.5
Installing actionmailer 6.0.3.5
1:  actionmailer (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.0.3.5.gemspec
Fetching railties 6.0.3.5
Installing railties 6.0.3.5
1:  railties (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.0.3.5.gemspec
Using sprockets-rails 3.2.2
1:  sprockets-rails (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
Using jquery-rails 4.4.0
1:  jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
Using lograge 0.11.2
1:  lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
Using rails_failover 0.6.5
1:  rails_failover (0.6.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.6.5.gemspec
Using rails_multisite 2.5.0
1:  rails_multisite (2.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-2.5.0.gemspec
Using discourse-ember-rails 0.18.6
1:  discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
2:  nio4r (2.5.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nio4r-2.5.7.gemspec
Fetching puma 5.2.2
Installing puma 5.2.2 with native extensions
Building native extensions. This could take a while...
1:  puma (5.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.2.2.gemspec
3:  oj (3.11.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.3.gemspec
0:  ffi (1.15.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.15.0.gemspec
Using mini_suffix 0.3.2
2:  mini_suffix (0.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
Using rbtrace 0.4.14
2:  rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
Using sassc 2.0.1
2:  sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
Using sassc-rails 2.1.2
0:  sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
Bundle complete! 124 Gemfile dependencies, 167 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2021-03-12T11:58:09.631058 #1]  INFO -- : > cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate
`/root` is not writable.
Bundler will use `/tmp/bundler20210312-3899-11auboa3899' as your home directory temporarily.
rake aborted!
NameError: uninitialized constant RailsMultisite::DiscoursePatches
/var/www/discourse/config/initializers/200-first_middlewares.rb:34:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:666:in `block in load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/notifications.rb:182:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:665:in `load_config_initializer'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:625:in `block (2 levels) in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:624:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/engine.rb:624:in `block in <class:Engine>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:50:in `tsort_each_child'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/application.rb:363:in `initialize!'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/railtie.rb:190:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/railtie.rb:190: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.2/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.2/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.2/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.2/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.2/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/railties-6.0.3.5/lib/rails/application.rb:339:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/application.rb:523: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 => multisite:migrate => db:load_config => environment
(See full trace by running task with --trace)
I, [2021-03-12T11:58:15.637907 #1]  INFO -- : 
I, [2021-03-12T11:58:15.638728 #1]  INFO -- : Terminating async processes
I, [2021-03-12T11:58:15.638830 #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: 52
2021-03-12 11:58:15.639 UTC [52] LOG:  received fast shutdown request
I, [2021-03-12T11:58:15.638989 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 169
169:signal-handler (1615550295) Received SIGTERM scheduling shutdown...
2021-03-12 11:58:15.647 UTC [52] LOG:  aborting any active transactions
2021-03-12 11:58:15.650 UTC [52] LOG:  background worker "logical replication launcher" (PID 61) exited with exit code 1
2021-03-12 11:58:15.658 UTC [56] LOG:  shutting down
169:M 12 Mar 2021 11:58:15.704 # User requested shutdown...
169:M 12 Mar 2021 11:58:15.704 * Saving the final RDB snapshot before exiting.
2021-03-12 11:58:15.778 UTC [52] LOG:  database system is shut down
169:M 12 Mar 2021 11:58:15.829 * DB saved on disk
169:M 12 Mar 2021 11:58:15.830 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate failed with return #<Process::Status: pid 3897 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate"
f73b81fb35d03513e96893074964fb75baf31ab6e71448842a58b9f75c1e79a0
** 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.

I guess this has something to do with

NameError: uninitialized constant RailsMultisite::DiscoursePatches

but I wasn’t able to find helpful information about this.

I already disabled all plugins. My app.yml looks like this:

## this is the all-in-one, standalone Discourse Docker container template
##
## After making changes to this file, you MUST rebuild
## /var/discourse/launcher rebuild app
##
## BE *VERY* CAREFUL WHEN EDITING!
## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT!
## visit http://www.yamllint.com/ to validate this file as needed

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.socketed.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
  #- "templates/web.ssl.template.yml"
  #- "templates/web.letsencrypt.ssl.template.yml"

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
expose:
#  - "80:80"   # http
#  - "443:443" # https

params:
  db_default_text_search_config: "pg_catalog.english"

  ## Set db_shared_buffers to a max of 25% of the total memory.
  ## will be set automatically by bootstrap based on detected RAM, or you can override
  db_shared_buffers: "512MB"

  ## can improve sorting performance, but adds memory usage per-connection
  #db_work_mem: "40MB"

  ## Which Git revision should this container use? (default: tests-passed)
  #version: tests-passed

env:
  LANG: en_US.UTF-8
  # DISCOURSE_DEFAULT_LOCALE: en

  ## How many concurrent web requests are supported? Depends on memory and CPU cores.
  ## will be set automatically by bootstrap based on detected CPUs, or you can override
  UNICORN_WORKERS: 2

  ## TODO: The domain name this Discourse instance will respond to
  ## Required. Discourse will not work with a bare IP number.
  DISCOURSE_HOSTNAME: # redacted

  ## Uncomment if you want the container to be started with the same
  ## hostname (-h option) as specified above (default "$hostname-$config")
  #DOCKER_USE_HOSTNAME: true

  ## TODO: List of comma delimited emails that will be made admin and developer
  ## on initial signup example 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: # redacted

  ## TODO: The SMTP mail server used to validate new accounts and send notifications
  # SMTP ADDRESS, username, and password are required
  # WARNING the char '#' in SMTP password can cause problems!
  DISCOURSE_SMTP_ADDRESS: # redacted
  DISCOURSE_SMTP_PORT: 25
  #DISCOURSE_SMTP_USER_NAME: foo
  #DISCOURSE_SMTP_PASSWORD: "bar"
  DISCOURSE_SMTP_ENABLE_START_TLS: false           # (optional, default true)

  ## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate
  #LETSENCRYPT_ACCOUNT_EMAIL: me@example.com

  ## The http or https CDN address for this Discourse instance (configured to pull)
  ## see https://meta.discourse.org/t/14857 for details
  #DISCOURSE_CDN_URL: https://discourse-cdn.example.com

  DISCOURSE_LOAD_MINI_PROFILER: false

## The Docker container is stateless; all data is stored in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log
  - volume:
      host: /var/discourse/shared/standalone/multisite
      guest: /multisite


## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          #- git clone https://github.com/discourse/discourse-spoiler-alert.git
          #- git clone https://github.com/discourse/discourse-data-explorer.git
          #- git clone https://github.com/discourse/discourse-staff-notes.git
          #- git clone https://github.com/cpradio/discourse-plugin-checklist.git
          #- git clone https://github.com/discourse/discourse-math.git

  before_bundle_exec:
    - exec: ln -s /multisite/multisite.yml $home/config/multisite.yml

  after_bundle_exec:
    - exec: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate

## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "End of custom commands"

I’d be glad for any helpful advice. Thanks in advance.

Edit: It’s a multisite installation.

3 Likes

I can +1 this issue. Builds on multisite installs are failing with the same error

Doesn’t seem to be coming from a plugin and must have happened in last ~24 Hours

3 Likes

Thanks for the reports! We’re aware of the issue and I’m digging into it right now - hopefully will have a fix within the hour.

5 Likes

*within two minutes after the hour :wink:

The issue should now be fixed on tests-passed. Please try rebuilding again @iKoze

8 Likes

I can confirm that it works now. Thank you!

2 Likes