My forum stays on the loading screen "Could not find module `virtual-dom` "

For 2 years, our Discourse forum site, which we have been actively using, cannot go beyond the loading screen after an error occurred during the update last night. I was doing all updates regularly at intervals of 2-3 days.
Although I tried many of the solutions suggested in this Forum, I could not solve it. I will be grateful if anyone has any ideas about the subject.

This is discourse-doctor output file

https://forum.liwasoft.com/MTFmOWIxZjFiNzJlNDE4.txt

I also tried to log in with Safe Mode, but unfortunately it stays on a white page and does not progress.

See this in the javascript console:

loader.js:247 Uncaught Error: Could not find module `virtual-dom` imported from `discourse/global-compat`
    at loader.js:247:1
    at u (loader.js:258:1)
    at a.findDeps (loader.js:168:1)
    at u (loader.js:262:1)
    at a.findDeps (loader.js:168:1)
    at u (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at HTMLDocument.<anonymous> (start-app.js:4:15)
    at discourse-boot.js:20:12
    at discourse-boot.js:1:1

javascript console output :

loader.js:247 
Uncaught Error: Could not find module `virtual-dom` imported from `discourse/global-compat`
    at loader.js:247:1
    at u (loader.js:258:1)
    at a.findDeps (loader.js:168:1)
    at u (loader.js:262:1)
    at a.findDeps (loader.js:168:1)
    at u (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at HTMLDocument.<anonymous> (start-app.js:4:15)
    at discourse-boot.js:20:12
    at discourse-boot.js:1:1

Hi, do you have a solution recommendation ?

The screenshot below can help give you more insight.

Hello :wave:

Do you mean update in the admin interface? Did you try rebuild app?

cd /var/discourse
./launcher rebuild app

Yes, I always make the update from the Admin panel.

Although I tried this and other solutions in the forum, it didn’t work.

cd /var/discourse
./launcher rebuild app

This is ./launcher rebuild app output :

root@discourse-ubuntu-s-1vcpu-2gb-intel-fra1-01:/var/discourse# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 6 (delta 3), reused 6 (delta 3), pack-reused 0
Unpacking objects: 100% (6/6), 1.54 KiB | 527.00 KiB/s, done.
From https://github.com/discourse/discourse_docker
 * [new branch]      allow_other_commands_to_be_passed_to_discourse_test -> origin/allow_other_commands_to_be                                                 _passed_to_discourse_test
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 600 app
app
2.0.20230825-1850: Pulling from discourse/base
Digest: sha256:3fd7032bbeb6f322ad7138ed154c0fc6177d75ebffba44871abea86620c0c7d5
Status: Image is up to date for discourse/base:2.0.20230825-1850
docker.io/discourse/base:2.0.20230825-1850
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2023-09-06T10:07:52.030240 #1]  INFO -- : Reading from stdin
I, [2023-09-06T10:07:52.038045 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2023-09-06T10:07:52.092526 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2023-09-06T10:07:52.093096 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2023-09-06T10:07:52.099199 #1]  INFO -- :
I, [2023-09-06T10:07:52.100631 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-09-06T10:07:52.107768 #1]  INFO -- :
I, [2023-09-06T10:07:52.109046 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2023-09-06T10:07:52.115380 #1]  INFO -- :
I, [2023-09-06T10:07:52.116446 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2023-09-06T10:07:52.122815 #1]  INFO -- :
I, [2023-09-06T10:07:52.123984 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-09-06T10:07:52.130551 #1]  INFO -- :
I, [2023-09-06T10:07:52.131725 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 ||                                             exit 0 && echo postgres already running stop container ; exit 1
2023/09/06 10:07:52 socat[18] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directo                                            ry
I, [2023-09-06T10:07:52.159111 #1]  INFO -- :
I, [2023-09-06T10:07:52.159858 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-09-06T10:07:52.163910 #1]  INFO -- :
I, [2023-09-06T10:07:52.164477 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-09-06T10:07:52.168041 #1]  INFO -- :
I, [2023-09-06T10:07:52.168567 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-09-06T10:07:52.171257 #1]  INFO -- :
I, [2023-09-06T10:07:52.171907 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-09-06T10:07:52.174840 #1]  INFO -- :
I, [2023-09-06T10:07:52.181245 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2023-09-06T10:07:52.187674 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2023-09-06T10:07:52.194307 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2023-09-06T10:07:52.200997 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2023-09-06T10:07:52.202082 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-09-06T10:07:53.546969 #1]  INFO -- :
I, [2023-09-06T10:07:53.547898 #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-09-06T10:07:53.551386 #1]  INFO -- :
I, [2023-09-06T10:07:53.551913 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-09-06T10:07:53.601227 #1]  INFO -- :
I, [2023-09-06T10:07:53.602202 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-09-06T10:07:53.606172 #1]  INFO -- :
I, [2023-09-06T10:07:53.607055 #1]  INFO -- : > /root/upgrade_postgres
I, [2023-09-06T10:07:53.617450 #1]  INFO -- :
I, [2023-09-06T10:07:53.618199 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2023-09-06T10:07:53.621923 #1]  INFO -- :
I, [2023-09-06T10:07:53.624297 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_d                                            irectory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.625392 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*                                            ' in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.626158 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit                                             = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.626893 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_sh                                            ared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.627544 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /e                                            tc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.628157 #1]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_tex                                            t_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.628774 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-09-06T10:07:53.635315 #1]  INFO -- :
I, [2023-09-06T10:07:53.636382 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segment                                            s = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.637284 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector =                                             $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.638033 #1]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_dur                                            ation_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-06T10:07:53.639094 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local r                                            eplication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-09-06T10:07:53.639784 #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-09-06T10:07:53.640348 #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-09-06T10:07:53.640882 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:post                                            gres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2023-09-06T10:07:53.643802 #1]  INFO -- : > sleep 5
2023-09-06 10:07:53.757 UTC [41] LOG:  starting PostgreSQL 13.12 (Debian 13.12-1.pgdg110+1) on x86_64-pc-linux-gnu                                            , compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-09-06 10:07:53.759 UTC [41] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-09-06 10:07:53.760 UTC [41] LOG:  listening on IPv6 address "::", port 5432
2023-09-06 10:07:53.763 UTC [41] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-09-06 10:07:53.768 UTC [44] LOG:  database system was shut down at 2023-09-06 10:07:41 UTC
2023-09-06 10:07:53.781 UTC [41] LOG:  database system is ready to accept connections
I, [2023-09-06T10:07:58.651833 #1]  INFO -- :
I, [2023-09-06T10:07:58.652118 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2023-09-06 10:07:58.761 UTC [54] postgres@postgres ERROR:  database "discourse" already exists
2023-09-06 10:07:58.761 UTC [54] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2023-09-06T10:07:58.764702 #1]  INFO -- :
I, [2023-09-06T10:07:58.765307 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || tru                                            e
2023-09-06 10:07:58.846 UTC [58] postgres@discourse ERROR:  role "discourse" already exists
2023-09-06 10:07:58.846 UTC [58] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2023-09-06T10:07:58.849700 #1]  INFO -- :
I, [2023-09-06T10:07:58.850424 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on databas                                            e discourse to discourse;"' || true
I, [2023-09-06T10:07:58.911025 #1]  INFO -- : GRANT

I, [2023-09-06T10:07:58.914676 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to di                                            scourse;"'
I, [2023-09-06T10:07:58.971507 #1]  INFO -- : ALTER SCHEMA

I, [2023-09-06T10:07:58.972254 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists                                             hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2023-09-06T10:07:59.055129 #1]  INFO -- : CREATE EXTENSION

I, [2023-09-06T10:07:59.055871 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists                                             pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2023-09-06T10:07:59.129155 #1]  INFO -- : CREATE EXTENSION

I, [2023-09-06T10:07:59.129854 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists                                             vector;"'
NOTICE:  extension "vector" already exists, skipping
I, [2023-09-06T10:07:59.201973 #1]  INFO -- : CREATE EXTENSION

I, [2023-09-06T10:07:59.202707 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists                                             hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2023-09-06T10:07:59.274443 #1]  INFO -- : CREATE EXTENSION

I, [2023-09-06T10:07:59.275143 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists                                             pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2023-09-06T10:07:59.347393 #1]  INFO -- : CREATE EXTENSION

I, [2023-09-06T10:07:59.348090 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists                                             vector;"'
NOTICE:  extension "vector" already exists, skipping
I, [2023-09-06T10:07:59.419292 #1]  INFO -- : CREATE EXTENSION

I, [2023-09-06T10:07:59.420104 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2023-09-06T10:07:59.426697 #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-09-06T10:07:59.522737 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: p                                            ostgres:postgres
I, [2023-09-06T10:07:59.528639 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2023-09-06T10:07:59.529342 #1]  INFO -- : > echo postgres installed!
I, [2023-09-06T10:07:59.534253 #1]  INFO -- : postgres installed!

I, [2023-09-06T10:07:59.542028 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2023-09-06T10:07:59.549287 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2023-09-06T10:07:59.556556 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2023-09-06T10:07:59.558111 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2023-09-06T10:07:59.559479 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2023-09-06T10:07:59.560725 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-09-06T10:07:59.565643 #1]  INFO -- :
I, [2023-09-06T10:07:59.566782 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.co                                            nf
I, [2023-09-06T10:07:59.567775 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2023-09-06T10:07:59.569018 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis                                            /redis.conf
I, [2023-09-06T10:07:59.570568 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc                                            /redis/redis.conf
I, [2023-09-06T10:07:59.571660 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/r                                            edis/redis.conf
I, [2023-09-06T10:07:59.572821 #1]  INFO -- : > echo redis installed
I, [2023-09-06T10:07:59.576789 #1]  INFO -- : redis installed

I, [2023-09-06T10:07:59.577721 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-09-06T10:07:59.586310 #1]  INFO -- : logfile ""

I, [2023-09-06T10:07:59.587098 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redi                                            s.conf
I, [2023-09-06T10:07:59.590330 #1]  INFO -- : > sleep 10
110:C 06 Sep 2023 10:07:59.607 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
110:C 06 Sep 2023 10:07:59.608 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=110, just started
110:C 06 Sep 2023 10:07:59.608 # Configuration loaded
110:M 06 Sep 2023 10:07:59.609 * monotonic clock: POSIX clock_gettime
110:M 06 Sep 2023 10:07:59.611 * Running mode=standalone, port=6379.
110:M 06 Sep 2023 10:07:59.611 # Server initialized
110:M 06 Sep 2023 10:07:59.612 # WARNING Memory overcommit must be enabled! Without it, a background save or repli                                            cation may fail under low memory condition. Being disabled, it can can also cause failures without low memory cond                                            ition, 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.
110:M 06 Sep 2023 10:07:59.613 * Loading RDB produced by version 7.0.7
110:M 06 Sep 2023 10:07:59.613 * RDB age 20 seconds
110:M 06 Sep 2023 10:07:59.613 * RDB memory usage when created 8.58 Mb
110:M 06 Sep 2023 10:07:59.637 * Done loading RDB, keys loaded: 1872, keys expired: 2.
110:M 06 Sep 2023 10:07:59.637 * DB loaded from disk: 0.025 seconds
110:M 06 Sep 2023 10:07:59.638 * Ready to accept connections
I, [2023-09-06T10:08:09.596894 #1]  INFO -- :
I, [2023-09-06T10:08:09.597636 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-09-06T10:08:09.601840 #1]  INFO -- : thpoff is installed!

I, [2023-09-06T10:08:09.602423 #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-09-06T10:08:09.670633 #1]  INFO -- :
I, [2023-09-06T10:08:09.671330 #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-09-06T10:08:09.742329 #1]  INFO -- :
I, [2023-09-06T10:08:09.743092 #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-09-06T10:08:09.815476 #1]  INFO -- :
I, [2023-09-06T10:08:09.816085 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-09-06T10:08:09.819688 #1]  INFO -- :
I, [2023-09-06T10:08:09.823510 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2023-09-06T10:08:09.829557 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2023-09-06T10:08:09.835437 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2023-09-06T10:08:09.840953 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2023-09-06T10:08:09.846437 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2023-09-06T10:08:09.851621 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2023-09-06T10:08:09.852116 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-09-06T10:08:09.852560 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-09-06T10:08:09.855348 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
137:C 06 Sep 2023 10:08:09.864 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
137:C 06 Sep 2023 10:08:09.864 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=137, just started
137:C 06 Sep 2023 10:08:09.864 # Configuration loaded
137:M 06 Sep 2023 10:08:09.865 * monotonic clock: POSIX clock_gettime
137:M 06 Sep 2023 10:08:09.865 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
137:M 06 Sep 2023 10:08:09.866 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33693/33693), done.
I, [2023-09-06T10:08:13.710732 #1]  INFO -- : HEAD is now at 058c8496f DEV: Convert explain-reviewable modal to component-based API (#23274)

I, [2023-09-06T10:08:13.711329 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-09-06T10:08:13.879285 #1]  INFO -- :
I, [2023-09-06T10:08:13.880014 #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/0-constrain
 - [deleted]             (none)     -> origin/0-sadd
 - [deleted]             (none)     -> origin/0-sticky-service
 - [deleted]             (none)     -> origin/a11y-topic-navigation
 - [deleted]             (none)     -> origin/admin-report-tab-fix
 - [deleted]             (none)     -> origin/cache-theme-fields-once
 - [deleted]             (none)     -> origin/composer-warnings-use-notice
 - [deleted]             (none)     -> origin/debug-macros-patch
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.2.3
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.5.4
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.2.1
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.4.3
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.3.2
 - [deleted]             (none)     -> origin/dev/change-custom-modal-api-reviewable-item
 - [deleted]             (none)     -> origin/dev/move-delete-user-action-to-agree-menu-part-2
 - [deleted]             (none)     -> origin/dev/no-need-to-track-status-of-deleted-user
 - [deleted]             (none)     -> origin/ember-this-fallback
 - [deleted]             (none)     -> origin/issue/admin-plugin-improvements-modernization
 - [deleted]             (none)     -> origin/loic-chat-specs-refactor
 - [deleted]             (none)     -> origin/revert-23267-ux-chat-composer-divider-fix
 - [deleted]             (none)     -> origin/upgrade-login-modal
 - [deleted]             (none)     -> origin/uploads-in-backup
   058c8496f..48951bb35  main                    -> origin/main
 * [new branch]          0-fix-category          -> origin/0-fix-category
 * [new branch]          0-tooltip               -> origin/0-tooltip
 + 560460ee8...49f177131 2fa-a11y-updates        -> origin/2fa-a11y-updates  (forced update)
   249b97ce9..f4d8ff71d  a11y-contrast           -> origin/a11y-contrast
 * [new branch]          add_support_for_uploading_a_theme_from_directory_in_system_tests -> origin/add_support_for_uploading_a_theme_from_directory_in_system_tests
 + 63cb7d4ec...678a7747d category-bullet-only    -> origin/category-bullet-only  (forced update)
 * [new branch]          category-bullet-only-generator -> origin/category-bullet-only-generator
 * [new branch]          composer-warnings-use-notice-alt -> origin/composer-warnings-use-notice-alt
 * [new branch]          create-personal-chat-notifications -> origin/create-personal-chat-notifications
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.3.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.3.0
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.6.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.6.0
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.5.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.5.0
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.5.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.5.0
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.4.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.4.0
 * [new branch]          dev-convert-grant-badge-modal-to-component-api -> origin/dev-convert-grant-badge-modal-to-component-api
 + 8c8bdc283...d379b4a0f dev/convert-change-post-notice-to-glimmer-dmodal -> origin/dev/convert-change-post-notice-to-glimmer-dmodal  (forced update)
 * [new branch]          dev/topic-list-item-plugin-outlet -> origin/dev/topic-list-item-plugin-outlet
   a4bb515c3..d9dfbda61  discovery-named-outlets -> origin/discovery-named-outlets
   5cee6ec88..800592d0a  feature/show-status-on-mentions-when-user-havent-used-autocomplete -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
 + 78f0fe6fb...656e045ba fix/do-not-consider-codeblocks-when-parsing-mentions -> origin/fix/do-not-consider-codeblocks-when-parsing-mentions  (forced update)
 * [new branch]          fix/do-not-consider-codeblocks-when-parsing-mentions-alt -> origin/fix/do-not-consider-codeblocks-when-parsing-mentions-alt
 + 3ce70aa3f...b7214faff generic-import-latest   -> origin/generic-import-latest  (forced update)
 + fea7a44a1...38c443170 loic-migrate-chat-message-creator-to-a-service -> origin/loic-migrate-chat-message-creator-to-a-service  (forced update)
 * [new branch]          noised                  -> origin/noised
 * [new branch]          psql-output-tests       -> origin/psql-output-tests
 * [new branch]          redo-post-focus-setting -> origin/redo-post-focus-setting
 * [new branch]          rotate-token-on-ip-change -> origin/rotate-token-on-ip-change
   f81ed652f..28b632ace  stable                  -> origin/stable
 * [new branch]          test-mentions-duplicates -> origin/test-mentions-duplicates
   058c8496f..ede73f923  tests-passed            -> origin/tests-passed
 * [new branch]          theme-qunit-production  -> origin/theme-qunit-production
 * [new branch]          topic-noindex           -> origin/topic-noindex
 * [new branch]          tweak-feature-items     -> origin/tweak-feature-items
 * [new branch]          update-login-modal-mark -> origin/update-login-modal-mark
 * [new branch]          wip-close-on-click-outside-search -> origin/wip-close-on-click-outside-search
I, [2023-09-06T10:08:14.866942 #1]  INFO -- :
I, [2023-09-06T10:08:14.867410 #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-09-06T10:08:20.116376 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2023-09-06T10:08:20.117056 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2023-09-06T10:08:20.130888 #1]  INFO -- :
I, [2023-09-06T10:08:20.131413 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-09-06T10:08:20.135769 #1]  INFO -- :
I, [2023-09-06T10:08:20.136271 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-09-06T10:08:20.139477 #1]  INFO -- :
I, [2023-09-06T10:08:20.139876 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-09-06T10:08:20.142928 #1]  INFO -- :
I, [2023-09-06T10:08:20.143288 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-09-06T10:08:20.146295 #1]  INFO -- :
I, [2023-09-06T10:08:20.146649 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-09-06T10:08:20.150200 #1]  INFO -- :
I, [2023-09-06T10:08:20.150609 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2023-09-06T10:08:20.153841 #1]  INFO -- :
I, [2023-09-06T10:08:20.154213 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2023-09-06T10:08:20.158930 #1]  INFO -- :
I, [2023-09-06T10:08:20.159326 #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-09-06T10:08:20.164062 #1]  INFO -- :
I, [2023-09-06T10:08:20.164454 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2023-09-06T10:08:20.168980 #1]  INFO -- :
I, [2023-09-06T10:08:20.169378 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-09-06T10:08:20.173612 #1]  INFO -- :
I, [2023-09-06T10:08:20.173965 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2023-09-06T10:08:20.179314 #1]  INFO -- :
I, [2023-09-06T10:08:20.179713 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-09-06T10:08:20.184363 #1]  INFO -- :
I, [2023-09-06T10:08:20.184801 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-09-06T10:08:20.359596 #1]  INFO -- :
I, [2023-09-06T10:08:20.360164 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-09-06T10:08:20.363160 #1]  INFO -- :
I, [2023-09-06T10:08:20.363738 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-09-06T10:08:20.364556 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-09-06T10:08:21.440154 #1]  INFO -- :
I, [2023-09-06T10:08:21.440706 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2023-09-06T10:08:22.505481 #1]  INFO -- :
I, [2023-09-06T10:08:22.506004 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
I, [2023-09-06T10:08:23.085292 #1]  INFO -- :
I, [2023-09-06T10:08:23.085870 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bbcode-color.git
Cloning into 'discourse-bbcode-color'...
I, [2023-09-06T10:08:23.626593 #1]  INFO -- :
I, [2023-09-06T10:08:23.627211 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-apple-auth.git
Cloning into 'discourse-apple-auth'...
I, [2023-09-06T10:08:24.184884 #1]  INFO -- :
I, [2023-09-06T10:08:24.185553 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
I, [2023-09-06T10:08:25.650356 #1]  INFO -- :
I, [2023-09-06T10:08:25.651013 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-locations.git
Cloning into 'discourse-locations'...
I, [2023-09-06T10:08:26.431109 #1]  INFO -- :
I, [2023-09-06T10:08:26.431640 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/merefield/discourse-chatbot.git
Cloning into 'discourse-chatbot'...
I, [2023-09-06T10:08:26.957464 #1]  INFO -- :
I, [2023-09-06T10:08:26.957965 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-docs.git
Cloning into 'discourse-docs'...
I, [2023-09-06T10:08:27.825042 #1]  INFO -- :
I, [2023-09-06T10:08:27.825623 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-ai.git
Cloning into 'discourse-ai'...
I, [2023-09-06T10:08:31.474693 #1]  INFO -- :
I, [2023-09-06T10:08:31.475573 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-09-06T10:08:31.484905 #1]  INFO -- :
I, [2023-09-06T10:08:31.486731 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-09-06T10:08:31.494926 #1]  INFO -- :
I, [2023-09-06T10:08:31.498750 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2023-09-06T10:08:31.507708 #1]  INFO -- :
I, [2023-09-06T10:08:31.509398 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-09-06T10:08:31.509848 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2023-09-06T10:08:31.510162 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-09-06T10:08:31.510949 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2023-09-06T10:08:31.511710 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-09-06T10:08:31.512283 #1]  INFO -- : > echo "done configuring web"
I, [2023-09-06T10:08:31.520194 #1]  INFO -- : done configuring web

I, [2023-09-06T10:08:31.522801 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2023-09-06T10:08:32.236827 #1]  INFO -- : Successfully installed bundler-2.4.13
1 gem installed

I, [2023-09-06T10:08:32.237512 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-09-06T10:08:35.536295 #1]  INFO -- :
I, [2023-09-06T10:08:35.536960 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2023-09-06T10:08:35.539666 #1]  INFO -- :
I, [2023-09-06T10:08:35.540029 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning "workspace-aggregator-88207ab1-6c66-4e5a-a896-759375bd53fe > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-88207ab1-6c66-4e5a-a896-759375bd53fe > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-88207ab1-6c66-4e5a-a896-759375bd53fe > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-88207ab1-6c66-4e5a-a896-759375bd53fe > discourse-plugins > ember-this-fallback@0.3.1" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-88207ab1-6c66-4e5a-a896-759375bd53fe > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2023-09-06T10:09:36.204401 #1]  INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
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 8.0.0
Applying patches...
@ember/jquery@2.0.0 ✔
babel-plugin-debug-macros@0.3.4 ✔
ember-source@3.28.12 ✔
ember-this-fallback@0.3.1 (1 initial) ✔
ember-this-fallback@0.3.1 (2 themes) ✔
virtual-dom@2.1.1 ✔
Done in 54.84s.
Done in 55.95s.
yarn cache v1.22.19
success Cleared cache.
Done in 4.14s.

I, [2023-09-06T10:09:36.209010 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2023-09-06T10:09:36.532608 #1]  INFO -- :
I, [2023-09-06T10:09:36.533145 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2023-09-06T10:09:36.707501 #1]  INFO -- : You are replacing the current local value of without, which is currently "test:development"

I, [2023-09-06T10:09:36.708100 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2023-09-06T10:09:56.618430 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/.........
Using rake 13.0.6
Using minitest 5.19.0
Using concurrent-ruby 1.2.2
Using racc 1.7.1
Using builder 3.2.4
Using rack 2.2.8
Using mini_mime 1.1.5
Using date 3.3.3
Using crass 1.0.6
Using public_suffix 5.0.3
Using aws-eventstream 1.2.0
Using aws-partitions 1.583.0
Using erubi 1.12.0
Using jmespath 1.6.2
Using bundler 2.4.13
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 4.0.0
Using connection_pool 2.4.1
Using openssl 3.1.0
Using cppjieba_rb 0.4.2
Using msgpack 1.7.2
Using method_source 1.0.0
Using timeout 0.4.0
Using thor 1.2.2
Using zeitwerk 2.6.11
Using tilt 2.2.0
Using diffy 3.4.2
Using digest 3.1.1
Using discourse-fonts 0.0.9
Using email_reply_trimmer 0.1.13
Using excon 0.102.0
Fetching google-protobuf 3.24.2 (x86_64-linux)
Using exifr 1.4.0
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using fast_blank 1.0.1
Using fast_xs 0.8.0
Using fastimage 2.2.7
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 in_threads 1.6.0
Using progress 3.6.0
Using json 2.6.3
Using regexp_parser 2.8.1
Using unf_ext 0.0.8.2
Using jwt 2.7.1
Using execjs 2.8.1
Using kgio 2.11.4
Using libv8-node 18.16.0.0 (x86_64-linux)
Using logstash-event 1.2.02
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 redis 4.8.1
Using mini_sql 1.5.0
Using multi_json 1.15.0
Using multi_xml 0.6.0
Using mustache 1.1.1
Using uri 0.12.2
Using nio4r 2.5.9
Using version_gem 1.1.3
Fetching oj 3.16.1
Using image_size 3.3.0
Using optimist 3.1.0
Using pg 1.4.6
Using raindrops 0.20.1
Using rchardet 1.8.0
Using rexml 3.2.6
Using rinku 2.0.6
Fetching rotp 6.3.0
Using rqrcode_core 1.2.0
Using rubyzip 2.3.2
Using sshkey 3.0.0
Using stackprof 0.2.25
Using i18n 1.14.1
Using tzinfo 2.0.6
Using nokogiri 1.15.4 (x86_64-linux)
Using rack-test 2.1.0
Using addressable 2.8.5
Using aws-sigv4 1.5.0
Using bootsnap 1.16.0
Using openssl-signature_algorithm 1.3.0
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
Installing rotp 6.3.0
Using request_store 1.5.1
Using message_bus 4.3.8
Using pry 0.14.2
Using rack-mini-profiler 3.1.1
Using rack-protection 3.1.0
Using net-protocol 0.2.1
Using faraday 2.7.10
Using unf 0.1.4
Using mini_suffix 0.3.3
Using omniauth 1.9.2
Using activesupport 7.0.7
Using loofah 2.21.3
Using aws-sdk-core 3.130.2
Using cose 1.3.0
Fetching css_parser 1.16.0
Installing oj 3.16.1 with native extensions
Installing css_parser 1.16.0
Using image_optim 0.31.3
Using logstash-logger 0.26.1
Using mini_racer 0.8.0
Using sidekiq 6.5.9
Using net-http 0.3.2
Using oauth-tty 1.0.5
Using snaky_hash 2.0.1
Using puma 6.3.1
Using rbtrace 0.4.14
Using redis-namespace 1.11.0
Using rqrcode 2.2.0
Using rss 0.3.0
Using ruby-readability 0.7.0
Using sanitize 6.0.2
Using tzinfo-data 1.2023.3
Using uglifier 4.2.0
Using unicorn 6.1.0
Using web-push 3.0.0
Using rails-dom-testing 2.2.0
Fetching globalid 1.2.1
Using rails-html-sanitizer 1.6.0
Installing google-protobuf 3.24.2 (x86_64-linux)
Using net-imap 0.3.7
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using activemodel 7.0.7
Using aws-sdk-kms 1.56.0
Using aws-sdk-sns 1.53.0
Using faraday-retry 2.2.0
Using simpleidn 0.2.1
Using oauth2 1.4.11
Using pry-byebug 3.10.1
Using pry-rails 0.3.9
Using mini_scheduler 0.16.0
Using rtlcss 0.2.1
Using oauth 1.1.0
Using actionview 7.0.7
Using mail 2.8.1
Using active_model_serializers 0.8.4
Using activerecord 7.0.7
Using aws-sdk-s3 1.114.0
Using json_schemer 2.0.0
Using omniauth-oauth2 1.7.3
Using omniauth-oauth 1.2.0
Installing globalid 1.2.1
Using actionpack 7.0.7
Using actionview_precompiler 0.3.0
Using discourse-seed-fu 2.3.12
Using omniauth-facebook 9.0.0
Using omniauth-github 1.4.0
Using omniauth-google-oauth2 0.8.2
Using omniauth-twitter 1.4.0
Using railties 7.0.7
Using sprockets-rails 3.4.2
Using activejob 7.0.7
Using lograge 0.13.0
Using rails_failover 2.0.1
Using rails_multisite 5.0.0
Using actionmailer 7.0.7
Using sass-embedded 1.66.1 (x86_64-linux-gnu)
Using dartsass-ruby 3.0.1
Using dartsass-sprockets 3.0.0
Bundle complete! 136 Gemfile dependencies, 172 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2023-09-06T10:09:56.618989 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-09-06T10:10:00.693390 #1]  INFO -- : discourse-ai is already at latest compatible version
discourse-apple-auth is already at latest compatible version
discourse-bbcode-color is already at latest compatible version
discourse-chatbot is already at latest compatible version
discourse-docs is already at latest compatible version
discourse-locations is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-user-notes is already at latest compatible version
discourse-whos-online is already at latest compatible version
docker_manager is already at latest compatible version

I, [2023-09-06T10:10:00.694450 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2023-09-06 10:10:14.940 UTC [841] discourse@discourse ERROR:  could not open extension control file "/usr/share/postgresql/13/extension/embedding.control": No such file or directory
2023-09-06 10:10:14.940 UTC [841] discourse@discourse STATEMENT:  CREATE EXTENSION IF NOT EXISTS "embedding"
----------------------------DISCOURSE CHATBOT ERROR----------------------------------
 Discourse Chatbot now requires the embedding extension on the PostgreSQL database.
                  See required changes to `app.yml` described at:
              https://github.com/merefield/discourse-chatbot/pull/33
            Alternatively, you can remove Discourse Chatbot to rebuild.
----------------------------DISCOURSE CHATBOT ERROR----------------------------------
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

PG::UndefinedFile: ERROR:  could not open extension control file "/usr/share/postgresql/13/extension/embedding.control": No such file or directory
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.1/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.1/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/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.7/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.7/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.7/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.7/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `exec_query'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:434:in `enable_extension'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/plugins/discourse-chatbot/db/migrate/20230820010101_enable_embedding_extension.rb:6:in `change'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:870: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.7/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.7/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/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.7/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.7/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.7/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.7/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1411:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/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.7/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:250: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:225: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::StatementInvalid: PG::UndefinedFile: ERROR:  could not open extension control file "/usr/share/postgresql/13/extension/embedding.control": No such file or directory
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.1/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.1/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/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.7/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.7/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.7/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.7/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `exec_query'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:434:in `enable_extension'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/plugins/discourse-chatbot/db/migrate/20230820010101_enable_embedding_extension.rb:6:in `change'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:870: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.7/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.7/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/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.7/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.7/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.7/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.7/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1411:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/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.7/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:250: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:225: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::UndefinedFile: ERROR:  could not open extension control file "/usr/share/postgresql/13/extension/embedding.control": No such file or directory
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.1/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.1/lib/patches/db/pg.rb:69:in `exec_params'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/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.7/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.7/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.7/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.7/lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `exec_query'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/postgresql_adapter.rb:434:in `enable_extension'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:932:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/migration.rb:900:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:921:in `method_missing'
/var/www/discourse/plugins/discourse-chatbot/db/migrate/20230820010101_enable_embedding_extension.rb:6:in `change'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:870: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.7/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.7/lib/active_record/migration.rb:853:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/migration.rb:852:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1046:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7/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.7/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.7/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.7/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.7/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/transactions.rb:209:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1411:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1333:in `each'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1333:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1282:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/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.7/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.7/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1428:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1282:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1117:in `up'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/migration.rb:1092:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.7/lib/active_record/tasks/database_tasks.rb:262:in `migrate'
/var/www/discourse/lib/tasks/db.rake:250: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:225: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-09-06T10:10:14.982239 #1]  INFO -- : gem install tokenizers -v 0.3.3 -i /var/www/discourse/plugins/discourse-ai/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed tokenizers-0.3.3-x86_64-linux
1 gem installed
gem install tiktoken_ruby -v 0.0.5 -i /var/www/discourse/plugins/discourse-ai/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed tiktoken_ruby-0.0.5-x86_64-linux
1 gem installed
gem install multipart-post -v 2.3.0 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed multipart-post-2.3.0
1 gem installed
gem install faraday-multipart -v 1.0.4 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed faraday-multipart-1.0.4
1 gem installed
gem install ruby-openai -v 4.2.0 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed ruby-openai-4.2.0
1 gem installed
gem install google_search_results -v 2.2.0 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed google_search_results-2.2.0
1 gem installed
gem install wikipedia-client -v 1.17.0 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed wikipedia-client-1.17.0
1 gem installed
gem install childprocess -v 4.1.0 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed childprocess-4.1.0
1 gem installed
gem install safe_ruby -v 1.0.4 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed safe_ruby-1.0.4
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
Compiled js-processor: tmp/js-processor.js
== 20230820010101 EnableEmbeddingExtension: migrating =========================
-- enable_extension(:embedding)

I, [2023-09-06T10:10:14.983047 #1]  INFO -- : Terminating async processes
I, [2023-09-06T10:10:14.983220 #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: 41
2023-09-06 10:10:14.983 UTC [41] LOG:  received fast shutdown request
I, [2023-09-06T10:10:14.983664 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 110
110:signal-handler (1693995014) Received SIGTERM scheduling shutdown...
2023-09-06 10:10:14.992 UTC [41] LOG:  aborting any active transactions
2023-09-06 10:10:15.000 UTC [41] LOG:  background worker "logical replication launcher" (PID 50) exited with exit code 1
2023-09-06 10:10:15.000 UTC [45] LOG:  shutting down
2023-09-06 10:10:15.024 UTC [41] LOG:  database system is shut down
110:M 06 Sep 2023 10:10:15.035 # User requested shutdown...
110:M 06 Sep 2023 10:10:15.035 * Saving the final RDB snapshot before exiting.
110:M 06 Sep 2023 10:10:15.066 * DB saved on disk
110:M 06 Sep 2023 10:10:15.066 # 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 762 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.
1 Like

There have been (rare? unique?) case when a plugin would cause an error even while disabled. Did you try to rebuild without any plugin in app.yml?

Spending hours trying to pinpoint an issue is often frustrating, and re-creating the server, or trying to restore a backup on a temporary server to see if it works is sometimes faster, even if we don’t know where the issue originates from. :confused:

edit:

----------------------------DISCOURSE CHATBOT ERROR----------------------------------
 Discourse Chatbot now requires the embedding extension on the PostgreSQL database.
                  See required changes to `app.yml` described at:
              https://github.com/merefield/discourse-chatbot/pull/33
            Alternatively, you can remove Discourse Chatbot to rebuild.
----------------------------DISCOURSE CHATBOT ERROR----------------------------------

Did you try this?

5 Likes

I have now disabled all plugins and will try the rebuild again. I will post the result here.

image

Yeah, the Discourse Chatbot plugin… I remember I saw the similar issue here :slightly_smiling_face:

4 Likes

I rebuilt it by disabling all plugins and everything seems fine now. As you suggested, I will now rebuild again by disabling only the discource-chatbot plugin.

2 Likes

Thank you for your concern. This solved my problem and now everything is fine :ok_hand:

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.