Forum went down and rebuilding gives db:migrate error

Hello. Our forum (https://forum.pardus.org.tr) went down and when I enter the console and try to rebuild, I got the error:

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 606 exit 1>

Another error up in the log is:

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

ERROR:  unsupported Unicode escape sequence
DETAIL:  \u0000 cannot be converted to text.

The log is below. I disabled all plugins, upgraded the system, rebooted the system but none have worked.
After an unsuccessful rebuild, the app does not start but when I run ./launcher start app it starts. Then, the website shows a blank screen with some custom CSS loaded in the background:

System is Ubuntu 16.04.7 LTS and we are using the Docker version of Discourse.

Do you have any suggestions?

Complete Log:

root@pardus:/var/discourse# git pull
Already up-to-date.
root@pardus:/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 && git checkout v1.0.3 && /pups/bin/pups --stdin
From https://github.com/discourse/pups
   17f04ec..ebe1069  master       -> origin/master
 + 4db217f...af226b0 gen-env-args -> origin/gen-env-args  (forced update)
Updating 17f04ec..ebe1069
Fast-forward
 .github/workflows/ci.yml     |  29 ++++++
 .github/workflows/lint.yml   |  27 ++++++
 .rubocop.yml                 |   3 +
 Gemfile                      |   2 +
 Guardfile                    |   4 +-
 README.md                    |  12 +++
 Rakefile                     |  14 +--
 bin/pups                     |   8 +-
 lib/pups.rb                  |  32 ++++---
 lib/pups/cli.rb              |  86 +++++++++--------
 lib/pups/command.rb          |  25 ++---
 lib/pups/config.rb           | 222 +++++++++++++++++++++----------------------
 lib/pups/exec_command.rb     | 182 ++++++++++++++++++-----------------
 lib/pups/file_command.rb     |  60 ++++++------
 lib/pups/merge_command.rb    |  94 +++++++++---------
 lib/pups/replace_command.rb  |  70 +++++++-------
 lib/pups/runit.rb            |  47 +++++----
 lib/pups/version.rb          |   4 +-
 pups.gemspec                 |  37 ++++----
 test/cli_test.rb             |  44 ++++++---
 test/config_test.rb          | 165 ++++++++++++++++++++------------
 test/exec_command_test.rb    |  62 ++++++------
 test/file_command_test.rb    |  17 ++--
 test/merge_command_test.rb   |  64 ++++++-------
 test/replace_command_test.rb |  86 ++++++++---------
 test/test_helper.rb          |   2 +
 26 files changed, 780 insertions(+), 618 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 create mode 100644 .github/workflows/lint.yml
 create mode 100644 .rubocop.yml
Note: checking out 'v1.0.3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d1db030 cut a new version
I, [2021-06-14T20:43:19.976735 #1]  INFO -- : Loading --stdin
I, [2021-06-14T20:43:19.983799 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2021-06-14T20:43:20.100506 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2021-06-14T20:43:20.101476 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2021-06-14T20:43:20.120154 #1]  INFO -- : 
I, [2021-06-14T20:43:20.122575 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2021-06-14T20:43:20.129408 #1]  INFO -- : 
I, [2021-06-14T20:43:20.130175 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2021-06-14T20:43:20.135192 #1]  INFO -- : 
I, [2021-06-14T20:43:20.135721 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2021-06-14T20:43:20.140161 #1]  INFO -- : 
I, [2021-06-14T20:43:20.140743 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2021-06-14T20:43:20.146673 #1]  INFO -- : 
I, [2021-06-14T20:43:20.147212 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2021/06/14 20:43:20 socat[32] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2021-06-14T20:43:20.173287 #1]  INFO -- : 
I, [2021-06-14T20:43:20.173784 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2021-06-14T20:43:20.179456 #1]  INFO -- : 
I, [2021-06-14T20:43:20.179915 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2021-06-14T20:43:20.184575 #1]  INFO -- : 
I, [2021-06-14T20:43:20.185051 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-14T20:43:20.188867 #1]  INFO -- : 
I, [2021-06-14T20:43:20.189503 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2021-06-14T20:43:20.192744 #1]  INFO -- : 
I, [2021-06-14T20:43:20.200309 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2021-06-14T20:43:20.206820 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2021-06-14T20:43:20.213637 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2021-06-14T20:43:20.220171 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2021-06-14T20:43:20.220635 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2021-06-14T20:43:20.876768 #1]  INFO -- : 
I, [2021-06-14T20:43:20.877210 #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-06-14T20:43:20.882644 #1]  INFO -- : 
I, [2021-06-14T20:43:20.882848 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2021-06-14T20:43:20.928151 #1]  INFO -- : 
I, [2021-06-14T20:43:20.928800 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2021-06-14T20:43:20.934584 #1]  INFO -- : 
I, [2021-06-14T20:43:20.935465 #1]  INFO -- : > /root/upgrade_postgres
I, [2021-06-14T20:43:20.945676 #1]  INFO -- : 
I, [2021-06-14T20:43:20.946088 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2021-06-14T20:43:20.949097 #1]  INFO -- : 
I, [2021-06-14T20:43:20.950937 #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-06-14T20:43:20.951899 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-14T20:43:20.953130 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-14T20:43:20.954157 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-14T20:43:20.955090 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-14T20:43:20.955919 #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-06-14T20:43:20.957005 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2021-06-14T20:43:20.966382 #1]  INFO -- : 
I, [2021-06-14T20:43:20.967335 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-14T20:43:20.968116 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2021-06-14T20:43:20.969279 #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-06-14T20:43:20.970202 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2021-06-14T20:43:20.971016 #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-06-14T20:43:20.972338 #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-06-14T20:43:20.975654 #1]  INFO -- : > sleep 5
2021-06-14 20:43:21.164 UTC [55] LOG:  starting PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2021-06-14 20:43:21.165 UTC [55] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-06-14 20:43:21.165 UTC [55] LOG:  listening on IPv6 address "::", port 5432
2021-06-14 20:43:21.172 UTC [55] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-06-14 20:43:21.187 UTC [58] LOG:  database system was shut down at 2021-06-14 20:43:07 UTC
2021-06-14 20:43:21.214 UTC [55] LOG:  database system is ready to accept connections
I, [2021-06-14T20:43:25.983349 #1]  INFO -- : 
I, [2021-06-14T20:43:25.984446 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2021-06-14 20:43:26.169 UTC [68] postgres@postgres ERROR:  database "discourse" already exists
2021-06-14 20:43:26.169 UTC [68] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2021-06-14T20:43:26.176701 #1]  INFO -- : 
I, [2021-06-14T20:43:26.177002 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2021-06-14 20:43:26.300 UTC [79] postgres@discourse ERROR:  role "discourse" already exists
2021-06-14 20:43:26.300 UTC [79] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2021-06-14T20:43:26.303983 #1]  INFO -- : 
I, [2021-06-14T20:43:26.304385 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2021-06-14T20:43:26.398821 #1]  INFO -- : GRANT

I, [2021-06-14T20:43:26.399108 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2021-06-14T20:43:26.483017 #1]  INFO -- : ALTER SCHEMA

I, [2021-06-14T20:43:26.483445 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2021-06-14T20:43:26.601361 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-14T20:43:26.601596 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2021-06-14T20:43:26.681708 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-14T20:43:26.682557 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2021-06-14T20:43:26.771819 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-14T20:43:26.772095 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2021-06-14T20:43:26.859172 #1]  INFO -- : CREATE EXTENSION

I, [2021-06-14T20:43:26.859684 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2021-06-14T20:43:26.864324 #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-06-14T20:43:27.012727 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2021-06-14T20:43:27.018312 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2021-06-14T20:43:27.018442 #1]  INFO -- : > echo postgres installed!
I, [2021-06-14T20:43:27.021238 #1]  INFO -- : postgres installed!

I, [2021-06-14T20:43:27.028213 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2021-06-14T20:43:27.034695 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2021-06-14T20:43:27.041086 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2021-06-14T20:43:27.041875 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.042713 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.044658 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2021-06-14T20:43:27.048290 #1]  INFO -- : 
I, [2021-06-14T20:43:27.049013 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.049645 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.051683 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.053735 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.055899 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2021-06-14T20:43:27.058009 #1]  INFO -- : > echo redis installed
I, [2021-06-14T20:43:27.061320 #1]  INFO -- : redis installed

I, [2021-06-14T20:43:27.061883 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2021-06-14T20:43:27.069345 #1]  INFO -- : logfile ""

I, [2021-06-14T20:43:27.070056 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-14T20:43:27.072228 #1]  INFO -- : > sleep 10
172:C 14 Jun 2021 20:43:27.083 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
172:C 14 Jun 2021 20:43:27.083 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=172, just started
172:C 14 Jun 2021 20:43:27.083 # Configuration loaded
172:M 14 Jun 2021 20:43:27.084 * monotonic clock: POSIX clock_gettime
172:M 14 Jun 2021 20:43:27.085 * Running mode=standalone, port=6379.
172:M 14 Jun 2021 20:43:27.086 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
172:M 14 Jun 2021 20:43:27.086 # Server initialized
172:M 14 Jun 2021 20:43:27.086 # 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.
172:M 14 Jun 2021 20:43:27.086 * Loading RDB produced by version 6.2.1
172:M 14 Jun 2021 20:43:27.086 * RDB age 22 seconds
172:M 14 Jun 2021 20:43:27.086 * RDB memory usage when created 33.91 Mb
172:M 14 Jun 2021 20:43:27.250 * DB loaded from disk: 0.164 seconds
172:M 14 Jun 2021 20:43:27.250 * Ready to accept connections
I, [2021-06-14T20:43:37.077667 #1]  INFO -- : 
I, [2021-06-14T20:43:37.078562 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2021-06-14T20:43:37.091668 #1]  INFO -- : thpoff is installed!

I, [2021-06-14T20:43:37.092496 #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-06-14T20:43:37.231617 #1]  INFO -- : 
I, [2021-06-14T20:43:37.232119 #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-06-14T20:43:37.332854 #1]  INFO -- : 
I, [2021-06-14T20:43:37.333974 #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-06-14T20:43:37.440820 #1]  INFO -- : 
I, [2021-06-14T20:43:37.441063 #1]  INFO -- : > chown -R discourse /home/discourse
I, [2021-06-14T20:43:37.538075 #1]  INFO -- : 
I, [2021-06-14T20:43:37.538616 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2021-06-14T20:43:37.547281 #1]  INFO -- : 
I, [2021-06-14T20:43:37.552659 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2021-06-14T20:43:37.559876 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2021-06-14T20:43:37.566833 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2021-06-14T20:43:37.573935 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2021-06-14T20:43:37.587581 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2021-06-14T20:43:37.594449 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2021-06-14T20:43:37.594597 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2021-06-14T20:43:37.594867 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2021-06-14T20:43:37.597846 #1]  INFO -- : > cd /var/www/discourse && git reset --hard
200:C 14 Jun 2021 20:43:37.605 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
200:C 14 Jun 2021 20:43:37.605 # Redis version=6.2.3, bits=64, commit=00000000, modified=0, pid=200, just started
200:C 14 Jun 2021 20:43:37.605 # Configuration loaded
200:M 14 Jun 2021 20:43:37.606 * monotonic clock: POSIX clock_gettime
200:M 14 Jun 2021 20:43:37.607 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
200:M 14 Jun 2021 20:43:37.607 # Failed listening on port 6379 (TCP), aborting.
Checking out files: 100% (28860/28860), done.
I, [2021-06-14T20:43:42.073375 #1]  INFO -- : HEAD is now at 74f71503 FEATURE: Automatically timed delete stub topics after entire topic is merged into another topic (#13187)

I, [2021-06-14T20:43:42.074080 #1]  INFO -- : > cd /var/www/discourse && git clean -f
I, [2021-06-14T20:43:42.219169 #1]  INFO -- : 
I, [2021-06-14T20:43:42.219598 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches --add origin master
I, [2021-06-14T20:43:42.229970 #1]  INFO -- : 
I, [2021-06-14T20:43:42.230355 #1]  INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2021-06-14T20:43:42.238944 #1]  INFO -- : 
I, [2021-06-14T20:43:42.239762 #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-06-14T20:43:45.057423 #1]  INFO -- : 
I, [2021-06-14T20:43:45.058071 #1]  INFO -- : > cd /var/www/discourse && git checkout tests-passed
Switched to a new branch 'tests-passed'
I, [2021-06-14T20:43:45.816357 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2021-06-14T20:43:45.817039 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2021-06-14T20:43:45.826749 #1]  INFO -- : 
I, [2021-06-14T20:43:45.827249 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2021-06-14T20:43:45.831952 #1]  INFO -- : 
I, [2021-06-14T20:43:45.832450 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2021-06-14T20:43:45.837227 #1]  INFO -- : 
I, [2021-06-14T20:43:45.837784 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2021-06-14T20:43:45.842277 #1]  INFO -- : 
I, [2021-06-14T20:43:45.842839 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2021-06-14T20:43:45.848716 #1]  INFO -- : 
I, [2021-06-14T20:43:45.849244 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2021-06-14T20:43:45.853781 #1]  INFO -- : 
I, [2021-06-14T20:43:45.854368 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2021-06-14T20:43:45.862602 #1]  INFO -- : 
I, [2021-06-14T20:43:45.862982 #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-06-14T20:43:45.870208 #1]  INFO -- : 
I, [2021-06-14T20:43:45.870773 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2021-06-14T20:43:45.879241 #1]  INFO -- : 
I, [2021-06-14T20:43:45.879855 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2021-06-14T20:43:45.887230 #1]  INFO -- : 
I, [2021-06-14T20:43:45.887785 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2021-06-14T20:43:45.896465 #1]  INFO -- : 
I, [2021-06-14T20:43:45.897013 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2021-06-14T20:43:45.904285 #1]  INFO -- : 
I, [2021-06-14T20:43:45.904987 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2021-06-14T20:43:46.506807 #1]  INFO -- : 
I, [2021-06-14T20:43:46.507139 #1]  INFO -- : > cd /var/www/discourse && find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2021-06-14T20:43:46.516332 #1]  INFO -- : 
I, [2021-06-14T20:43:46.516985 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2021-06-14T20:43:46.518700 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2021-06-14T20:43:47.994787 #1]  INFO -- : 
I, [2021-06-14T20:43:47.995523 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2021-06-14T20:43:48.894663 #1]  INFO -- : 
I, [2021-06-14T20:43:48.895108 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign.git
Cloning into 'discourse-assign'...
I, [2021-06-14T20:43:49.890703 #1]  INFO -- : 
I, [2021-06-14T20:43:49.891259 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
I, [2021-06-14T20:43:50.858131 #1]  INFO -- : 
I, [2021-06-14T20:43:50.858720 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-canned-replies.git
Cloning into 'discourse-canned-replies'...
I, [2021-06-14T20:43:51.880063 #1]  INFO -- : 
I, [2021-06-14T20:43:51.880335 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-tooltips.git
Cloning into 'discourse-tooltips'...
I, [2021-06-14T20:43:52.740379 #1]  INFO -- : 
I, [2021-06-14T20:43:52.740818 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-characters-required.git
Cloning into 'discourse-characters-required'...
I, [2021-06-14T20:43:53.556996 #1]  INFO -- : 
I, [2021-06-14T20:43:53.557554 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
I, [2021-06-14T20:43:54.909869 #1]  INFO -- : 
I, [2021-06-14T20:43:54.911115 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2021-06-14T20:43:55.842237 #1]  INFO -- : 
I, [2021-06-14T20:43:55.843187 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-yearly-review.git
Cloning into 'discourse-yearly-review'...
I, [2021-06-14T20:43:56.661489 #1]  INFO -- : 
I, [2021-06-14T20:43:56.661858 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
I, [2021-06-14T20:43:57.494156 #1]  INFO -- : 
I, [2021-06-14T20:43:57.495054 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
Cloning into 'discourse-chat-integration'...
I, [2021-06-14T20:43:58.580532 #1]  INFO -- : 
I, [2021-06-14T20:43:58.580764 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
Cloning into 'discourse-checklist'...
I, [2021-06-14T20:43:59.532088 #1]  INFO -- : 
I, [2021-06-14T20:43:59.532553 #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-06-14T20:44:00.442385 #1]  INFO -- : 
I, [2021-06-14T20:44:00.443170 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-footnote.git
Cloning into 'discourse-footnote'...
I, [2021-06-14T20:44:01.360433 #1]  INFO -- : 
I, [2021-06-14T20:44:01.360724 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bcc.git
Cloning into 'discourse-bcc'...
I, [2021-06-14T20:44:02.397428 #1]  INFO -- : 
I, [2021-06-14T20:44:02.398230 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications.git
Cloning into 'discourse-push-notifications'...
I, [2021-06-14T20:44:03.251425 #1]  INFO -- : 
I, [2021-06-14T20:44:03.252219 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-follow.git
Cloning into 'discourse-follow'...
I, [2021-06-14T20:44:04.130192 #1]  INFO -- : 
I, [2021-06-14T20:44:04.130759 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/davidtaylorhq/discourse-telegram-notifications.git
Cloning into 'discourse-telegram-notifications'...
I, [2021-06-14T20:44:04.841531 #1]  INFO -- : 
I, [2021-06-14T20:44:04.842641 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2021-06-14T20:44:04.849495 #1]  INFO -- : 
I, [2021-06-14T20:44:04.850244 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2021-06-14T20:44:04.853726 #1]  INFO -- : 
I, [2021-06-14T20:44:04.854379 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2021-06-14T20:44:04.858443 #1]  INFO -- : 
I, [2021-06-14T20:44:04.859257 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2021-06-14T20:44:04.860061 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2021-06-14T20:44:04.860716 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2021-06-14T20:44:04.861470 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2021-06-14T20:44:04.862438 #1]  INFO -- : > echo "done configuring web"
I, [2021-06-14T20:44:04.865608 #1]  INFO -- : done configuring web

I, [2021-06-14T20:44:04.866449 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2021-06-14T20:44:06.350029 #1]  INFO -- : Successfully installed bundler-2.2.19
1 gem installed

I, [2021-06-14T20:44:06.350429 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2021-06-14T20:44:07.650595 #1]  INFO -- : 
I, [2021-06-14T20:44:07.651328 #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-06-14T20:44:17.141416 #1]  INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.2.19
Frozen, using resolution from the lockfile
The definition is missing ["concurrent-ruby-1.1.9", "nokogiri-1.11.7-x86_64-linux", "loofah-2.10.0", "fastimage-2.2.4", "message_bus-3.3.6", "redis-4.3.1"]
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/
Double checking for ["rake", "concurrent-ruby", "i18n", "minitest", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "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", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "exifr", "faraday-em_http", "faraday-em_synchrony", "faraday-excon", "faraday-net_http", "faraday-net_http_persistent", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "fspath", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "image_size", "in_threads", "progress", "image_optim", "json", "uri_template", "json_schemer", "jwt", "kgio", "libv8-node", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "lz4-ruby", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "multi_json", "multi_xml", "mustache", "nio4r", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-twitter", "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", "sanitize", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"] in rubygems repository https://rubygems.org/ or installed locally
Fetching gem metadata from https://rubygems.org/
Looking up gems ["rake", "concurrent-ruby", "i18n", "minitest", "tzinfo", "zeitwerk", "activesupport", "builder", "erubi", "racc", "nokogiri", "rails-dom-testing", "crass", "loofah", "rails-html-sanitizer", "actionview", "rack", "rack-test", "actionpack", "globalid", "activejob", "mini_mime", "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", "regexp_parser", "ecma-re-validator", "email_reply_trimmer", "excon", "exifr", "faraday-em_http", "faraday-em_synchrony", "faraday-excon", "faraday-net_http", "faraday-net_http_persistent", "multipart-post", "ruby2_keywords", "faraday", "fast_blank", "fast_xs", "fastimage", "ffi", "fspath", "gc_tracer", "guess_html_encoding", "hana", "hashie", "highline", "hkdf", "htmlentities", "http_accept_language", "image_size", "in_threads", "progress", "image_optim", "json", "uri_template", "json_schemer", "jwt", "kgio", "libv8-node", "request_store", "lograge", "logstash-event", "logstash-logger", "logster", "lru_redux", "lz4-ruby", "maxminddb", "memory_profiler", "message_bus", "mini_racer", "redis", "sidekiq", "mini_scheduler", "mini_sql", "mini_suffix", "multi_json", "multi_xml", "mustache", "nio4r", "nokogumbo", "oauth", "oauth2", "oj", "omniauth", "omniauth-oauth2", "omniauth-facebook", "omniauth-github", "omniauth-google-oauth2", "omniauth-oauth", "omniauth-twitter", "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", "sanitize", "sassc", "sprockets-rails", "tilt", "sassc-rails", "seed-fu", "sshkey", "stackprof", "uglifier", "unf_ext", "unf", "unicorn", "webpush", "xorcist"]
HTTP GET https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/aws-partitions
HTTP GET https://index.rubygems.org/info/nokogiri
HTTP GET https://index.rubygems.org/info/loofah
HTTP 206 Partial Content https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/aws-sdk-sns
HTTP GET https://index.rubygems.org/info/aws-sdk-core
HTTP GET https://index.rubygems.org/info/aws-sdk-s3
HTTP 206 Partial Content https://index.rubygems.org/info/loofah
HTTP 206 Partial Content https://index.rubygems.org/info/aws-partitions
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-sns
HTTP 206 Partial Content https://index.rubygems.org/info/nokogiri
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-core
HTTP 206 Partial Content https://index.rubygems.org/info/aws-sdk-s3
HTTP GET https://index.rubygems.org/info/message_bus
HTTP GET https://index.rubygems.org/info/fastimage
HTTP GET https://index.rubygems.org/info/oj
HTTP GET https://index.rubygems.org/info/cppjieba_rb
HTTP 206 Partial Content https://index.rubygems.org/info/message_bus
HTTP 206 Partial Content https://index.rubygems.org/info/fastimage
HTTP 206 Partial Content https://index.rubygems.org/info/oj
HTTP 206 Partial Content https://index.rubygems.org/info/cppjieba_rb
HTTP GET https://index.rubygems.org/info/redis
HTTP 206 Partial Content https://index.rubygems.org/info/redis
Looking up gems ["jsonapi", "case_transform", "jsonapi-renderer", "arel", "activerecord-deprecated_finders", "memcache-client", "thread_safe", "rails-deprecated_sanitizer", "json_pure", "erubis", "handlebars-source", "rack-mount", "rack-cache", "journey", "columnize", "debugger-linecache", "slop", "rb-readline", "hike", "activemodel-globalid", "bcrypt-ruby", "rdoc", "ember-template-compiler-source", "snappy", "mail", "text-format", "rails", "functional-ruby", "ref", "rspec", "rack-ssl", "ruby_parser", "rb-appscript", "xattr", "ffi-xattr", "net-http-persistent", "stud", "jamespath", "http-2", "ruby-hmac", "faraday-middleware", "httpauth", "win32console", "yard", "spoon", "pry-doc", "hoe", "weakling", "mini_portile", "mini_portile2", "pkg-config", "rake-compiler", "celluloid", "compass", "sass", "sprockets-sass", "sinatra", "slim", "rdf", "termios", "base32", "libv8", "hpricot", "oa-core", "oa-oauth", "oa-openid", "oa-basic", "oa-enterprise", "oa-more", "listen", "therubyracer", "bundler", "eventmachine", "thin", "escape_utils", "trollop", "bigdecimal"]
HTTP GET https://index.rubygems.org/info/slop
HTTP GET https://index.rubygems.org/info/mini_portile2
HTTP GET https://index.rubygems.org/info/rdf
HTTP GET https://index.rubygems.org/info/hoe
HTTP 206 Partial Content https://index.rubygems.org/info/slop
HTTP 206 Partial Content https://index.rubygems.org/info/mini_portile2
HTTP GET https://index.rubygems.org/info/bundler
HTTP 206 Partial Content https://index.rubygems.org/info/rdf
HTTP 206 Partial Content https://index.rubygems.org/info/hoe
HTTP 206 Partial Content https://index.rubygems.org/info/bundler
Looking up gems ["jsonapi-parser", "ZenTest", "RubyInline", "atomic", "spruz", "multimap", "ruby_core_source", "debugger-ruby_core_source", "rspec-core", "rspec-expectations", "rspec-mocks", "metriks", "timers", "facter", "celluloid-essentials", "celluloid-extras", "celluloid-fsm", "celluloid-pool", "celluloid-supervision", "dotenv", "nenv", "rspec-logsplit", "haml", "fssm", "compass-core", "compass-import-once", "rb-fsevent", "rb-inotify", "temple", "snappy-jars", "net-ldap", "rubyntlm", "pyu-ruby-sasl", "uuid", "XMLCanonicalizer", "mongrel", "backports", "mustermann", "rb-fchange", "rb-kqueue", "celluloid-io", "ruby_dep", "daemons", "curses", "ParseTree", "sexp_processor", "abstract", "bcrypt", "text-hyphen", "restclient", "rest-client", "sprockets-helpers", "mime-types", "treetop", "tlsmail", "activeresource", "actionwebservice", "actioncable", "activestorage", "actionmailbox", "actiontext", "net-ftp", "rack-openid", "ruby-openid-apps-discovery", "sass-listen", "link_header", "hamster", "rubyforge", "gemcutter"]
HTTP GET https://index.rubygems.org/info/facter
HTTP GET https://index.rubygems.org/info/curses
HTTP GET https://index.rubygems.org/info/net-ftp
HTTP 206 Partial Content https://index.rubygems.org/info/facter
HTTP 206 Partial Content https://index.rubygems.org/info/curses
HTTP 200 OK https://index.rubygems.org/info/net-ftp
Looking up gems ["archive-tar-minitar", "rspec-support", "diff-lcs", "macaddr", "log4r", "cgi_multipart_eof_fix", "fastthread", "gem_plugin", "win32-api", "tool", "hitimes", "rbtree", "faraday_middleware", "yajl-ruby", "avl_tree", "celluloid-gems", "coveralls", "rubocop", "facets", "polyglot", "dotenv-deployment", "SexpProcessor", "rails-observers", "activemodel-serializers-xml", "netrc", "http-cookie", "http-accept", "mime-types-data", "ruby-openid", "coffee-rails", "em-hiredis", "faye-websocket", "websocket-driver", "net-scp", "marcel", "mimemagic", "CFPropertyList", "sys-admin", "win32-dir", "windows-api", "windows-pr", "win32-security", "hocon", "net-protocol", "time"]
HTTP GET https://index.rubygems.org/info/http-cookie
HTTP GET https://index.rubygems.org/info/net-protocol
HTTP GET https://index.rubygems.org/info/time
HTTP GET https://index.rubygems.org/info/rubocop
HTTP GET https://index.rubygems.org/info/websocket-driver
HTTP 206 Partial Content https://index.rubygems.org/info/http-cookie
HTTP 200 OK https://index.rubygems.org/info/time
HTTP 200 OK https://index.rubygems.org/info/net-protocol
HTTP 206 Partial Content https://index.rubygems.org/info/rubocop
HTTP 206 Partial Content https://index.rubygems.org/info/websocket-driver
Looking up gems ["minitar", "minitar-cli", "systemu", "test-unit", "configuration", "mkrf", "roauth", "ruby-yadis", "coffee-script", "ffi-win32-extensions", "colorize", "simplecov", "term-ansicolor", "tins", "net-ssh", "hiredis", "libxml-ruby", "domain_name", "sqlite3", "io-wait", "timeout", "rainbow", "parser", "powerpack", "ruby-progressbar", "astrolabe", "unicode-display_width", "parallel", "jaro_winkler", "psych", "rexml", "rubocop-ast", "websocket-extensions"]
HTTP GET https://index.rubygems.org/info/test-unit
HTTP GET https://index.rubygems.org/info/timeout
HTTP GET https://index.rubygems.org/info/io-wait
HTTP GET https://index.rubygems.org/info/psych
HTTP 206 Partial Content https://index.rubygems.org/info/test-unit
HTTP 200 OK https://index.rubygems.org/info/timeout
HTTP 206 Partial Content https://index.rubygems.org/info/psych
HTTP 200 OK https://index.rubygems.org/info/io-wait
Looking up gems ["coffee-script-source", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "sync", "ast", "strscan", "powerbar", "needle", "jruby-pageant", "bcrypt_pbkdf", "rbnacl", "rbnacl-libsodium", "power_assert", "jar-dependencies"]
Looking up gems ["ruby-maven", "pattern-match", "ansi"]
Looking up gems ["maven-tools", "ruby-maven-libs"]
Looking up gems ["virtus"]
HTTP GET https://index.rubygems.org/info/virtus
HTTP 206 Partial Content https://index.rubygems.org/info/virtus
Looking up gems ["descendants_tracker", "axiom-types", "coercible", "equalizer"]
Looking up gems ["adamantium", "ice_nine"]
Looking up gems ["memoizable"]
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
Fetching concurrent-ruby 1.1.9
Using minitest 5.14.4
3:  minitest (5.14.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/minitest-5.14.4.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.1.0
3:  mini_mime (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_mime-1.1.0.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
Using aws-eventstream 1.1.1
3:  aws-eventstream (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-eventstream-1.1.1.gemspec
Using aws-partitions 1.432.0
3:  aws-partitions (1.432.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-partitions-1.432.0.gemspec
Using jmespath 1.4.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.8.1
Using msgpack 1.4.2
Using bundler 2.2.19
3:  execjs (2.8.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/execjs-2.8.1.gemspec
Using byebug 11.1.3
2:  bundler (2.2.19) from /usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/lib/bundler/source
Using cbor 0.5.9.6
2:  cbor (0.5.9.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cbor-0.5.9.6.gemspec
0:  msgpack (1.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/msgpack-1.4.2.gemspec
Using chunky_png 1.4.0
Using coderay 1.1.3
0:  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
0:  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.5
0:  connection_pool (2.2.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/connection_pool-2.2.5.gemspec
Using openssl 2.2.0
0:  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
0:  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
0:  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
0:  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
0:  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.3
0:  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 discourse-fonts 0.0.8
0:  discourse-fonts (0.0.8) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-fonts-0.0.8.gemspec
Using regexp_parser 2.1.1
0:  regexp_parser (2.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/regexp_parser-2.1.1.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.82.0
0:  excon (0.82.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/excon-0.82.0.gemspec
Using exifr 1.3.9
0:  exifr (1.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/exifr-1.3.9.gemspec
Using faraday-em_http 1.0.0
0:  faraday-em_http (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-em_http-1.0.0.gemspec
Using faraday-em_synchrony 1.0.0
0:  faraday-em_synchrony (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-em_synchrony-1.0.0.gemspec
Using faraday-excon 1.1.0
0:  faraday-excon (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-excon-1.1.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 faraday-net_http_persistent 1.1.0
0:  faraday-net_http_persistent (1.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-net_http_persistent-1.1.0.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
2:  chunky_png (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/chunky_png-1.4.0.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
0:  ruby2_keywords (0.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby2_keywords-0.0.4.gemspec
Using ffi 1.15.1
0:  ffi (1.15.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ffi-1.15.1.gemspec
Using fspath 3.1.2
0:  fspath (3.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fspath-3.1.2.gemspec
Using gc_tracer 1.5.1
0:  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
0:  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 hana 1.3.7
0:  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
0:  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
0:  highline (2.0.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/highline-2.0.3.gemspec
Fetching fastimage 2.2.4
Using hkdf 0.3.0
0:  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
0:  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
0:  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 image_size 2.1.0
0:  image_size (2.1.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_size-2.1.0.gemspec
Using in_threads 1.5.4
0:  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.6.0
0:  progress (3.6.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/progress-3.6.0.gemspec
Using json 2.5.1
0:  json (2.5.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json-2.5.1.gemspec
Using uri_template 0.7.0
0:  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.3
0:  jwt (2.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jwt-2.2.3.gemspec
Using kgio 2.11.4
0:  kgio (2.11.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/kgio-2.11.4.gemspec
Using libv8-node 15.14.0.1 (x86_64-linux)
0:  libv8-node (15.14.0.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/libv8-node-15.14.0.1-x86_64-linux.gemspec
Using logstash-event 1.2.02
0:  logstash-event (1.2.02) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/logstash-event-1.2.02.gemspec
Using logster 2.9.6
0:  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
0:  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
0:  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
0:  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
0:  memory_profiler (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/memory_profiler-1.0.0.gemspec
Fetching redis 4.3.1
3:  byebug (11.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/byebug-11.1.3.gemspec
Using mini_sql 1.1.3
3:  mini_sql (1.1.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_sql-1.1.3.gemspec
Using multi_json 1.15.0
3:  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
3:  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
3:  mustache (1.1.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mustache-1.1.1.gemspec
Using nio4r 2.5.7
3:  nio4r (2.5.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nio4r-2.5.7.gemspec
Using oauth 0.5.6
3:  oauth (0.5.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth-0.5.6.gemspec
Using oj 3.11.5
3:  oj (3.11.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oj-3.11.5.gemspec
Using optimist 3.0.1
3:  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
3:  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
3:  r2 (0.2.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/r2-0.2.7.gemspec
Using raindrops 0.19.2
3:  raindrops (0.19.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/raindrops-0.19.2.gemspec
Using rchardet 1.8.0
3:  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
3:  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
3:  rotp (6.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rotp-6.2.0.gemspec
Using rqrcode_core 1.0.0
3:  rqrcode_core (1.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode_core-1.0.0.gemspec
Using rtlit 0.0.5
3:  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
3:  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
3:  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
3:  sshkey (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sshkey-2.0.0.gemspec
Using stackprof 0.2.17
3:  stackprof (0.2.17) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/stackprof-0.2.17.gemspec
Using unf_ext 0.0.7.7
3:  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
3:  xorcist (1.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/xorcist-1.1.2.gemspec
Fetching nokogiri 1.11.7 (x86_64-linux)
Installing fastimage 2.2.4
2:  fastimage (2.2.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/fastimage-2.2.4.gemspec
Using rack-test 1.1.0
2:  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)
2:  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
2:  addressable (2.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/addressable-2.7.0.gemspec
Using aws-sigv4 1.2.3
2:  aws-sigv4 (1.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sigv4-1.2.3.gemspec
Using ember-data-source 3.0.2
2:  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 request_store 1.5.0
2:  request_store (1.5.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/request_store-1.5.0.gemspec
Fetching message_bus 3.3.6
Installing redis 4.3.1
Installing concurrent-ruby 1.1.9
0:  redis (4.3.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/redis-4.3.1.gemspec
Using rack-mini-profiler 2.3.2
0:  rack-mini-profiler (2.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rack-mini-profiler-2.3.2.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 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 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 bootsnap 1.7.5
0:  bootsnap (1.7.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/bootsnap-1.7.5.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 ecma-re-validator 0.3.0
0:  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 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 faraday 1.4.2
0:  faraday (1.4.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/faraday-1.4.2.gemspec
Using image_optim 0.30.0
0:  image_optim (0.30.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/image_optim-0.30.0.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.4.0
0:  mini_racer (0.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_racer-0.4.0.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 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 puma 5.3.2
0:  puma (5.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/puma-5.3.2.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 2.0.0
0:  rqrcode (2.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rqrcode-2.0.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 6.0.0
0:  unicorn (6.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/unicorn-6.0.0.gemspec
Using aws-sdk-core 3.112.1
0:  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 css_parser 1.9.0
0:  css_parser (1.9.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/css_parser-1.9.0.gemspec
Using sidekiq 6.2.1
0:  sidekiq (6.2.1) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sidekiq-6.2.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 cose 1.2.0
0:  cose (1.2.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/cose-1.2.0.gemspec
Using json_schemer 0.2.18
0:  json_schemer (0.2.18) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/json_schemer-0.2.18.gemspec
Using aws-sdk-kms 1.42.0
0:  aws-sdk-kms (1.42.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/aws-sdk-kms-1.42.0.gemspec
Using aws-sdk-sns 1.38.0
0:  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 mini_scheduler 0.13.0
0:  mini_scheduler (0.13.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/mini_scheduler-0.13.0.gemspec
Using oauth2 1.4.7
0:  oauth2 (1.4.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/oauth2-1.4.7.gemspec
Using omniauth-oauth 1.2.0
0:  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
0:  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
0:  pry-rails (0.3.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/pry-rails-0.3.9.gemspec
Using aws-sdk-s3 1.90.0
0:  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-oauth2 1.7.1
0:  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
0:  omniauth-twitter (1.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-twitter-1.4.0.gemspec
Using omniauth-facebook 8.0.0
0:  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
0:  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.2
0:  omniauth-google-oauth2 (0.8.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/omniauth-google-oauth2-0.8.2.gemspec
Installing message_bus 3.3.6
1:  concurrent-ruby (1.1.9) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/concurrent-ruby-1.1.9.gemspec
Using tzinfo 2.0.4
0:  tzinfo (2.0.4) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/tzinfo-2.0.4.gemspec
Using i18n 1.8.10
Using sprockets 3.7.2
1:  i18n (1.8.10) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/i18n-1.8.10.gemspec
0:  sprockets (3.7.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sprockets-3.7.2.gemspec
Using activesupport 6.1.3.2
Using ember-handlebars-template 0.8.0
1:  activesupport (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activesupport-6.1.3.2.gemspec
0:  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 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
Using activemodel 6.1.3.2
1:  activemodel (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activemodel-6.1.3.2.gemspec
Using activejob 6.1.3.2
0:  activejob (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activejob-6.1.3.2.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
Using activerecord 6.1.3.2
0:  activerecord (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/activerecord-6.1.3.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
2:  message_bus (3.3.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/message_bus-3.3.6.gemspec
Installing nokogiri 1.11.7 (x86_64-linux)
3:  nokogiri (1.11.7) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogiri-1.11.7-x86_64-linux.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 nokogumbo 2.0.5
Using ruby-readability 0.7.0
0:  nokogumbo (2.0.5) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/nokogumbo-2.0.5.gemspec
Fetching loofah 2.10.0
Using sanitize 5.2.3
2:  sanitize (5.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sanitize-5.2.3.gemspec
3:  ruby-readability (0.7.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/ruby-readability-0.7.0.gemspec
Installing loofah 2.10.0
1:  loofah (2.10.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/loofah-2.10.0.gemspec
Using rails-html-sanitizer 1.3.0
0:  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 actionview 6.1.3.2
2:  actionview (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview-6.1.3.2.gemspec
Using actionpack 6.1.3.2
3:  actionpack (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionpack-6.1.3.2.gemspec
Using actionview_precompiler 0.2.3
Using actionmailer 6.1.3.2
Using railties 6.1.3.2
Using sprockets-rails 3.2.2
2:  railties (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/railties-6.1.3.2.gemspec
0:  actionmailer (6.1.3.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionmailer-6.1.3.2.gemspec
1:  actionview_precompiler (0.2.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/actionview_precompiler-0.2.3.gemspec
3:  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
Using lograge 0.11.2
Using rails_failover 0.7.3
1:  rails_failover (0.7.3) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_failover-0.7.3.gemspec
Using rails_multisite 3.0.0
1:  rails_multisite (3.0.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/rails_multisite-3.0.0.gemspec
2:  jquery-rails (4.4.0) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/jquery-rails-4.4.0.gemspec
0:  lograge (0.11.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/lograge-0.11.2.gemspec
Using discourse-ember-rails 0.18.6
2:  discourse-ember-rails (0.18.6) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/discourse-ember-rails-0.18.6.gemspec
Using sassc-rails 2.1.2
1:  sassc-rails (2.1.2) from /var/www/discourse/vendor/bundle/ruby/2.7.0/specifications/sassc-rails-2.1.2.gemspec
Bundle complete! 126 Gemfile dependencies, 169 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2021-06-14T20:44:17.143503 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
I, [2021-06-14T20:44:21.660534 #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-tooltips is already at latest compatible version
discourse-characters-required is already at latest compatible version
discourse-user-notes is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-push-notifications is already at latest compatible version
docker_manager is already at latest compatible version
discourse-checklist is already at latest compatible version
discourse-whos-online is already at latest compatible version
discourse-telegram-notifications is already at latest compatible version
discourse-yearly-review is already at latest compatible version
discourse-plugin-linkedin-auth is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-bcc is already at latest compatible version
discourse-data-explorer is already at latest compatible version
discourse-canned-replies is already at latest compatible version
discourse-chat-integration is already at latest compatible version
discourse-assign is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-footnote is already at latest compatible version

I, [2021-06-14T20:44:21.661221 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2021-06-14 20:44:26.903 UTC [624] discourse@discourse ERROR:  unsupported Unicode escape sequence
2021-06-14 20:44:26.903 UTC [624] discourse@discourse DETAIL:  \u0000 cannot be converted to text.
2021-06-14 20:44:26.903 UTC [624] discourse@discourse CONTEXT:  JSON data, line 1: {"raw":...
2021-06-14 20:44:26.903 UTC [624] discourse@discourse STATEMENT:  UPDATE reviewables r
        SET topic_id = (payload->>'created_topic_id')::int, target_id = (payload->>'created_post_id')::int, target_type = 'Post'
        WHERE r.type = 'ReviewableQueuedPost' AND r.status = 1
        AND (r.payload->>'created_topic_id') IS NOT NULL
        AND (r.payload->>'created_post_id') IS NOT NULL
        AND topic_id IS NULL
        AND target_id IS NULL

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

ERROR:  unsupported Unicode escape sequence
DETAIL:  \u0000 cannot be converted to text.
CONTEXT:  JSON data, line 1: {"raw":...
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:209:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:64:in `query_single'
/var/www/discourse/db/migrate/20210426193009_move_approved_queued_posts_topic_and_post_data.rb:5:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870: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.1.3.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:850:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:849:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1037:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:310:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/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.1.3.2/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.1.3.2/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.1.3.2/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.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:308:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1086:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1061:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/tasks/database_tasks.rb:237: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::UntranslatableCharacter: ERROR:  unsupported Unicode escape sequence
DETAIL:  \u0000 cannot be converted to text.
CONTEXT:  JSON data, line 1: {"raw":...
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:209:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:64:in `query_single'
/var/www/discourse/db/migrate/20210426193009_move_approved_queued_posts_topic_and_post_data.rb:5:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870: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.1.3.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:850:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:849:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1037:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:310:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/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.1.3.2/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.1.3.2/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.1.3.2/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.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:308:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1086:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1061:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/tasks/database_tasks.rb:237: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-06-14T20:44:26.935931 #1]  INFO -- : == 20210426193009 MoveApprovedQueuedPostsTopicAndPostData: migrating ==========

I, [2021-06-14T20:44:26.936692 #1]  INFO -- : Terminating async processes
I, [2021-06-14T20:44:26.936777 #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: 55
I, [2021-06-14T20:44:26.937081 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 172
172:signal-handler (1623703466) Received SIGTERM scheduling shutdown...
2021-06-14 20:44:26.937 UTC [55] LOG:  received fast shutdown request
2021-06-14 20:44:26.942 UTC [55] LOG:  aborting any active transactions
2021-06-14 20:44:26.950 UTC [55] LOG:  background worker "logical replication launcher" (PID 64) exited with exit code 1
2021-06-14 20:44:26.952 UTC [59] LOG:  shutting down
2021-06-14 20:44:27.023 UTC [55] LOG:  database system is shut down
172:M 14 Jun 2021 20:44:27.037 # User requested shutdown...
172:M 14 Jun 2021 20:44:27.037 * Saving the final RDB snapshot before exiting.
172:M 14 Jun 2021 20:44:27.381 * DB saved on disk
172:M 14 Jun 2021 20:44:27.381 # 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 604 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'"]}
45acdac4169f33f52dc447d3e49e466f507752727e0d465364fe1b3679d9adb5
** 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.

That looks like the migration is hanging up at an existing record in the database. Have you tried

  • ./launcher enter app
  • rails c
  • Post.where("raw LIKE '%\u0000%'")

to see if any posts on your site have that Unicode escape sequence? I haven’t tested this so YMMV.

3 Likes

Thank you @justin. After I entered the commands, here is my output:

[1] pry(main)> Post.where("raw LIKE '%\u0000%'")
=> #<Post::ActiveRecord_Relation:0x119cc>

Only one line. How should I read this output? What do you suggest from here on?

1 Like

We got the forum up and running now, albeit with the message “Due to extreme load, this is temporarily being shown to everyone as a logged out user would see it.” on top as a banner. I will post details later.

2 Likes

Unfortunately the problem is back. I can start the site with ./launcher start app after an upgrade and it seems to half-work. Users cannot login using username and password, but only by other methods of login. Also when trying to view a user profile card, it does not pop up. If someone tries to open a user’s page or their own profile page, they get this error message with the title “Oops - Error 500”:

Oops

The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.

No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.

I also tried upgrading from the web interface this time. I managed to upgrade some other things (like docker manager and some official plugins) and they succeeded. I can even see the result of the upgrade in the admin logs.
But when I tried to upgrade the discourse instance, it still failed and the log is like this:

********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
Cycling Unicorn, to free up memory
Restarting unicorn pid: 52
Waiting for Unicorn to reload.
Waiting for Unicorn to reload..
Waiting for Unicorn to reload...
Waiting for Unicorn to reload....
Waiting for Unicorn to reload.....
Waiting for Unicorn to reload......
Waiting for Unicorn to reload.......
Waiting for Unicorn to reload........
Waiting for Unicorn to reload.........
Waiting for Unicorn to reload..........
Waiting for Unicorn to reload...........
Waiting for Unicorn to reload............
Waiting for Unicorn to reload.............
Waiting for Unicorn to reload..............
Waiting for Unicorn to reload...............
Stopping 3 Unicorn worker(s), to free up memory
Stopping job queue to reclaim memory, master pid is 22756
$ cd /var/www/discourse && git fetch --tags --force && git reset --hard HEAD@{upstream}
From https://github.com/discourse/discourse
 * [new tag]           v1.1.0.beta6b  -> v1.1.0.beta6b
 * [new tag]           v1.1.0.beta7   -> v1.1.0.beta7
 * [new tag]           v1.1.0.beta8   -> v1.1.0.beta8
 * [new tag]           v1.1.1         -> v1.1.1
 * [new tag]           v1.1.2         -> v1.1.2
 * [new tag]           v1.1.3         -> v1.1.3
 * [new tag]           v1.2.0         -> v1.2.0
 * [new tag]           v1.2.0.beta1   -> v1.2.0.beta1
 * [new tag]           v1.2.0.beta2   -> v1.2.0.beta2
 * [new tag]           v1.2.0.beta3   -> v1.2.0.beta3
 * [new tag]           v1.2.0.beta4   -> v1.2.0.beta4
 * [new tag]           v1.2.0.beta5   -> v1.2.0.beta5
 * [new tag]           v1.2.0.beta6   -> v1.2.0.beta6
 * [new tag]           v1.2.0.beta7   -> v1.2.0.beta7
 * [new tag]           v1.2.0.beta8   -> v1.2.0.beta8
 * [new tag]           v1.2.0.beta9   -> v1.2.0.beta9
 * [new tag]           v1.2.1         -> v1.2.1
 * [new tag]           v1.2.2         -> v1.2.2
 * [new tag]           v1.2.3         -> v1.2.3
 * [new tag]           v1.2.4         -> v1.2.4
 * [new tag]           v1.3.0         -> v1.3.0
 * [new tag]           v1.3.0.beta1   -> v1.3.0.beta1
 * [new tag]           v1.3.0.beta10  -> v1.3.0.beta10
 * [new tag]           v1.3.0.beta11  -> v1.3.0.beta11
 * [new tag]           v1.3.0.beta2   -> v1.3.0.beta2
 * [new tag]           v1.3.0.beta3   -> v1.3.0.beta3
 * [new tag]           v1.3.0.beta4   -> v1.3.0.beta4
 * [new tag]           v1.3.0.beta5   -> v1.3.0.beta5
 * [new tag]           v1.3.0.beta6   -> v1.3.0.beta6
 * [new tag]           v1.3.0.beta7   -> v1.3.0.beta7
 * [new tag]           v1.3.0.beta8   -> v1.3.0.beta8
 * [new tag]           v1.3.0.beta9   -> v1.3.0.beta9
 * [new tag]           v1.3.1         -> v1.3.1
 * [new tag]           v1.3.2         -> v1.3.2
 * [new tag]           v1.3.3         -> v1.3.3
 * [new tag]           v1.3.4         -> v1.3.4
 * [new tag]           v1.3.5         -> v1.3.5
 * [new tag]           v1.4.0         -> v1.4.0
 * [new tag]           v1.4.0.beta1   -> v1.4.0.beta1
 * [new tag]           v1.4.0.beta10  -> v1.4.0.beta10
 * [new tag]           v1.4.0.beta11  -> v1.4.0.beta11
 * [new tag]           v1.4.0.beta12  -> v1.4.0.beta12
 * [new tag]           v1.4.0.beta2   -> v1.4.0.beta2
 * [new tag]           v1.4.0.beta3   -> v1.4.0.beta3
 * [new tag]           v1.4.0.beta4   -> v1.4.0.beta4
 * [new tag]           v1.4.0.beta5   -> v1.4.0.beta5
 * [new tag]           v1.4.0.beta6   -> v1.4.0.beta6
 * [new tag]           v1.4.0.beta7   -> v1.4.0.beta7
 * [new tag]           v1.4.0.beta8   -> v1.4.0.beta8
 * [new tag]           v1.4.0.beta9   -> v1.4.0.beta9
 * [new tag]           v1.4.1         -> v1.4.1
 * [new tag]           v1.4.2         -> v1.4.2
 * [new tag]           v1.4.3         -> v1.4.3
 * [new tag]           v1.4.4         -> v1.4.4
 * [new tag]           v1.4.5         -> v1.4.5
 * [new tag]           v1.4.6         -> v1.4.6
 * [new tag]           v1.4.7         -> v1.4.7
 * [new tag]           v1.5.0         -> v1.5.0
 * [new tag]           v1.5.0.beta1   -> v1.5.0.beta1
 * [new tag]           v1.5.0.beta10  -> v1.5.0.beta10
 * [new tag]           v1.5.0.beta11  -> v1.5.0.beta11
 * [new tag]           v1.5.0.beta12  -> v1.5.0.beta12
 * [new tag]           v1.5.0.beta13  -> v1.5.0.beta13
 * [new tag]           v1.5.0.beta13b -> v1.5.0.beta13b
 * [new tag]           v1.5.0.beta14  -> v1.5.0.beta14
 * [new tag]           v1.5.0.beta2   -> v1.5.0.beta2
 * [new tag]           v1.5.0.beta3   -> v1.5.0.beta3
 * [new tag]           v1.5.0.beta4   -> v1.5.0.beta4
 * [new tag]           v1.5.0.beta5   -> v1.5.0.beta5
 * [new tag]           v1.5.0.beta6   -> v1.5.0.beta6
 * [new tag]           v1.5.0.beta7   -> v1.5.0.beta7
 * [new tag]           v1.5.0.beta8   -> v1.5.0.beta8
 * [new tag]           v1.5.0.beta9   -> v1.5.0.beta9
 * [new tag]           v1.5.1         -> v1.5.1
 * [new tag]           v1.5.17        -> v1.5.17
 * [new tag]           v1.5.2         -> v1.5.2
 * [new tag]           v1.5.22        -> v1.5.22
 * [new tag]           v1.5.3         -> v1.5.3
 * [new tag]           v1.5.4         -> v1.5.4
 * [new tag]           v1.6.0         -> v1.6.0
 * [new tag]           v1.6.0.beta1   -> v1.6.0.beta1
 * [new tag]           v1.6.0.beta10  -> v1.6.0.beta10
 * [new tag]           v1.6.0.beta11  -> v1.6.0.beta11
 * [new tag]           v1.6.0.beta12  -> v1.6.0.beta12
 * [new tag]           v1.6.0.beta2   -> v1.6.0.beta2
 * [new tag]           v1.6.0.beta3   -> v1.6.0.beta3
 * [new tag]           v1.6.0.beta4   -> v1.6.0.beta4
 * [new tag]           v1.6.0.beta5   -> v1.6.0.beta5
 * [new tag]           v1.6.0.beta6   -> v1.6.0.beta6
 * [new tag]           v1.6.0.beta7   -> v1.6.0.beta7
 * [new tag]           v1.6.0.beta8   -> v1.6.0.beta8
 * [new tag]           v1.6.0.beta9   -> v1.6.0.beta9
 * [new tag]           v1.6.1         -> v1.6.1
 * [new tag]           v1.6.10        -> v1.6.10
 * [new tag]           v1.6.2         -> v1.6.2
 * [new tag]           v1.6.3         -> v1.6.3
 * [new tag]           v1.6.4         -> v1.6.4
 * [new tag]           v1.6.5         -> v1.6.5
 * [new tag]           v1.6.6         -> v1.6.6
 * [new tag]           v1.6.7         -> v1.6.7
 * [new tag]           v2.2.0.beta1   -> v2.2.0.beta1
 * [new tag]           v2.2.0.beta10  -> v2.2.0.beta10
 * [new tag]           v2.2.0.beta2   -> v2.2.0.beta2
 * [new tag]           v2.2.0.beta3   -> v2.2.0.beta3
 * [new tag]           v2.2.0.beta4   -> v2.2.0.beta4
 * [new tag]           v2.2.0.beta5   -> v2.2.0.beta5
 * [new tag]           v2.2.0.beta6   -> v2.2.0.beta6
 * [new tag]           v2.2.0.beta7   -> v2.2.0.beta7
 * [new tag]           v2.2.0.beta8   -> v2.2.0.beta8
 * [new tag]           v2.2.0.beta9   -> v2.2.0.beta9
 * [new tag]           v2.2.1         -> v2.2.1
 * [new tag]           v2.2.10        -> v2.2.10
 * [new tag]           v2.2.11        -> v2.2.11
 * [new tag]           v2.2.15        -> v2.2.15
 * [new tag]           v2.2.2         -> v2.2.2
 * [new tag]           v2.2.3         -> v2.2.3
 * [new tag]           v2.2.4         -> v2.2.4
 * [new tag]           v2.2.5         -> v2.2.5
 * [new tag]           v2.2.6         -> v2.2.6
 * [new tag]           v2.2.7         -> v2.2.7
 * [new tag]           v2.2.8         -> v2.2.8
 * [new tag]           v2.3.0         -> v2.3.0
 * [new tag]           v2.3.0.beta1   -> v2.3.0.beta1
 * [new tag]           v2.3.0.beta10  -> v2.3.0.beta10
 * [new tag]           v2.3.0.beta11  -> v2.3.0.beta11
 * [new tag]           v2.3.0.beta2   -> v2.3.0.beta2
 * [new tag]           v2.3.0.beta3   -> v2.3.0.beta3
 * [new tag]           v2.3.0.beta4   -> v2.3.0.beta4
 * [new tag]           v2.3.0.beta5   -> v2.3.0.beta5
 * [new tag]           v2.3.0.beta6   -> v2.3.0.beta6
 * [new tag]           v2.3.0.beta7   -> v2.3.0.beta7
 * [new tag]           v2.3.0.beta8   -> v2.3.0.beta8
 * [new tag]           v2.3.0.beta9   -> v2.3.0.beta9
 * [new tag]           v2.3.1         -> v2.3.1
 * [new tag]           v2.3.10        -> v2.3.10
 * [new tag]           v2.3.2         -> v2.3.2
 * [new tag]           v2.3.3         -> v2.3.3
 * [new tag]           v2.3.4         -> v2.3.4
 * [new tag]           v2.3.5         -> v2.3.5
 * [new tag]           v2.3.6         -> v2.3.6
 * [new tag]           v2.3.7         -> v2.3.7
 * [new tag]           v2.3.8         -> v2.3.8
 * [new tag]           v2.3.9         -> v2.3.9
 * [new tag]           v2.4.0         -> v2.4.0
 * [new tag]           v2.4.0.beta1   -> v2.4.0.beta1
 * [new tag]           v2.4.0.beta10  -> v2.4.0.beta10
 * [new tag]           v2.4.0.beta11  -> v2.4.0.beta11
 * [new tag]           v2.4.0.beta2   -> v2.4.0.beta2
 * [new tag]           v2.4.0.beta3   -> v2.4.0.beta3
 * [new tag]           v2.4.0.beta4   -> v2.4.0.beta4
 * [new tag]           v2.4.0.beta5   -> v2.4.0.beta5
 * [new tag]           v2.4.0.beta6   -> v2.4.0.beta6
 * [new tag]           v2.4.0.beta7   -> v2.4.0.beta7
 * [new tag]           v2.4.0.beta8   -> v2.4.0.beta8
 * [new tag]           v2.4.0.beta9   -> v2.4.0.beta9
 * [new tag]           v2.4.1         -> v2.4.1
 * [new tag]           v2.4.2         -> v2.4.2
 * [new tag]           v2.4.3         -> v2.4.3
 * [new tag]           v2.4.4         -> v2.4.4
 * [new tag]           v2.4.5         -> v2.4.5
 * [new tag]           v2.5.0         -> v2.5.0
 * [new tag]           v2.5.0.beta1   -> v2.5.0.beta1
 * [new tag]           v2.5.0.beta2   -> v2.5.0.beta2
 * [new tag]           v2.5.0.beta3   -> v2.5.0.beta3
 * [new tag]           v2.5.0.beta4   -> v2.5.0.beta4
 * [new tag]           v2.5.0.beta5   -> v2.5.0.beta5
 * [new tag]           v2.5.0.beta6   -> v2.5.0.beta6
 * [new tag]           v2.5.0.beta7   -> v2.5.0.beta7
 * [new tag]           v2.5.1         -> v2.5.1
 * [new tag]           v2.5.2         -> v2.5.2
 * [new tag]           v2.5.3         -> v2.5.3
 * [new tag]           v2.5.4         -> v2.5.4
 * [new tag]           v2.5.5         -> v2.5.5
 * [new tag]           v2.5.6         -> v2.5.6
 * [new tag]           v2.6.0         -> v2.6.0
 * [new tag]           v2.6.0.beta1   -> v2.6.0.beta1
 * [new tag]           v2.6.0.beta2   -> v2.6.0.beta2
 * [new tag]           v2.6.0.beta3   -> v2.6.0.beta3
 * [new tag]           v2.6.0.beta4   -> v2.6.0.beta4
 * [new tag]           v2.6.0.beta5   -> v2.6.0.beta5
 * [new tag]           v2.6.0.beta6   -> v2.6.0.beta6
 * [new tag]           v2.6.1         -> v2.6.1
 * [new tag]           v2.6.2         -> v2.6.2
 * [new tag]           v2.6.3         -> v2.6.3
 * [new tag]           v2.6.4         -> v2.6.4
 * [new tag]           v2.6.5         -> v2.6.5
 * [new tag]           v2.6.6         -> v2.6.6
 * [new tag]           v2.6.7         -> v2.6.7
 * [new tag]           v2.7.0         -> v2.7.0
 * [new tag]           v2.7.0.beta1   -> v2.7.0.beta1
 * [new tag]           v2.7.0.beta2   -> v2.7.0.beta2
 * [new tag]           v2.7.0.beta3   -> v2.7.0.beta3
 * [new tag]           v2.7.0.beta4   -> v2.7.0.beta4
 * [new tag]           v2.7.0.beta5   -> v2.7.0.beta5
 * [new tag]           v2.7.0.beta6   -> v2.7.0.beta6
 * [new tag]           v2.7.0.beta7   -> v2.7.0.beta7
 * [new tag]           v2.7.1         -> v2.7.1
 * [new tag]           v2.7.2         -> v2.7.2
 * [new tag]           v2.7.3         -> v2.7.3
 * [new tag]           v2.7.4         -> v2.7.4
HEAD is now at ff6114d83f FIX: Do not add mailing list headers to group SMTP emails (#13431)
$ bundle install --deployment --jobs 4 --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
Warning: the running version of Bundler (2.2.15) is older than the version that created the lockfile (2.2.19). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.19`.
Fetching gem metadata from https://rubygems.org/............
Using rake 13.0.3
Fetching concurrent-ruby 1.1.9
Using minitest 5.14.4
Using zeitwerk 2.4.2
Using builder 3.2.4
Using erubi 1.10.0
Using racc 1.5.2
Using crass 1.0.6
Using rack 2.2.3
Using mini_mime 1.1.0
Using public_suffix 4.0.6
Using aws-eventstream 1.1.1
Using aws-partitions 1.432.0
Using jmespath 1.4.0
Using ember-source 2.18.2
Using msgpack 1.4.2
Using bundler 2.2.15
Using byebug 11.1.3
Using cbor 0.5.9.6
Using coderay 1.1.3
Using colored2 3.1.2
Using connection_pool 2.2.5
Using openssl 2.2.0
Using cppjieba_rb 0.3.3
Using diffy 3.4.0
Using method_source 1.0.0
Using chunky_png 1.4.0
Fetching execjs 2.8.1
Using thor 1.1.0
Using discourse-ember-source 3.12.2.3
Using discourse-fonts 0.0.8
Using regexp_parser 2.1.1
Using email_reply_trimmer 0.1.13
Using exifr 1.3.9
Fetching faraday-em_http 1.0.0
Fetching excon 0.82.0
Installing faraday-em_http 1.0.0
Installing execjs 2.8.1
Fetching faraday-em_synchrony 1.0.0
Fetching faraday-excon 1.1.0
Installing excon 0.82.0
Installing faraday-em_synchrony 1.0.0
Installing concurrent-ruby 1.1.9
Installing faraday-excon 1.1.0
Using faraday-net_http 1.0.1
Fetching faraday-net_http_persistent 1.1.0
Using multipart-post 2.1.1
Using ruby2_keywords 0.0.4
Using fast_blank 1.0.0
Using fast_xs 0.8.0
Fetching fastimage 2.2.4
Fetching ffi 1.15.3
Installing faraday-net_http_persistent 1.1.0
Using fspath 3.1.2
Using gc_tracer 1.5.1
Using guess_html_encoding 0.0.11
Using hana 1.3.7
Using hashie 4.1.0
Using highline 2.0.3
Installing fastimage 2.2.4
Using hkdf 0.3.0
Using htmlentities 4.3.4
Using http_accept_language 2.1.1
Fetching image_size 2.1.0
Using in_threads 1.5.4
Using progress 3.6.0
Using json 2.5.1
Using uri_template 0.7.0
Fetching jwt 2.2.3
Fetching kgio 2.11.4
Installing jwt 2.2.3
Installing image_size 2.1.0
Installing kgio 2.11.4 with native extensions
Installing ffi 1.15.3 with native extensions
Fetching libv8-node 15.14.0.1 (x86_64-linux)
Using logstash-event 1.2.02
Using logster 2.9.6
Using lru_redux 1.1.0
Using lz4-ruby 0.3.3
Using maxminddb 0.1.22
Using memory_profiler 1.0.0
Fetching redis 4.3.1
Installing redis 4.3.1
Using mini_sql 1.1.3
Using multi_json 1.15.0
Using multi_xml 0.6.0
Using mustache 1.1.1
Using nio4r 2.5.7
Using oauth 0.5.6
Fetching oj 3.11.6
Installing oj 3.11.6 with native extensions
Installing libv8-node 15.14.0.1 (x86_64-linux)
Using optimist 3.0.1
Using pg 1.2.3
Using r2 0.2.7
Fetching raindrops 0.19.2
Installing raindrops 0.19.2 with native extensions
Using rchardet 1.8.0
Using rubyzip 2.3.0
Using tilt 2.0.10
Using sshkey 2.0.0
Fetching stackprof 0.2.17
Installing stackprof 0.2.17 with native extensions
Using unf_ext 0.0.7.7
Using xorcist 1.1.2
Fetching nokogiri 1.11.7 (x86_64-linux)
Installing nokogiri 1.11.7 (x86_64-linux)
Using rack-test 1.1.0
Using mail 2.8.0.edge from https://github.com/discourse/mail.git (at master@5b700fc)
Using addressable 2.7.0
Using aws-sigv4 1.2.3
Fetching bootsnap 1.7.5
Installing bootsnap 1.7.5 with native extensions
Using openssl-signature_algorithm 1.1.1
Using ember-data-source 3.0.2
Using request_store 1.5.0
Fetching message_bus 3.3.6
Fetching rack-mini-profiler 2.3.2
Installing message_bus 3.3.6
Using rack-protection 2.1.0
Using pry 0.13.1
Using ecma-re-validator 0.3.0
Using barber 0.12.2
Using uglifier 4.2.0
Fetching faraday 1.4.2
Installing rack-mini-profiler 2.3.2
Installing faraday 1.4.2
Using omniauth 1.9.1
Using i18n 1.8.10
Fetching tzinfo 2.0.4
Using sprockets 3.7.2
Fetching image_optim 0.30.0
Installing tzinfo 2.0.4
Using webpush 1.1.0
Using logstash-logger 0.26.1
Using sidekiq 6.2.1
Fetching puma 5.3.2
Installing image_optim 0.30.0
Using redis-namespace 1.8.1
Using mini_racer 0.4.0
Fetching rqrcode 2.0.0
Installing puma 5.3.2 with native extensions
Installing rqrcode 2.0.0
Using unf 0.1.4
Fetching loofah 2.10.0
Installing loofah 2.10.0
Using nokogumbo 2.0.5
Using ruby-readability 0.7.0
Using aws-sdk-core 3.112.1
Using css_parser 1.9.0
Using cose 1.2.0
Using json_schemer 0.2.18
Using pry-byebug 3.9.0
Using pry-rails 0.3.9
Using omniauth-oauth 1.2.0
Using oauth2 1.4.7
Using ember-handlebars-template 0.8.0
Fetching activesupport 6.1.3.2
Installing activesupport 6.1.3.2
Using mini_scheduler 0.13.0
Using rails-html-sanitizer 1.3.0
Using sanitize 5.2.3
Using aws-sdk-kms 1.42.0
Using aws-sdk-sns 1.38.0
Using omniauth-oauth2 1.7.1
Using omniauth-twitter 1.4.0
Using rails-dom-testing 2.0.3
Using globalid 0.4.2
Fetching activemodel 6.1.3.2
Installing activemodel 6.1.3.2
Using aws-sdk-s3 1.90.0
Using omniauth-facebook 8.0.0
Using omniauth-github 1.4.0
Using omniauth-google-oauth2 0.8.2
Fetching actionview 6.1.3.2
Installing actionview 6.1.3.2
Fetching activejob 6.1.3.2
Using active_model_serializers 0.8.4
Fetching activerecord 6.1.3.2
Installing activejob 6.1.3.2
Fetching actionpack 6.1.3.2
Installing activerecord 6.1.3.2
Installing actionpack 6.1.3.2
Using actionview_precompiler 0.2.3
Using unicorn 6.0.0
Fetching actionmailer 6.1.3.2
Installing actionmailer 6.1.3.2
Fetching railties 6.1.3.2
Using sprockets-rails 3.2.2
Using seed-fu 2.3.9
Installing railties 6.1.3.2
Using jquery-rails 4.4.0
Using lograge 0.11.2
Fetching rails_failover 0.7.3
Fetching rails_multisite 3.0.0
Installing rails_multisite 3.0.0
Installing rails_failover 0.7.3
Using discourse-ember-rails 0.18.6
Using mini_suffix 0.3.2
Using rbtrace 0.4.14
Using sassc 2.0.1
Using sassc-rails 2.1.2
Bundle complete! 126 Gemfile dependencies, 169 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from image_optim:
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove `config.assets.image_optim = false` if you are not going to use that gem
$ bundle exec rake plugin:pull_compatible_all
discourse-tooltips is already at latest compatible version
discourse-characters-required is already at latest compatible version
discourse-user-notes is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-push-notifications is already at latest compatible version
docker_manager is already at latest compatible version
discourse-checklist is already at latest compatible version
discourse-whos-online is already at latest compatible version
discourse-telegram-notifications is already at latest compatible version
discourse-yearly-review is already at latest compatible version
discourse-plugin-linkedin-auth is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-bcc is already at latest compatible version
discourse-data-explorer is already at latest compatible version
discourse-canned-replies is already at latest compatible version
discourse-chat-integration is already at latest compatible version
discourse-assign is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-footnote is already at latest compatible version
$ SKIP_POST_DEPLOYMENT_MIGRATIONS=1 bundle exec rake multisite:migrate

--------------------------------------------------------------------------------
1 migrations failed!

Failed to migrate default
#<StandardError: An error has occurred, this and all later migrations canceled:

ERROR:  unsupported Unicode escape sequence
DETAIL:  \u0000 cannot be converted to text.
CONTEXT:  JSON data, line 1: {"raw":...
>
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rack-mini-profiler-2.3.2/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:209:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/mini_sql-1.1.3/lib/mini_sql/postgres/connection.rb:64:in `query_single'
/var/www/discourse/db/migrate/20210426193009_move_approved_queued_posts_topic_and_post_data.rb:5:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:870:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:9:in `block in exec_migration'
/usr/local/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
/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.1.3.2/lib/active_record/migration.rb:851:in `block (2 levels) in migrate'
/usr/local/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:850:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:849:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1037:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1329:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `block in ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:310:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activesupport-6.1.3.2/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.1.3.2/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.1.3.2/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.1.3.2/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.1.3.2/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/transaction.rb:308:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1380:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1328:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `each'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1302:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1401:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `block in with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1416:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1397:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1251:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1086:in `up'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/migration.rb:1061:in `migrate'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.3.2/lib/active_record/tasks/database_tasks.rb:237:in `migrate'
/var/www/discourse/lib/tasks/db.rake:184:in `block (2 levels) in <main>'
/var/www/discourse/lib/tasks/db.rake:148:in `block (3 levels) in execute_concurently'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/rails_multisite-3.0.0/lib/rails_multisite/connection_management.rb:80:in `with_connection'
/var/www/discourse/lib/tasks/db.rake:146:in `block (2 levels) in execute_concurently'

Multisite migrator is running using 1 threads

Migrating default
== 20210426193009 MoveApprovedQueuedPostsTopicAndPostData: migrating ==========
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:196:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:100:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/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.3/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/commands/runner/runner_command.rb:42:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/command/base.rb:69:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/command.rb:46:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.5/lib/rails/commands.rb:18:in `<main>'
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.7.3/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.3/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.3/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.3/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.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
bin/rails:17:in `<main>'
Spinning up 3 Unicorn worker(s) that were stopped initially

Any ideas?

Maybe you could run a Post.where("raw LIKE '%\u0000%'").first to find out what is inside that ActiveRecord relation?