Thanks for the hint everybody, this wasn’t clear to me by looking at the error message. I now updated the OS (indeed it is planned to move to a new system in foreseeable future) and I’m now running the latest docker
version:
root@vtdiscourse /var/discourse# docker --version
Docker version 27.5.1, build 9f9e405
The first rebuild, including updating postgreSQL went fine as far as I saw, but the second app rebuild fails again:
root@vtdiscourse /var/discourse# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 600 app
app
2.0.20250129-0720: Pulling from discourse/base
Digest: sha256:01b8516e5504c0e9bc3707773015ff4407be03a89154194ff3b5b8699291bc26
Status: Image is up to date for discourse/base:2.0.20250129-0720
docker.io/discourse/base:2.0.20250129-0720
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2025-02-07T12:24:01.077847 #1] INFO -- : Reading from stdin
I, [2025-02-07T12:24:01.088712 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2025-02-07T12:24:01.092158 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2025-02-07T12:24:01.095399 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2025-02-07T12:24:01.098725 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
I, [2025-02-07T12:24:01.101897 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2025-02-07T12:24:01.102188 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/15/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.375689 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376033 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376462 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376899 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.377215 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.377590 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.381222 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.381793 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.382182 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.608937 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.609239 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.609523 #1] INFO -- : > if [ -f /root/install_postgres ]; then
/root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi
I, [2025-02-07T12:27:08.142917 #1] INFO -- : Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
I, [2025-02-07T12:27:08.143547 #1] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main
I, [2025-02-07T12:27:08.149982 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown:
I, [2025-02-07T12:27:08.155367 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2025-02-07T12:27:08.158186 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2025-02-07T12:27:08.158385 #1] INFO -- : > sleep 5
2025-02-07 12:27:08.206 UTC [42] LOG: starting PostgreSQL 15.10 (Debian 15.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-02-07 12:27:08.206 UTC [42] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-02-07 12:27:08.206 UTC [42] LOG: listening on IPv6 address "::", port 5432
2025-02-07 12:27:08.219 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-02-07 12:27:08.237 UTC [53] LOG: database system was shut down at 2025-02-07 12:20:09 UTC
2025-02-07 12:27:08.248 UTC [42] LOG: database system is ready to accept connections
I, [2025-02-07T12:27:13.160322 #1] INFO -- :
I, [2025-02-07T12:27:13.160466 #1] INFO -- : > /usr/local/bin/create_db
2025-02-07 12:27:13.224 UTC [60] postgres@postgres ERROR: database "discourse" already exists
2025-02-07 12:27:13.224 UTC [60] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
2025-02-07 12:27:13.284 UTC [63] postgres@discourse ERROR: role "discourse" already exists
2025-02-07 12:27:13.284 UTC [63] 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: version "0.8.0" of extension "vector" is already installed
NOTICE: extension "hstore" already exists, skipping
NOTICE: extension "pg_trgm" already exists, skipping
NOTICE: extension "vector" already exists, skipping
NOTICE: version "0.8.0" of extension "vector" is already installed
I, [2025-02-07T12:27:13.896203 #1] INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0
I, [2025-02-07T12:27:13.896314 #1] INFO -- : > echo postgres installed!
I, [2025-02-07T12:27:13.898502 #1] INFO -- : postgres installed!
I, [2025-02-07T12:27:13.901863 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2025-02-07T12:27:13.905158 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2025-02-07T12:27:13.908457 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2025-02-07T12:27:13.908904 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.089263 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.089723 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2025-02-07T12:27:14.092105 #1] INFO -- :
I, [2025-02-07T12:27:14.092424 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.092948 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.093393 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.093851 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.094231 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2025-02-07T12:27:14.094574 #1] INFO -- : > echo redis installed
I, [2025-02-07T12:27:14.095877 #1] INFO -- : redis installed
I, [2025-02-07T12:27:14.096020 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2025-02-07T12:27:14.098793 #1] INFO -- : logfile ""
I, [2025-02-07T12:27:14.098926 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2025-02-07T12:27:14.100074 #1] INFO -- : > sleep 10
109:C 07 Feb 2025 12:27:14.111 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
109:C 07 Feb 2025 12:27:14.111 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=109, just started
109:C 07 Feb 2025 12:27:14.111 # Configuration loaded
109:M 07 Feb 2025 12:27:14.111 * monotonic clock: POSIX clock_gettime
109:M 07 Feb 2025 12:27:14.112 * Running mode=standalone, port=6379.
109:M 07 Feb 2025 12:27:14.112 # Server initialized
109:M 07 Feb 2025 12:27:14.112 # 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.
109:M 07 Feb 2025 12:27:14.113 * Loading RDB produced by version 7.0.15
109:M 07 Feb 2025 12:27:14.113 * RDB age 425 seconds
109:M 07 Feb 2025 12:27:14.113 * RDB memory usage when created 2.78 Mb
109:M 07 Feb 2025 12:27:14.120 * Done loading RDB, keys loaded: 1629, keys expired: 1.
109:M 07 Feb 2025 12:27:14.120 * DB loaded from disk: 0.007 seconds
109:M 07 Feb 2025 12:27:14.120 * Ready to accept connections
I, [2025-02-07T12:27:24.101766 #1] INFO -- :
I, [2025-02-07T12:27:24.101989 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2025-02-07T12:27:24.104708 #1] INFO -- : thpoff is installed!
I, [2025-02-07T12:27:24.105058 #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, [2025-02-07T12:27:24.198364 #1] INFO -- :
I, [2025-02-07T12:27:24.198510 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2025-02-07T12:27:24.290864 #1] INFO -- :
I, [2025-02-07T12:27:24.291001 #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, [2025-02-07T12:27:24.383477 #1] INFO -- :
I, [2025-02-07T12:27:24.383659 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2025-02-07T12:27:24.385641 #1] INFO -- :
I, [2025-02-07T12:27:24.387673 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2025-02-07T12:27:24.391186 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2025-02-07T12:27:24.394676 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2025-02-07T12:27:24.397954 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2025-02-07T12:27:24.401316 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2025-02-07T12:27:24.404581 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2025-02-07T12:27:24.404732 #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, [2025-02-07T12:27:24.406272 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2025-02-07T12:27:24.638997 #1] INFO -- :
I, [2025-02-07T12:27:24.639147 #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-app-events-revolution
- [deleted] (none) -> origin/0-ember-bump-fix-modal
- [deleted] (none) -> origin/0-polls-still
- [deleted] (none) -> origin/0-rename-details
- [deleted] (none) -> origin/0-simpler-placeholder
- [deleted] (none) -> origin/0-store-bump
- [deleted] (none) -> origin/0-tooltip
- [deleted] (none) -> origin/0-user-status
- [deleted] (none) -> origin/add-message-builder-modifier-3
- [deleted] (none) -> origin/add-shift-detect
- [deleted] (none) -> origin/add-shortcuts
- [deleted] (none) -> origin/add-signal-to-notifications-template
- [deleted] (none) -> origin/after-post-outlet
- [deleted] (none) -> origin/again-support-load-more-btn
- [deleted] (none) -> origin/allow-overriding-sidebar-my-posts-icon
- [deleted] (none) -> origin/array-custom-field-order
- [deleted] (none) -> origin/async-category-link
- [deleted] (none) -> origin/bump-eslint-config
- [deleted] (none) -> origin/carsick-patch-1
- [deleted] (none) -> origin/cat-mod-groups
- [deleted] (none) -> origin/category-experts-approved-webhook-event-wip
- [deleted] (none) -> origin/chat-github-onebox
- [deleted] (none) -> origin/chat-uppy-upload
- [deleted] (none) -> origin/conditional-summary-box
- [deleted] (none) -> origin/custom-field-store-cleanup
- [deleted] (none) -> origin/d-object
- [deleted] (none) -> origin/defer-button-action
- [deleted] (none) -> origin/demote-summarize-ai-button
- [deleted] (none) -> origin/dependabot/npm_and_yarn/uppy-b578ad6dea
- [deleted] (none) -> origin/dev-fail-tests-on-fa6-deprecated-icons-from-svg-sprite-rb
- [deleted] (none) -> origin/dev-faster-tests
- [deleted] (none) -> origin/dev-migrate-user-passwords
- [deleted] (none) -> origin/dev-refactor-username-validation-mixin
- [deleted] (none) -> origin/dev/add-a-reference-column-to-notifications
- [deleted] (none) -> origin/dev/advanced-search-custom-in-special
- [deleted] (none) -> origin/dev/automation-scriptable-add-with-class
- [deleted] (none) -> origin/dev/default-plugin-config-pages
- [deleted] (none) -> origin/dev/drop-ignore-chat_channels_last_message_sent_at
- [deleted] (none) -> origin/dev/port-outlet-wrapper-to-stable
- [deleted] (none) -> origin/dev/refactor-uploads-importer
- [deleted] (none) -> origin/dev/remove-deprecated-respect-plugin-positional-argument
- [deleted] (none) -> origin/dev/sidebar-sections-collapse-expand-transformer-events
- [deleted] (none) -> origin/dev/sidebar-subsections
- [deleted] (none) -> origin/dev/third-party-breadcrumbs
- [deleted] (none) -> origin/dev_add_query_param
- [deleted] (none) -> origin/dev_lazy_load_categories_tests
- [deleted] (none) -> origin/dev_update_category_position
- [deleted] (none) -> origin/docs-publishing-mvp
- [deleted] (none) -> origin/drawer-composer-positioning
- [deleted] (none) -> origin/ember-4
- [deleted] (none) -> origin/expand-allowed-custom-emoji-images-types
- [deleted] (none) -> origin/extra-js-revert
- [deleted] (none) -> origin/feature/add-user-to-topic_tags_changed-event
- [deleted] (none) -> origin/feature/custom-fields-for-existing-users
- [deleted] (none) -> origin/feature/enable-chat-with-dms-only
- [deleted] (none) -> origin/feature/light-dark-mode-switcher
- [deleted] (none) -> origin/feature/paste-upload-on-first-upload-input-templates
- [deleted] (none) -> origin/feature/show-note-bookmark-notif
- [deleted] (none) -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
- [deleted] (none) -> origin/feature_pm_editor
- [deleted] (none) -> origin/feature_track_mentions
- [deleted] (none) -> origin/fix-directory-search-limit
- [deleted] (none) -> origin/fix-display-errors-for-history-modal-when-fetching-revisions
- [deleted] (none) -> origin/fix-password-reset-security-key
- [deleted] (none) -> origin/fix-safari-below-18-detection
- [deleted] (none) -> origin/fix-search-context-delete-key
- [deleted] (none) -> origin/fix-unread-notifications-take-2
- [deleted] (none) -> origin/fix/tag-rename-404
- [deleted] (none) -> origin/full-page
- [deleted] (none) -> origin/glimmer-header-dnd-live
- [deleted] (none) -> origin/group_and_tag_group_permission_change_notification
- [deleted] (none) -> origin/handle-non-ascii-charc
- [deleted] (none) -> origin/hijacks
- [deleted] (none) -> origin/history-store-methods
- [deleted] (none) -> origin/i18n-helper-import
- [deleted] (none) -> origin/image-assets
- [deleted] (none) -> origin/implicit-injections-deprecations
- [deleted] (none) -> origin/improve-claimed-reviewables-transactions
- [deleted] (none) -> origin/issue/do-not-enforce-2fa-on-social-logins
- [deleted] (none) -> origin/issue/fix-user-field-enum-migrate
- [deleted] (none) -> origin/issue/fixup-upload-ref-backfill-migration-dates
- [deleted] (none) -> origin/list-wrapper
- [deleted] (none) -> origin/live-cache
- [deleted] (none) -> origin/lock-step
- [deleted] (none) -> origin/loic-upgrade-miniracer
- [deleted] (none) -> origin/more-topics-active
- [deleted] (none) -> origin/nginx-conf
- [deleted] (none) -> origin/oklab
- [deleted] (none) -> origin/plugin-outlet-no-subdir
- [deleted] (none) -> origin/post-widget-outlet
- [deleted] (none) -> origin/powered-by-reactivity
- [deleted] (none) -> origin/promote-migration-tweak
- [deleted] (none) -> origin/prune-old-transpilers
- [deleted] (none) -> origin/remap-assume-yes-option
- [deleted] (none) -> origin/remove-bootbox
- [deleted] (none) -> origin/remove-muted-from-hot-and-top-topic-lists
- [deleted] (none) -> origin/remove-x-count
- [deleted] (none) -> origin/render-glimmer-granular
- [deleted] (none) -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting
- [deleted] (none) -> origin/revert-location-change
- [deleted] (none) -> origin/revert-thread-title-experiment
- [deleted] (none) -> origin/see_if_yarn_cache_is_working
- [deleted] (none) -> origin/shared-draft-category
- [deleted] (none) -> origin/skip-back-button-animation
- [deleted] (none) -> origin/tag-span
- [deleted] (none) -> origin/testing_debian_12
- [deleted] (none) -> origin/tobiaseigen-patch-4
- [deleted] (none) -> origin/topic-count-fix
- [deleted] (none) -> origin/topic-list-item-style
- [deleted] (none) -> origin/translations-from-crowdin-main
- [deleted] (none) -> origin/translations-from-crowdin-stable
- [deleted] (none) -> origin/update-gems-stable
- [deleted] (none) -> origin/ux/admin-site-setting-inner-sidebar-experiment
- [deleted] (none) -> origin/whats-new-notify-plugins
c64b5d6d7..6b6b31a97 main -> origin/main
* [new branch] 0-a-pnpm-lock -> origin/0-a-pnpm-lock
+ 3c0b2f75f...0d2238318 allow-posts-link-in-sidebar -> origin/allow-posts-link-in-sidebar (forced update)
* [new branch] async-data -> origin/async-data
* [new branch] automation-autoload -> origin/automation-autoload
+ c35147e8c...a4758855f composer-disable-submit -> origin/composer-disable-submit (forced update)
* [new branch] d-menu-composer-flag -> origin/d-menu-composer-flag
* [new branch] dependabot/bundler/msgpack-1.8.0 -> origin/dependabot/bundler/msgpack-1.8.0
* [new branch] dependabot/bundler/net-smtp-0.5.1 -> origin/dependabot/bundler/net-smtp-0.5.1
* [new branch] dependabot/bundler/parser-3.3.7.1 -> origin/dependabot/bundler/parser-3.3.7.1
* [new branch] dependabot/bundler/rdoc-6.12.0 -> origin/dependabot/bundler/rdoc-6.12.0
* [new branch] dependabot/bundler/rspec-core-3.13.3 -> origin/dependabot/bundler/rspec-core-3.13.3
* [new branch] dependabot/bundler/rspec-rails-7.1.1 -> origin/dependabot/bundler/rspec-rails-7.1.1
* [new branch] dependabot/bundler/rubocop-1.71.2 -> origin/dependabot/bundler/rubocop-1.71.2
* [new branch] dependabot/bundler/webmock-3.25.0 -> origin/dependabot/bundler/webmock-3.25.0
* [new branch] dependabot/npm_and_yarn/discourse/lint-configs-2.4.0 -> origin/dependabot/npm_and_yarn/discourse/lint-configs-2.4.0
* [new branch] dependabot/npm_and_yarn/ember-cli-6.2.0 -> origin/dependabot/npm_and_yarn/ember-cli-6.2.0
* [new branch] dependabot/npm_and_yarn/prosemirror-view-1.37.2 -> origin/dependabot/npm_and_yarn/prosemirror-view-1.37.2
* [new branch] dependabot/npm_and_yarn/puppeteer-core-24.2.0 -> origin/dependabot/npm_and_yarn/puppeteer-core-24.2.0
* [new branch] dependabot/npm_and_yarn/swc/core-1.10.14 -> origin/dependabot/npm_and_yarn/swc/core-1.10.14
* [new branch] dependabot/npm_and_yarn/terser-5.38.1 -> origin/dependabot/npm_and_yarn/terser-5.38.1
* [new branch] dependabot/npm_and_yarn/uppy-b82cdcd59c -> origin/dependabot/npm_and_yarn/uppy-b82cdcd59c
* [new branch] dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests -> origin/dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests
+ 72ff8f1eb...699aa3755 dev-refactor-username-validation-mixin-to-helper -> origin/dev-refactor-username-validation-mixin-to-helper (forced update)
* [new branch] dev/async-content-component -> origin/dev/async-content-component
+ ec68ffb95...2124c96a9 dev/color-palette-editor -> origin/dev/color-palette-editor (forced update)
* [new branch] dev/ember-async-data-demo -> origin/dev/ember-async-data-demo
* [new branch] dev/purge-widget-post-menu -> origin/dev/purge-widget-post-menu
* [new branch] dev/user-field-components-transformer -> origin/dev/user-field-components-transformer
* [new branch] feature_pm_codeblock -> origin/feature_pm_codeblock
* [new branch] feature_pm_emoji -> origin/feature_pm_emoji
* [new branch] feature_pm_hashtag -> origin/feature_pm_hashtag
* [new branch] feature_pm_html_block -> origin/feature_pm_html_block
* [new branch] feature_pm_html_inline -> origin/feature_pm_html_inline
* [new branch] feature_pm_image -> origin/feature_pm_image
* [new branch] feature_pm_link -> origin/feature_pm_link
* [new branch] feature_pm_mention -> origin/feature_pm_mention
* [new branch] feature_pm_quote -> origin/feature_pm_quote
* [new branch] feature_pm_strikethrough -> origin/feature_pm_strikethrough
* [new branch] feature_pm_table -> origin/feature_pm_table
* [new branch] feature_pm_typographer -> origin/feature_pm_typographer
* [new branch] feature_pm_underline -> origin/feature_pm_underline
* [new branch] fix/secure-upload-rake-dedup-no-post -> origin/fix/secure-upload-rake-dedup-no-post
+ 0f2f74d08...18fbfb9cb mt/idb -> origin/mt/idb (forced update)
* [new branch] mt/update-default-config -> origin/mt/update-default-config
* [new branch] omit-date-in-user-stream-small-actions -> origin/omit-date-in-user-stream-small-actions
* [new branch] pento/dev-upgrade-pnpm-10 -> origin/pento/dev-upgrade-pnpm-10
* [new branch] quick-smoke-test -> origin/quick-smoke-test
+ de3691471...e5890e554 renato/pm -> origin/renato/pm (forced update)
5d4c2a89e..22f2a554e stable -> origin/stable
c64b5d6d7..6b6b31a97 tests-passed -> origin/tests-passed
* [new branch] tobiaseigen-patch-3 -> origin/tobiaseigen-patch-3
* [new branch] tobiaseigen-patch-3-1 -> origin/tobiaseigen-patch-3-1
415cccafb..c43caf483 user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
* [new branch] user-stream-item-alignment-fix -> origin/user-stream-item-alignment-fix
10566d84b..c540132fe ux/combined-themes-components-sidebar-links -> origin/ux/combined-themes-components-sidebar-links
t [tag update] beta -> beta
t [tag update] latest-release -> latest-release
* [new tag] v3.3.4 -> v3.3.4
* [new tag] v3.4.0 -> v3.4.0
* [new tag] v3.4.0.beta4 -> v3.4.0.beta4
I, [2025-02-07T12:27:26.047219 #1] INFO -- :
I, [2025-02-07T12:27:26.047365 #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, [2025-02-07T12:27:32.242164 #1] INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.
I, [2025-02-07T12:27:32.242306 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2025-02-07T12:27:32.253644 #1] INFO -- :
I, [2025-02-07T12:27:32.253780 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2025-02-07T12:27:32.256418 #1] INFO -- :
I, [2025-02-07T12:27:32.256500 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2025-02-07T12:27:32.258899 #1] INFO -- :
I, [2025-02-07T12:27:32.258965 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2025-02-07T12:27:32.261423 #1] INFO -- :
I, [2025-02-07T12:27:32.261536 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2025-02-07T12:27:32.263798 #1] INFO -- :
I, [2025-02-07T12:27:32.263864 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2025-02-07T12:27:32.266054 #1] INFO -- :
I, [2025-02-07T12:27:32.266120 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2025-02-07T12:27:32.268279 #1] INFO -- :
I, [2025-02-07T12:27:32.268346 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2025-02-07T12:27:32.271876 #1] INFO -- :
I, [2025-02-07T12:27:32.271943 #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, [2025-02-07T12:27:32.275766 #1] INFO -- :
I, [2025-02-07T12:27:32.275833 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2025-02-07T12:27:32.279336 #1] INFO -- :
I, [2025-02-07T12:27:32.279449 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2025-02-07T12:27:32.282869 #1] INFO -- :
I, [2025-02-07T12:27:32.282985 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2025-02-07T12:27:32.286437 #1] INFO -- :
I, [2025-02-07T12:27:32.286552 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2025-02-07T12:27:32.289936 #1] INFO -- :
I, [2025-02-07T12:27:32.290051 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2025-02-07T12:27:32.295538 #1] INFO -- :
I, [2025-02-07T12:27:32.295660 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2025-02-07T12:27:32.297217 #1] INFO -- :
I, [2025-02-07T12:27:32.297447 #1] INFO -- : Replacing # redis with if [ ! -d /shared/redis_data ]; then
install -d -m 0755 -o redis -g redis /shared/redis_data
fi
sv start redis || exit 1 in /etc/service/unicorn/run
I, [2025-02-07T12:27:32.297853 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2025-02-07T12:27:33.282135 #1] INFO -- :
I, [2025-02-07T12:27:33.282282 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/communiteq/discourse-private-topics.git
Cloning into 'discourse-private-topics'...
I, [2025-02-07T12:27:33.838661 #1] INFO -- :
I, [2025-02-07T12:27:33.838987 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:33.841660 #1] INFO -- :
I, [2025-02-07T12:27:33.841772 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2025-02-07T12:27:33.843420 #1] INFO -- :
I, [2025-02-07T12:27:33.843484 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2025-02-07T12:27:33.845230 #1] INFO -- :
I, [2025-02-07T12:27:33.845418 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2025-02-07T12:27:34.158786 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159111 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159474 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159788 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2025-02-07T12:27:34.160072 #1] INFO -- : > echo "done configuring web"
I, [2025-02-07T12:27:34.161854 #1] INFO -- : done configuring web
I, [2025-02-07T12:27:34.162105 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2025-02-07T12:27:34.468978 #1] INFO -- :
I, [2025-02-07T12:27:34.469096 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2025-02-07T12:27:36.908120 #1] INFO -- :
I, [2025-02-07T12:27:36.908416 #1] INFO -- : > cd /var/www/discourse && if [ -f yarn.lock ]; then
if [ -d node_modules/.pnpm ]; then
echo "This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up..."
find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +
fi
su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'
fi
I, [2025-02-07T12:27:38.403844 #1] INFO -- : Scope: all 17 workspace projects
Lockfile is up to date, resolution step is skipped
EINVAL EINVAL: invalid argument, rmdir '/var/www/discourse/app/assets/javascripts/dialog-holder/node_modules/.bin'
I, [2025-02-07T12:27:38.404328 #1] INFO -- : Terminating async processes
I, [2025-02-07T12:27:38.404370 #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/15/bin/postmaster -D /etc/postgresql/15/main pid: 42
I, [2025-02-07T12:27:38.404438 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 109
2025-02-07 12:27:38.404 UTC [42] LOG: received fast shutdown request
109:signal-handler (1738931258) Received SIGTERM scheduling shutdown...
2025-02-07 12:27:38.434 UTC [42] LOG: aborting any active transactions
2025-02-07 12:27:38.436 UTC [42] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1
2025-02-07 12:27:38.436 UTC [51] LOG: shutting down
2025-02-07 12:27:38.443 UTC [51] LOG: checkpoint starting: shutdown immediate
109:M 07 Feb 2025 12:27:38.499 # User requested shutdown...
109:M 07 Feb 2025 12:27:38.499 * Saving the final RDB snapshot before exiting.
2025-02-07 12:27:38.507 UTC [51] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.027 s, total=0.071 s; sync files=3, longest=0.010 s, average=0.009 s; distance=5 kB, estimate=5 kB
2025-02-07 12:27:38.514 UTC [42] LOG: database system is shut down
109:M 07 Feb 2025 12:27:38.541 * DB saved on disk
109:M 07 Feb 2025 12:27:38.541 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && if [ -f yarn.lock ]; then
if [ -d node_modules/.pnpm ]; then
echo "This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up..."
find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +
fi
su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'
fi failed with return #<Process::Status: pid 290 exit 234>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ -f yarn.lock ]; then\n if [ -d node_modules/.pnpm ]; then\n echo \"This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up...\"\n find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +\n fi\n su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'\nelse\n su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'\nfi"]}
bootstrap failed with exit code 234
** 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.
ca4136b0e8118d0ec935d9c725cd78463f542b74c8734ca79d278dc94ec76b56
I still fail to see what went wrong. Is there another log file I should consult? Thx again for any hints!