Sidekiq not working

During the upgrade I got the following error and then I saw a suggestion in the admin panel that sidekiq is not working. Now where do I need to run which command to be able to run sidekiq again?

My forum seems to be completely broken right now. what should I do?

# Oops

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

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

No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site's feedback category.
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning " > babel-plugin-debug-macros@0.4.0-pre1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-5dd5360e-88fc-4a76-b735-19c1dbd5b408 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5dd5360e-88fc-4a76-b735-19c1dbd5b408 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5dd5360e-88fc-4a76-b735-19c1dbd5b408 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-5dd5360e-88fc-4a76-b735-19c1dbd5b408 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 492 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.
adecbbe3cdfa1a950e4303c0df966b8def31f2cab757d77fd0e89cd40551461b

Was this from the /upgrade page or from a ./launcher rebuild app? And were there any errors in there rather than warnings?

I wanted to upgrade in admin panel. First there was the docker update, I did it. then I saw a warning that it gave an error while trying to do all the updates and sidekiq is not working. Then, when trying to update the SSH termianl with ./louncher rebuild app, it gave the above errors.

Could you scroll up and look for errors? (or paste it here so we can see)

root@mmm:/var/discourse# cd /var/discourse
root@mmmm:/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.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-02T22:07:49.579701 #1]  INFO -- : Reading from stdin
I, [2023-09-02T22:07:49.586071 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2023-09-02T22:07:49.671877 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2023-09-02T22:07:49.672173 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2023-09-02T22:07:49.682318 #1]  INFO -- :
I, [2023-09-02T22:07:49.683570 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2023-09-02T22:07:49.688529 #1]  INFO -- :
I, [2023-09-02T22:07:49.689210 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2023-09-02T22:07:49.693902 #1]  INFO -- :
I, [2023-09-02T22:07:49.694618 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2023-09-02T22:07:49.699263 #1]  INFO -- :
I, [2023-09-02T22:07:49.700022 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2023-09-02T22:07:49.706051 #1]  INFO -- :
I, [2023-09-02T22:07:49.706938 #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/02 22:07:49 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2023-09-02T22:07:49.736133 #1]  INFO -- :
I, [2023-09-02T22:07:49.736692 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2023-09-02T22:07:49.745764 #1]  INFO -- :
I, [2023-09-02T22:07:49.746652 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2023-09-02T22:07:49.755152 #1]  INFO -- :
I, [2023-09-02T22:07:49.755642 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-09-02T22:07:49.761611 #1]  INFO -- :
I, [2023-09-02T22:07:49.762623 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2023-09-02T22:07:49.767791 #1]  INFO -- :
I, [2023-09-02T22:07:49.777050 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2023-09-02T22:07:49.785582 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2023-09-02T22:07:49.798333 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2023-09-02T22:07:49.810973 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2023-09-02T22:07:49.811974 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2023-09-02T22:07:51.115273 #1]  INFO -- :
I, [2023-09-02T22:07:51.115685 #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-02T22:07:51.122216 #1]  INFO -- :
I, [2023-09-02T22:07:51.122879 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2023-09-02T22:07:51.164754 #1]  INFO -- :
I, [2023-09-02T22:07:51.165098 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2023-09-02T22:07:51.168259 #1]  INFO -- :
I, [2023-09-02T22:07:51.168702 #1]  INFO -- : > /root/upgrade_postgres
I, [2023-09-02T22:07:51.175090 #1]  INFO -- :
I, [2023-09-02T22:07:51.175315 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2023-09-02T22:07:51.177636 #1]  INFO -- :
I, [2023-09-02T22:07:51.179658 #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-09-02T22:07:51.180327 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-02T22:07:51.180699 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-02T22:07:51.181217 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-02T22:07:51.181710 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-02T22:07:51.182112 #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-09-02T22:07:51.182578 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2023-09-02T22:07:51.188121 #1]  INFO -- :
I, [2023-09-02T22:07:51.188627 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-02T22:07:51.189167 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2023-09-02T22:07:51.189721 #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-09-02T22:07:51.190742 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2023-09-02T22:07:51.191369 #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-02T22:07:51.191905 #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-02T22:07:51.192449 #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-09-02T22:07:51.194348 #1]  INFO -- : > sleep 5
2023-09-02 22:07:51.389 UTC [42] 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-02 22:07:51.390 UTC [42] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-09-02 22:07:51.391 UTC [42] LOG:  listening on IPv6 address "::", port 5432
2023-09-02 22:07:51.393 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-09-02 22:07:51.401 UTC [45] LOG:  database system was shut down at 2023-09-02 22:07:38 UTC
2023-09-02 22:07:51.414 UTC [42] LOG:  database system is ready to accept connections
I, [2023-09-02T22:07:56.200223 #1]  INFO -- :
I, [2023-09-02T22:07:56.200928 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2023-09-02 22:07:56.332 UTC [55] postgres@postgres ERROR:  database "discourse" already exists
2023-09-02 22:07:56.332 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2023-09-02T22:07:56.335904 #1]  INFO -- :
I, [2023-09-02T22:07:56.337105 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2023-09-02 22:07:56.417 UTC [59] postgres@discourse ERROR:  role "discourse" already exists
2023-09-02 22:07:56.417 UTC [59] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2023-09-02T22:07:56.420188 #1]  INFO -- :
I, [2023-09-02T22:07:56.420904 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2023-09-02T22:07:56.493764 #1]  INFO -- : GRANT

I, [2023-09-02T22:07:56.494401 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2023-09-02T22:07:56.562652 #1]  INFO -- : ALTER SCHEMA

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

I, [2023-09-02T22:07:56.640387 #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-02T22:07:56.713793 #1]  INFO -- : CREATE EXTENSION

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

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

I, [2023-09-02T22:07:56.856443 #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-02T22:07:56.926031 #1]  INFO -- : CREATE EXTENSION

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

I, [2023-09-02T22:07:56.995105 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2023-09-02T22:07:56.997974 #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-02T22:07:57.089020 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2023-09-02T22:07:57.095615 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2023-09-02T22:07:57.096218 #1]  INFO -- : > echo postgres installed!
I, [2023-09-02T22:07:57.099161 #1]  INFO -- : postgres installed!

I, [2023-09-02T22:07:57.106774 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2023-09-02T22:07:57.114800 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2023-09-02T22:07:57.122028 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2023-09-02T22:07:57.123976 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.125652 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.126885 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2023-09-02T22:07:57.130904 #1]  INFO -- :
I, [2023-09-02T22:07:57.131826 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.133076 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.134407 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.135740 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.136900 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2023-09-02T22:07:57.138192 #1]  INFO -- : > echo redis installed
I, [2023-09-02T22:07:57.141955 #1]  INFO -- : redis installed

I, [2023-09-02T22:07:57.142350 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2023-09-02T22:07:57.150915 #1]  INFO -- : logfile ""

I, [2023-09-02T22:07:57.151343 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-09-02T22:07:57.153503 #1]  INFO -- : > sleep 10
111:C 02 Sep 2023 22:07:57.174 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
111:C 02 Sep 2023 22:07:57.174 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=111, just started
111:C 02 Sep 2023 22:07:57.174 # Configuration loaded
111:M 02 Sep 2023 22:07:57.175 * monotonic clock: POSIX clock_gettime
111:M 02 Sep 2023 22:07:57.178 * Running mode=standalone, port=6379.
111:M 02 Sep 2023 22:07:57.178 # Server initialized
111:M 02 Sep 2023 22:07:57.178 # 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.
111:M 02 Sep 2023 22:07:57.180 * Loading RDB produced by version 7.0.7
111:M 02 Sep 2023 22:07:57.180 * RDB age 21 seconds
111:M 02 Sep 2023 22:07:57.180 * RDB memory usage when created 75.65 Mb
111:M 02 Sep 2023 22:07:57.483 * Done loading RDB, keys loaded: 6850, keys expired: 10.
111:M 02 Sep 2023 22:07:57.484 * DB loaded from disk: 0.304 seconds
111:M 02 Sep 2023 22:07:57.484 * Ready to accept connections
I, [2023-09-02T22:08:07.159080 #1]  INFO -- :
I, [2023-09-02T22:08:07.159907 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2023-09-02T22:08:07.165602 #1]  INFO -- : thpoff is installed!

I, [2023-09-02T22:08:07.165791 #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-02T22:08:07.276648 #1]  INFO -- :
I, [2023-09-02T22:08:07.277079 #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-02T22:08:07.386556 #1]  INFO -- :
I, [2023-09-02T22:08:07.387164 #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-02T22:08:07.476602 #1]  INFO -- :
I, [2023-09-02T22:08:07.477089 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2023-09-02T22:08:07.483739 #1]  INFO -- :
I, [2023-09-02T22:08:07.489725 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2023-09-02T22:08:07.502450 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2023-09-02T22:08:07.511657 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2023-09-02T22:08:07.519045 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2023-09-02T22:08:07.526598 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2023-09-02T22:08:07.533739 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2023-09-02T22:08:07.534642 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2023-09-02T22:08:07.535978 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2023-09-02T22:08:07.542319 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
138:C 02 Sep 2023 22:08:07.566 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
138:C 02 Sep 2023 22:08:07.566 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=138, just started
138:C 02 Sep 2023 22:08:07.566 # Configuration loaded
138:M 02 Sep 2023 22:08:07.567 * monotonic clock: POSIX clock_gettime
138:M 02 Sep 2023 22:08:07.568 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
138:M 02 Sep 2023 22:08:07.568 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33693/33693), done.
I, [2023-09-02T22:08:12.115392 #1]  INFO -- : HEAD is now at 058c8496f DEV: Convert explain-reviewable modal to component-based API (#23274)

I, [2023-09-02T22:08:12.115648 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2023-09-02T22:08:12.315008 #1]  INFO -- :
I, [2023-09-02T22:08:12.315206 #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-sadd
 - [deleted]             (none)     -> origin/a11y-topic-navigation
 - [deleted]             (none)     -> origin/cache-theme-fields-once
 - [deleted]             (none)     -> origin/composer-warnings-use-notice
 - [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/dev/change-custom-modal-api-reviewable-item
 - [deleted]             (none)     -> origin/dev/move-delete-user-action-to-agree-menu-part-2
 - [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/uploads-in-backup
   058c8496f..4f8d52bbc  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
 + 45772d436...edb4627d5 admin-report-tab-fix    -> origin/admin-report-tab-fix  (forced update)
 + 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/bundler/selenium-webdriver-4.12.0 -> origin/dependabot/bundler/selenium-webdriver-4.12.0
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/babel-4d92ddd36d -> origin/dependabot/npm_and_yarn/app/assets/javascripts/babel-4d92ddd36d
 + f1f0facbc...28f0dfab0 dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.2.3 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-3.2.3  (forced update)
 + 43d5cf3b2...7b753422f dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.5.4 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.5.4  (forced update)
 * [new branch]          dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.4.0 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/core-3.4.0
 + edbba4f1d...9c5935748 dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.3.2 -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/xhr-upload-3.3.2  (forced update)
   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
 * [new branch]          fix/avoid-mixing-reviewable-action-labels -> origin/fix/avoid-mixing-reviewable-action-labels
 + 78f0fe6fb...2df695255 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
 * [new branch]          fix/include-context-question-for-chat-reviewables -> origin/fix/include-context-question-for-chat-reviewables
 * [new branch]          fix/pending_post_serializer -> origin/fix/pending_post_serializer
 + 3ce70aa3f...b7214faff generic-import-latest   -> origin/generic-import-latest  (forced update)
 * [new branch]          loic-add-shortcut-to-archive-pm -> origin/loic-add-shortcut-to-archive-pm
 + fea7a44a1...a9ef03a87 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]          redo-post-focus-setting -> origin/redo-post-focus-setting
   f81ed652f..714bae7f9  stable                  -> origin/stable
 * [new branch]          test-bundle             -> origin/test-bundle
 * [new branch]          test-mentions-duplicates -> origin/test-mentions-duplicates
   058c8496f..4f8d52bbc  tests-passed            -> origin/tests-passed
 * [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
 + 1c3e3950b...aa27102a1 upgrade-login-modal     -> origin/upgrade-login-modal  (forced update)
 * [new branch]          user-prefs-security-system-spec -> origin/user-prefs-security-system-spec
 * [new branch]          wip-close-on-click-outside-search -> origin/wip-close-on-click-outside-search
I, [2023-09-02T22:08:13.635454 #1]  INFO -- :
I, [2023-09-02T22:08:13.635663 #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-02T22:08:20.529081 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2023-09-02T22:08:20.529624 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2023-09-02T22:08:20.550340 #1]  INFO -- :
I, [2023-09-02T22:08:20.550736 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2023-09-02T22:08:20.557503 #1]  INFO -- :
I, [2023-09-02T22:08:20.557625 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2023-09-02T22:08:20.562750 #1]  INFO -- :
I, [2023-09-02T22:08:20.563252 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2023-09-02T22:08:20.569398 #1]  INFO -- :
I, [2023-09-02T22:08:20.569542 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2023-09-02T22:08:20.576211 #1]  INFO -- :
I, [2023-09-02T22:08:20.576516 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2023-09-02T22:08:20.583849 #1]  INFO -- :
I, [2023-09-02T22:08:20.583970 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2023-09-02T22:08:20.589532 #1]  INFO -- :
I, [2023-09-02T22:08:20.589972 #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-02T22:08:20.597072 #1]  INFO -- :
I, [2023-09-02T22:08:20.597320 #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-02T22:08:20.605879 #1]  INFO -- :
I, [2023-09-02T22:08:20.606345 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2023-09-02T22:08:20.616628 #1]  INFO -- :
I, [2023-09-02T22:08:20.616791 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2023-09-02T22:08:20.626032 #1]  INFO -- :
I, [2023-09-02T22:08:20.626758 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2023-09-02T22:08:20.636665 #1]  INFO -- :
I, [2023-09-02T22:08:20.636893 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2023-09-02T22:08:20.645438 #1]  INFO -- :
I, [2023-09-02T22:08:20.645562 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2023-09-02T22:08:20.663390 #1]  INFO -- :
I, [2023-09-02T22:08:20.663911 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2023-09-02T22:08:20.666645 #1]  INFO -- :
I, [2023-09-02T22:08:20.667295 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2023-09-02T22:08:20.668384 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2023-09-02T22:08:21.622471 #1]  INFO -- :
I, [2023-09-02T22:08:21.622593 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/merefield/discourse-chatbot.git
Cloning into 'discourse-chatbot'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-09-02T22:08:22.220009 #1]  INFO -- :
I, [2023-09-02T22:08:22.220363 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-09-02T22:08:22.836459 #1]  INFO -- :
I, [2023-09-02T22:08:22.836764 #1]  INFO -- : > cd /var/www/discourse/plugins && sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git
Cloning into 'discourse-gamification'...
warning: unable to access '/root/.config/git/attributes': Permission denied
I, [2023-09-02T22:08:23.476164 #1]  INFO -- :
I, [2023-09-02T22:08:23.477100 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2023-09-02T22:08:23.484289 #1]  INFO -- :
I, [2023-09-02T22:08:23.484780 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2023-09-02T22:08:23.487893 #1]  INFO -- :
I, [2023-09-02T22:08:23.488313 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2023-09-02T22:08:23.492143 #1]  INFO -- :
I, [2023-09-02T22:08:23.493029 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2023-09-02T22:08:23.493908 #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-02T22:08:23.494381 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2023-09-02T22:08:23.494903 #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-02T22:08:23.495388 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2023-09-02T22:08:23.495741 #1]  INFO -- : > echo "done configuring web"
I, [2023-09-02T22:08:23.497749 #1]  INFO -- : done configuring web

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

I, [2023-09-02T22:08:24.960293 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2023-09-02T22:08:30.862069 #1]  INFO -- :
I, [2023-09-02T22:08:30.865071 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2023-09-02T22:08:30.868788 #1]  INFO -- :
I, [2023-09-02T22:08:30.868962 #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 " > babel-plugin-debug-macros@0.4.0-pre1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-edc5f95a-ce3e-41e3-beae-90d4de0d5b3b > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-edc5f95a-ce3e-41e3-beae-90d4de0d5b3b > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-edc5f95a-ce3e-41e3-beae-90d4de0d5b3b > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-edc5f95a-ce3e-41e3-beae-90d4de0d5b3b > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2023-09-02T22:09:15.248511 #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 ✔
ember-source@3.28.12 ✔
virtual-dom@2.1.1 ✔
Done in 39.64s.
Done in 40.56s.
yarn cache v1.22.19
success Cleared cache.
Done in 3.00s.

I, [2023-09-02T22:09:15.251326 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2023-09-02T22:09:15.496785 #1]  INFO -- :
I, [2023-09-02T22:09:15.496915 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2023-09-02T22:09:15.730605 #1]  INFO -- : You are replacing the current local value of without, which is currently "test:development"

I, [2023-09-02T22:09:15.730829 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2023-09-02T22:09:20.243149 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/.........
Using rake 13.0.6
Using minitest 5.19.0
Using builder 3.2.4
Using erubi 1.12.0
Using rack 2.2.8
Using mini_mime 1.1.5
Using date 3.3.3
Using timeout 0.4.0
Using public_suffix 5.0.3
Using concurrent-ruby 1.2.2
Using racc 1.7.1
Using crass 1.0.6
Using aws-eventstream 1.2.0
Using jmespath 1.6.2
Using msgpack 1.7.2
Using bundler 2.4.13
Using aws-partitions 1.583.0
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 byebug 11.1.3
Fetching google-protobuf 3.24.2 (x86_64-linux)
Using method_source 1.0.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 email_reply_trimmer 0.1.13
Using discourse-fonts 0.0.9
Using execjs 2.8.1
Using excon 0.102.0
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using fast_blank 1.0.1
Using exifr 1.4.0
Using ffi 1.15.5
Using fspath 3.1.2
Using gc_tracer 1.5.1
Using fast_xs 0.8.0
Using fastimage 2.2.7
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.3.0
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 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 jwt 2.7.1
Using version_gem 1.1.3
Using oj 3.16.0
Using optimist 3.1.0
Using pg 1.4.6
Using rchardet 1.8.0
Using rexml 3.2.6
Using rinku 2.0.6
Fetching rotp 6.3.0
Using raindrops 0.20.1
Using rqrcode_core 1.2.0
Using rubyzip 2.3.2
Using sshkey 3.0.0
Using stackprof 0.2.25
Using rack-test 2.1.0
Using net-protocol 0.2.1
Using addressable 2.8.5
Using request_store 1.5.1
Using message_bus 4.3.8
Using rack-mini-profiler 3.1.1
Using i18n 1.14.1
Using tzinfo 2.0.6
Using nokogiri 1.15.4 (x86_64-linux)
Using bootsnap 1.16.0
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
Using rack-protection 3.1.0
Using openssl-signature_algorithm 1.3.0
Using aws-sigv4 1.5.0
Using pry 0.14.2
Using faraday 2.7.10
Using uglifier 4.2.0
Using mini_suffix 0.3.3
Using image_optim 0.31.3
Using omniauth 1.9.2
Using unf 0.1.4
Installing rotp 6.3.0
Using logstash-logger 0.26.1
Using mini_racer 0.8.0
Using sidekiq 6.5.9
Using net-http 0.3.2
Using redis-namespace 1.11.0
Using puma 6.3.1
Using web-push 3.0.0
Using snaky_hash 2.0.1
Using rbtrace 0.4.14
Using rss 0.3.0
Using oauth-tty 1.0.5
Using unicorn 6.1.0
Using rqrcode 2.2.0
Using net-imap 0.3.7
Using net-smtp 0.3.3
Using net-pop 0.1.2
Using activesupport 7.0.7
Fetching css_parser 1.15.0
Using loofah 2.21.3
Using ruby-readability 0.7.0
Using sanitize 6.0.2
Using tzinfo-data 1.2023.3
Using cose 1.3.0
Using aws-sdk-core 3.130.2
Using pry-byebug 3.10.1
Using pry-rails 0.3.9
Using faraday-retry 2.2.0
Using oauth2 1.4.11
Using simpleidn 0.2.1
Using rtlcss 0.2.1
Using mini_scheduler 0.16.0
Using oauth 1.1.0
Using mail 2.8.1
Using rails-dom-testing 2.2.0
Using globalid 1.1.0
Using activemodel 7.0.7
Using rails-html-sanitizer 1.6.0
Using actionview 7.0.7
Using activejob 7.0.7
Using active_model_serializers 0.8.4
Using activerecord 7.0.7
Using aws-sdk-kms 1.56.0
Using aws-sdk-sns 1.53.0
Using json_schemer 2.0.0
Using omniauth-oauth2 1.7.3
Using omniauth-oauth 1.2.0
Using actionview_precompiler 0.3.0
Using discourse-seed-fu 2.3.12
Using aws-sdk-s3 1.114.0
Using actionpack 7.0.7
Using omniauth-facebook 9.0.0
Using omniauth-github 1.4.0
Installing css_parser 1.15.0
Using omniauth-google-oauth2 0.8.2
Using omniauth-twitter 1.4.0
Using actionmailer 7.0.7
Using railties 7.0.7
Using sprockets-rails 3.4.2
Using rails_failover 2.0.1
Using rails_multisite 5.0.0
Using lograge 0.13.0
Installing google-protobuf 3.24.2 (x86_64-linux)
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-02T22:09:20.245568 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-09-02T22:09:25.082612 #1]  INFO -- : discourse-chatbot is already at latest compatible version
discourse-gamification 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-02T22:09:25.083332 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2023-09-02 22:09:35.668 UTC [563] discourse@discourse ERROR:  could not open extension control file "/usr/share/postgresql/13/extension/embedding.control": No such file or directory
2023-09-02 22:09:35.668 UTC [563] 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-02T22:09:35.731588 #1]  INFO -- : 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
Compiled js-processor: tmp/js-processor.js
== 20230820010101 EnableEmbeddingExtension: migrating =========================
-- enable_extension(:embedding)

I, [2023-09-02T22:09:35.732646 #1]  INFO -- : Terminating async processes
I, [2023-09-02T22:09:35.732783 #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-09-02T22:09:35.733036 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 111
2023-09-02 22:09:35.734 UTC [42] LOG:  received fast shutdown request
111:signal-handler (1693692575) Received SIGTERM scheduling shutdown...
2023-09-02 22:09:35.737 UTC [42] LOG:  aborting any active transactions
2023-09-02 22:09:35.743 UTC [42] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2023-09-02 22:09:35.748 UTC [46] LOG:  shutting down
111:M 02 Sep 2023 22:09:35.750 # User requested shutdown...
111:M 02 Sep 2023 22:09:35.750 * Saving the final RDB snapshot before exiting.
2023-09-02 22:09:35.781 UTC [42] LOG:  database system is shut down
111:M 02 Sep 2023 22:09:36.129 * DB saved on disk
111:M 02 Sep 2023 22:09:36.129 # 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 493 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.
bc7bbb53664cfca9d990ae2be232f709096fdf7918a04122b93e1df86408f48d

I think you’re using @merefield’s Discourse Chatbot 🤖 (Now smarter than ChatGPT!*). It’s had a breaking change and you need to add an extra snippet to your app.yml - FEATURE: Semantic Search by merefield · Pull Request #33 · merefield/discourse-chatbot · GitHub

2 Likes

Will removing this plugin completely from app.yml solve my problem?

2 Likes

I believe that would also work as an alternative too. :+1:

2 Likes

I’m trying right away

2 Likes

yes i solved the problem. discourse I love it because of its fast support, the forum is alive again :heart:

2 Likes

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