Odd Docker problem that causes the app to not start

Not sure if its relevant but when i typed dockerd it said:

INFO[2023-05-06T02:18:27.638703334-04:00] Starting up
failed to start daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid

The rebuild returned the following error message. @Falco anything jumps out at you?

root@Discourse:/var/discourse# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 600 app
app
2.0.20230502-0058: Pulling from discourse/base
Digest: sha256:fa95da36c3d3a582d644b139ec678f5778d745697454bc86f598c689031b30aa
Status: Image is up to date for discourse/base:2.0.20230502-0058
docker.io/discourse/base:2.0.20230502-0058
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-05-06T06:51:41.062034 #1]  INFO -- : Reading from stdin
I, [2023-05-06T06:51:41.074312 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2023-05-06T06:51:41.119459 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2023-05-06T06:51:41.119841 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2023-05-06T06:51:41.123870 #1]  INFO -- :
I, [2023-05-06T06:51:41.124294 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-05-06T06:51:41.127586 #1]  INFO -- :
I, [2023-05-06T06:51:41.127942 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2023-05-06T06:51:41.130653 #1]  INFO -- :
I, [2023-05-06T06:51:41.130990 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2023-05-06T06:51:41.133891 #1]  INFO -- :
I, [2023-05-06T06:51:41.134241 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-05-06T06:51:41.137018 #1]  INFO -- :
I, [2023-05-06T06:51:41.137384 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2023/05/06 06:51:41 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-05-06T06:51:41.143396 #1]  INFO -- :
I, [2023-05-06T06:51:41.143696 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-05-06T06:51:41.147548 #1]  INFO -- :
I, [2023-05-06T06:51:41.147874 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-05-06T06:51:41.151285 #1]  INFO -- :
I, [2023-05-06T06:51:41.151607 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-05-06T06:51:41.154442 #1]  INFO -- :
I, [2023-05-06T06:51:41.154805 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-05-06T06:51:41.157819 #1]  INFO -- :
I, [2023-05-06T06:51:41.164260 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2023-05-06T06:51:41.170434 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2023-05-06T06:51:41.176635 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2023-05-06T06:51:41.183013 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2023-05-06T06:51:41.183465 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-05-06T06:51:43.113598 #1]  INFO -- :
I, [2023-05-06T06:51:43.113908 #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, [2023-05-06T06:51:43.116559 #1]  INFO -- :
I, [2023-05-06T06:51:43.116644 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-05-06T06:51:43.135473 #1]  INFO -- :
I, [2023-05-06T06:51:43.135856 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-05-06T06:51:43.139015 #1]  INFO -- :
I, [2023-05-06T06:51:43.139358 #1]  INFO -- : > /root/upgrade_postgres
I, [2023-05-06T06:51:43.144882 #1]  INFO -- :
I, [2023-05-06T06:51:43.145214 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2023-05-06T06:51:43.148122 #1]  INFO -- :
I, [2023-05-06T06:51:43.148552 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.149240 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.149780 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.150244 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.150674 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.151186 #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, [2023-05-06T06:51:43.151645 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-05-06T06:51:43.154717 #1]  INFO -- :
I, [2023-05-06T06:51:43.155106 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.155532 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-05-06T06:51:43.156036 #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, [2023-05-06T06:51:43.156451 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-05-06T06:51:43.156761 #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, [2023-05-06T06:51:43.157190 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2023-05-06T06:51:43.157534 #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, [2023-05-06T06:51:43.159214 #1]  INFO -- : > sleep 5
2023-05-06 06:51:43.305 UTC [42] LOG:  starting PostgreSQL 13.10 (Debian 13.10-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-05-06 06:51:43.305 UTC [42] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-05-06 06:51:43.305 UTC [42] LOG:  listening on IPv6 address "::", port 5432
2023-05-06 06:51:43.309 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-05-06 06:51:43.317 UTC [45] LOG:  database system was shut down at 2023-05-06 06:17:51 UTC
2023-05-06 06:51:43.328 UTC [42] LOG:  database system is ready to accept connections
I, [2023-05-06T06:51:48.161871 #1]  INFO -- :
I, [2023-05-06T06:51:48.162222 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2023-05-06 06:51:48.235 UTC [55] postgres@postgres ERROR:  database "discourse" already exists
2023-05-06 06:51:48.235 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2023-05-06T06:51:48.237057 #1]  INFO -- :
I, [2023-05-06T06:51:48.237475 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-05-06 06:51:48.307 UTC [59] postgres@discourse ERROR:  role "discourse" already exists
2023-05-06 06:51:48.307 UTC [59] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2023-05-06T06:51:48.309250 #1]  INFO -- :
I, [2023-05-06T06:51:48.309540 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-05-06T06:51:48.379290 #1]  INFO -- : GRANT

I, [2023-05-06T06:51:48.379565 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-05-06T06:51:48.447681 #1]  INFO -- : ALTER SCHEMA

I, [2023-05-06T06:51:48.447982 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2023-05-06T06:51:48.520837 #1]  INFO -- : CREATE EXTENSION

I, [2023-05-06T06:51:48.521274 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2023-05-06T06:51:48.593986 #1]  INFO -- : CREATE EXTENSION

I, [2023-05-06T06:51:48.594408 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2023-05-06T06:51:48.662228 #1]  INFO -- : CREATE EXTENSION

I, [2023-05-06T06:51:48.662663 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2023-05-06T06:51:48.732922 #1]  INFO -- : CREATE EXTENSION

I, [2023-05-06T06:51:48.733454 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2023-05-06T06:51:48.735599 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2023-05-06T06:51:48.812963 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2023-05-06T06:51:48.816369 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2023-05-06T06:51:48.816668 #1]  INFO -- : > echo postgres installed!
I, [2023-05-06T06:51:48.819336 #1]  INFO -- : postgres installed!

I, [2023-05-06T06:51:48.824925 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2023-05-06T06:51:48.830433 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2023-05-06T06:51:48.836767 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2023-05-06T06:51:48.837052 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.837954 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.838771 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-05-06T06:51:48.842520 #1]  INFO -- :
I, [2023-05-06T06:51:48.843424 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.844338 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.846060 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.846826 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.847743 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-05-06T06:51:48.848608 #1]  INFO -- : > echo redis installed
I, [2023-05-06T06:51:48.851607 #1]  INFO -- : redis installed

I, [2023-05-06T06:51:48.851939 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-05-06T06:51:48.856398 #1]  INFO -- : logfile ""

I, [2023-05-06T06:51:48.856682 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-05-06T06:51:48.858480 #1]  INFO -- : > sleep 10
103:C 06 May 2023 06:51:48.868 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
103:C 06 May 2023 06:51:48.868 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=103, just started
103:C 06 May 2023 06:51:48.868 # Configuration loaded
103:M 06 May 2023 06:51:48.869 * monotonic clock: POSIX clock_gettime
103:M 06 May 2023 06:51:48.870 * Running mode=standalone, port=6379.
103:M 06 May 2023 06:51:48.870 # Server initialized
103:M 06 May 2023 06:51:48.870 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
103:M 06 May 2023 06:51:48.870 * Loading RDB produced by version 7.0.7
103:M 06 May 2023 06:51:48.870 * RDB age 2037 seconds
103:M 06 May 2023 06:51:48.870 * RDB memory usage when created 209.12 Mb
103:M 06 May 2023 06:51:49.785 * Done loading RDB, keys loaded: 63106, keys expired: 540.
103:M 06 May 2023 06:51:49.785 * DB loaded from disk: 0.915 seconds
103:M 06 May 2023 06:51:49.785 * Ready to accept connections
I, [2023-05-06T06:51:58.861238 #1]  INFO -- :
I, [2023-05-06T06:51:58.861649 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-05-06T06:51:58.866278 #1]  INFO -- : thpoff is installed!

I, [2023-05-06T06:51:58.866680 #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, [2023-05-06T06:51:58.994407 #1]  INFO -- :
I, [2023-05-06T06:51:58.994881 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2023-05-06T06:51:59.126001 #1]  INFO -- :
I, [2023-05-06T06:51:59.126444 #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, [2023-05-06T06:51:59.235731 #1]  INFO -- :
I, [2023-05-06T06:51:59.236027 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-05-06T06:51:59.239303 #1]  INFO -- :
I, [2023-05-06T06:51:59.243405 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2023-05-06T06:51:59.249619 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2023-05-06T06:51:59.255472 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2023-05-06T06:51:59.261860 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2023-05-06T06:51:59.268382 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2023-05-06T06:51:59.273823 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2023-05-06T06:51:59.274113 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-05-06T06:51:59.274559 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-05-06T06:51:59.277749 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
130:C 06 May 2023 06:51:59.285 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
130:C 06 May 2023 06:51:59.285 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=130, just started
130:C 06 May 2023 06:51:59.285 # Configuration loaded
130:M 06 May 2023 06:51:59.286 * monotonic clock: POSIX clock_gettime
130:M 06 May 2023 06:51:59.287 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
130:M 06 May 2023 06:51:59.287 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33085/33085), done.
I, [2023-05-06T06:52:02.466962 #1]  INFO -- : HEAD is now at a8e28060d FIX: rename notify_about_flags_after to notify_about_reviewable_item_after (#21320)

I, [2023-05-06T06:52:02.467162 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-05-06T06:52:02.634808 #1]  INFO -- :
I, [2023-05-06T06:52:02.635008 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
'
From https://github.com/discourse/discourse
 - [deleted]             (none)     -> origin/a11y-select-kit-close-on-focus-out
 - [deleted]             (none)     -> origin/app-inject
 - [deleted]             (none)     -> origin/bump-eslint
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/babel/core-7.21.5
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/babel/standalone-7.21.7
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/jsdom-21.1.2
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.1.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.2.0
 - [deleted]             (none)     -> origin/dev_fix_test
 - [deleted]             (none)     -> origin/feature_notification_admin_problems
 - [deleted]             (none)     -> origin/fix-username-validation
 - [deleted]             (none)     -> origin/loic-set-limits-for-reviewables
 - [deleted]             (none)     -> origin/old-styles
   a8e28060d..83f1a1337  main                   -> origin/main
 * [new branch]          0-fix-inj              -> origin/0-fix-inj
 + e5efacf69...b3cfecbd9 default-to-subcategory-on-read-only-categories -> origin/default-to-subcategory-on-read-only-categories  (forced update)
 * [new branch]          dependabot/bundler/rspec-rails-6.0.2 -> origin/dependabot/bundler/rspec-rails-6.0.2
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/jsdom-22.0.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/jsdom-22.0.0
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.1.1 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.1.1
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.3.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.3.0
 + b8e4996b9...f16673f79 dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.2.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.2.0  (forced update)
 + 3ed9e6173...4ae8c98dd dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.3.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.3.0  (forced update)
 + 3bb7b79f0...8e7c9354f dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.2.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.2.0  (forced update)
   43bbc443c..0532a1c3d  dev-new-user-menu-default-enable -> origin/dev-new-user-menu-default-enable
 * [new branch]          dev/delete-old-personal-message-settings -> origin/dev/delete-old-personal-message-settings
 + 895956cb1...10ea7a4f0 ember-this-fallback    -> origin/ember-this-fallback  (forced update)
   10dda035f..4838c2950  feature/add-user-status-to-inline-mentions-on-chat -> origin/feature/add-user-status-to-inline-mentions-on-chat
 * [new branch]          feature/add-user-status-to-inline-mentions-on-chat-in-progress -> origin/feature/add-user-status-to-inline-mentions-on-chat-in-progress
 * [new branch]          feature/status-on-mentions-on-updated-chat-messages -> origin/feature/status-on-mentions-on-updated-chat-messages
 * [new branch]          feature_user_tips      -> origin/feature_user_tips
 * [new branch]          fix-select-kit-click-outside-regression -> origin/fix-select-kit-click-outside-regression
 * [new branch]          fix-tests              -> origin/fix-tests
 * [new branch]          fix_inactive_user_card -> origin/fix_inactive_user_card
 * [new branch]          fix_utf8               -> origin/fix_utf8
 + 4e8828636...c7ddb4f19 generic-import         -> origin/generic-import  (forced update)
 + 0eeb01892...f5f7e58fa headless-new           -> origin/headless-new  (forced update)
 + ec1a0d83f...99f0e8336 modal-named-outlet     -> origin/modal-named-outlet  (forced update)
 * [new branch]          offline-app-testing    -> origin/offline-app-testing
 * [new branch]          sk-loading-slider      -> origin/sk-loading-slider
 * [new branch]          sk-tab-accessibility   -> origin/sk-tab-accessibility
   845000a6c..784006c71  stable                 -> origin/stable
 * [new branch]          tag-displayName        -> origin/tag-displayName
   a8e28060d..83f1a1337  tests-passed           -> origin/tests-passed
 * [new branch]          try-buildjet           -> origin/try-buildjet
 + 42b7246b2...bf6c559f0 ux_welcome_topic       -> origin/ux_welcome_topic  (forced update)
I, [2023-05-06T06:52:03.561034 #1]  INFO -- :
I, [2023-05-06T06:52:03.561383 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout tests-passed
  fi
'
Switched to a new branch 'tests-passed'
I, [2023-05-06T06:52:06.516985 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2023-05-06T06:52:06.517193 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2023-05-06T06:52:06.530237 #1]  INFO -- :
I, [2023-05-06T06:52:06.530405 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-05-06T06:52:06.534456 #1]  INFO -- :
I, [2023-05-06T06:52:06.534588 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-05-06T06:52:06.538372 #1]  INFO -- :
I, [2023-05-06T06:52:06.538516 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-05-06T06:52:06.542535 #1]  INFO -- :
I, [2023-05-06T06:52:06.542769 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-05-06T06:52:06.547190 #1]  INFO -- :
I, [2023-05-06T06:52:06.547280 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-05-06T06:52:06.550764 #1]  INFO -- :
I, [2023-05-06T06:52:06.550927 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2023-05-06T06:52:06.554458 #1]  INFO -- :
I, [2023-05-06T06:52:06.554594 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-05-06T06:52:06.559628 #1]  INFO -- :
I, [2023-05-06T06:52:06.559751 #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, [2023-05-06T06:52:06.565009 #1]  INFO -- :
I, [2023-05-06T06:52:06.565278 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2023-05-06T06:52:06.570958 #1]  INFO -- :
I, [2023-05-06T06:52:06.571073 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-05-06T06:52:06.576189 #1]  INFO -- :
I, [2023-05-06T06:52:06.576335 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2023-05-06T06:52:06.582132 #1]  INFO -- :
I, [2023-05-06T06:52:06.582265 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-05-06T06:52:06.587675 #1]  INFO -- :
I, [2023-05-06T06:52:06.587864 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-05-06T06:52:06.747097 #1]  INFO -- :
I, [2023-05-06T06:52:06.747269 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-05-06T06:52:06.752520 #1]  INFO -- :
I, [2023-05-06T06:52:06.752870 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-05-06T06:52:06.754871 #1]  INFO -- : > cd /var/www/discourse/plugins && mkdir -p plugins
I, [2023-05-06T06:52:06.758830 #1]  INFO -- :
I, [2023-05-06T06:52:06.759051 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-05-06T06:52:07.727198 #1]  INFO -- :
I, [2023-05-06T06:52:07.727358 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-akismet.git
Cloning into 'discourse-akismet'...
I, [2023-05-06T06:52:08.630543 #1]  INFO -- :
I, [2023-05-06T06:52:08.630764 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-affiliate
Cloning into 'discourse-affiliate'...
I, [2023-05-06T06:52:09.334400 #1]  INFO -- :
I, [2023-05-06T06:52:09.334558 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-spoiler-alert.git
Cloning into 'discourse-spoiler-alert'...
I, [2023-05-06T06:52:09.986366 #1]  INFO -- :
I, [2023-05-06T06:52:09.986577 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-staff-notes.git
Cloning into 'discourse-staff-notes'...
I, [2023-05-06T06:52:10.761092 #1]  INFO -- :
I, [2023-05-06T06:52:10.761254 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications
Cloning into 'discourse-push-notifications'...
I, [2023-05-06T06:52:11.466421 #1]  INFO -- :
I, [2023-05-06T06:52:11.466609 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2023-05-06T06:52:12.215585 #1]  INFO -- :
I, [2023-05-06T06:52:12.215806 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-saved-searches
Cloning into 'discourse-saved-searches'...
I, [2023-05-06T06:52:12.890655 #1]  INFO -- :
I, [2023-05-06T06:52:12.890824 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-locations
Cloning into 'discourse-locations'...
I, [2023-05-06T06:52:13.678669 #1]  INFO -- :
I, [2023-05-06T06:52:13.678918 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-layouts
Cloning into 'discourse-layouts'...
I, [2023-05-06T06:52:14.419291 #1]  INFO -- :
I, [2023-05-06T06:52:14.419456 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-follow
Cloning into 'discourse-follow'...
I, [2023-05-06T06:52:15.111205 #1]  INFO -- :
I, [2023-05-06T06:52:15.111376 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-perspective-api
Cloning into 'discourse-perspective-api'...
I, [2023-05-06T06:52:15.779273 #1]  INFO -- :
I, [2023-05-06T06:52:15.779586 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-yearly-review
Cloning into 'discourse-yearly-review'...
I, [2023-05-06T06:52:16.544854 #1]  INFO -- :
I, [2023-05-06T06:52:16.545020 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-templates
Cloning into 'discourse-templates'...
I, [2023-05-06T06:52:17.337565 #1]  INFO -- :
I, [2023-05-06T06:52:17.337869 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions
Cloning into 'discourse-reactions'...
I, [2023-05-06T06:52:18.088852 #1]  INFO -- :
I, [2023-05-06T06:52:18.089219 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-staff-alias
Cloning into 'discourse-staff-alias'...
I, [2023-05-06T06:52:18.783872 #1]  INFO -- :
I, [2023-05-06T06:52:18.784194 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-events
Cloning into 'discourse-events'...
I, [2023-05-06T06:52:19.492142 #1]  INFO -- :
I, [2023-05-06T06:52:19.492328 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bcc
Cloning into 'discourse-bcc'...
I, [2023-05-06T06:52:20.137877 #1]  INFO -- :
I, [2023-05-06T06:52:20.138304 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-05-06T06:52:20.142916 #1]  INFO -- :
I, [2023-05-06T06:52:20.143524 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-05-06T06:52:20.146756 #1]  INFO -- :
I, [2023-05-06T06:52:20.146993 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2023-05-06T06:52:20.150878 #1]  INFO -- :
I, [2023-05-06T06:52:20.151371 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-05-06T06:52:20.152042 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-05-06T06:52:20.152625 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-05-06T06:52:20.153122 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-05-06T06:52:20.153793 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-05-06T06:52:20.154368 #1]  INFO -- : > echo "done configuring web"
I, [2023-05-06T06:52:20.156949 #1]  INFO -- : done configuring web

I, [2023-05-06T06:52:20.157565 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-05-06T06:52:20.960558 #1]  INFO -- : Successfully installed bundler-2.4.4
1 gem installed

I, [2023-05-06T06:52:20.960688 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-05-06T06:52:29.137780 #1]  INFO -- :
I, [2023-05-06T06:52:29.138522 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning " > @mixer/parallel-prettier@2.0.3" has unmet peer dependency "prettier@^2.0.0".
warning "eslint-config-discourse > eslint-plugin-lodash@7.1.0" has unmet peer dependency "lodash@>=4".
warning Resolution field "babel-plugin-ember-template-compilation@2.0.0" is incompatible with requested version "babel-plugin-ember-template-compilation@^2.0.1"
warning " > babel-plugin-debug-macros@0.4.0-pre1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-5b395f6a-d971-4bac-9771-d71274a5c341 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5b395f6a-d971-4bac-9771-d71274a5c341 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5b395f6a-d971-4bac-9771-d71274a5c341 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
I, [2023-05-06T06:53:43.178353 #1]  INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ yarn --cwd app/assets/javascripts $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ patch-package
patch-package 7.0.0
Applying patches...
@ember/jquery@2.0.0 ✔
ember-cli@4.12.0 ✔
virtual-dom@2.1.1 ✔
Done in 37.67s.
Done in 67.78s.
yarn cache v1.22.19
success Cleared cache.
Done in 5.61s.

I, [2023-05-06T06:53:43.179353 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2023-05-06T06:53:43.490874 #1]  INFO -- :
I, [2023-05-06T06:53:43.491062 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2023-05-06T06:53:43.819273 #1]  INFO -- : You are replacing the current local value of without, which is currently "test:development"

I, [2023-05-06T06:53:43.819424 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2023-05-06T06:53:44.794848 #1]  INFO -- : Using rake 13.0.6
Using concurrent-ruby 1.2.2
Using i18n 1.12.0
Using minitest 5.18.0
Using tzinfo 2.0.6
Using activesupport 7.0.4.3
Using builder 3.2.4
Using erubi 1.12.0
Using racc 1.6.2
Using nokogiri 1.14.3 (x86_64-linux)
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.20.0
Using rails-html-sanitizer 1.5.0
Using actionview 7.0.4.3
Using rack 2.2.7
Using rack-test 2.1.0
Using actionpack 7.0.4.3
Using globalid 1.1.0
Using activejob 7.0.4.3
Using mini_mime 1.1.2
Using date 3.3.3
Using timeout 0.3.2
Using net-protocol 0.2.1
Using net-imap 0.3.4
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using mail 2.8.1
Using actionmailer 7.0.4.3
Using actionview_precompiler 0.2.3
Using activemodel 7.0.4.3
Using active_model_serializers 0.8.4
Using activerecord 7.0.4.3
Using public_suffix 5.0.1
Using addressable 2.8.4
Using aws-eventstream 1.2.0
Using aws-partitions 1.583.0
Using aws-sigv4 1.5.0
Using jmespath 1.6.2
Using aws-sdk-core 3.130.2
Using aws-sdk-kms 1.56.0
Using aws-sdk-s3 1.114.0
Using aws-sdk-sns 1.53.0
Using msgpack 1.7.0
Using bootsnap 1.16.0
Using bundler 2.4.4
Using byebug 11.1.3
Using cbor 0.5.9.6
Using cgi 0.3.6
Using chunky_png 1.4.0
Using coderay 1.1.3
Using colored2 3.1.2
Using connection_pool 2.4.0
Using openssl 3.1.0
Using openssl-signature_algorithm 1.3.0
Using cose 1.3.0
Using cppjieba_rb 0.4.2
Using css_parser 1.14.0
Using google-protobuf 3.22.3 (x86_64-linux)
Using sass-embedded 1.62.1 (x86_64-linux-gnu)
Using dartsass-ruby 3.0.1
Using method_source 1.0.0
Using thor 1.2.1
Using zeitwerk 2.6.8
Using railties 7.0.4.3
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
Using sprockets-rails 3.4.2
Using tilt 2.1.0
Using dartsass-sprockets 3.0.0
Using diffy 3.4.2
Using digest 3.1.1
Using discourse-fonts 0.0.9
Using discourse-seed-fu 2.3.12
Using regexp_parser 2.8.0
Using ecma-re-validator 0.4.0
Using email_reply_trimmer 0.1.13
Using excon 0.99.0
Using execjs 2.8.1
Using exifr 1.3.10
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using faraday 2.7.4
Using faraday-retry 2.1.0
Using fast_blank 1.0.1
Using fast_xs 0.8.0
Using fastimage 2.2.6
Using ffi 1.15.5
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 5.0.0
Using highline 2.1.0
Using hkdf 1.0.0
Using htmlentities 4.3.4
Using http_accept_language 2.1.1
Using image_size 3.2.0
Using in_threads 1.6.0
Using progress 3.6.0
Using image_optim 0.31.3
Using json 2.6.3
Using uri_template 0.7.0
Using json_schemer 0.2.23
Using jwt 2.7.0
Using kgio 2.11.4
Using libv8-node 16.10.0.0 (x86_64-linux)
Using request_store 1.5.1
Using lograge 0.12.0
Using logstash-event 1.2.02
Using logstash-logger 0.26.1
Using logster 2.12.2
Using lru_redux 1.1.0
Using lz4-ruby 0.3.3
Using maxminddb 0.1.22
Using memory_profiler 1.0.1
Using message_bus 4.3.2
Using mini_racer 0.6.3
Using redis 4.8.1
Using sidekiq 6.5.8
Using mini_scheduler 0.15.0
Using mini_sql 1.4.0
Using mini_suffix 0.3.3
Using multi_json 1.15.0
Using multi_xml 0.6.0
Using mustache 1.1.1
Using uri 0.12.1
Using net-http 0.3.2
Using nio4r 2.5.9
Using version_gem 1.1.2
Using oauth-tty 1.0.5
Using snaky_hash 2.0.1
Using oauth 1.1.0
Using oauth2 1.4.11
Using oj 3.13.14
Using omniauth 1.9.2
Using omniauth-oauth2 1.7.3
Using omniauth-facebook 9.0.0
Using omniauth-github 1.4.0
Using omniauth-google-oauth2 0.8.2
Using omniauth-oauth 1.2.0
Using omniauth-twitter 1.4.0
Using optimist 3.0.1
Using pg 1.4.6
Using pry 0.14.2
Using pry-byebug 3.10.1
Using pry-rails 0.3.9
Using puma 6.2.2
Using rack-mini-profiler 3.1.0
Using rack-protection 3.0.6
Using rails_failover 1.0.0
Using rails_multisite 4.0.1
Using raindrops 0.20.1
Using rbtrace 0.4.14
Using rchardet 1.8.0
Using redis-namespace 1.10.0
Using rexml 3.2.5
Using rinku 2.0.6
Using rotp 6.2.2
Using rqrcode_core 1.2.0
Using rqrcode 2.1.2
Using rss 0.2.9
Using rtlcss 0.2.0
Using ruby-readability 0.7.0
Using rubyzip 2.3.2
Using sanitize 6.0.1
Using sshkey 2.0.0
Using stackprof 0.2.25
Using tzinfo-data 1.2023.3
Using uglifier 4.2.0
Using unf_ext 0.0.8.2
Using unf 0.1.4
Using unicorn 6.1.0
Using web-push 3.0.0
Using webrick 1.7.0
Bundle complete! 136 Gemfile dependencies, 174 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2023-05-06T06:53:44.795634 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-05-06T06:53:47.522575 #1]  INFO -- : discourse-affiliate is already at latest compatible version
discourse-akismet is already at latest compatible version
discourse-bcc is already at latest compatible version
discourse-data-explorer is already at latest compatible version
discourse-events is already at latest compatible version
discourse-follow is already at latest compatible version
discourse-layouts is already at latest compatible version
discourse-locations is already at latest compatible version
discourse-perspective-api is already at latest compatible version
discourse-push-notifications is already at latest compatible version
discourse-reactions is already at latest compatible version
discourse-saved-searches is already at latest compatible version
discourse-spoiler-alert is already at latest compatible version
discourse-staff-alias is already at latest compatible version
discourse-staff-notes is already at latest compatible version
discourse-templates is already at latest compatible version
discourse-yearly-review is already at latest compatible version
docker_manager is already at latest compatible version

I, [2023-05-06T06:53:47.522929 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2023-05-06 06:54:19.095 UTC [863] discourse@discourse ERROR:  could not create unique index "index_tags_on_name_ccnew_ccnew_ccnew4"
2023-05-06 06:54:19.095 UTC [863] discourse@discourse DETAIL:  Key (name)=(hong-kong) is duplicated.
2023-05-06 06:54:19.095 UTC [863] discourse@discourse STATEMENT:  REINDEX INDEX CONCURRENTLY index_tags_on_name_ccnew_ccnew
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

PG::UniqueViolation: ERROR:  could not create unique index "index_tags_on_name_ccnew_ccnew_ccnew4"
DETAIL:  Key (name)=(hong-kong) is duplicated.
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:900:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `block in up'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `each'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:873:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:873:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8: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/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:854:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1413:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1432:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:246:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:221:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'

Caused by:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR:  could not create unique index "index_tags_on_name_ccnew_ccnew_ccnew4"
DETAIL:  Key (name)=(hong-kong) is duplicated.
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:900:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `block in up'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `each'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:873:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:873:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8: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/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:854:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1413:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1432:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:246:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:221:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'

Caused by:
PG::UniqueViolation: ERROR:  could not create unique index "index_tags_on_name_ccnew_ccnew_ccnew4"
DETAIL:  Key (name)=(hong-kong) is duplicated.
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.4.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:900:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `block in up'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `each'
/var/www/discourse/db/post_migrate/20230113002617_reindex_invalid_indexes.rb:17:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:873:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:873:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8: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/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:854:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1413:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1432:in `block in with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.4.3/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:246:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:221:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I, [2023-05-06T06:54:19.153599 #1]  INFO -- : gem install uuidtools -v 2.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed uuidtools-2.2.0
1 gem installed
gem install iso-639 -v 0.3.5 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed iso-639-0.3.5
1 gem installed
gem install ice_cube -v 0.16.4 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed ice_cube-0.16.4
1 gem installed
gem install icalendar -v 2.8.0 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
ActiveSupport is required for TimeWithZone support, but not required for general use.
Successfully installed icalendar-2.8.0
1 gem installed
gem install icalendar-recurrence -v 1.1.3 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed icalendar-recurrence-1.1.3
1 gem installed
gem install date -v 3.3.3 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Building native extensions. This could take a while...
Successfully installed date-3.3.3
1 gem installed
gem install time -v 0.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed time-0.2.0
1 gem installed
gem install stringio -v 3.0.2 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Building native extensions. This could take a while...
Successfully installed stringio-3.0.2
1 gem installed
gem install omnievent -v 0.1.0.pre3 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omnievent-0.1.0.pre3
1 gem installed
gem install omnievent-icalendar -v 0.1.0.pre5 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omnievent-icalendar-0.1.0.pre5
1 gem installed
gem install omnievent-api -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omnievent-api-0.1.0.pre2
1 gem installed
gem install omnievent-eventbrite -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omnievent-eventbrite-0.1.0.pre2
1 gem installed
gem install omnievent-eventzilla -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omnievent-eventzilla-0.1.0.pre2
1 gem installed
gem install omnievent-meetup -v 0.1.0.pre1 -i /var/www/discourse/plugins/discourse-events/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed omnievent-meetup-0.1.0.pre1
1 gem installed
gem install geocoder -v 1.4.4 -i /var/www/discourse/plugins/discourse-locations/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed geocoder-1.4.4
1 gem installed
== 20230113002617 ReindexInvalidIndexes: migrating ============================
-- execute("REINDEX INDEX CONCURRENTLY index_tags_on_name_ccnew_ccnew")

I, [2023-05-06T06:54:19.154050 #1]  INFO -- : Terminating async processes
I, [2023-05-06T06:54:19.154258 #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: 42
I, [2023-05-06T06:54:19.154354 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2023-05-06 06:54:19.154 UTC [42] LOG:  received fast shutdown request
103:signal-handler (1683356059) Received SIGTERM scheduling shutdown...
2023-05-06 06:54:19.164 UTC [42] LOG:  aborting any active transactions
2023-05-06 06:54:19.167 UTC [42] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2023-05-06 06:54:19.168 UTC [46] LOG:  shutting down
103:M 06 May 2023 06:54:19.246 # User requested shutdown...
103:M 06 May 2023 06:54:19.246 * Saving the final RDB snapshot before exiting.
2023-05-06 06:54:19.258 UTC [42] LOG:  database system is shut down
103:M 06 May 2023 06:54:20.440 * DB saved on disk
103:M 06 May 2023 06:54:20.440 # 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 727 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** 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.