Error while updating through launcher rebuild

Hi all,

I have been having an issue while trying to upgrade my Discourse instance and can’t seem to find the reason. I’m running ./launcher rebuild app as usual.

Full logs of the rebuild

./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
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-04-16T04:27:06.052594 #1]  INFO -- : Reading from stdin
I, [2024-04-16T04:27:06.063582 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-04-16T04:27:06.067286 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-04-16T04:27:06.071430 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-04-16T04:27:06.075274 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown:
I, [2024-04-16T04:27:06.078912 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-04-16T04:27:06.080229 #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-04-16T04:27:06.080618 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-04-16T04:27:06.080887 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-04-16T04:27:06.081189 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-04-16T04:27:06.081531 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-04-16T04:27:06.081763 #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-04-16T04:27:06.081997 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-04-16T04:27:06.082227 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-04-16T04:27:06.082463 #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-04-16T04:27:06.082944 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-04-16T04:27:06.083141 #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-04-16T04:27:06.083324 #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-04-16T04:27:06.083595 #1]  INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres
I, [2024-04-16T04:27:06.941238 #1]  INFO -- : Generating locales (this might take a while)...
Generation complete.

I, [2024-04-16T04:27:06.941466 #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-04-16T04:27:06.946713 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-04-16T04:27:06.951353 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-04-16T04:27:06.957369 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-04-16T04:27:06.957531 #1]  INFO -- : > sleep 5
2024-04-16 04:27:07.012 UTC [35] 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-04-16 04:27:07.014 UTC [35] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-04-16 04:27:07.014 UTC [35] LOG:  listening on IPv6 address "::", port 5432
2024-04-16 04:27:07.016 UTC [35] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-04-16 04:27:07.024 UTC [44] LOG:  database system was shut down at 2024-04-16 04:26:59 UTC
2024-04-16 04:27:07.030 UTC [35] LOG:  database system is ready to accept connections
I, [2024-04-16T04:27:11.959331 #1]  INFO -- :
I, [2024-04-16T04:27:11.959510 #1]  INFO -- : > /usr/local/bin/create_db
2024-04-16 04:27:12.030 UTC [54] postgres@postgres ERROR:  database "discourse" already exists
2024-04-16 04:27:12.030 UTC [54] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
2024-04-16 04:27:12.089 UTC [57] postgres@discourse ERROR:  role "discourse" already exists
2024-04-16 04:27:12.089 UTC [57] postgres@discourse STATEMENT:  create user discourse;
ERROR:  role "discourse" already exists
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
NOTICE:  extension "hstore" already exists, skipping
NOTICE:  extension "pg_trgm" already exists, skipping
NOTICE:  extension "vector" already exists, skipping
I, [2024-04-16T04:27:12.495382 #1]  INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
UPDATE 0

I, [2024-04-16T04:27:12.495506 #1]  INFO -- : > echo postgres installed!
I, [2024-04-16T04:27:12.498377 #1]  INFO -- : postgres installed!

I, [2024-04-16T04:27:12.503359 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown:
I, [2024-04-16T04:27:12.508813 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-04-16T04:27:12.514019 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-04-16T04:27:12.515024 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.515773 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.516342 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-04-16T04:27:12.521412 #1]  INFO -- :
I, [2024-04-16T04:27:12.521756 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.522348 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.523040 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.523673 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.524231 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-04-16T04:27:12.524936 #1]  INFO -- : > echo redis installed
I, [2024-04-16T04:27:12.528483 #1]  INFO -- : redis installed

I, [2024-04-16T04:27:12.528734 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-04-16T04:27:12.533177 #1]  INFO -- : logfile ""

I, [2024-04-16T04:27:12.533505 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-04-16T04:27:12.536383 #1]  INFO -- : > sleep 10
97:C 16 Apr 2024 04:27:12.547 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
97:C 16 Apr 2024 04:27:12.547 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=97, just started
97:C 16 Apr 2024 04:27:12.547 # Configuration loaded
97:M 16 Apr 2024 04:27:12.548 * monotonic clock: POSIX clock_gettime
97:M 16 Apr 2024 04:27:12.549 * Running mode=standalone, port=6379.
97:M 16 Apr 2024 04:27:12.549 # Server initialized
97:M 16 Apr 2024 04:27:12.550 * Loading RDB produced by version 7.0.7
97:M 16 Apr 2024 04:27:12.550 * RDB age 14 seconds
97:M 16 Apr 2024 04:27:12.550 * RDB memory usage when created 16.10 Mb
97:M 16 Apr 2024 04:27:12.587 * Done loading RDB, keys loaded: 3352, keys expired: 13.
97:M 16 Apr 2024 04:27:12.587 * DB loaded from disk: 0.038 seconds
97:M 16 Apr 2024 04:27:12.587 * Ready to accept connections
I, [2024-04-16T04:27:22.538944 #1]  INFO -- :
I, [2024-04-16T04:27:22.539374 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-04-16T04:27:22.543511 #1]  INFO -- : thpoff is installed!

I, [2024-04-16T04:27:22.543790 #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-04-16T04:27:22.602903 #1]  INFO -- :
I, [2024-04-16T04:27:22.602991 #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-04-16T04:27:22.690663 #1]  INFO -- :
I, [2024-04-16T04:27:22.690831 #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-04-16T04:27:22.772957 #1]  INFO -- :
I, [2024-04-16T04:27:22.773266 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-04-16T04:27:22.777060 #1]  INFO -- :
I, [2024-04-16T04:27:22.780213 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown:
I, [2024-04-16T04:27:22.787317 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-04-16T04:27:22.793052 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-04-16T04:27:22.797560 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-04-16T04:27:22.801026 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-04-16T04:27:22.805620 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-04-16T04:27:22.805779 #1]  INFO -- : Replacing # postgres with if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1
 in /etc/service/unicorn/run
I, [2024-04-16T04:27:22.807193 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (33715/33715), done.
I, [2024-04-16T04:27:26.404988 #1]  INFO -- : HEAD is now at 6ab1a19e9 DEV: Convert min_trust_level_to_allow_invite to groups (#24893)

I, [2024-04-16T04:27:26.405131 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-04-16T04:27:26.524171 #1]  INFO -- :
I, [2024-04-16T04:27:26.524306 #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-assets-spec2
 - [deleted]             (none)     -> origin/0-drop-code
 - [deleted]             (none)     -> origin/0-file-join-no
 - [deleted]             (none)     -> origin/0-followup
 - [deleted]             (none)     -> origin/0-gjs-iframed-html
 - [deleted]             (none)     -> origin/a11y-sidebar-contrast
 - [deleted]             (none)     -> origin/a11y–focus-tooltip
 - [deleted]             (none)     -> origin/add-ds-store-to-gitignore
 - [deleted]             (none)     -> origin/add-new-chat-indicator-preference-only-mentions
 - [deleted]             (none)     -> origin/add-topic-voting-webhook
 - [deleted]             (none)     -> origin/after-topic-list
 - [deleted]             (none)     -> origin/api-reduce-motion
 - [deleted]             (none)     -> origin/api-topic-title-decorator
 - [deleted]             (none)     -> origin/boosted-searches
 - [deleted]             (none)     -> origin/bulk-button-class
 - [deleted]             (none)     -> origin/card-container-plugin-outlet
 - [deleted]             (none)     -> origin/composer-warnings-use-notice-alt
 - [deleted]             (none)     -> origin/confirm-session-only-after-5-mins
 - [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/aws-s3-3.6.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/aws-s3-multipart-3.10.0
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/drop-target-2.0.2
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/app/assets/javascripts/uppy/utils-5.7.0
 - [deleted]             (none)     -> origin/desktop-notification-handlers
 - [deleted]             (none)     -> origin/dev-rework-codeblock-fix
 - [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/drop-notification_id-column-on-chat-mentions
 - [deleted]             (none)     -> origin/dev/dry-up-user-status-serializers
 - [deleted]             (none)     -> origin/dev/flaky-chat-details-collapser-spec
 - [deleted]             (none)     -> origin/dev/no-need-to-include-user-status-twice
 - [deleted]             (none)     -> origin/dev/rafactor-the-export-csv-file-job
 - [deleted]             (none)     -> origin/dev/rethink-mass-mentions-polymorphic
 - [deleted]             (none)     -> origin/dev/revert-guardian-devex
 - [deleted]             (none)     -> origin/dev/simplify-lib-test-js
 - [deleted]             (none)     -> origin/dev/test-status-tooltip-in-its-own-test-2
 - [deleted]             (none)     -> origin/dev/trust-level-value-object
 - [deleted]             (none)     -> origin/dev_categories
 - [deleted]             (none)     -> origin/dev_watched_words
 - [deleted]             (none)     -> origin/drop-kit
 - [deleted]             (none)     -> origin/experimantal/deleted-channel-and-messages-export
 - [deleted]             (none)     -> origin/extract_stripper
 - [deleted]             (none)     -> origin/feat-render-images-in-local-onebox
 - [deleted]             (none)     -> origin/feature/admin-sidebar-v0
 - [deleted]             (none)     -> origin/feature/bookmark-menu-and-modal-redesign
 - [deleted]             (none)     -> origin/feature/experimental-passkeys
 - [deleted]             (none)     -> origin/feature/migrations-schema-generator
 - [deleted]             (none)     -> origin/feature/watched-word-groups
 - [deleted]             (none)     -> origin/feature_watched_words_validation
 - [deleted]             (none)     -> origin/filtered-events
 - [deleted]             (none)     -> origin/fix-client-tests-for-status
 - [deleted]             (none)     -> origin/fix-join-filter-upload
 - [deleted]             (none)     -> origin/fix-modal-flash-minor
 - [deleted]             (none)     -> origin/fix/count-mass-mentions-correctly
 - [deleted]             (none)     -> origin/fix/do-not-consider-codeblocks-when-parsing-mentions-alt
 - [deleted]             (none)     -> origin/fix/dont-fail-when-exporting-chat-messages-from-deleted-channels-or-of-deleted-users
 - [deleted]             (none)     -> origin/fix/multi-tag-search
 - [deleted]             (none)     -> origin/float-kit-3
 - [deleted]             (none)     -> origin/generic-import-latest-snowflake
 - [deleted]             (none)     -> origin/global-notice-reactive
 - [deleted]             (none)     -> origin/group-directory-cleanup
 - [deleted]             (none)     -> origin/issue/fix-guardian-init-basic-user
 - [deleted]             (none)     -> origin/keyword-site-setting
 - [deleted]             (none)     -> origin/labeler
 - [deleted]             (none)     -> origin/large-notification-table
 - [deleted]             (none)     -> origin/loic-use-ar-enums-posts
 - [deleted]             (none)     -> origin/low-ram-help
 - [deleted]             (none)     -> origin/migrations-convert
 - [deleted]             (none)     -> origin/mobile-categories-refactor
 - [deleted]             (none)     -> origin/mobile-view-param-key
 - [deleted]             (none)     -> origin/move-automation-to-core
 - [deleted]             (none)     -> origin/move-checkbox-public-up
 - [deleted]             (none)     -> origin/move_inflector
 - [deleted]             (none)     -> origin/multi-invite
 - [deleted]             (none)     -> origin/noised
 - [deleted]             (none)     -> origin/offline-indicator-by-default
 - [deleted]             (none)     -> origin/passkeys-part-3
 - [deleted]             (none)     -> origin/plugin-extra-js
 - [deleted]             (none)     -> origin/poc/auto-after-before-plugin-outlets
 - [deleted]             (none)     -> origin/poc/insert-before-after-wrapping-outlet
 - [deleted]             (none)     -> origin/rails-6.x-update
 - [deleted]             (none)     -> origin/rebake-quotes
 - [deleted]             (none)     -> origin/redirect-cat-trail
 - [deleted]             (none)     -> origin/reply-where-position
 - [deleted]             (none)     -> origin/revert-maxmind
 - [deleted]             (none)     -> origin/rotate-token-on-ip-change
 - [deleted]             (none)     -> origin/search_refactor
 - [deleted]             (none)     -> origin/security/bookmark-notification-unread-visibility
 - [deleted]             (none)     -> origin/support-load-more-btn
 - [deleted]             (none)     -> origin/table-builder-modal-modifier
 - [deleted]             (none)     -> origin/test-issue-temporary
 - [deleted]             (none)     -> origin/test-mentions-duplicates
 - [deleted]             (none)     -> origin/tests-passed-broken
 - [deleted]             (none)     -> origin/tmp/reimplement-all-and-here-mentions
 - [deleted]             (none)     -> origin/topic-list-refactor
 - [deleted]             (none)     -> origin/transform-hooks
 - [deleted]             (none)     -> origin/transform-post-fn-api
 - [deleted]             (none)     -> origin/tweaks-2-fr
 - [deleted]             (none)     -> origin/update-login-modal-mark
 - [deleted]             (none)     -> origin/user-group-messages-after-latest
 - [deleted]             (none)     -> origin/username_cache
 - [deleted]             (none)     -> origin/ux-add-sorting-params-to-outlet
 - [deleted]             (none)     -> origin/watched-words-link
 - [deleted]             (none)     -> origin/webauthn-internal-refactor
 - [deleted]             (none)     -> origin/wip-close-on-click-outside-search
 - [deleted]             (none)     -> origin/wip_categories
 - [deleted]             (none)     -> origin/wizard-split
   6ab1a19e9..7a083daf2  main                    -> origin/main
 * [new branch]          0-drop-one-hbr          -> origin/0-drop-one-hbr
 * [new branch]          0-ember-bump            -> origin/0-ember-bump
 * [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-rename-details        -> origin/0-rename-details
 * [new branch]          after-post-outlet       -> origin/after-post-outlet
 * [new branch]          allow-overriding-sidebar-my-posts-icon -> origin/allow-overriding-sidebar-my-posts-icon
 * [new branch]          allow-staff-to-tag      -> origin/allow-staff-to-tag
 * [new branch]          asciinema-iframe        -> origin/asciinema-iframe
 * [new branch]          async-category-link     -> origin/async-category-link
 * [new branch]          attach_useful_ruby_methods_to_theme_migrations -> origin/attach_useful_ruby_methods_to_theme_migrations
 * [new branch]          category-link-ancestors -> origin/category-link-ancestors
 * [new branch]          chat-thread-title-cta   -> origin/chat-thread-title-cta
 * [new branch]          d-object                -> origin/d-object
 * [new branch]          decorator-transforms    -> origin/decorator-transforms
 * [new branch]          dependabot/bundler/parallel_tests-4.4.0 -> origin/dependabot/bundler/parallel_tests-4.4.0
 * [new branch]          dependabot/npm_and_yarn/ember-cli-5.8.0 -> origin/dependabot/npm_and_yarn/ember-cli-5.8.0
 * [new branch]          dependabot/npm_and_yarn/ember-source-5.8.0 -> origin/dependabot/npm_and_yarn/ember-source-5.8.0
 * [new branch]          dependabot/npm_and_yarn/markdown-it-14.1.0 -> origin/dependabot/npm_and_yarn/markdown-it-14.1.0
 * [new branch]          dev-replace-transformed-post-with-topic-model-in-topic-map -> origin/dev-replace-transformed-post-with-topic-model-in-topic-map
 * [new branch]          dev/always-load-problem-checks -> origin/dev/always-load-problem-checks
 * [new branch]          dev/catch-missing-translations-during-test-runs -> origin/dev/catch-missing-translations-during-test-runs
 * [new branch]          dev/db-backed-admin-messages -> origin/dev/db-backed-admin-messages
 * [new branch]          dev/deprecate-found-user-with-status-serializer -> origin/dev/deprecate-found-user-with-status-serializer
 * [new branch]          dev/incremental-imports-experiments-base -> origin/dev/incremental-imports-experiments-base
 * [new branch]          dev/incremental-imports-experiments-pgloaded -> origin/dev/incremental-imports-experiments-pgloaded
 * [new branch]          dev/incremental-imports-experiments-virtualpg -> origin/dev/incremental-imports-experiments-virtualpg
 * [new branch]          dev/promote-inline-checks-to-problem-checks -> origin/dev/promote-inline-checks-to-problem-checks
 * [new branch]          dev/proof-of-concept-rewriting-mentions-notification-logic -> origin/dev/proof-of-concept-rewriting-mentions-notification-logic
 * [new branch]          dev/stylesheet_importer_categories_with_background_images-modifier -> origin/dev/stylesheet_importer_categories_with_background_images-modifier
 * [new branch]          dev_add_query_param     -> origin/dev_add_query_param
 * [new branch]          dev_lazy_load_categories_tests -> origin/dev_lazy_load_categories_tests
 * [new branch]          dev_update_category_position -> origin/dev_update_category_position
 * [new branch]          docs-publishing-mvp     -> origin/docs-publishing-mvp
 * [new branch]          extra-js-revert         -> origin/extra-js-revert
 * [new branch]          feature/disable-failing-auth-methods -> origin/feature/disable-failing-auth-methods
 * [new branch]          feature/linkedin-oidc-logins -> origin/feature/linkedin-oidc-logins
 * [new branch]          feature/paste-upload-on-first-upload-input-templates -> origin/feature/paste-upload-on-first-upload-input-templates
 * [new branch]          feature_track_mentions  -> origin/feature_track_mentions
 * [new branch]          fix-display-errors-for-history-modal-when-fetching-revisions -> origin/fix-display-errors-for-history-modal-when-fetching-revisions
 * [new branch]          fix/activity-summary-secure-images -> origin/fix/activity-summary-secure-images
 * [new branch]          fix_categories_ilike    -> origin/fix_categories_ilike
 * [new branch]          fix_default_value_validation_fail -> origin/fix_default_value_validation_fail
 * [new branch]          fix_load_bookmarks_categories -> origin/fix_load_bookmarks_categories
 * [new branch]          fix_plus_subcategories  -> origin/fix_plus_subcategories
 * [new branch]          fix_reviewable_translation -> origin/fix_reviewable_translation
 * [new branch]          formtoolkit             -> origin/formtoolkit
 * [new branch]          generic-import-add-suspender -> origin/generic-import-add-suspender
   7f2bdca65..17902b707  generic-import-latest   -> origin/generic-import-latest
 * [new branch]          hijacks                 -> origin/hijacks
 * [new branch]          input-heading-fix       -> origin/input-heading-fix
 * [new branch]          issue/fixup-upload-ref-backfill-migration-dates -> origin/issue/fixup-upload-ref-backfill-migration-dates
 * [new branch]          lazy-fabricators        -> origin/lazy-fabricators
 * [new branch]          live-cache              -> origin/live-cache
 * [new branch]          member-xp/mobile-modal  -> origin/member-xp/mobile-modal
 * [new branch]          migrations-tooling/converter -> origin/migrations-tooling/converter
 * [new branch]          omniauth-2              -> origin/omniauth-2
 * [new branch]          powered-by-reactivity   -> origin/powered-by-reactivity
 * [new branch]          promote-migration-tweak -> origin/promote-migration-tweak
 * [new branch]          remove-bootbox          -> origin/remove-bootbox
 * [new branch]          remove-disable-sidebar  -> origin/remove-disable-sidebar
 * [new branch]          see_if_yarn_cache_is_working -> origin/see_if_yarn_cache_is_working
 * [new branch]          shared-draft-category   -> origin/shared-draft-category
 * [new branch]          skip-topic-bookmark-sync-user-destroy -> origin/skip-topic-bookmark-sync-user-destroy
   d7f7f79b6..0d761a0c4  stable                  -> origin/stable
 * [new branch]          support-query-string    -> origin/support-query-string
   6ab1a19e9..cdc8e9de1  tests-passed            -> origin/tests-passed
 * [new branch]          user-menu-full-name     -> origin/user-menu-full-name
 * [new branch]          watched-word-groups     -> origin/watched-word-groups
 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
 * [new tag]             v3.2.1                  -> v3.2.1
 * [new tag]             v3.3.0.beta1            -> v3.3.0.beta1
I, [2024-04-16T04:27:27.162657 #1]  INFO -- :
I, [2024-04-16T04:27:27.162774 #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-04-16T04:27:31.392098 #1]  INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'.

I, [2024-04-16T04:27:31.392220 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-04-16T04:27:31.401962 #1]  INFO -- :
I, [2024-04-16T04:27:31.402063 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-04-16T04:27:31.405248 #1]  INFO -- :
I, [2024-04-16T04:27:31.405497 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-04-16T04:27:31.407953 #1]  INFO -- :
I, [2024-04-16T04:27:31.408069 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-04-16T04:27:31.410808 #1]  INFO -- :
I, [2024-04-16T04:27:31.410885 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-04-16T04:27:31.413709 #1]  INFO -- :
I, [2024-04-16T04:27:31.413808 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-04-16T04:27:31.416857 #1]  INFO -- :
I, [2024-04-16T04:27:31.417106 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-04-16T04:27:31.419647 #1]  INFO -- :
I, [2024-04-16T04:27:31.419748 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-04-16T04:27:31.423970 #1]  INFO -- :
I, [2024-04-16T04:27:31.424137 #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-04-16T04:27:31.427825 #1]  INFO -- :
I, [2024-04-16T04:27:31.427994 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-04-16T04:27:31.432160 #1]  INFO -- :
I, [2024-04-16T04:27:31.432311 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-04-16T04:27:31.435771 #1]  INFO -- :
I, [2024-04-16T04:27:31.435901 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-04-16T04:27:31.440000 #1]  INFO -- :
I, [2024-04-16T04:27:31.440155 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-04-16T04:27:31.443773 #1]  INFO -- :
I, [2024-04-16T04:27:31.443849 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-04-16T04:27:32.113734 #1]  INFO -- :
I, [2024-04-16T04:27:32.113906 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-04-16T04:27:32.116384 #1]  INFO -- :
I, [2024-04-16T04:27:32.116661 #1]  INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run
I, [2024-04-16T04:27:32.117426 #1]  INFO -- : > cd /var/www/discourse/plugins && mkdir -p plugins
I, [2024-04-16T04:27:32.120971 #1]  INFO -- :
I, [2024-04-16T04:27:32.121093 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-04-16T04:27:32.546003 #1]  INFO -- :
I, [2024-04-16T04:27:32.546440 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2024-04-16T04:27:32.777466 #1]  INFO -- :
I, [2024-04-16T04:27:32.777592 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
I, [2024-04-16T04:27:33.005503 #1]  INFO -- :
I, [2024-04-16T04:27:33.005630 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-affiliate.git
Cloning into 'discourse-affiliate'...
I, [2024-04-16T04:27:33.201606 #1]  INFO -- :
I, [2024-04-16T04:27:33.201741 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Cloning into 'discourse-cakeday'...
I, [2024-04-16T04:27:33.411690 #1]  INFO -- :
I, [2024-04-16T04:27:33.411803 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-push-notifications.git
Cloning into 'discourse-push-notifications'...
I, [2024-04-16T04:27:33.585989 #1]  INFO -- :
I, [2024-04-16T04:27:33.586215 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-auto-deactivate.git
Cloning into 'discourse-auto-deactivate'...
I, [2024-04-16T04:27:33.780633 #1]  INFO -- :
I, [2024-04-16T04:27:33.780755 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Cloning into 'discourse-reactions'...
I, [2024-04-16T04:27:34.017023 #1]  INFO -- :
I, [2024-04-16T04:27:34.017401 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-04-16T04:27:34.022331 #1]  INFO -- :
I, [2024-04-16T04:27:34.022503 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-04-16T04:27:34.024969 #1]  INFO -- :
I, [2024-04-16T04:27:34.025070 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-04-16T04:27:34.027052 #1]  INFO -- :
I, [2024-04-16T04:27:34.027571 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-04-16T04:27:34.027962 #1]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2024-04-16T04:27:34.028378 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-04-16T04:27:34.028623 #1]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2024-04-16T04:27:34.028885 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-04-16T04:27:34.029114 #1]  INFO -- : > echo "done configuring web"
I, [2024-04-16T04:27:34.031149 #1]  INFO -- : done configuring web

I, [2024-04-16T04:27:34.031391 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-04-16T04:27:34.858689 #1]  INFO -- : Successfully installed bundler-2.5.3
1 gem installed

I, [2024-04-16T04:27:34.858799 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-04-16T04:27:38.808075 #1]  INFO -- :
I, [2024-04-16T04:27:38.808549 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-04-16T04:27:38.810644 #1]  INFO -- :
I, [2024-04-16T04:27:38.810783 #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 Pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.3.8" has unmet peer dependency "@typescript-eslint/parser@^6.15.0".
warning " > @glint/environment-ember-loose@1.4.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-7b279e26-34b4-419d-aa9c-8d5b86e6602c > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-7b279e26-34b4-419d-aa9c-8d5b86e6602c > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-7b279e26-34b4-419d-aa9c-8d5b86e6602c > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-7b279e26-34b4-419d-aa9c-8d5b86e6602c > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-7b279e26-34b4-419d-aa9c-8d5b86e6602c > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-7b279e26-34b4-419d-aa9c-8d5b86e6602c > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2024-04-16T04:28:30.616403 #1]  INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
$ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules
patch-package 8.0.0
Applying patches...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Done in 47.82s.
yarn cache v1.22.19
success Cleared cache.
Done in 3.42s.

I, [2024-04-16T04:28:30.618463 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-04-16T04:28:30.813933 #1]  INFO -- :
I, [2024-04-16T04:28:30.814086 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-04-16T04:28:30.962512 #1]  INFO -- : You are replacing the current local value of without, which is currently "test:development"

I, [2024-04-16T04:28:30.962604 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-04-16T04:28:48.351175 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/.........
Fetching rake 13.2.1
Installing rake 13.2.1
Fetching concurrent-ruby 1.2.3
Fetching minitest 5.22.3
Fetching rack 2.2.9
Fetching public_suffix 5.0.5
Installing public_suffix 5.0.5
Installing rack 2.2.9
Installing minitest 5.22.3
Installing concurrent-ruby 1.2.3
Fetching aws-partitions 1.894.0
Installing aws-partitions 1.894.0
Fetching bigdecimal 3.1.7
Installing bigdecimal 3.1.7 with native extensions
Fetching cbor 0.5.9.8
Fetching excon 0.110.0
Installing cbor 0.5.9.8 with native extensions
Installing excon 0.110.0
Fetching fastimage 2.3.1
Fetching google-protobuf 4.26.1 (x86_64-linux)
Installing fastimage 2.3.1
Fetching highline 3.0.1
Installing highline 3.0.1
Installing google-protobuf 4.26.1 (x86_64-linux)
Fetching image_size 3.4.0
Installing image_size 3.4.0
Fetching iso8601 0.13.0
Installing iso8601 0.13.0
Fetching json 2.7.2
Fetching regexp_parser 2.9.0
Installing json 2.7.2 with native extensions
Installing regexp_parser 2.9.0
Fetching libv8-node 18.19.0.0 (x86_64-linux)
Installing libv8-node 18.19.0.0 (x86_64-linux)
Fetching method_source 1.1.0
Installing method_source 1.1.0
Fetching thor 1.3.1
Installing thor 1.3.1
Fetching zeitwerk 2.6.13
Installing zeitwerk 2.6.13
Fetching logster 2.19.1
Installing logster 2.19.1
Fetching nio4r 2.7.1
Installing nio4r 2.7.1 with native extensions
Fetching version_gem 1.1.4
Installing version_gem 1.1.4
Fetching stackprof 0.2.26
Installing stackprof 0.2.26 with native extensions
Fetching nokogiri 1.16.4 (x86_64-linux)
Installing nokogiri 1.16.4 (x86_64-linux)
Fetching aws-sigv4 1.8.0
Installing aws-sigv4 1.8.0
Fetching jwt 2.8.1
Installing jwt 2.8.1
Fetching request_store 1.6.0
Installing request_store 1.6.0
Fetching rack-mini-profiler 3.3.1
Installing rack-mini-profiler 3.3.1
Fetching rack-protection 3.2.0
Installing rack-protection 3.2.0
Fetching bootsnap 1.18.3
Installing bootsnap 1.18.3 with native extensions
Fetching i18n 1.14.4
Installing i18n 1.14.4
Fetching sprockets 3.7.3
Installing sprockets 3.7.3
Fetching net-http 0.4.1
Installing net-http 0.4.1
Fetching sass-embedded 1.75.0 (x86_64-linux-gnu)
Installing sass-embedded 1.75.0 (x86_64-linux-gnu)
Fetching mini_racer 0.9.0
Installing mini_racer 0.9.0 with native extensions
Fetching rbtrace 0.5.1
Installing rbtrace 0.5.1 with native extensions
Fetching net-imap 0.4.10
Installing net-imap 0.4.10
Fetching net-smtp 0.5.0
Installing net-smtp 0.5.0
Fetching aws-sdk-core 3.191.3
Installing aws-sdk-core 3.191.3
Fetching css_parser 1.17.1
Installing css_parser 1.17.1
Fetching activesupport 7.0.8.1
Installing activesupport 7.0.8.1
Fetching tzinfo-data 1.2024.1
Installing tzinfo-data 1.2024.1
Fetching faraday-net_http 3.1.0
Installing faraday-net_http 3.1.0
Fetching sassc-embedded 1.75.2
Installing sassc-embedded 1.75.2
Fetching puma 6.4.2
Installing puma 6.4.2 with native extensions
Fetching aws-sdk-kms 1.77.0
Installing aws-sdk-kms 1.77.0
Fetching aws-sdk-sns 1.72.0
Installing aws-sdk-sns 1.72.0
Fetching activemodel 7.0.8.1
Installing activemodel 7.0.8.1
Fetching rrule 0.6.0
Installing rrule 0.6.0
Fetching faraday 2.9.0
Installing faraday 2.9.0
Fetching json_schemer 2.2.1
Installing json_schemer 2.2.1
Fetching aws-sdk-s3 1.143.0
Installing aws-sdk-s3 1.143.0
Fetching actionview 7.0.8.1
Installing actionview 7.0.8.1
Fetching activejob 7.0.8.1
Installing activejob 7.0.8.1
Fetching activerecord 7.0.8.1
Installing activerecord 7.0.8.1
Fetching faraday-retry 2.2.1
Installing faraday-retry 2.2.1
Fetching actionpack 7.0.8.1
Installing actionpack 7.0.8.1
Fetching actionview_precompiler 0.4.0
Installing actionview_precompiler 0.4.0
Fetching actionmailer 7.0.8.1
Installing actionmailer 7.0.8.1
Fetching railties 7.0.8.1
Installing railties 7.0.8.1
Fetching rails_multisite 6.0.0
Installing rails_multisite 6.0.0
Bundle complete! 137 Gemfile dependencies, 170 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2024-04-16T04:28:48.351503 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-04-16T04:28:51.139073 #1]  INFO -- : discourse-adplugin is already at latest compatible version
discourse-affiliate is already at latest compatible version
discourse-auto-deactivate is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-push-notifications is already at latest compatible version
discourse-reactions is already at latest compatible version
discourse-solved is already at latest compatible version
docker_manager is already at latest compatible version

I, [2024-04-16T04:28:51.139249 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-04-16T04:28:51.141606 #1]  INFO -- : > sleep 10
3588:C 16 Apr 2024 04:28:51.149 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
3588:C 16 Apr 2024 04:28:51.149 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=3588, just started
3588:C 16 Apr 2024 04:28:51.149 # Configuration loaded
3588:M 16 Apr 2024 04:28:51.149 * monotonic clock: POSIX clock_gettime
3588:M 16 Apr 2024 04:28:51.149 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
3588:M 16 Apr 2024 04:28:51.149 # Failed listening on port 6379 (TCP), aborting.
I, [2024-04-16T04:29:01.144855 #1]  INFO -- :
I, [2024-04-16T04:29:01.145243 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
I, [2024-04-16T04:29:06.533644 #1]  INFO -- :
I, [2024-04-16T04:29:06.534188 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build'
Node.js heap_size_limit (1957.5) is less than 2048MB. Setting --max-old-space-size=2048.
Killed
error Command failed with exit code 137.
I, [2024-04-16T04:30:05.433176 #1]  INFO -- : yarn run v1.22.19
$ /var/www/discourse/node_modules/.bin/ember build -prod
Building
Environment: production
WARNING: ember-test-selectors: You are using an unsupported ember-cli-babel version. data-test properties are not automatically stripped from your JS code.
building...
...[ConfigLoader]
...[Babel: discourse-widget-hbs > applyPatches]
...[Babel: @embroider/macros > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: @glimmer/component > applyPatches]
...[Babel: pretty-text > applyPatches]
...[Babel: discourse-common > applyPatches]
...[Babel: @ember/legacy-built-in-components > applyPatches]
...[Babel: @ember/test-helpers > applyPatches]
...[Babel: ember-this-fallback > applyPatches]
...[Babel: ember-load-initializers > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I, [2024-04-16T04:30:05.438989 #1]  INFO -- : Terminating async processes
I, [2024-04-16T04:30:05.439039 #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: 35
I, [2024-04-16T04:30:05.439195 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 97
97:signal-handler (1713241805) Received SIGTERM scheduling shutdown...
2024-04-16 04:30:05.442 UTC [35] LOG:  received fast shutdown request
2024-04-16 04:30:05.448 UTC [35] LOG:  aborting any active transactions
2024-04-16 04:30:05.478 UTC [35] LOG:  background worker "logical replication launcher" (PID 50) exited with exit code 1
2024-04-16 04:30:05.479 UTC [45] LOG:  shutting down
97:M 16 Apr 2024 04:30:05.502 # User requested shutdown...
97:M 16 Apr 2024 04:30:05.502 * Saving the final RDB snapshot before exiting.
2024-04-16 04:30:05.514 UTC [35] LOG:  database system is shut down
97:M 16 Apr 2024 04:30:05.539 * DB saved on disk
97:M 16 Apr 2024 04:30:05.539 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build' failed with return #<Process::Status: pid 3630 exit 137>
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", "tag"=>"build", "hook"=>"assets_precompile_build", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile:build'"]}
bootstrap failed with exit code 137
** 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.
b4a89266b4bed9bba6899d2b578e27ad3ccf38d4540323efbc781d344acd301b

It looks like this is the issue. Error 137 is ‘out of memory’.

You’ll need to add more swap or upgrade your droplet to one with more RAM.

2 Likes

That’s weird, the VM that it’s running on has 3.7GB of RAM available.

I just did a rebuild tailing the RAM usage and of course it passed (after failing 3 days in a row, more than 5 times). I’ll add some swap but it would be interesting to know what added the extra usage of RAM in the building process.