I am encountering an issue when I try to rebuild Discourse, but I don’t understand what is the problem. Can someone help me?
Here’s the output from ./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.20241203-0251: Pulling from discourse/base
Digest: sha256:d5d4e6d361d56745e37f2609db58a6970cc9b3fcd26d0b2dcba23d0cb581f067
Status: Image is up to date for discourse/base:2.0.20241203-0251
docker.io/discourse/base:2.0.20241203-0251
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-12-17T20:04:51.340338 #1] INFO -- : Reading from stdin
I, [2024-12-17T20:04:51.372817 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-12-17T20:04:51.380788 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-12-17T20:04:51.389047 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-12-17T20:04:51.398337 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
I, [2024-12-17T20:04:51.405124 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-12-17T20:04:51.406966 #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-12-17T20:04:51.408283 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-17T20:04:51.409225 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-17T20:04:51.410158 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-17T20:04:51.410961 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-17T20:04:51.411604 #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-12-17T20:04:51.412229 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-17T20:04:51.412891 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-12-17T20:04:51.413731 #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-12-17T20:04:51.419815 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-12-17T20:04:51.420380 #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-12-17T20:04:51.421094 #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-12-17T20:04:51.421838 #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, [2024-12-17T20:04:55.815863 #1] INFO -- : Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
I, [2024-12-17T20:04:55.816523 #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-12-17T20:04:55.825934 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown:
I, [2024-12-17T20:04:55.834243 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-12-17T20:04:55.839156 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-12-17T20:04:55.839678 #1] INFO -- : > sleep 5
2024-12-17 20:04:55.944 UTC [39] LOG: starting PostgreSQL 13.18 (Debian 13.18-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-12-17 20:04:55.945 UTC [39] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-12-17 20:04:55.945 UTC [39] LOG: listening on IPv6 address "::", port 5432
2024-12-17 20:04:55.949 UTC [39] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-12-17 20:04:55.957 UTC [48] LOG: database system was shut down at 2024-12-17 20:04:41 UTC
2024-12-17 20:04:55.969 UTC [39] LOG: database system is ready to accept connections
I, [2024-12-17T20:05:00.843375 #1] INFO -- :
I, [2024-12-17T20:05:00.843591 #1] INFO -- : > /usr/local/bin/create_db
2024-12-17 20:05:01.014 UTC [58] postgres@postgres ERROR: database "discourse" already exists
2024-12-17 20:05:01.014 UTC [58] postgres@postgres STATEMENT: CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR: database "discourse" already exists
2024-12-17 20:05:01.127 UTC [61] postgres@discourse ERROR: role "discourse" already exists
2024-12-17 20:05:01.127 UTC [61] 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, [2024-12-17T20:05:02.768875 #1] INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0
I, [2024-12-17T20:05:02.769783 #1] INFO -- : > echo postgres installed!
I, [2024-12-17T20:05:02.772946 #1] INFO -- : postgres installed!
I, [2024-12-17T20:05:02.780721 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown:
I, [2024-12-17T20:05:02.789261 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown:
I, [2024-12-17T20:05:02.797355 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-12-17T20:05:02.799315 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.801831 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.806036 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-12-17T20:05:02.817751 #1] INFO -- :
I, [2024-12-17T20:05:02.819014 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.821066 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.823374 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.825686 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.827711 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-12-17T20:05:02.829965 #1] INFO -- : > echo redis installed
I, [2024-12-17T20:05:02.833303 #1] INFO -- : redis installed
I, [2024-12-17T20:05:02.833999 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-12-17T20:05:02.847791 #1] INFO -- : logfile ""
I, [2024-12-17T20:05:02.848582 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-12-17T20:05:02.860731 #1] INFO -- : > sleep 10
107:C 17 Dec 2024 20:05:02.909 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
107:C 17 Dec 2024 20:05:02.910 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=107, just started
107:C 17 Dec 2024 20:05:02.910 # Configuration loaded
107:M 17 Dec 2024 20:05:02.912 * monotonic clock: POSIX clock_gettime
107:M 17 Dec 2024 20:05:02.922 * Running mode=standalone, port=6379.
107:M 17 Dec 2024 20:05:02.922 # Server initialized
107:M 17 Dec 2024 20:05:02.923 # 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.
107:M 17 Dec 2024 20:05:02.923 * Loading RDB produced by version 7.0.7
107:M 17 Dec 2024 20:05:02.923 * RDB age 23 seconds
107:M 17 Dec 2024 20:05:02.923 * RDB memory usage when created 46.73 Mb
107:M 17 Dec 2024 20:05:03.124 * Done loading RDB, keys loaded: 4401, keys expired: 3.
107:M 17 Dec 2024 20:05:03.124 * DB loaded from disk: 0.201 seconds
107:M 17 Dec 2024 20:05:03.124 * Ready to accept connections
I, [2024-12-17T20:05:12.882155 #1] INFO -- :
I, [2024-12-17T20:05:12.882393 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-12-17T20:05:12.887354 #1] INFO -- : thpoff is installed!
I, [2024-12-17T20:05:12.888009 #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-12-17T20:05:13.019333 #1] INFO -- :
I, [2024-12-17T20:05:13.019487 #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-12-17T20:05:13.154482 #1] INFO -- :
I, [2024-12-17T20:05:13.154685 #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-12-17T20:05:13.293364 #1] INFO -- :
I, [2024-12-17T20:05:13.293637 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-12-17T20:05:13.296993 #1] INFO -- :
I, [2024-12-17T20:05:13.305524 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown:
I, [2024-12-17T20:05:13.313003 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-12-17T20:05:13.319105 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown:
I, [2024-12-17T20:05:13.324930 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown:
I, [2024-12-17T20:05:13.330478 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-12-17T20:05:13.335821 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-12-17T20:05:13.336043 #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-12-17T20:05:13.339445 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34959/34959), done.
I, [2024-12-17T20:05:18.887993 #1] INFO -- : HEAD is now at 251333995 FEATURE: Show when a badge has been granted for a post (#29696)
I, [2024-12-17T20:05:18.888111 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-12-17T20:05:19.062676 #1] INFO -- :
I, [2024-12-17T20:05:19.062865 #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-a-extra-item-classes
- [deleted] (none) -> origin/abstract_autocomplete_textarea
- [deleted] (none) -> origin/add-plugin-wrapper-to-user-profile-avatar
- [deleted] (none) -> origin/better-conflict-handling
- [deleted] (none) -> origin/custom-flag-default-translation
- [deleted] (none) -> origin/dependabot/bundler/sass-embedded-1.81.0
- [deleted] (none) -> origin/dependabot/bundler/webrick-1.9.1
- [deleted] (none) -> origin/dependabot/npm_and_yarn/sass-1.81.0
- [deleted] (none) -> origin/dev/ember-5-12
- [deleted] (none) -> origin/feature/backup-cli-sql-only-option
- [deleted] (none) -> origin/feature/block-ip-and-email-to-bulk-delete
- [deleted] (none) -> origin/fix-undefined-controller
- [deleted] (none) -> origin/fix/hide-profiles
- [deleted] (none) -> origin/mobile-firefox-keyboard-fix
- [deleted] (none) -> origin/relax-emoji-sanitization
- [deleted] (none) -> origin/separate_upload_placeholder
- [deleted] (none) -> origin/update-robots-desc
251333995..8f26ae7b7 main -> origin/main
* [new branch] 0-a-presence -> origin/0-a-presence
* [new branch] add-devenv -> origin/add-devenv
+ 8741e0f07...04bf23c03 br/directory -> origin/br/directory (forced update)
07c91ff5b..1a3925b17 composer_toolbar_improv -> origin/composer_toolbar_improv
* [new branch] dependabot/bundler/mocha-2.7.1 -> origin/dependabot/bundler/mocha-2.7.1
* [new branch] dependabot/bundler/nokogiri-1.17.2 -> origin/dependabot/bundler/nokogiri-1.17.2
* [new branch] dependabot/bundler/sass-embedded-1.83.0 -> origin/dependabot/bundler/sass-embedded-1.83.0
* [new branch] dependabot/npm_and_yarn/jsuites-5.8.1 -> origin/dependabot/npm_and_yarn/jsuites-5.8.1
* [new branch] dependabot/npm_and_yarn/sass-1.83.0 -> origin/dependabot/npm_and_yarn/sass-1.83.0
* [new branch] dev-no-text-on-yields -> origin/dev-no-text-on-yields
* [new branch] dev-refactor-can-check-emails-mixin -> origin/dev-refactor-can-check-emails-mixin
* [new branch] dev-update-svg-icon-subset-site-setting-help-text -> origin/dev-update-svg-icon-subset-site-setting-help-text
+ d5f594c07...cb2c55972 dev/admin-api-ui-guidelines -> origin/dev/admin-api-ui-guidelines (forced update)
* [new branch] dev/admin-page-header-to-d-page-header -> origin/dev/admin-page-header-to-d-page-header
* [new branch] dev/admin-webhooks-ui-guidelines -> origin/dev/admin-webhooks-ui-guidelines
* [new branch] dev/settable-fields -> origin/dev/settable-fields
* [new branch] embedding-ux -> origin/embedding-ux
+ 2921205f2...52a38f358 feature/wizard-look-and-feel-improvements -> origin/feature/wizard-look-and-feel-improvements (forced update)
* [new branch] fitzy/org-runners -> origin/fitzy/org-runners
* [new branch] fix-chat -> origin/fix-chat
* [new branch] fix-firefox-android-followup -> origin/fix-firefox-android-followup
* [new branch] fix-is-replying-when-offline -> origin/fix-is-replying-when-offline
* [new branch] fix-open-composer-error -> origin/fix-open-composer-error
* [new branch] fix/admin-permission-precedent-deleted-posts -> origin/fix/admin-permission-precedent-deleted-posts
* [new branch] fix/contact-url-about-page -> origin/fix/contact-url-about-page
* [new branch] i18n/banned-lint -> origin/i18n/banned-lint
* [new branch] introduce_api_for_custom_rate_limiters -> origin/introduce_api_for_custom_rate_limiters
* [new branch] issue/allow-admin-to-use-reserved-usernames -> origin/issue/allow-admin-to-use-reserved-usernames
+ 50c0a90ba...56e8c5245 less_invasive_autocomplete -> origin/less_invasive_autocomplete (forced update)
* [new branch] login-css -> origin/login-css
+ 8834e37c4...d502d7c37 loic-enable-rspec-rule -> origin/loic-enable-rspec-rule (forced update)
* [new branch] loic-fix-services-delegate-with-class -> origin/loic-fix-services-delegate-with-class
* [new branch] mt/fix-poll-options -> origin/mt/fix-poll-options
+ 1fc526eb4...9e46da1b7 mt/idb -> origin/mt/idb (forced update)
+ 72f3215c0...eaded6223 mt/pr4 -> origin/mt/pr4 (forced update)
* [new branch] multiple-drafts-dropdown -> origin/multiple-drafts-dropdown
* [new branch] permalink-settings -> origin/permalink-settings
* [new branch] post-dup-event -> origin/post-dup-event
* [new branch] post-list-component -> origin/post-list-component
* [new branch] redo_sidekiq_heartbeat_checks -> origin/redo_sidekiq_heartbeat_checks
* [new branch] refactor-mobile-coposer-position -> origin/refactor-mobile-coposer-position
* [new branch] refactor-mobile-coposer-position-replace-actions -> origin/refactor-mobile-coposer-position-replace-actions
* [new branch] renato/pm -> origin/renato/pm
* [new branch] signup-progress-edits -> origin/signup-progress-edits
* [new branch] skip_compressing_assets_if_assets_is_already_on_s3 -> origin/skip_compressing_assets_if_assets_is_already_on_s3
f5b108bf9..85a89e0e2 stable -> origin/stable
251333995..8f26ae7b7 tests-passed -> origin/tests-passed
* [new branch] topic-tracking-dmenu -> origin/topic-tracking-dmenu
* [new branch] translations-from-crowdin-main -> origin/translations-from-crowdin-main
* [new branch] translations-from-crowdin-stable -> origin/translations-from-crowdin-stable
* [new branch] user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
* [new branch] ux-create-tag-disabled -> origin/ux-create-tag-disabled
* [new branch] vite -> origin/vite
* [new branch] wip-merged-topics -> origin/wip-merged-topics
I, [2024-12-17T20:05:20.291566 #1] INFO -- :
I, [2024-12-17T20:05:20.291729 #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-12-17T20:05:25.030222 #1] INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.
I, [2024-12-17T20:05:25.030366 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-12-17T20:05:25.046403 #1] INFO -- :
I, [2024-12-17T20:05:25.046548 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-12-17T20:05:25.055946 #1] INFO -- :
I, [2024-12-17T20:05:25.056125 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-12-17T20:05:25.060509 #1] INFO -- :
I, [2024-12-17T20:05:25.061466 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-12-17T20:05:25.067552 #1] INFO -- :
I, [2024-12-17T20:05:25.067718 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-12-17T20:05:25.072718 #1] INFO -- :
I, [2024-12-17T20:05:25.072873 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-12-17T20:05:25.133562 #1] INFO -- :
I, [2024-12-17T20:05:25.133770 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-12-17T20:05:25.138158 #1] INFO -- :
I, [2024-12-17T20:05:25.138341 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-12-17T20:05:25.144893 #1] INFO -- :
I, [2024-12-17T20:05:25.145206 #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-12-17T20:05:25.151921 #1] INFO -- :
I, [2024-12-17T20:05:25.152276 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-12-17T20:05:25.159070 #1] INFO -- :
I, [2024-12-17T20:05:25.159375 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-12-17T20:05:25.166058 #1] INFO -- :
I, [2024-12-17T20:05:25.166378 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-12-17T20:05:25.172678 #1] INFO -- :
I, [2024-12-17T20:05:25.172991 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-12-17T20:05:25.179373 #1] INFO -- :
I, [2024-12-17T20:05:25.179636 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-12-17T20:05:25.417134 #1] INFO -- :
I, [2024-12-17T20:05:25.417766 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-12-17T20:05:25.420544 #1] INFO -- :
I, [2024-12-17T20:05:25.420997 #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, [2024-12-17T20:05:25.422694 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-12-17T20:05:26.648646 #1] INFO -- :
I, [2024-12-17T20:05:26.648966 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2024-12-17T20:05:27.422032 #1] INFO -- :
I, [2024-12-17T20:05:27.422303 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/timmmmyboy/docker-embed.git
Cloning into 'docker-embed'...
I, [2024-12-17T20:05:27.932386 #1] INFO -- :
I, [2024-12-17T20:05:27.932658 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
Cloning into 'discourse-chat-integration'...
I, [2024-12-17T20:05:28.771301 #1] INFO -- :
I, [2024-12-17T20:05:28.771587 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/cpradio/discourse-plugin-replygif.git
Cloning into 'discourse-plugin-replygif'...
I, [2024-12-17T20:05:29.886073 #1] INFO -- :
I, [2024-12-17T20:05:29.886354 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-voting.git
Cloning into 'discourse-voting'...
I, [2024-12-17T20:05:30.594338 #1] INFO -- :
I, [2024-12-17T20:05:30.594656 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2024-12-17T20:05:31.375552 #1] INFO -- :
I, [2024-12-17T20:05:31.375879 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-bcc.git
Cloning into 'discourse-bcc'...
I, [2024-12-17T20:05:31.961928 #1] INFO -- :
I, [2024-12-17T20:05:31.962216 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/DiscoTOC.git
Cloning into 'DiscoTOC'...
I, [2024-12-17T20:05:32.664375 #1] INFO -- :
I, [2024-12-17T20:05:32.664727 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-whos-online.git
Cloning into 'discourse-whos-online'...
I, [2024-12-17T20:05:33.335177 #1] INFO -- :
I, [2024-12-17T20:05:33.335457 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-fontawesome-pro.git
Cloning into 'discourse-fontawesome-pro'...
I, [2024-12-17T20:05:33.976652 #1] INFO -- :
I, [2024-12-17T20:05:33.976989 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat.git
Cloning into 'discourse-chat'...
I, [2024-12-17T20:05:35.152614 #1] INFO -- :
I, [2024-12-17T20:05:35.152879 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-custom-wizard.git
Cloning into 'discourse-custom-wizard'...
I, [2024-12-17T20:05:36.348298 #1] INFO -- :
I, [2024-12-17T20:05:36.348576 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-news.git
Cloning into 'discourse-news'...
I, [2024-12-17T20:05:36.903186 #1] INFO -- :
I, [2024-12-17T20:05:36.903544 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-post-voting.git
Cloning into 'discourse-post-voting'...
I, [2024-12-17T20:05:37.671933 #1] INFO -- :
I, [2024-12-17T20:05:37.672243 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions
Cloning into 'discourse-reactions'...
I, [2024-12-17T20:05:38.435059 #1] INFO -- :
I, [2024-12-17T20:05:38.435384 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-shared-edits
Cloning into 'discourse-shared-edits'...
I, [2024-12-17T20:05:39.134862 #1] INFO -- :
I, [2024-12-17T20:05:39.135193 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-doc-categories
Cloning into 'discourse-doc-categories'...
I, [2024-12-17T20:05:39.845892 #1] INFO -- :
I, [2024-12-17T20:05:39.846259 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/29th/discourse-user-by-id
Cloning into 'discourse-user-by-id'...
I, [2024-12-17T20:05:40.396893 #1] INFO -- :
I, [2024-12-17T20:05:40.397186 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions
fatal: destination path 'discourse-reactions' already exists and is not an empty directory.
I, [2024-12-17T20:05:40.402942 #1] INFO -- :
I, [2024-12-17T20:05:40.403829 #1] INFO -- : Terminating async processes
I, [2024-12-17T20:05:40.403968 #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: 39
I, [2024-12-17T20:05:40.404084 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 107
2024-12-17 20:05:40.404 UTC [39] LOG: received fast shutdown request
107:signal-handler (1734465940) Received SIGTERM scheduling shutdown...
2024-12-17 20:05:40.406 UTC [39] LOG: aborting any active transactions
2024-12-17 20:05:40.410 UTC [39] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
2024-12-17 20:05:40.426 UTC [49] LOG: shutting down
107:M 17 Dec 2024 20:05:40.427 # User requested shutdown...
107:M 17 Dec 2024 20:05:40.427 * Saving the final RDB snapshot before exiting.
2024-12-17 20:05:40.476 UTC [39] LOG: database system is shut down
107:M 17 Dec 2024 20:05:40.657 * DB saved on disk
107:M 17 Dec 2024 20:05:40.657 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions failed with return #<Process::Status: pid 441 exit 128>
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/plugins", "cmd"=>["git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/discourse/discourse-data-explorer.git", "git clone https://github.com/timmmmyboy/docker-embed.git", "git clone https://github.com/discourse/discourse-chat-integration.git", "git clone https://github.com/cpradio/discourse-plugin-replygif.git", "git clone https://github.com/discourse/discourse-voting.git", "git clone https://github.com/discourse/discourse-solved.git", "git clone https://github.com/discourse/discourse-bcc.git", "git clone https://github.com/discourse/DiscoTOC.git", "git clone https://github.com/discourse/discourse-whos-online.git", "git clone https://github.com/discourse/discourse-fontawesome-pro.git", "git clone https://github.com/discourse/discourse-chat.git", "git clone https://github.com/paviliondev/discourse-custom-wizard.git", "git clone https://github.com/paviliondev/discourse-news.git", "git clone https://github.com/discourse/discourse-post-voting.git", "git clone https://github.com/discourse/discourse-reactions", "git clone https://github.com/discourse/discourse-shared-edits", "git clone https://github.com/discourse/discourse-doc-categories", "git clone https://github.com/29th/discourse-user-by-id", "git clone https://github.com/discourse/discourse-reactions"]}
bootstrap failed with exit code 128
** 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.
8583d802d54ae22f3b827ec739724277851f99186b4e6caf1fcf2951f9b6744f