Last login: Thu Oct 31 09:59:33 2024 from 174.51.35.203 root@JEN ~ # cd /var/discourse root@JEN /var/discourse # cd containers root@JEN /var/discourse/containers # cd .. root@JEN /var/discourse # ./launcher rebuild app101 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 app101 app101 2.0.20240825-0027: Pulling from discourse/base Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146 Status: Image is up to date for discourse/base:2.0.20240825-0027 docker.io/discourse/base:2.0.20240825-0027 /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb /usr/local/bin/pups --stdin I, [2024-10-31T16:40:38.181087 #1] INFO -- : Reading from stdin I, [2024-10-31T16:40:38.186371 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown: I, [2024-10-31T16:40:38.188386 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown: I, [2024-10-31T16:40:38.190418 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown: I, [2024-10-31T16:40:38.192401 #1] INFO -- : File > /root/install_postgres chmod: +x chown: I, [2024-10-31T16:40:38.194318 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown: I, [2024-10-31T16:40:38.194398 #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-10-31T16:40:38.194677 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf I, [2024-10-31T16:40:38.194795 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf I, [2024-10-31T16:40:38.194896 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf I, [2024-10-31T16:40:38.195059 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf I, [2024-10-31T16:40:38.195159 #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-10-31T16:40:38.195259 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf I, [2024-10-31T16:40:38.195347 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf I, [2024-10-31T16:40:38.195446 #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-10-31T16:40:38.195545 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf I, [2024-10-31T16:40:38.195631 #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-10-31T16:40:38.195704 #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-10-31T16:40:38.195798 #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-10-31T16:40:39.132986 #1] INFO -- : Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. I, [2024-10-31T16:40:39.133165 #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-10-31T16:40:39.139251 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown: I, [2024-10-31T16:40:39.142816 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres I, [2024-10-31T16:40:39.143855 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown: I, [2024-10-31T16:40:39.143928 #1] INFO -- : > sleep 5 2024-10-31 16:40:39.154 UTC [39] LOG: starting PostgreSQL 13.16 (Debian 13.16-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2024-10-31 16:40:39.154 UTC [39] LOG: listening on IPv4 address "0.0.0.0", port 5432 2024-10-31 16:40:39.154 UTC [39] LOG: listening on IPv6 address "::", port 5432 2024-10-31 16:40:39.155 UTC [39] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2024-10-31 16:40:39.156 UTC [48] LOG: database system was shut down at 2024-10-31 16:37:29 UTC 2024-10-31 16:40:39.158 UTC [39] LOG: database system is ready to accept connections I, [2024-10-31T16:40:44.144824 #1] INFO -- : I, [2024-10-31T16:40:44.144917 #1] INFO -- : > /usr/local/bin/create_db 2024-10-31 16:40:44.178 UTC [58] postgres@postgres ERROR: database "discourse" already exists 2024-10-31 16:40:44.178 UTC [58] postgres@postgres STATEMENT: CREATE DATABASE discourse; createdb: error: database creation failed: ERROR: database "discourse" already exists 2024-10-31 16:40:44.204 UTC [61] postgres@discourse ERROR: role "discourse" already exists 2024-10-31 16:40:44.204 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.7.4" 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.7.4" of extension "vector" is already installed I, [2024-10-31T16:40:44.481856 #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-10-31T16:40:44.481921 #1] INFO -- : > echo postgres installed! I, [2024-10-31T16:40:44.482955 #1] INFO -- : postgres installed! I, [2024-10-31T16:40:44.484893 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown: I, [2024-10-31T16:40:44.486631 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown: I, [2024-10-31T16:40:44.488481 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown: I, [2024-10-31T16:40:44.488578 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf I, [2024-10-31T16:40:44.488893 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf I, [2024-10-31T16:40:44.489079 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data I, [2024-10-31T16:40:44.490042 #1] INFO -- : I, [2024-10-31T16:40:44.490192 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf I, [2024-10-31T16:40:44.490410 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf I, [2024-10-31T16:40:44.490652 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf I, [2024-10-31T16:40:44.490861 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf I, [2024-10-31T16:40:44.491029 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf I, [2024-10-31T16:40:44.491204 #1] INFO -- : > echo redis installed I, [2024-10-31T16:40:44.491983 #1] INFO -- : redis installed I, [2024-10-31T16:40:44.492054 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile I, [2024-10-31T16:40:44.493584 #1] INFO -- : logfile "" I, [2024-10-31T16:40:44.493629 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf I, [2024-10-31T16:40:44.494286 #1] INFO -- : > sleep 10 107:C 31 Oct 2024 16:40:44.498 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 107:C 31 Oct 2024 16:40:44.498 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=107, just started 107:C 31 Oct 2024 16:40:44.498 # Configuration loaded 107:M 31 Oct 2024 16:40:44.498 * monotonic clock: POSIX clock_gettime 107:M 31 Oct 2024 16:40:44.499 * Running mode=standalone, port=6379. 107:M 31 Oct 2024 16:40:44.499 # Server initialized 107:M 31 Oct 2024 16:40:44.499 # 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 31 Oct 2024 16:40:44.499 * Loading RDB produced by version 7.0.7 107:M 31 Oct 2024 16:40:44.499 * RDB age 195 seconds 107:M 31 Oct 2024 16:40:44.499 * RDB memory usage when created 32.85 Mb 107:M 31 Oct 2024 16:40:44.539 * Done loading RDB, keys loaded: 1059, keys expired: 4. 107:M 31 Oct 2024 16:40:44.539 * DB loaded from disk: 0.041 seconds 107:M 31 Oct 2024 16:40:44.539 * Ready to accept connections I, [2024-10-31T16:40:54.495352 #1] INFO -- : I, [2024-10-31T16:40:54.495671 #1] INFO -- : > thpoff echo "thpoff is installed!" I, [2024-10-31T16:40:54.500937 #1] INFO -- : thpoff is installed! I, [2024-10-31T16:40:54.501255 #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-10-31T16:40:54.545800 #1] INFO -- : I, [2024-10-31T16:40:54.545854 #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-10-31T16:40:54.583564 #1] INFO -- : I, [2024-10-31T16:40:54.583614 #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-10-31T16:40:54.621351 #1] INFO -- : I, [2024-10-31T16:40:54.621427 #1] INFO -- : > rm -f /etc/cron.d/anacron I, [2024-10-31T16:40:54.622396 #1] INFO -- : I, [2024-10-31T16:40:54.623504 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown: I, [2024-10-31T16:40:54.625530 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown: I, [2024-10-31T16:40:54.627835 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown: I, [2024-10-31T16:40:54.630258 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown: I, [2024-10-31T16:40:54.632829 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown: I, [2024-10-31T16:40:54.635829 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown: I, [2024-10-31T16:40:54.635913 #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-10-31T16:40:54.636946 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard Updating files: 100% (34680/34680), done. I, [2024-10-31T16:40:56.039603 #1] INFO -- : HEAD is now at 274e18622 FIX: Video uploads sometimes hang indefinitely (#28523) I, [2024-10-31T16:40:56.039665 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f I, [2024-10-31T16:40:56.112445 #1] INFO -- : I, [2024-10-31T16:40:56.112498 #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-gjs-ace - [deleted] (none) -> origin/better-respect-End-key-in-topics - [deleted] (none) -> origin/category-experts-approved-webhook-event - [deleted] (none) -> origin/chat-sound-respects-indicator-pref - [deleted] (none) -> origin/d-button-noautoclass - [deleted] (none) -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2 - [deleted] (none) -> origin/dependabot/bundler/sass-embedded-1.77.8 - [deleted] (none) -> origin/dependabot/bundler/sassc-embedded-1.77.8 - [deleted] (none) -> origin/dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.2 - [deleted] (none) -> origin/dependabot/npm_and_yarn/ember/test-helpers-4.0.1 - [deleted] (none) -> origin/dependabot/npm_and_yarn/eslint-9.7.0 - [deleted] (none) -> origin/dependabot/npm_and_yarn/sass-1.77.8 - [deleted] (none) -> origin/detect-default-readonly - [deleted] (none) -> origin/dev/add-skeleton-of-section-landing-page-and-items - [deleted] (none) -> origin/dev/remove-header-widgets - [deleted] (none) -> origin/feature/site-text-result-selected-lang - [deleted] (none) -> origin/fix/add-user-to-user-directory-when-activated - [deleted] (none) -> origin/issue/fix-bookmark-clearing-reminder - [deleted] (none) -> origin/loic-drop-compiled-js-column - [deleted] (none) -> origin/mt/converter - [deleted] (none) -> origin/mt/uploads-command - [deleted] (none) -> origin/native-class-components-2 - [deleted] (none) -> origin/native-class-components-3 - [deleted] (none) -> origin/notifications_id_bigint - [deleted] (none) -> origin/prevent-desktop-notifications-on-mobile - [deleted] (none) -> origin/tobiaseigen-patch-3 - [deleted] (none) -> origin/tobiaseigen-patch-5 - [deleted] (none) -> origin/update-composer-media-optimization-requirements - [deleted] (none) -> origin/ux/admin-plugins-ui-guidelines 274e18622..210a295a8 main -> origin/main * [new branch] 0-a-dl -> origin/0-a-dl * [new branch] 0-a-more-topics-api -> origin/0-a-more-topics-api * [new branch] add-custom-fields-to-chat -> origin/add-custom-fields-to-chat * [new branch] add-live-reload-disable-option -> origin/add-live-reload-disable-option * [new branch] add-shift-detect -> origin/add-shift-detect * [new branch] add-verbose-logging-for-google-oauth -> origin/add-verbose-logging-for-google-oauth * [new branch] allow-non-focused-tab-in-service-worker -> origin/allow-non-focused-tab-in-service-worker * [new branch] auto-grid-images -> origin/auto-grid-images * [new branch] better-link-counter -> origin/better-link-counter * [new branch] br/emoji_author -> origin/br/emoji_author * [new branch] chat-uppy-upload -> origin/chat-uppy-upload * [new branch] chunk-size -> origin/chunk-size * [new branch] cleanup-mobile-topic-footer-area -> origin/cleanup-mobile-topic-footer-area + 7f254be61...4264fe0d6 coco/generic-importer -> origin/coco/generic-importer (forced update) * [new branch] dependabot/bundler/omniauth-google-oauth2-1.2.0 -> origin/dependabot/bundler/omniauth-google-oauth2-1.2.0 * [new branch] dependabot/bundler/rackup-1.0.1 -> origin/dependabot/bundler/rackup-1.0.1 * [new branch] dependabot/bundler/sass-embedded-1.80.5 -> origin/dependabot/bundler/sass-embedded-1.80.5 * [new branch] dependabot/bundler/sassc-embedded-1.80.1 -> origin/dependabot/bundler/sassc-embedded-1.80.1 * [new branch] dependabot/npm_and_yarn/glimmer/component-2.0.0 -> origin/dependabot/npm_and_yarn/glimmer/component-2.0.0 * [new branch] dependabot/npm_and_yarn/jsuites-5.7.0 -> origin/dependabot/npm_and_yarn/jsuites-5.7.0 * [new branch] dependabot/npm_and_yarn/sass-1.80.5 -> origin/dependabot/npm_and_yarn/sass-1.80.5 * [new branch] deprecate-mobile-templates -> origin/deprecate-mobile-templates * [new branch] dev-faster-tests -> origin/dev-faster-tests * [new branch] dev-fix-chat-types -> origin/dev-fix-chat-types * [new branch] dev-nginx-conf -> origin/dev-nginx-conf * [new branch] dev/automation-scriptable-add-with-class -> origin/dev/automation-scriptable-add-with-class * [new branch] dev/convert-theme-install-modal-gjs -> origin/dev/convert-theme-install-modal-gjs * [new branch] dev/glimmer-post-menu -> origin/dev/glimmer-post-menu * [new branch] dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable * [new branch] dev/remap-enhancements -> origin/dev/remap-enhancements * [new branch] dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument * [new branch] dev/use-new-filestore-download-method -> origin/dev/use-new-filestore-download-method + 59bf25001...86f856e04 devcontainer -> origin/devcontainer (forced update) * [new branch] drawer-composer-positioning -> origin/drawer-composer-positioning * [new branch] ember-native-class -> origin/ember-native-class * [new branch] events-ui -> origin/events-ui * [new branch] feature-searchable-fields-link -> origin/feature-searchable-fields-link * [new branch] feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event + a0042745d...8af691801 feature/bulk-dismiss-buttons-confirmation -> origin/feature/bulk-dismiss-buttons-confirmation (forced update) * [new branch] feature/custom-fields-for-existing-users -> origin/feature/custom-fields-for-existing-users * [new branch] fix-duplicate-topics-in-summaries -> origin/fix-duplicate-topics-in-summaries * [new branch] fix-safari-below-18-detection -> origin/fix-safari-below-18-detection * [new branch] glint -> origin/glint * [new branch] issue/allow-target-translation-override -> origin/issue/allow-target-translation-override * [new branch] issue/fix-plugin-actions-outlet -> origin/issue/fix-plugin-actions-outlet * [new branch] loic-experiment-model-value-type -> origin/loic-experiment-model-value-type * [new branch] loic-fix-post-revision-serializer -> origin/loic-fix-post-revision-serializer + 26e2ddbde...653ec4e50 loic-rails-7.2 -> origin/loic-rails-7.2 (forced update) * [new branch] mt/idb -> origin/mt/idb * [new branch] perf-chat-auto-join-take-42 -> origin/perf-chat-auto-join-take-42 * [new branch] post-badge-poc -> origin/post-badge-poc * [new branch] refactor_deditor_textarea -> origin/refactor_deditor_textarea * [new branch] render-glimmer-granular -> origin/render-glimmer-granular * [new branch] revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting * [new branch] revert-heading-a11y -> origin/revert-heading-a11y * [new branch] safari-hacks-sayonara -> origin/safari-hacks-sayonara * [new branch] sidebar-a11y-viewport-zoom -> origin/sidebar-a11y-viewport-zoom d3ad2ecda..1da4243cc stable -> origin/stable * [new branch] tag-name-transformer -> origin/tag-name-transformer * [new branch] testing_debian_12 -> origin/testing_debian_12 274e18622..210a295a8 tests-passed -> origin/tests-passed * [new branch] ux/add-flag-wording -> origin/ux/add-flag-wording * [new branch] whats-new-notify-plugins -> origin/whats-new-notify-plugins t [tag update] beta -> beta t [tag update] latest-release -> latest-release * [new tag] v3.3.1 -> v3.3.1 * [new tag] v3.3.2 -> v3.3.2 * [new tag] v3.4.0.beta1 -> v3.4.0.beta1 * [new tag] v3.4.0.beta2 -> v3.4.0.beta2 I, [2024-10-31T16:40:56.935865 #1] INFO -- : I, [2024-10-31T16:40:56.935916 #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-10-31T16:41:00.027294 #1] INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'. I, [2024-10-31T16:41:00.027346 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed I, [2024-10-31T16:41:00.031509 #1] INFO -- : I, [2024-10-31T16:41:00.031531 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp I, [2024-10-31T16:41:00.032840 #1] INFO -- : I, [2024-10-31T16:41:00.032855 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp I, [2024-10-31T16:41:00.034040 #1] INFO -- : I, [2024-10-31T16:41:00.034057 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids I, [2024-10-31T16:41:00.035319 #1] INFO -- : I, [2024-10-31T16:41:00.035336 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets I, [2024-10-31T16:41:00.036541 #1] INFO -- : I, [2024-10-31T16:41:00.036572 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep I, [2024-10-31T16:41:00.037644 #1] INFO -- : I, [2024-10-31T16:41:00.037660 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails I, [2024-10-31T16:41:00.038876 #1] INFO -- : I, [2024-10-31T16:41:00.038891 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log" I, [2024-10-31T16:41:00.040557 #1] INFO -- : I, [2024-10-31T16:41:00.040589 #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-10-31T16:41:00.042187 #1] INFO -- : I, [2024-10-31T16:41:00.042202 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}" I, [2024-10-31T16:41:00.043791 #1] INFO -- : I, [2024-10-31T16:41:00.043806 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public" I, [2024-10-31T16:41:00.045384 #1] INFO -- : I, [2024-10-31T16:41:00.045397 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}" I, [2024-10-31T16:41:00.047008 #1] INFO -- : I, [2024-10-31T16:41:00.047022 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp" I, [2024-10-31T16:41:00.048679 #1] INFO -- : I, [2024-10-31T16:41:00.048693 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp I, [2024-10-31T16:41:00.050629 #1] INFO -- : I, [2024-10-31T16:41:00.050645 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete I, [2024-10-31T16:41:00.051616 #1] INFO -- : I, [2024-10-31T16:41:00.051677 #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-10-31T16:41:00.051847 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git Cloning into 'docker_manager'... I, [2024-10-31T16:41:01.005559 #1] INFO -- : I, [2024-10-31T16:41:01.005716 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf I, [2024-10-31T16:41:01.007180 #1] INFO -- : I, [2024-10-31T16:41:01.007235 #1] INFO -- : > rm /etc/nginx/sites-enabled/default I, [2024-10-31T16:41:01.008138 #1] INFO -- : I, [2024-10-31T16:41:01.008178 #1] INFO -- : > mkdir -p /var/nginx/cache I, [2024-10-31T16:41:01.009186 #1] INFO -- : I, [2024-10-31T16:41:01.009273 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf I, [2024-10-31T16:41:01.009434 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf I, [2024-10-31T16:41:01.009531 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf I, [2024-10-31T16:41:01.009605 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf I, [2024-10-31T16:41:01.009674 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf I, [2024-10-31T16:41:01.011330 #1] INFO -- : > echo "done configuring web" I, [2024-10-31T16:41:01.012387 #1] INFO -- : done configuring web I, [2024-10-31T16:41:01.012493 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock) I, [2024-10-31T16:41:01.833357 #1] INFO -- : Successfully installed bundler-2.5.18 1 gem installed I, [2024-10-31T16:41:01.833408 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+ I, [2024-10-31T16:41:02.315984 #1] INFO -- : I, [2024-10-31T16:41:02.316180 #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' fi I, [2024-10-31T16:41:10.661446 #1] INFO -- : Detected yarn-managed node_modules. Performing one-time cleanup... cleanup done Scope: all 19 workspace projects Lockfile is up to date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +1835 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1835, reused 0, downloaded 398, added 482 Progress: resolved 1835, reused 0, downloaded 983, added 1067 Progress: resolved 1835, reused 0, downloaded 1558, added 1642 Progress: resolved 1835, reused 0, downloaded 1746, added 1834 Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /home/discourse/.local/share/pnpm/store/v3 Virtual store is at: node_modules/.pnpm Progress: resolved 1835, reused 0, downloaded 1747, added 1834 Progress: resolved 1835, reused 0, downloaded 1747, added 1835, done .../core-js@3.33.0/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}" .../core-js@2.6.12/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}" .../core-js@3.33.0/node_modules/core-js postinstall: Done .../node_modules/@swc/core postinstall$ node postinstall.js .../core-js@2.6.12/node_modules/core-js postinstall: Done .../esbuild@0.24.0/node_modules/esbuild postinstall$ node install.js .../node_modules/@swc/core postinstall: Done .../lefthook@1.8.2/node_modules/lefthook postinstall$ node postinstall.js .../esbuild@0.24.0/node_modules/esbuild postinstall: Done .../lefthook@1.8.2/node_modules/lefthook postinstall: Done devDependencies: + @babel/plugin-proposal-decorators 7.25.9 + @discourse/lint-configs 1.4.2 + @discourse/moment-timezone-names-translations 1.0.0 + @fortawesome/fontawesome-free 6.6.0 + @glint/core 1.5.0 + @glint/environment-ember-loose 1.4.1-unstable.ff9ea6c + @glint/environment-ember-template-imports 1.4.1-unstable.ff9ea6c + @glint/template 1.4.1-unstable.ff9ea6c + @mixer/parallel-prettier 2.0.3 + @swc/core 1.7.40 + chart.js 3.5.1 + chartjs-plugin-datalabels 2.2.0 + chrome-launcher 1.1.2 + chrome-remote-interface 0.33.2 + concurrently 9.0.1 + ember-template-lint 6.0.0 + esbuild 0.24.0 + eslint 8.57.0 + jsdoc 4.0.4 + lefthook 1.8.2 + licensee 11.1.0 + lint-to-the-future 2.2.0 + lint-to-the-future-ember-template 1.2.0 + lint-to-the-future-eslint 2.1.3 + magnific-popup 1.1.0 + moment 2.30.1 + moment-timezone 0.5.45 + pikaday 1.8.2 + prettier 2.8.8 + puppeteer-core 23.6.1 + squoosh 2.0.0 + terser 5.36.0 + typescript 5.6.3 Done in 8s I, [2024-10-31T16:41:10.661582 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3' I, [2024-10-31T16:41:40.747689 #1] INFO -- : Fetching gem metadata from https://rubygems.org/........ Fetching base64 0.2.0 Fetching mutex_m 0.2.0 Fetching rack 2.2.10 Fetching date 3.3.4 Fetching timeout 0.4.1 Fetching msgpack 1.7.3 Fetching cgi 0.4.1 Fetching openssl 3.2.0 Fetching diffy 3.4.3 Fetching digest 3.1.1 Fetching dry-initializer 3.1.1 Fetching excon 1.1.1 Fetching execjs 2.10.0 Fetching uri 0.13.1 Fetching json 2.7.5 Fetching logger 1.6.1 Fetching stringio 3.1.1 Fetching webrick 1.8.2 Fetching thor 1.3.2 Fetching zeitwerk 2.7.1 Fetching memory_profiler 1.1.0 Fetching nio4r 2.7.4 Fetching ostruct 0.6.0 Fetching parallel 1.26.3 Fetching rexml 3.3.9 Fetching i18n 1.14.6 Fetching google-protobuf 4.28.3 (x86_64-linux) Fetching reline 0.5.10 Fetching loofah 2.23.1 Fetching css_parser 1.19.1 Fetching ruby-readability 0.7.2 Installing base64 0.2.0 Installing timeout 0.4.1 Installing ostruct 0.6.0 Installing dry-initializer 3.1.1 Installing execjs 2.10.0 Installing loofah 2.23.1 Installing mutex_m 0.2.0 Installing cgi 0.4.1 with native extensions Installing logger 1.6.1 Installing digest 3.1.1 with native extensions Installing uri 0.13.1 Fetching tzinfo-data 1.2024.2 Installing memory_profiler 1.1.0 Installing parallel 1.26.3 Installing stringio 3.1.1 with native extensions Installing json 2.7.5 with native extensions Installing zeitwerk 2.7.1 Fetching jwt 2.9.3 Installing webrick 1.8.2 Installing thor 1.3.2 Installing rexml 3.3.9 Installing diffy 3.4.3 Installing css_parser 1.19.1 Fetching net-protocol 0.2.2 Fetching oj 3.16.6 Installing i18n 1.14.6 Installing reline 0.5.10 Installing msgpack 1.7.3 with native extensions Installing date 3.3.4 with native extensions Installing net-protocol 0.2.2 Installing jwt 2.9.3 Installing excon 1.1.1 Installing nio4r 2.7.4 with native extensions Installing rack 2.2.10 Fetching uglifier 4.2.1 Installing openssl 3.2.0 with native extensions Fetching net-http 0.4.1 Installing tzinfo-data 1.2024.2 Installing oj 3.16.6 with native extensions Installing net-http 0.4.1 Fetching highline 3.1.1 Installing uglifier 4.2.1 Installing ruby-readability 0.7.2 Fetching activesupport 7.1.4.2 Fetching faraday-net_http 3.3.0 Installing highline 3.1.1 Installing faraday-net_http 3.3.0 Installing google-protobuf 4.28.3 (x86_64-linux) Installing activesupport 7.1.4.2 Fetching sprockets 3.7.5 Fetching omniauth-oauth 1.2.1 Installing omniauth-oauth 1.2.1 Installing sprockets 3.7.5 Fetching activemodel 7.1.4.2 Fetching actionview 7.1.4.2 Fetching activejob 7.1.4.2 Installing activemodel 7.1.4.2 Installing activejob 7.1.4.2 Installing actionview 7.1.4.2 Fetching activerecord 7.1.4.2 Fetching actionpack 7.1.4.2 Installing activerecord 7.1.4.2 Installing actionpack 7.1.4.2 Fetching psych 5.1.2 Installing psych 5.1.2 with native extensions Fetching faraday 2.12.0 Installing faraday 2.12.0 Fetching irb 1.14.1 Installing irb 1.14.1 Fetching railties 7.1.4.2 Installing railties 7.1.4.2 Fetching puma 6.4.3 Installing puma 6.4.3 with native extensions Fetching net-imap 0.5.0 Installing net-imap 0.5.0 Fetching actionmailer 7.1.4.2 Installing actionmailer 7.1.4.2 Bundle complete! 146 Gemfile dependencies, 185 gems now installed. Gems in the groups 'test' and 'development' were not installed. Bundled gems are installed into `./vendor/bundle` Post-install message from i18n: PSA: I18n will be dropping support for Ruby < 3.2 in the next major release (April 2025), due to Ruby's end of life for 3.1 and below (https://endoflife.date/ruby). Please upgrade to Ruby 3.2 or newer by April 2025 to continue using future versions of this gem. 1 installed gem you directly depend on is looking for funding. Run `bundle fund` for details I, [2024-10-31T16:41:40.747867 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all' I, [2024-10-31T16:41:42.403951 #1] INFO -- : docker_manager is already at latest compatible version I, [2024-10-31T16:41:42.404053 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf I, [2024-10-31T16:41:42.405163 #1] INFO -- : > sleep 10 2093:C 31 Oct 2024 16:41:42.408 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 2093:C 31 Oct 2024 16:41:42.408 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=2093, just started 2093:C 31 Oct 2024 16:41:42.408 # Configuration loaded 2093:M 31 Oct 2024 16:41:42.409 * monotonic clock: POSIX clock_gettime 2093:M 31 Oct 2024 16:41:42.409 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 2093:M 31 Oct 2024 16:41:42.409 # Failed listening on port 6379 (TCP), aborting. I, [2024-10-31T16:41:52.406621 #1] INFO -- : I, [2024-10-31T16:41:52.407016 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' rake aborted! StandardError: An error has occurred, this and all later migrations canceled: (StandardError) undefined method `+' for nil /var/www/discourse/db/migrate/20241025045928_add_invites_link_to_sidebar.rb:44:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:989:in `public_send' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:989:in `exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:970:in `block (2 levels) in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:969:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:968:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1178:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4.2/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1580:in `ddl_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1503:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1503:in `migrate_without_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1448:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1600:in `with_advisory_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1448:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1274:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1249:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/tasks/database_tasks.rb:251:in `migrate' /var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in
' /var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize' /var/www/discourse/lib/tasks/db.rake:234:in `block in
' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `
' Caused by: NoMethodError: undefined method `+' for nil (NoMethodError) DB.exec(<<~SQL, link_id:, section_id: community_section_id, position: max_position + 1) ^ /var/www/discourse/db/migrate/20241025045928_add_invites_link_to_sidebar.rb:44:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:989:in `public_send' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:989:in `exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' /var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:970:in `block (2 levels) in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:969:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:968:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1178:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4.2/lib/active_support/concurrency/null_lock.rb:9:in `synchronize' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1580:in `ddl_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1503:in `each' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1503:in `migrate_without_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1448:in `block in migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1600:in `with_advisory_lock' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1448:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1274:in `up' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/migration.rb:1249:in `migrate' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.2/lib/active_record/tasks/database_tasks.rb:251:in `migrate' /var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in
' /var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize' /var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize' /var/www/discourse/lib/tasks/db.rake:234:in `block in
' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `
' Tasks: TOP => db:migrate (See full trace by running task with --trace) I, [2024-10-31T16:41:55.111839 #1] INFO -- : == 20241025045928 AddInvitesLinkToSidebar: migrating ========================== I, [2024-10-31T16:41:55.112088 #1] INFO -- : Terminating async processes I, [2024-10-31T16:41:55.112108 #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-10-31T16:41:55.112137 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 107 2024-10-31 16:41:55.112 UTC [39] LOG: received fast shutdown request 107:signal-handler (1730392915) Received SIGTERM scheduling shutdown... 2024-10-31 16:41:55.115 UTC [39] LOG: aborting any active transactions 2024-10-31 16:41:55.116 UTC [39] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 2024-10-31 16:41:55.116 UTC [49] LOG: shutting down 2024-10-31 16:41:55.125 UTC [39] LOG: database system is shut down 107:M 31 Oct 2024 16:41:55.212 # User requested shutdown... 107:M 31 Oct 2024 16:41:55.212 * Saving the final RDB snapshot before exiting. 107:M 31 Oct 2024 16:41:55.282 * DB saved on disk 107:M 31 Oct 2024 16:41:55.282 # Redis is now ready to exit, bye bye... FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return # 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", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]} bootstrap failed with exit code 1 ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one. ./discourse-doctor may help diagnose the problem. c63e3a3f1719fe74641a42dffeb53e7223268e93f7b42cdeb8c4a5e58e46a980