Can't rebuild, clang-11 is missing

We can’t rebuild our forum right now, clang-11 is missing when we try to rebuild, even though I explicitly installed it before the second rebuild, and it looks like it’s getting installed anyways no wait, that’s clang-13.
Log:

/var/discourse$ sudo ./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.20231218-0429: Pulling from discourse/base
Digest: sha256:468f70b9bb4c6d0c6c2bbb3efc1a5e12d145eae57bdb6946b7fe5558beb52dc1
Status: Image is up to date for discourse/base:2.0.20231218-0429
docker.io/discourse/base:2.0.20231218-0429
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-02-10T15:28:35.122634 #1]  INFO -- : Reading from stdin
I, [2024-02-10T15:28:35.142265 #1]  INFO -- : > locale-gen $LANG && update-locale
I, [2024-02-10T15:28:35.181057 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2024-02-10T15:28:35.181628 #1]  INFO -- : > mkdir -p /shared/postgres_run
I, [2024-02-10T15:28:35.185106 #1]  INFO -- :
I, [2024-02-10T15:28:35.185365 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2024-02-10T15:28:35.188651 #1]  INFO -- :
I, [2024-02-10T15:28:35.188944 #1]  INFO -- : > chmod 775 /shared/postgres_run
I, [2024-02-10T15:28:35.191894 #1]  INFO -- :
I, [2024-02-10T15:28:35.192222 #1]  INFO -- : > rm -fr /var/run/postgresql
I, [2024-02-10T15:28:35.195618 #1]  INFO -- :
I, [2024-02-10T15:28:35.195905 #1]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2024-02-10T15:28:35.198851 #1]  INFO -- :
I, [2024-02-10T15:28:35.199100 #1]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2024/02/10 15:28:35 socat[19] E connect(6, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): No such file or directory
I, [2024-02-10T15:28:35.205774 #1]  INFO -- :
I, [2024-02-10T15:28:35.206094 #1]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2024-02-10T15:28:35.209888 #1]  INFO -- :
I, [2024-02-10T15:28:35.210069 #1]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2024-02-10T15:28:35.213707 #1]  INFO -- :
I, [2024-02-10T15:28:35.213878 #1]  INFO -- : > mkdir -p /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-10T15:28:35.217149 #1]  INFO -- :
I, [2024-02-10T15:28:35.217401 #1]  INFO -- : > chown postgres:postgres /shared/postgres_run/13-main.pg_stat_tmp
I, [2024-02-10T15:28:35.220318 #1]  INFO -- :
I, [2024-02-10T15:28:35.227008 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-02-10T15:28:35.234016 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-02-10T15:28:35.240402 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-02-10T15:28:35.247649 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-02-10T15:28:35.248441 #1]  INFO -- : > chown -R root /var/lib/postgresql/13/main
I, [2024-02-10T15:28:37.002477 #1]  INFO -- :
I, [2024-02-10T15:28:37.004175 #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, [2024-02-10T15:28:37.008266 #1]  INFO -- :
I, [2024-02-10T15:28:37.008335 #1]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2024-02-10T15:28:37.038629 #1]  INFO -- :
I, [2024-02-10T15:28:37.038939 #1]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2024-02-10T15:28:37.042496 #1]  INFO -- :
I, [2024-02-10T15:28:37.042849 #1]  INFO -- : > /root/upgrade_postgres
I, [2024-02-10T15:28:37.048708 #1]  INFO -- :
I, [2024-02-10T15:28:37.048890 #1]  INFO -- : > rm /root/upgrade_postgres
I, [2024-02-10T15:28:37.052134 #1]  INFO -- :
I, [2024-02-10T15:28:37.052483 #1]  INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.053142 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.053492 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.053771 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.054097 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.054357 #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, [2024-02-10T15:28:37.054596 #1]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2024-02-10T15:28:37.058458 #1]  INFO -- :
I, [2024-02-10T15:28:37.058916 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.059288 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-02-10T15:28:37.059557 #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, [2024-02-10T15:28:37.059821 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-10T15:28:37.063135 #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, [2024-02-10T15:28:37.063715 #1]  INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-02-10T15:28:37.065548 #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, [2024-02-10T15:28:37.068396 #1]  INFO -- : > sleep 5
2024-02-10 15:28:37.151 UTC [42] LOG:  starting PostgreSQL 13.13 (Debian 13.13-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-02-10 15:28:37.151 UTC [42] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-02-10 15:28:37.151 UTC [42] LOG:  listening on IPv6 address "::", port 5432
2024-02-10 15:28:37.156 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-02-10 15:28:37.166 UTC [45] LOG:  database system was shut down at 2024-02-10 15:25:08 UTC
2024-02-10 15:28:37.177 UTC [42] LOG:  database system is ready to accept connections
I, [2024-02-10T15:28:42.071570 #1]  INFO -- :
I, [2024-02-10T15:28:42.071977 #1]  INFO -- : > su postgres -c 'createdb discourse' || true
2024-02-10 15:28:42.126 UTC [55] postgres@postgres ERROR:  database "discourse" already exists
2024-02-10 15:28:42.126 UTC [55] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
I, [2024-02-10T15:28:42.128636 #1]  INFO -- :
I, [2024-02-10T15:28:42.129090 #1]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2024-02-10 15:28:42.183 UTC [59] postgres@discourse ERROR:  role "discourse" already exists
2024-02-10 15:28:42.183 UTC [59] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
I, [2024-02-10T15:28:42.185457 #1]  INFO -- :
I, [2024-02-10T15:28:42.185710 #1]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
I, [2024-02-10T15:28:42.239654 #1]  INFO -- : GRANT

I, [2024-02-10T15:28:42.239902 #1]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
I, [2024-02-10T15:28:42.294966 #1]  INFO -- : ALTER SCHEMA

I, [2024-02-10T15:28:42.295380 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2024-02-10T15:28:42.352139 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-10T15:28:42.352454 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2024-02-10T15:28:42.405562 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-10T15:28:42.405820 #1]  INFO -- : > su postgres -c 'psql template1 -c "create extension if not exists vector;"'
NOTICE:  extension "vector" already exists, skipping
I, [2024-02-10T15:28:42.458746 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-10T15:28:42.458964 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists hstore;"'
NOTICE:  extension "hstore" already exists, skipping
I, [2024-02-10T15:28:42.513251 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-10T15:28:42.513487 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists pg_trgm;"'
NOTICE:  extension "pg_trgm" already exists, skipping
I, [2024-02-10T15:28:42.567363 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-10T15:28:42.568213 #1]  INFO -- : > su postgres -c 'psql discourse -c "create extension if not exists vector;"'
NOTICE:  extension "vector" already exists, skipping
I, [2024-02-10T15:28:42.622689 #1]  INFO -- : CREATE EXTENSION

I, [2024-02-10T15:28:42.623681 #1]  INFO -- : > sudo -u postgres psql discourse
I, [2024-02-10T15:28:42.626308 #1]  INFO -- : update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'discourse' AND encoding = pg_char_to_encoding('SQL_ASCII');

I, [2024-02-10T15:28:42.691735 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-02-10T15:28:42.696323 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-02-10T15:28:42.696419 #1]  INFO -- : > echo postgres installed!
I, [2024-02-10T15:28:42.699587 #1]  INFO -- : postgres installed!

I, [2024-02-10T15:28:42.707075 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2024-02-10T15:28:42.714049 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-02-10T15:28:42.720530 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-02-10T15:28:42.721086 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.721704 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.722827 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-02-10T15:28:42.726783 #1]  INFO -- :
I, [2024-02-10T15:28:42.727488 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.727999 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.728467 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.729000 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.729416 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-02-10T15:28:42.729808 #1]  INFO -- : > echo redis installed
I, [2024-02-10T15:28:42.732889 #1]  INFO -- : redis installed

I, [2024-02-10T15:28:42.733148 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-02-10T15:28:42.737749 #1]  INFO -- : logfile ""

I, [2024-02-10T15:28:42.738030 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-10T15:28:42.740854 #1]  INFO -- : > sleep 10
111:C 10 Feb 2024 15:28:42.747 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
111:C 10 Feb 2024 15:28:42.747 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=111, just started
111:C 10 Feb 2024 15:28:42.747 # Configuration loaded
111:M 10 Feb 2024 15:28:42.747 * monotonic clock: POSIX clock_gettime
111:M 10 Feb 2024 15:28:42.748 * Running mode=standalone, port=6379.
111:M 10 Feb 2024 15:28:42.748 # Server initialized
111:M 10 Feb 2024 15:28:42.748 # 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 10 Feb 2024 15:28:42.748 * Loading RDB produced by version 7.0.7
111:M 10 Feb 2024 15:28:42.748 * RDB age 214 seconds
111:M 10 Feb 2024 15:28:42.749 * RDB memory usage when created 274.89 Mb
111:M 10 Feb 2024 15:28:43.334 * Done loading RDB, keys loaded: 53401, keys expired: 84.
111:M 10 Feb 2024 15:28:43.334 * DB loaded from disk: 0.586 seconds
111:M 10 Feb 2024 15:28:43.334 * Ready to accept connections
I, [2024-02-10T15:28:52.744200 #1]  INFO -- :
I, [2024-02-10T15:28:52.744665 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-02-10T15:28:52.749537 #1]  INFO -- : thpoff is installed!

I, [2024-02-10T15:28:52.749776 #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, [2024-02-10T15:28:52.829758 #1]  INFO -- :
I, [2024-02-10T15:28:52.829996 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2024-02-10T15:28:52.904820 #1]  INFO -- :
I, [2024-02-10T15:28:52.905265 #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, [2024-02-10T15:28:52.980025 #1]  INFO -- :
I, [2024-02-10T15:28:52.980290 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-02-10T15:28:52.983859 #1]  INFO -- :
I, [2024-02-10T15:28:52.988059 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2024-02-10T15:28:52.995586 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-02-10T15:28:53.002789 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-02-10T15:28:53.009848 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-02-10T15:28:53.016652 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-02-10T15:28:53.023543 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-02-10T15:28:53.023741 #1]  INFO -- : Replacing # postgres with sv start postgres || exit 1 in /etc/service/unicorn/run
I, [2024-02-10T15:28:53.023948 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-02-10T15:28:53.027127 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
138:C 10 Feb 2024 15:28:53.033 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
138:C 10 Feb 2024 15:28:53.033 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=138, just started
138:C 10 Feb 2024 15:28:53.033 # Configuration loaded
138:M 10 Feb 2024 15:28:53.033 * monotonic clock: POSIX clock_gettime
138:M 10 Feb 2024 15:28:53.034 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
138:M 10 Feb 2024 15:28:53.034 # Failed listening on port 6379 (TCP), aborting.
Updating files: 100% (33715/33715), done.
I, [2024-02-10T15:28:57.414901 #1]  INFO -- : HEAD is now at 6ab1a19e9 DEV: Convert min_trust_level_to_allow_invite to groups (#24893)

I, [2024-02-10T15:28:57.415073 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-02-10T15:28:57.653225 #1]  INFO -- :
I, [2024-02-10T15:28:57.654133 #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-drop-code
 - [deleted]             (none)     -> origin/bulk-button-class
 - [deleted]             (none)     -> origin/dependabot/bundler/excon-0.108.0
 - [deleted]             (none)     -> origin/dependabot/bundler/hashdiff-1.1.0
 - [deleted]             (none)     -> origin/dependabot/bundler/parallel-1.24.0
 - [deleted]             (none)     -> origin/dependabot/bundler/rubocop-discourse-3.6.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/drop-target-2.0.2
 - [deleted]             (none)     -> origin/dev/add-new-chat-metrics
 - [deleted]             (none)     -> origin/dev/allow-chat-mentions-to-have-several-notifications
 - [deleted]             (none)     -> origin/dev/convert-min-trust-level-to-create-tag-to-group
 - [deleted]             (none)     -> origin/dev/convert-min-trust-level-to-ignore-to-groups
 - [deleted]             (none)     -> origin/dev/rethink-mass-mentions-polymorphic
 - [deleted]             (none)     -> origin/feature/migrations-schema-generator
 - [deleted]             (none)     -> origin/fix-join-filter-upload
 - [deleted]             (none)     -> origin/fix-modal-flash-minor
 - [deleted]             (none)     -> origin/global-notice-reactive
 - [deleted]             (none)     -> origin/labeler
 - [deleted]             (none)     -> origin/low-ram-help
 - [deleted]             (none)     -> origin/multi-invite
 - [deleted]             (none)     -> origin/plugin-extra-js
 - [deleted]             (none)     -> origin/table-builder-modal-modifier
 - [deleted]             (none)     -> origin/wip_categories
 - [deleted]             (none)     -> origin/wizard-split
   6ab1a19e9..427e11b17  main                    -> origin/main
 * [new branch]          0-ember-bump            -> origin/0-ember-bump
 * [new branch]          0-event-helper          -> origin/0-event-helper
 * [new branch]          0-extend-native         -> origin/0-extend-native
 * [new branch]          0-fix-perf-watched-words -> origin/0-fix-perf-watched-words
 * [new branch]          0-rev                   -> origin/0-rev
 * [new branch]          add-api-for-forced-auth -> origin/add-api-for-forced-auth
 * [new branch]          api-image-wrapper       -> origin/api-image-wrapper
 * [new branch]          asciinema-iframe        -> origin/asciinema-iframe
 * [new branch]          bulk-select-dropdown-items -> origin/bulk-select-dropdown-items
 * [new branch]          convert-header-to-glimmer -> origin/convert-header-to-glimmer
 * [new branch]          decorator-transforms    -> origin/decorator-transforms
 * [new branch]          dependabot/bundler/omniauth-2.0.0 -> origin/dependabot/bundler/omniauth-2.0.0
 * [new branch]          dependabot/bundler/parallel_tests-4.4.0 -> origin/dependabot/bundler/parallel_tests-4.4.0
 * [new branch]          dev-convert-topic-map-expanded-widget-to-component -> origin/dev-convert-topic-map-expanded-widget-to-component
 * [new branch]          dev/check-whether-online-user-ids-may-be-memoized-between-job-runs -> origin/dev/check-whether-online-user-ids-may-be-memoized-between-job-runs
 * [new branch]          dev/drop-the-user-id-column-from-chat-mentions -> origin/dev/drop-the-user-id-column-from-chat-mentions
 + e0c0191bb...f4cb53e62 dev/dry-up-user-status-serializers -> origin/dev/dry-up-user-status-serializers  (forced update)
 * [new branch]          dev/experiment-theme-settings-free-ui -> origin/dev/experiment-theme-settings-free-ui
 * [new branch]          dev/make-admins-tl4-in-tests -> origin/dev/make-admins-tl4-in-tests
 * [new branch]          dev/promote-plugin-post-deploy-migrations -> origin/dev/promote-plugin-post-deploy-migrations
 * [new branch]          dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic
 * [new branch]          dev_category_order_database -> origin/dev_category_order_database
 * [new branch]          dev_test                -> origin/dev_test
 * [new branch]          dev_update_category_position -> origin/dev_update_category_position
 * [new branch]          extra-js-revert         -> origin/extra-js-revert
 * [new branch]          fast-edit-expand-regex  -> origin/fast-edit-expand-regex
   8780daeee..9c8a0eed3  feature/bookmark-menu-and-modal-redesign -> origin/feature/bookmark-menu-and-modal-redesign
 * [new branch]          feature/custom-date-range -> origin/feature/custom-date-range
 * [new branch]          feature/paste-upload-on-first-upload-input-templates -> origin/feature/paste-upload-on-first-upload-input-templates
 * [new branch]          feature_async_hashtags  -> origin/feature_async_hashtags
 * [new branch]          feature_async_load_colors -> origin/feature_async_load_colors
 * [new branch]          fix-empty-state-showing -> origin/fix-empty-state-showing
 * [new branch]          fix_category_chooser    -> origin/fix_category_chooser
 * [new branch]          fix_in_any_groups       -> origin/fix_in_any_groups
 * [new branch]          fix_reviewable_translation -> origin/fix_reviewable_translation
   7f2bdca65..4f57be1a8  generic-import-latest   -> origin/generic-import-latest
 * [new branch]          hijacks                 -> origin/hijacks
 * [new branch]          issue/change-max-image-megapixels-logic -> origin/issue/change-max-image-megapixels-logic
 * [new branch]          issue/run-admin-sidebar-init-after-logs-notice -> origin/issue/run-admin-sidebar-init-after-logs-notice
 * [new branch]          loic-rubocop-plugin-rules -> origin/loic-rubocop-plugin-rules
 + 90a3535b7...e6e64cfd5 migrations-convert      -> origin/migrations-convert  (forced update)
 * [new branch]          promote-migration-tweak -> origin/promote-migration-tweak
 * [new branch]          redesign-my-threads-index -> origin/redesign-my-threads-index
 * [new branch]          revert-25009-dev/convert-min-trust-to-allow-self-wiki-to-groups -> origin/revert-25009-dev/convert-min-trust-to-allow-self-wiki-to-groups
 * [new branch]          revert-bulk-topic-actions -> origin/revert-bulk-topic-actions
 * [new branch]          sidebar-above-outlet    -> origin/sidebar-above-outlet
 * [new branch]          site-logo-height        -> origin/site-logo-height
 * [new branch]          sort-chat-channels-by-activity -> origin/sort-chat-channels-by-activity
   d7f7f79b6..124aa9ac9  stable                  -> origin/stable
 * [new branch]          support-reset-bump-date-post-id -> origin/support-reset-bump-date-post-id
 * [new branch]          system-test-for-soft-load-search -> origin/system-test-for-soft-load-search
   6ab1a19e9..427e11b17  tests-passed            -> origin/tests-passed
 * [new branch]          tmp/move-notifiers-specs -> origin/tmp/move-notifiers-specs
 * [new branch]          unhide_lazy_load_categories -> origin/unhide_lazy_load_categories
 * [new branch]          universal-nonce         -> origin/universal-nonce
 * [new branch]          user-menu-full-name     -> origin/user-menu-full-name
 * [new branch]          user-native-class       -> origin/user-native-class
 * [new branch]          video-spike             -> origin/video-spike
 * [new branch]          virtual-scroll-list     -> origin/virtual-scroll-list
 t [tag update]          beta                    -> beta
 t [tag update]          latest-release          -> latest-release
 * [new tag]             v3.1.4                  -> v3.1.4
 * [new tag]             v3.1.5                  -> v3.1.5
 * [new tag]             v3.2.0                  -> v3.2.0
 * [new tag]             v3.2.0.beta4            -> v3.2.0.beta4
 * [new tag]             v3.2.0.beta5            -> v3.2.0.beta5
I, [2024-02-10T15:29:05.298288 #1]  INFO -- :
I, [2024-02-10T15:29:05.298479 #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, [2024-02-10T15:29:17.577586 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2024-02-10T15:29:17.577734 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-02-10T15:29:17.590967 #1]  INFO -- :
I, [2024-02-10T15:29:17.591381 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-02-10T15:29:17.596099 #1]  INFO -- :
I, [2024-02-10T15:29:17.596291 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-02-10T15:29:17.600828 #1]  INFO -- :
I, [2024-02-10T15:29:17.601046 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-02-10T15:29:17.605605 #1]  INFO -- :
I, [2024-02-10T15:29:17.605842 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-02-10T15:29:17.610384 #1]  INFO -- :
I, [2024-02-10T15:29:17.610470 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-02-10T15:29:17.614685 #1]  INFO -- :
I, [2024-02-10T15:29:17.614865 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-02-10T15:29:17.619152 #1]  INFO -- :
I, [2024-02-10T15:29:17.619274 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-02-10T15:29:17.625132 #1]  INFO -- :
I, [2024-02-10T15:29:17.625306 #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, [2024-02-10T15:29:17.631446 #1]  INFO -- :
I, [2024-02-10T15:29:17.631775 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-02-10T15:29:17.638516 #1]  INFO -- :
I, [2024-02-10T15:29:17.638721 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-02-10T15:29:17.644901 #1]  INFO -- :
I, [2024-02-10T15:29:17.645089 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-02-10T15:29:17.651643 #1]  INFO -- :
I, [2024-02-10T15:29:17.651774 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-02-10T15:29:17.657812 #1]  INFO -- :
I, [2024-02-10T15:29:17.657994 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-02-10T15:29:17.804116 #1]  INFO -- :
I, [2024-02-10T15:29:17.804276 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-02-10T15:29:17.807583 #1]  INFO -- :
I, [2024-02-10T15:29:17.807841 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-02-10T15:29:17.808087 #1]  INFO -- : > cd /var/www/discourse && sudo apt-get install wget ca-certificates
I, [2024-02-10T15:29:17.856331 #1]  INFO -- : Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20210119).
wget is already the newest version (1.21-1+deb11u1).
The following packages were automatically installed and are no longer required:
  ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby-xmlrpc
  rubygems-integration
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I, [2024-02-10T15:29:17.856652 #1]  INFO -- : > cd /var/www/discourse && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
I, [2024-02-10T15:29:19.269067 #1]  INFO -- : OK

I, [2024-02-10T15:29:19.269324 #1]  INFO -- : > cd /var/www/discourse && sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
I, [2024-02-10T15:29:19.318378 #1]  INFO -- :
I, [2024-02-10T15:29:19.318652 #1]  INFO -- : > cd /var/www/discourse && apt-get update
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgres.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgres.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgres.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgres.list:1
I, [2024-02-10T15:29:21.808432 #1]  INFO -- : Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8,068 kB]
Get:6 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease [123 kB]
Get:7 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:8 https://deb.nodesource.com/node_18.x bullseye InRelease [4,586 B]
Get:9 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [267 kB]
Get:10 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Get:11 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [403 kB]
Get:12 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB]
Get:13 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
Get:14 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages [776 B]
Get:15 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 Packages [306 kB]
Fetched 9,487 kB in 2s (5,132 kB/s)
Reading package lists...

I, [2024-02-10T15:29:21.808949 #1]  INFO -- : > cd /var/www/discourse && apt-get -y install -y postgresql-server-dev-13
debconf: delaying package configuration, since apt-utils is not installed
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgres.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/postgres.list:1
I, [2024-02-10T15:30:08.156689 #1]  INFO -- : Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby-xmlrpc
  rubygems-integration
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  binfmt-support clang-13 lib32gcc-s1 lib32stdc++6 libc-dev-bin libc6
  libc6-dev libc6-i386 libclang-common-13-dev libclang-cpp13 libclang1-13
  libgc1 libllvm13 libobjc-10-dev libobjc4 libpfm4 libpipeline1 libz3-dev
  llvm-13 llvm-13-dev llvm-13-linker-tools llvm-13-runtime llvm-13-tools
  python3-pkg-resources python3-pygments python3-yaml
Suggested packages:
  clang-13-doc glibc-doc llvm-13-doc python3-setuptools python-pygments-doc
  ttf-bitstream-vera
Recommended packages:
  libnss-nis libnss-nisplus
The following NEW packages will be installed:
  binfmt-support clang-13 lib32gcc-s1 lib32stdc++6 libc6-i386
  libclang-common-13-dev libclang-cpp13 libclang1-13 libgc1 libllvm13
  libobjc-10-dev libobjc4 libpfm4 libpipeline1 libz3-dev llvm-13 llvm-13-dev
  llvm-13-linker-tools llvm-13-runtime llvm-13-tools postgresql-server-dev-13
  python3-pkg-resources python3-pygments python3-yaml
The following packages will be upgraded:
  libc-dev-bin libc6 libc6-dev
3 upgraded, 24 newly installed, 0 to remove and 36 not upgraded.
Need to get 99.2 MB of archives.
After this operation, 619 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libc6-dev amd64 2.31-13+deb11u8 [2,361 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 postgresql-server-dev-13 amd64 13.14-1.pgdg110+1 [1,043 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 libc-dev-bin amd64 2.31-13+deb11u8 [276 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 libc6 amd64 2.31-13+deb11u8 [2,823 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB]
Get:6 http://deb.debian.org/debian bullseye/main amd64 binfmt-support amd64 2.2.1-1+deb11u1 [66.8 kB]
Get:7 http://deb.debian.org/debian bullseye/main amd64 libllvm13 amd64 1:13.0.1-6~deb11u1 [20.1 MB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 libclang-cpp13 amd64 1:13.0.1-6~deb11u1 [10.7 MB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 libgc1 amd64 1:8.0.4-3 [239 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 libobjc4 amd64 10.2.1-6 [41.8 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libobjc-10-dev amd64 10.2.1-6 [170 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libc6-i386 amd64 2.31-13+deb11u8 [2,615 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 lib32gcc-s1 amd64 10.2.1-6 [49.4 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 lib32stdc++6 amd64 10.2.1-6 [510 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 libclang-common-13-dev amd64 1:13.0.1-6~deb11u1 [5,602 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 llvm-13-linker-tools amd64 1:13.0.1-6~deb11u1 [1,253 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 libclang1-13 amd64 1:13.0.1-6~deb11u1 [6,187 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 clang-13 amd64 1:13.0.1-6~deb11u1 [123 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libpfm4 amd64 4.11.1+git32-gd0b85fb-1 [286 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 libz3-dev amd64 4.8.10-1 [90.8 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 llvm-13-runtime amd64 1:13.0.1-6~deb11u1 [265 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 llvm-13 amd64 1:13.0.1-6~deb11u1 [11.0 MB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 python3-pkg-resources all 52.0.0-4 [190 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 python3-pygments all 2.7.1+dfsg-2.1 [657 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 python3-yaml amd64 5.3.1-5 [138 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 llvm-13-tools amd64 1:13.0.1-6~deb11u1 [421 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 llvm-13-dev amd64 1:13.0.1-6~deb11u1 [31.9 MB]
Fetched 99.2 MB in 13s (7,385 kB/s)
(Reading database ... 44274 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.31-13+deb11u8_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-13+deb11u8) over (2.31-13+deb11u7) ...
Preparing to unpack .../libc-dev-bin_2.31-13+deb11u8_amd64.deb ...
Unpacking libc-dev-bin (2.31-13+deb11u8) over (2.31-13+deb11u7) ...
Preparing to unpack .../libc6_2.31-13+deb11u8_amd64.deb ...
Unpacking libc6:amd64 (2.31-13+deb11u8) over (2.31-13+deb11u7) ...
Setting up libc6:amd64 (2.31-13+deb11u8) ...
Selecting previously unselected package libpipeline1:amd64.
(Reading database ... 44274 files and directories currently installed.)
Preparing to unpack .../00-libpipeline1_1.5.3-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.3-1) ...
Selecting previously unselected package binfmt-support.
Preparing to unpack .../01-binfmt-support_2.2.1-1+deb11u1_amd64.deb ...
Unpacking binfmt-support (2.2.1-1+deb11u1) ...
Selecting previously unselected package libllvm13:amd64.
Preparing to unpack .../02-libllvm13_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking libllvm13:amd64 (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package libclang-cpp13.
Preparing to unpack .../03-libclang-cpp13_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking libclang-cpp13 (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package libgc1:amd64.
Preparing to unpack .../04-libgc1_1%3a8.0.4-3_amd64.deb ...
Unpacking libgc1:amd64 (1:8.0.4-3) ...
Selecting previously unselected package libobjc4:amd64.
Preparing to unpack .../05-libobjc4_10.2.1-6_amd64.deb ...
Unpacking libobjc4:amd64 (10.2.1-6) ...
Selecting previously unselected package libobjc-10-dev:amd64.
Preparing to unpack .../06-libobjc-10-dev_10.2.1-6_amd64.deb ...
Unpacking libobjc-10-dev:amd64 (10.2.1-6) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../07-libc6-i386_2.31-13+deb11u8_amd64.deb ...
Unpacking libc6-i386 (2.31-13+deb11u8) ...
Selecting previously unselected package lib32gcc-s1.
Preparing to unpack .../08-lib32gcc-s1_10.2.1-6_amd64.deb ...
Unpacking lib32gcc-s1 (10.2.1-6) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../09-lib32stdc++6_10.2.1-6_amd64.deb ...
Unpacking lib32stdc++6 (10.2.1-6) ...
Selecting previously unselected package libclang-common-13-dev.
Preparing to unpack .../10-libclang-common-13-dev_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking libclang-common-13-dev (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package llvm-13-linker-tools.
Preparing to unpack .../11-llvm-13-linker-tools_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking llvm-13-linker-tools (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package libclang1-13.
Preparing to unpack .../12-libclang1-13_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking libclang1-13 (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package clang-13.
Preparing to unpack .../13-clang-13_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking clang-13 (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package libpfm4:amd64.
Preparing to unpack .../14-libpfm4_4.11.1+git32-gd0b85fb-1_amd64.deb ...
Unpacking libpfm4:amd64 (4.11.1+git32-gd0b85fb-1) ...
Selecting previously unselected package libz3-dev:amd64.
Preparing to unpack .../15-libz3-dev_4.8.10-1_amd64.deb ...
Unpacking libz3-dev:amd64 (4.8.10-1) ...
Selecting previously unselected package llvm-13-runtime.
Preparing to unpack .../16-llvm-13-runtime_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking llvm-13-runtime (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package llvm-13.
Preparing to unpack .../17-llvm-13_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking llvm-13 (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../18-python3-pkg-resources_52.0.0-4_all.deb ...
Unpacking python3-pkg-resources (52.0.0-4) ...
Selecting previously unselected package python3-pygments.
Preparing to unpack .../19-python3-pygments_2.7.1+dfsg-2.1_all.deb ...
Unpacking python3-pygments (2.7.1+dfsg-2.1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../20-python3-yaml_5.3.1-5_amd64.deb ...
Unpacking python3-yaml (5.3.1-5) ...
Selecting previously unselected package llvm-13-tools.
Preparing to unpack .../21-llvm-13-tools_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking llvm-13-tools (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package llvm-13-dev.
Preparing to unpack .../22-llvm-13-dev_1%3a13.0.1-6~deb11u1_amd64.deb ...
Unpacking llvm-13-dev (1:13.0.1-6~deb11u1) ...
Selecting previously unselected package postgresql-server-dev-13.
Preparing to unpack .../23-postgresql-server-dev-13_13.14-1.pgdg110+1_amd64.deb ...
Unpacking postgresql-server-dev-13 (13.14-1.pgdg110+1) ...
Setting up python3-pkg-resources (52.0.0-4) ...
Setting up libpipeline1:amd64 (1.5.3-1) ...
Setting up libz3-dev:amd64 (4.8.10-1) ...
Setting up python3-yaml (5.3.1-5) ...
Setting up python3-pygments (2.7.1+dfsg-2.1) ...
Setting up libpfm4:amd64 (4.11.1+git32-gd0b85fb-1) ...
Setting up binfmt-support (2.2.1-1+deb11u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libllvm13:amd64 (1:13.0.1-6~deb11u1) ...
Setting up libgc1:amd64 (1:8.0.4-3) ...
Setting up llvm-13-runtime (1:13.0.1-6~deb11u1) ...
Setting up libc6-i386 (2.31-13+deb11u8) ...
Setting up libc-dev-bin (2.31-13+deb11u8) ...
Setting up libobjc4:amd64 (10.2.1-6) ...
Setting up llvm-13-linker-tools (1:13.0.1-6~deb11u1) ...
Setting up llvm-13-tools (1:13.0.1-6~deb11u1) ...
Setting up libclang1-13 (1:13.0.1-6~deb11u1) ...
Setting up lib32gcc-s1 (10.2.1-6) ...
Setting up lib32stdc++6 (10.2.1-6) ...
Setting up libclang-cpp13 (1:13.0.1-6~deb11u1) ...
Setting up libobjc-10-dev:amd64 (10.2.1-6) ...
Setting up libc6-dev:amd64 (2.31-13+deb11u8) ...
Setting up libclang-common-13-dev (1:13.0.1-6~deb11u1) ...
Setting up clang-13 (1:13.0.1-6~deb11u1) ...
Setting up llvm-13 (1:13.0.1-6~deb11u1) ...
Setting up llvm-13-dev (1:13.0.1-6~deb11u1) ...
Setting up postgresql-server-dev-13 (13.14-1.pgdg110+1) ...
Processing triggers for libc-bin (2.31-13+deb11u7) ...

I, [2024-02-10T15:30:08.158087 #1]  INFO -- : > cd /var/www/discourse/tmp && git clone https://github.com/neondatabase/pg_embedding.git
Cloning into 'pg_embedding'...
I, [2024-02-10T15:30:14.064772 #1]  INFO -- :
I, [2024-02-10T15:30:14.065159 #1]  INFO -- : > cd /var/www/discourse/tmp/pg_embedding && make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config
make: /usr/bin/clang-11: No such file or directory
make: *** [/usr/lib/postgresql/13/lib/pgxs/src/makefiles/../../src/Makefile.global:1083: embedding.bc] Error 127
I, [2024-02-10T15:30:16.015321 #1]  INFO -- : gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -Ofast -fPIC -I. -I./ -I/usr/include/postgresql/13/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o embedding.o embedding.c
g++ -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -fPIC -I. -I./ -I/usr/include/postgresql/13/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o hnswalg.o hnswalg.cpp
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -Ofast -fPIC -I. -I./ -I/usr/include/postgresql/13/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o distfunc.o distfunc.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -Ofast -fPIC -shared -o embedding.so embedding.o hnswalg.o distfunc.o -lstdc++ -L/usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-11/lib  -Wl,--as-needed
/usr/bin/clang-11 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I. -I./ -I/usr/include/postgresql/13/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -flto=thin -emit-llvm -c -o embedding.bc embedding.c

I, [2024-02-10T15:30:16.016368 #1]  INFO -- : Terminating async processes
I, [2024-02-10T15:30:16.016455 #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, [2024-02-10T15:30:16.016506 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 111
111:signal-handler (1707579016) Received SIGTERM scheduling shutdown...
2024-02-10 15:30:16.016 UTC [42] LOG:  received fast shutdown request
2024-02-10 15:30:16.026 UTC [42] LOG:  aborting any active transactions
2024-02-10 15:30:16.032 UTC [42] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2024-02-10 15:30:16.033 UTC [46] LOG:  shutting down
111:M 10 Feb 2024 15:30:16.072 # User requested shutdown...
111:M 10 Feb 2024 15:30:16.073 * Saving the final RDB snapshot before exiting.
2024-02-10 15:30:16.075 UTC [42] LOG:  database system is shut down
111:M 10 Feb 2024 15:30:17.044 * DB saved on disk
111:M 10 Feb 2024 15:30:17.044 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/tmp/pg_embedding && make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config failed with return #<Process::Status: pid 1488 exit 2>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home/tmp/pg_embedding", "cmd"=>["make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config"]}
bootstrap failed with exit code 2
** 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.
bd5ac450b788010fb0ab1bd159ceb14e5f84b661a8d21b25eb838ff4541ab308

(Is this a development install?)

Nope, this is a standard install.

1 Like

Hmm. What plugins, hooks, or run after commands do you have in your app.yml?

1 Like

Hooks:

## This is to make discourse-chatbot work correctly - 9pfs
## See https://meta.discourse.org/t/discourse-chatbot-now-smarter-than-chatgpt/256652/382?u=hello-smile6 for more info.
    - exec:
        cd: $home
        cmd:
          - sudo apt-get install wget ca-certificates
    - exec:
        cd: $home
        cmd:
          - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
    - exec:
        cd: $home
        cmd:
          - sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
    - exec:
        cd: $home
        cmd:
          - apt-get update
    - exec:
        cd: $home
        cmd:
          - apt-get -y install -y postgresql-server-dev-13
    - exec:
        cd: $home/tmp
        cmd:
          - git clone https://github.com/neondatabase/pg_embedding.git
    - exec:
        cd: $home/tmp/pg_embedding
        cmd:
          - make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config
    - exec:
        cd: $home/tmp/pg_embedding
        cmd:
          - make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config install
    - exec:
        cd: $home
        cmd:
          - su postgres -c 'psql discourse -c "create extension if not exists embedding;"'

Plugins:

          - git clone https://github.com/discourse/docker_manager.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-automation.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-calendar.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-templates.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-assign.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-user-notes.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-data-explorer.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-topic-voting.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-ai.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-login-with-amazon.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-linkedin-auth.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-microsoft-auth.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-docs.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-github.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-solved.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-cakeday.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-reactions.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-gamification.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-affiliate.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-apple-auth.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-akismet.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-rss-polling.git
          #- sudo -E -u discourse git clone https://github.com/discourse/discourse-subscriptions.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-yearly-review.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-math.git
          #- sudo -E -u discourse git clone https://github.com/discourse/discourse-patreon.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-activity-pub.git
          #- git clone https://github.com/discourse/discourse-templates.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-whos-online.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-shared-edits.git
          #- sudo -E -u discourse git clone https://github.com/discourse/discourse-animated-avatars.git

After commands:

  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - replace:
     filename: "/etc/nginx/conf.d/discourse.conf"
     from: /listen 80;/
     to: |
       listen 80;
       set_real_ip_from 192.168.1.0/16;
  - replace:
     filename: "/etc/nginx/conf.d/discourse.conf"
     from: /listen 443 ssl http2;/
     to: |
       listen 443 ssl http2;
       set_real_ip_from 192.168.1.0/16;
  - exec: echo "End of custom commands"
3 Likes

Those lines you might have needed for building pgembedding for Chatbot are now unnecessary as it uses pgvector now which should be OOTB.

5 Likes

And that was the cause of the error, thanks!

3 Likes