Problem after Discourse update

I am facing a problem after the recent update when I updated discourse.
Now I am rebuilding using ssh, which shows an error

root@ask:~# cd /var/discourse
root@ask:/var/discourse# ./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-07T19:01:46.804412 #1]  INFO -- : Loading --stdin
I, [2021-03-07T19:01:46.811191 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-03-07T19:01:46.873177 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2021-03-07T19:01:46.873789 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-03-07T19:01:46.880584 #1]  INFO -- :
I, [2021-03-07T19:01:46.882294 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-03-07T19:01:46.885595 #1]  INFO -- :
I, [2021-03-07T19:01:46.886055 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-03-07T19:01:46.889185 #1]  INFO -- :
I, [2021-03-07T19:01:46.889627 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-03-07T19:01:46.892766 #1]  INFO -- :
I, [2021-03-07T19:01:46.893159 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-03-07T19:01:46.896077 #1]  INFO -- :
I, [2021-03-07T19:01:46.896446 #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/07 19:01:46 socat[26] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-03-07T19:01:46.911843 #1]  INFO -- :
I, [2021-03-07T19:01:46.912199 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-03-07T19:01:46.914895 #1]  INFO -- :
I, [2021-03-07T19:01:46.915185 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-03-07T19:01:46.917474 #1]  INFO -- :
I, [2021-03-07T19:01:46.917794 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-07T19:01:46.919863 #1]  INFO -- :
I, [2021-03-07T19:01:46.920258 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-03-07T19:01:46.922318 #1]  INFO -- :
I, [2021-03-07T19:01:46.928339 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2021-03-07T19:01:46.932704 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2021-03-07T19:01:46.937149 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2021-03-07T19:01:46.941034 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2021-03-07T19:01:46.941515 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-03-07T19:01:47.390618 #1]  INFO -- :
I, [2021-03-07T19:01:47.390903 #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-07T19:01:47.392870 #1]  INFO -- :
I, [2021-03-07T19:01:47.393111 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-03-07T19:01:47.420176 #1]  INFO -- :
I, [2021-03-07T19:01:47.420847 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-03-07T19:01:47.423310 #1]  INFO -- :
I, [2021-03-07T19:01:47.423742 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-03-07T19:01:47.429231 #1]  INFO -- :
I, [2021-03-07T19:01:47.429613 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-03-07T19:01:47.431756 #1]  INFO -- :
I, [2021-03-07T19:01:47.433336 #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-07T19:01:47.434180 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-07T19:01:47.434730 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-07T19:01:47.435270 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-07T19:01:47.435882 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-07T19:01:47.436443 #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-07T19:01:47.436924 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-03-07T19:01:47.442259 #1]  INFO -- :
I, [2021-03-07T19:01:47.442831 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-07T19:01:47.443339 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2021-03-07T19:01:47.443967 #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-07T19:01:47.444741 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2021-03-07T19:01:47.445306 #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-07T19:01:47.445849 #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-07T19:01:47.447151 #1]  INFO -- : > sleep 5
2021-03-07 19:01:47.551 UTC [49] 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-07 19:01:47.552 UTC [49] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-03-07 19:01:47.552 UTC [49] LOG:  listening on IPv6 address "::", port 5432
2021-03-07 19:01:47.554 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-03-07 19:01:47.558 UTC [52] LOG:  database system was shut down at 2021-03-07 19:01:38 UTC
2021-03-07 19:01:47.568 UTC [49] LOG:  database system is ready to accept connections
I, [2021-03-07T19:01:52.451213 #1]  INFO -- :
I, [2021-03-07T19:01:52.451456 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-03-07 19:01:52.555 UTC [62] postgres@postgres ERROR:  database "discourse" already exists
2021-03-07 19:01:52.555 UTC [62] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2021-03-07T19:01:52.559199 #1]  INFO -- :
I, [2021-03-07T19:01:52.559755 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-03-07 19:01:52.648 UTC [73] postgres@discourse ERROR:  role "discourse" already exists
2021-03-07 19:01:52.648 UTC [73] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2021-03-07T19:01:52.650793 #1]  INFO -- :
I, [2021-03-07T19:01:52.651183 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-03-07T19:01:52.713237 #1]  INFO -- : GRANT

I, [2021-03-07T19:01:52.713805 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-03-07T19:01:52.776028 #1]  INFO -- : ALTER SCHEMA

I, [2021-03-07T19:01:52.776543 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2021-03-07T19:01:52.851989 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:52.852364 #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-07T19:01:52.914121 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:52.914517 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2021-03-07T19:01:52.988768 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:52.989173 #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-07T19:01:53.056832 #1]  INFO -- : CREATE EXTENSION

I, [2021-03-07T19:01:53.057869 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-03-07T19:01:53.062036 #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-07T19:01:53.152694 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-03-07T19:01:53.156953 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2021-03-07T19:01:53.157407 #1]  INFO -- : > echo postgres installed!
I, [2021-03-07T19:01:53.159830 #1]  INFO -- : postgres installed!

I, [2021-03-07T19:01:53.164187 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2021-03-07T19:01:53.169101 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2021-03-07T19:01:53.175214 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2021-03-07T19:01:53.176964 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.177903 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.178890 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-03-07T19:01:53.181956 #1]  INFO -- :
I, [2021-03-07T19:01:53.182510 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.183103 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.183725 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.184379 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.184926 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2021-03-07T19:01:53.186025 #1]  INFO -- : > echo redis installed
I, [2021-03-07T19:01:53.188105 #1]  INFO -- : redis installed

I, [2021-03-07T19:01:53.188503 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-03-07T19:01:53.192936 #1]  INFO -- : logfile ""

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

166:M 07 Mar 2021 19:01:53.213 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
166:M 07 Mar 2021 19:01:53.213 # Server initialized
166:M 07 Mar 2021 19:01:53.213 # 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.
166:M 07 Mar 2021 19:01:53.214 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled (set to 'madvise' or 'never').
166:M 07 Mar 2021 19:01:53.214 * Loading RDB produced by version 6.0.9
166:M 07 Mar 2021 19:01:53.214 * RDB age 17 seconds
166:M 07 Mar 2021 19:01:53.214 * RDB memory usage when created 127.79 Mb
166:M 07 Mar 2021 19:01:53.901 * DB loaded from disk: 0.687 seconds
166:M 07 Mar 2021 19:01:53.902 * Ready to accept connections
I, [2021-03-07T19:02:03.197895 #1]  INFO -- :
I, [2021-03-07T19:02:03.198127 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-03-07T19:02:03.203572 #1]  INFO -- : thpoff is installed!

I, [2021-03-07T19:02:03.203816 #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-07T19:02:03.359587 #1]  INFO -- :
I, [2021-03-07T19:02:03.360209 #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-07T19:02:03.450387 #1]  INFO -- :
I, [2021-03-07T19:02:03.451063 #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-07T19:02:03.541411 #1]  INFO -- :
I, [2021-03-07T19:02:03.542055 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-03-07T19:02:03.721237 #1]  INFO -- :
I, [2021-03-07T19:02:03.722027 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-03-07T19:02:03.725872 #1]  INFO -- :
I, [2021-03-07T19:02:03.728639 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2021-03-07T19:02:03.736819 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2021-03-07T19:02:03.741827 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2021-03-07T19:02:03.746380 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2021-03-07T19:02:03.750847 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2021-03-07T19:02:03.755124 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2021-03-07T19:02:03.755565 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2021-03-07T19:02:03.755984 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-03-07T19:02:03.757829 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
194:C 07 Mar 2021 19:02:03.766 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
194:C 07 Mar 2021 19:02:03.766 # Redis version=6.0.10, bits=64, commit=00000000, modified=0, pid=194, just started
194:C 07 Mar 2021 19:02:03.767 # Configuration loaded
194:M 07 Mar 2021 19:02:03.767 # Could not create server TCP listening socket *:6379: bind: Address already in use
Checking out files: 100% (28489/28489), done.
I, [2021-03-07T19:02:07.066827 #1]  INFO -- : HEAD is now at c4ff6def UX: change emailLogin to info class when empty (#12105)

I, [2021-03-07T19:02:07.067341 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-03-07T19:02:07.191780 #1]  INFO -- :
I, [2021-03-07T19:02:07.192304 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-03-07T19:02:07.196257 #1]  INFO -- :
I, [2021-03-07T19:02:07.196561 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-03-07T19:02:07.200027 #1]  INFO -- :
I, [2021-03-07T19:02:07.200325 #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-07T19:02:09.050897 #1]  INFO -- :
I, [2021-03-07T19:02:09.051336 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-03-07T19:02:09.523576 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-03-07T19:02:09.524146 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-03-07T19:02:09.531351 #1]  INFO -- :
I, [2021-03-07T19:02:09.531883 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-03-07T19:02:09.537775 #1]  INFO -- :
I, [2021-03-07T19:02:09.540186 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-03-07T19:02:09.544728 #1]  INFO -- :
I, [2021-03-07T19:02:09.546310 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-03-07T19:02:09.550688 #1]  INFO -- :
I, [2021-03-07T19:02:09.551706 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-03-07T19:02:09.561597 #1]  INFO -- :
I, [2021-03-07T19:02:09.561978 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-03-07T19:02:09.566860 #1]  INFO -- :
I, [2021-03-07T19:02:09.569191 #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-07T19:02:09.575711 #1]  INFO -- :
I, [2021-03-07T19:02:09.576633 #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-07T19:02:09.585854 #1]  INFO -- :
I, [2021-03-07T19:02:09.586242 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-03-07T19:02:09.591468 #1]  INFO -- :
I, [2021-03-07T19:02:09.591834 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-03-07T19:02:09.596067 #1]  INFO -- :
I, [2021-03-07T19:02:09.596365 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-03-07T19:02:09.600994 #1]  INFO -- :
I, [2021-03-07T19:02:09.601287 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-03-07T19:02:09.605413 #1]  INFO -- :
I, [2021-03-07T19:02:09.605685 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-03-07T19:02:10.786306 #1]  INFO -- :
I, [2021-03-07T19:02:10.786933 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-03-07T19:02:10.792875 #1]  INFO -- :
I, [2021-03-07T19:02:10.793260 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2021-03-07T19:02:10.794101 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-03-07T19:02:11.564486 #1]  INFO -- :
I, [2021-03-07T19:02:11.565003 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-topic-group-button.git
Cloning into 'discourse-topic-group-button'...
I, [2021-03-07T19:02:11.815980 #1]  INFO -- :
I, [2021-03-07T19:02:11.816469 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2021-03-07T19:02:12.234976 #1]  INFO -- :
I, [2021-03-07T19:02:12.235540 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
I, [2021-03-07T19:02:12.599037 #1]  INFO -- :
I, [2021-03-07T19:02:12.599566 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications.git
Cloning into 'discourse-push-notifications'...
I, [2021-03-07T19:02:12.860682 #1]  INFO -- :
I, [2021-03-07T19:02:12.861181 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign.git
Cloning into 'discourse-assign'...
I, [2021-03-07T19:02:13.266630 #1]  INFO -- :
I, [2021-03-07T19:02:13.267147 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-plugin-linkedin-auth.git
Cloning into 'discourse-plugin-linkedin-auth'...
I, [2021-03-07T19:02:13.523816 #1]  INFO -- :
I, [2021-03-07T19:02:13.524372 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
I, [2021-03-07T19:02:14.108507 #1]  INFO -- :
I, [2021-03-07T19:02:14.109078 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2021-03-07T19:02:14.497095 #1]  INFO -- :
I, [2021-03-07T19:02:14.497618 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
I, [2021-03-07T19:02:14.777011 #1]  INFO -- :
I, [2021-03-07T19:02:14.777522 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-sitemap.git
Cloning into 'discourse-sitemap'...
I, [2021-03-07T19:02:15.062601 #1]  INFO -- :
I, [2021-03-07T19:02:15.063251 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
Cloning into 'discourse-chat-integration'...
I, [2021-03-07T19:02:15.470437 #1]  INFO -- :
I, [2021-03-07T19:02:15.471095 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-03-07T19:02:15.477082 #1]  INFO -- :
I, [2021-03-07T19:02:15.477580 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-03-07T19:02:15.480189 #1]  INFO -- :
I, [2021-03-07T19:02:15.480571 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-03-07T19:02:15.482903 #1]  INFO -- :
I, [2021-03-07T19:02:15.483660 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2021-03-07T19:02:15.484212 #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-07T19:02:15.484669 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2021-03-07T19:02:15.485102 #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-07T19:02:15.485495 #1]  INFO -- : > echo "done configuring web"
I, [2021-03-07T19:02:15.487179 #1]  INFO -- : done configuring web

I, [2021-03-07T19:02:15.487599 #1]  INFO -- : > cd /var/www/discourse && gem update bundler
I, [2021-03-07T19:02:22.175560 #1]  INFO -- : Updating installed gems
Updating bundler
Successfully installed bundler-2.2.13
Gems updated: bundler

I, [2021-03-07T19:02:22.176100 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-03-07T19:02:24.177096 #1]  INFO -- :
I, [2021-03-07T19:02:24.177877 #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-07T19:02:42.800025 #1]  INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.2.13
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.13/lib/bundler/source/path.rb:207:in `load_spec_files'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/git.rb:203:in `load_spec_files'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/path.rb:105:in `local_specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source/git.rb:170:in `specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/lazy_specification.rb:72:in `__materialize__'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/spec_set.rb:85:in `block in materialize'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/spec_set.rb:82:in `map!'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/spec_set.rb:82:in `materialize'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/definition.rb:199:in `missing_specs'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/definition.rb:204:in `missing_specs?'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:288:in `resolve_if_needed'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:83:in `block in run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/process_lock.rb:12:in `block in lock'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/process_lock.rb:9:in `open'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/process_lock.rb:9:in `lock'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:72:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/installer.rb:24:in `install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli/install.rb:64:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:259:in `block in install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/settings.rb:115:in `temporary'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:258:in `install'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:30:in `dispatch'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/cli.rb:24:in `start'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/exe/bundle:49:in `block in <top (required)>'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/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", "email_reply_trimmer", "excon", "faraday-net_http", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "gc_tracer", "guess_html_encoding", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "json", "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/aws-eventstream
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/aws-sigv4
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/discourse-fonts
HTTP GET https://index.rubygems.org/info/fastimage
HTTP GET https://index.rubygems.org/info/ffi
HTTP GET https://index.rubygems.org/info/minitest
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/nio4r
HTTP GET https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/aws-eventstream
HTTP GET https://index.rubygems.org/info/logster
HTTP GET https://index.rubygems.org/info/omniauth
HTTP GET https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/ffi
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sigv4
HTTP 206 Partial Content https://index.rubygems.org/info/nio4r
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/logster
HTTP 206 Partial Content https://index.rubygems.org/info/onebox
HTTP 206 Partial Content https://index.rubygems.org/info/discourse-fonts
HTTP 206 Partial Content https://index.rubygems.org/info/omniauth
HTTP 206 Partial Content https://index.rubygems.org/info/minitest
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/puma
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
Looking up gems ["functional-ruby", "ref", "atomic", "hoe", "weakling", "mini_portile", "mini_portile2", "pkg-config", "erubis", "rails-deprecated_sanitizer", "rack-mount", "rack-cache", "journey", "activemodel-globalid", "mime-types", "treetop", "tlsmail", "bcrypt-ruby", "arel", "activerecord-deprecated_finders", "rspec", "json_pure", "handlebars-source", "ember-template-compiler-source", "snappy", "columnize", "debugger-linecache", "slop", "rb-readline", "rdoc", "hike", "ruby_parser", "rack-ssl", "rb-appscript", "xattr", "ffi-xattr", "rake-compiler", "memcache-client", "termios", "text-format", "jsonapi", "case_transform", "jsonapi-renderer", "eventmachine", "thin", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "ruby-hmac", "faraday-middleware", "httpauth", "bigdecimal", "rails", "hpricot", "pry-doc", "escape_utils", "listen", "trollop", "base32", "bundler", "stud", "win32console", "yard", "spoon", "therubyracer", "moneta", "opengraph_parser", "verbal_expressions", "hexpress", "pdf-reader", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "jamespath", "http-2"]
HTTP GET https://index.rubygems.org/info/bundler
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
Looking up gems ["abstract", "multimap", "mime-types-data", "bcrypt", "rspec-core", "rspec-expectations", "rspec-mocks", "snappy-jars", "ruby_core_source", "debugger-ruby_core_source", "ParseTree", "sexp_processor", "ZenTest", "RubyInline", "text-hyphen", "jsonapi-parser", "daemons", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "sass-listen", "mongrel", "backports", "mustermann", "temple", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "curses", "metriks", "Ascii85", "ruby-rc4", "hashery", "afm", "ttfunk", "restclient", "rest-client", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "rubyforge", "gemcutter", "facets", "polyglot", "spruz", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "sprockets-helpers", "rack-openid", "ruby-openid-apps-discovery"]
HTTP GET https://index.rubygems.org/info/mime-types-data
HTTP 206 Partial Content https://index.rubygems.org/info/mime-types-data
Looking up gems ["diff-lcs", "rspec-support", "archive-tar-minitar", "SexpProcessor", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "tool", "rails-observers", "activemodel-serializers-xml", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "marcel", "mimemagic", "win32-api", "netrc", "http-cookie", "http-accept", "macaddr", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "coveralls", "rubocop", "ruby-openid", "hitimes", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "blankslate", "net-scp", "log4r", "celluloid-gems", "dotenv-deployment"]
HTTP GET https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
Looking up gems ["minitar", "minitar-cli", "coffee-script", "hiredis", "websocket-extensions", "test-unit", "domain_name", "sqlite3", "systemu", "ffi-win32-extensions", "ruby-yadis", "configuration", "mkrf", "net-ssh", "libxml-ruby", "roauth", "colorize", "simplecov", "term-ansicolor", "tins", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast", "regexp_parser"]
HTTP GET https://index.rubygems.org/info/psych
HTTP GET https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/regexp_parser
HTTP 206 Partial Content https://index.rubygems.org/info/psych
Looking up gems ["powerbar", "coffee-script-source", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "sync", "ast", "strscan", "power_assert", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "jar-dependencies"]
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
3:  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
3:  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
3:  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
3:  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
3:  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
3:  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
3:  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
3:  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
3:  public_suffix (4.0.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/public_suffix-4.0.6.gemspec
Fetching aws-eventstream 1.1.1
Using aws-partitions 1.390.0
1:  aws-partitions (1.390.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-partitions-1.390.0.gemspec
Using jmespath 1.4.0
1:  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
1:  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
1:  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
1:  msgpack (1.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
Using bundler 2.2.13
1:  bundler (2.2.13) from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.13/lib/bundler/source
Using byebug 11.1.3
1:  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
1:  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
1:  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
1:  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
1:  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
1:  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
1:  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
1:  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
1:  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
1:  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
1:  thor (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/thor-1.1.0.gemspec
Using discourse-ember-source 3.12.2.2
1:  discourse-ember-source (3.12.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-source-3.12.2.2.gemspec
Fetching discourse-fonts 0.0.7
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
Using email_reply_trimmer 0.1.13
2:  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
2:  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
2:  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
2:  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
2:  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
2:  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
2:  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
Installing aws-eventstream 1.1.1
Installing minitest 5.14.4
3:  aws-eventstream (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-eventstream-1.1.1.gemspec
Using ffi 1.14.2
3:  ffi (1.14.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.14.2.gemspec
Using gc_tracer 1.5.1
3:  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
3:  guess_html_encoding (0.0.11) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/guess_html_encoding-0.0.11.gemspec
Using hashie 4.1.0
3:  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
3:  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
3:  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
3:  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
3:  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
3:  json (2.5.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json-2.5.1.gemspec
Using jwt 2.2.2
3:  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
3:  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)
3:  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
3:  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
2:  fastimage (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fastimage-2.2.3.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
0:  minitest (5.14.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/minitest-5.14.4.gemspec
Using oauth 0.5.5
0:  oauth (0.5.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth-0.5.5.gemspec
Using oj 3.11.2
0:  oj (3.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.2.gemspec
Using optimist 3.0.1
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  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
0:  tzinfo (1.2.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-1.2.9.gemspec
Using nokogiri 1.11.1 (x86_64-linux)
0:  nokogiri (1.11.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.1-x86_64-linux.gemspec
Using rack-test 1.1.0
0:  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)
0:  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
0:  addressable (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/addressable-2.7.0.gemspec
Using barber 0.12.2
0:  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
0:  bootsnap (1.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.2.gemspec
Using openssl-signature_algorithm 1.1.1
0:  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 ember-data-source 3.0.2
0:  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 sprockets 3.7.2
0:  sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
Using discourse_image_optim 0.26.2
0:  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
0:  faraday (1.3.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.3.0.gemspec
Using request_store 1.5.0
0:  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
0:  message_bus (3.3.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.4.gemspec
Using pry 0.13.1
0:  pry (0.13.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-0.13.1.gemspec
Using rack-mini-profiler 2.3.1
0:  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
0:  rack-protection (2.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-protection-2.1.0.gemspec
Using uglifier 4.2.0
0:  uglifier (4.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/uglifier-4.2.0.gemspec
Using aws-sigv4 1.2.2
0:  aws-sigv4 (1.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sigv4-1.2.2.gemspec
Using logstash-logger 0.26.1
0:  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
0:  mini_racer (0.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.3.1.gemspec
Using sidekiq 6.1.3
0:  sidekiq (6.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.1.3.gemspec
Using mini_suffix 0.3.2
0:  mini_suffix (0.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_suffix-0.3.2.gemspec
Using omniauth 1.9.1
0:  omniauth (1.9.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-1.9.1.gemspec
Using redis-namespace 1.8.1
0:  redis-namespace (1.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-namespace-1.8.1.gemspec
Using sassc 2.0.1
0:  sassc (2.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-2.0.1.gemspec
Using webpush 1.1.0
0:  webpush (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/webpush-1.1.0.gemspec
Using rbtrace 0.4.14
0:  rbtrace (0.4.14) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rbtrace-0.4.14.gemspec
Using rqrcode 1.2.0
0:  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
0:  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
0:  unicorn (5.8.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-5.8.0.gemspec
Fetching activesupport 6.0.3.5
Installing logster 2.9.6
Installing activesupport 6.0.3.5
Building native extensions. This could take a while...
3:  logster (2.9.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logster-2.9.6.gemspec
Using loofah 2.9.0
3:  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
3:  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
3:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
Using cose 1.2.0
3:  cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
Using css_parser 1.9.0
3:  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
3:  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 oauth2 1.4.4
3:  oauth2 (1.4.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.4.gemspec
Using aws-sdk-core 3.109.2
3:  aws-sdk-core (3.109.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-core-3.109.2.gemspec
Using mini_scheduler 0.13.0
3:  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
3:  omniauth-oauth (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-oauth-1.2.0.gemspec
Using pry-byebug 3.9.0
3:  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
3:  pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
Using rails-html-sanitizer 1.3.0
3:  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 aws-sdk-kms 1.39.0
3:  aws-sdk-kms (1.39.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.39.0.gemspec
Using aws-sdk-sns 1.35.0
3:  aws-sdk-sns (1.35.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-sns-1.35.0.gemspec
Using omniauth-oauth2 1.7.1
3:  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
3:  omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
Using sanitize 5.2.3
3:  sanitize (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
Using aws-sdk-s3 1.83.2
3:  aws-sdk-s3 (1.83.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-s3-1.83.2.gemspec
Using omniauth-facebook 8.0.0
3:  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
3:  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
3:  omniauth-google-oauth2 (0.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.1.gemspec
Fetching onebox 2.2.6
Installing onebox 2.2.6
Installing discourse-fonts 0.0.7
0:  activesupport (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.0.3.5.gemspec
Using rails-dom-testing 2.0.3
0:  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
0:  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
3:  onebox (2.2.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/onebox-2.2.6.gemspec
Fetching actionview 6.0.3.5
Installing actionview 6.0.3.5
0:  activemodel (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.0.3.5.gemspec
Fetching activejob 6.0.3.5
Installing activejob 6.0.3.5
0:  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
0:  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
3:  actionview (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.0.3.5.gemspec
Fetching actionpack 6.0.3.5
Installing activerecord 6.0.3.5
Installing actionpack 6.0.3.5
3:  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
3:  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
3:  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
0:  activerecord (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.0.3.5.gemspec
Using sprockets-rails 3.2.2
0:  sprockets-rails (3.2.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-rails-3.2.2.gemspec
Using seed-fu 2.3.9
0:  seed-fu (2.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/seed-fu-2.3.9.gemspec
1:  discourse-fonts (0.0.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-fonts-0.0.7.gemspec
3:  railties (6.0.3.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.0.3.5.gemspec
Using jquery-rails 4.4.0
0:  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
0:  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
0:  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
0:  rails_multisite (2.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-2.5.0.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
Using discourse-ember-rails 0.18.6
0:  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
Bundle complete! 124 Gemfile dependencies, 162 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2021-03-07T19:02:42.802645 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
I, [2021-03-07T19:02:48.138143 #1]  INFO -- : gem install omniauth-linkedin-oauth2 -v 1.0.0 -i /var/www/discourse/plugins/discourse-plugin-linkedin-auth/gems/2.7.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omniauth-linkedin-oauth2-1.0.0
1 gem installed
discourse-sitemap is already at latest compatible version
discourse-whos-online is already at latest compatible version
discourse-topic-group-button is already at latest compatible version
discourse-chat-integration is already at latest compatible version
discourse-plugin-linkedin-auth is already at latest compatible version
discourse-adplugin is already at latest compatible version
docker_manager is already at latest compatible version
discourse-data-explorer is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-push-notifications is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-assign is already at latest compatible version

I, [2021-03-07T19:02:48.138872 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2021-03-07 19:02:53.906 UTC [692] discourse@discourse ERROR:  duplicate key value violates unique constraint "index_users_on_username_lower"
2021-03-07 19:02:53.906 UTC [692] discourse@discourse DETAIL:  Key (username_lower)=(ravi_kumar) already exists.
2021-03-07 19:02:53.906 UTC [692] discourse@discourse STATEMENT:  UPDATE users
        SET locale = 'en'
        WHERE locale = 'en_US'

rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_users_on_username_lower"
DETAIL:  Key (username_lower)=(ravi_kumar) already exists.
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.1/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.1/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:91:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:722:in `block (2 levels) in log'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:721:in `block in log'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:712:in `log'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:90:in `execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:890:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:858:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:858:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:879:in `method_missing'
/var/www/discourse/db/migrate/20210120125607_rename_english_locale.rb:17:in `rename_locale'
/var/www/discourse/db/migrate/20210120125607_rename_english_locale.rb:6:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:831:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:9:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:812:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:811:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:810:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1002:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1310:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1361:in `block in ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1361:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1309:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1281:in `block in migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1280:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1280:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1229:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1382:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1229:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1061:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1036:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate'
/var/www/discourse/lib/tasks/db.rake:215:in `block in <main>'
/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>'

Caused by:
PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "index_users_on_username_lower"
DETAIL:  Key (username_lower)=(ravi_kumar) already exists.
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.1/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.1/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:91:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:722:in `block (2 levels) in log'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:721:in `block in log'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:712:in `log'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/postgresql/database_statements.rb:90:in `execute'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:890:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:858:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:858:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:879:in `method_missing'
/var/www/discourse/db/migrate/20210120125607_rename_english_locale.rb:17:in `rename_locale'
/var/www/discourse/db/migrate/20210120125607_rename_english_locale.rb:6:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:831:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:9:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:812:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:811:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:471:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:810:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1002:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1310:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1361:in `block in ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.5/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1361:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1309:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1281:in `block in migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1280:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1280:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1229:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1382:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1229:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1061:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/migration.rb:1036:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate'
/var/www/discourse/lib/tasks/db.rake:215:in `block in <main>'
/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
(See full trace by running task with --trace)
I, [2021-03-07T19:02:53.941455 #1]  INFO -- : == 20210120125607 RenameEnglishLocale: migrating ==============================
-- execute("UPDATE users\nSET locale = 'en_GB'\nWHERE locale = 'en'\n")
   -> 0.0219s
-- execute("UPDATE site_settings\nSET value = 'en_GB'\nWHERE name = 'default_locale' AND value = 'en'\n")
   -> 0.0007s
-- execute("UPDATE translation_overrides\nSET locale = 'en_GB'\nWHERE locale = 'en'\n")
   -> 0.0004s
-- execute("UPDATE theme_translation_overrides\nSET locale = 'en_GB'\nWHERE locale = 'en'\n")
   -> 0.0019s
-- execute("UPDATE users\nSET locale = 'en'\nWHERE locale = 'en_US'\n")

I, [2021-03-07T19:02:53.942239 #1]  INFO -- : Terminating async processes
I, [2021-03-07T19:02:53.942478 #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: 49
2021-03-07 19:02:53.942 UTC [49] LOG:  received fast shutdown request
I, [2021-03-07T19:02:53.942982 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 166
166:signal-handler (1615143773) Received SIGTERM scheduling shutdown...
2021-03-07 19:02:53.948 UTC [49] LOG:  aborting any active transactions
2021-03-07 19:02:53.954 UTC [49] LOG:  background worker "logical replication launcher" (PID 58) exited with exit code 1
2021-03-07 19:02:53.955 UTC [53] LOG:  shutting down
2021-03-07 19:02:53.992 UTC [49] LOG:  database system is shut down
166:M 07 Mar 2021 19:02:54.002 # User requested shutdown...
166:M 07 Mar 2021 19:02:54.003 * Saving the final RDB snapshot before exiting.
166:M 07 Mar 2021 19:02:54.864 * DB saved on disk
166:M 07 Mar 2021 19:02:54.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 672 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'"]}
4974968287e9f64f91caf1c1bf212d81fa1f9068c9c932dc3f5df619d745e01f
** 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.
root@ask:/var/discourse#

Forum is showing error 521

I would try updating once more from the command line via SSH and see if that helps:

cd /var/discourse
./launcher rebuild app

Reply with the log of what happens when you try that.

same error occurred
please help as the forum is down

If you need urgent help I suggest paying Jay at literatecomputing.com for support.

It looks like youā€™re hitting duplicate key value errors:

I, [2021-03-07T19:02:48.138872 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2021-03-07 19:02:53.906 UTC [692] discourse@discourse ERROR:  duplicate key value violates unique constraint "index_users_on_username_lower"
2021-03-07 19:02:53.906 UTC [692] discourse@discourse DETAIL:  Key (username_lower)=(ravi_kumar) already exists.
2021-03-07 19:02:53.906 UTC [692] discourse@discourse STATEMENT:  UPDATE users

There are a few topics on this if you search for the unique words in that error.

2 Likes

Looks like you have a corruption in your users table ā€¦ one record for ravi_kumar appears twice.

Very complicated to fix, recommend you commission help. You need to boot up the postgres server and delete the dupe record.

3 Likes

Yep, to give you an idea of whatā€™s involved take a look at this example of a similar problem and resolution on a different table: Failed upgrade: UniqueViolation: duplicate key value violates unique constraint "data_explorer_queries_pkey"

3 Likes

Where can I run the following command?
SELECT username_lower, count() from users GROUP by username_lower HAVING count() > 1;
it shows following error
bash: syntax error near unexpected token `(ā€™

Did you follow the same process as the link I shared, specifically?:

Nothing is happening using the following commands
can anyone help to solve this?

root@ask:~# cd /var/discourse
root@ask:/var/discourse# ./launcher enter app
root@ask-app:/var/www/discourse# su postgres -c ā€˜psql discourseā€™
psql (13.1 (Debian 13.1-1.pgdg100+1))
Type ā€œhelpā€ for help.

discourse=#

Thatā€™s just logged you into the database CLI. Now you need to explore and rectify the issue.

Can you tell me the next step?

You need to run a query to group on that value on users table and return results where count is more than one then identify which rows are effected and delete the most suitable one.

The query above looks good. Have you not tried that yet?

SELECT username_lower, count(*) from users GROUP by username_lower HAVING count(*) > 1;

Yes I have already run this command but it gives following error
bash: syntax error near unexpected token `(ā€™

do I need to run it at root level or in

/var/discourse

Well why donā€™t you work out the error? Iā€™ve updated the command above to remove two spaces. Perhaps that solves it.

Please put in more effort.

If you get an error message try to understand what the error is telling you and that should give you a strong clue on how to fix it.

You shouldnā€™t need to move from the psql cli. Thatā€™s not showing you the path location, I believe itā€™s showing the database name.

1 Like

You need to run it in the psql cli which is where you got to. Itā€™s NOT a bash command so no point trying to enter it to the normal bash cli.

1 Like

can you please tell me full command sequence?

what you are trying to do is the following:

  1. navigate to the root discourse directory (cd ...)
  2. enter the container (./launcher ...)
  3. enter the database CLI (su postgres ...)
  4. run the database queries. (SELECT ... and blah)

You have all those.

4 Likes