root@ila-srvr /var/discourse # ./launcher rebuild app x86_64 arch detected. WARNING: We are about to start downloading the Discourse base image This process may take anywhere between a few minutes to an hour, depending on your network speed Please be patient 2.0.20240708-0023: Pulling from discourse/base 76956b537f14: Pull complete c5ffad89ad3c: Pull complete 71c31a50a587: Pull complete c1a1234dcb61: Pull complete 9980a27afc32: Pull complete 4f4fb700ef54: Pull complete 304b565c70c9: Pull complete 8ad811162d08: Pull complete 2c324dce526d: Pull complete 52d141c2b1c8: Pull complete 4c08fdcd145a: Pull complete 1b6035ac25c0: Pull complete 9208d0f90623: Pull complete 513dccf6f63f: Pull complete e0b141854963: Pull complete 4476d7dd9441: Pull complete 0fad77941078: Pull complete 46c34476ea19: Pull complete ff0b86516349: Pull complete c33170d09c8b: Pull complete ed4a793ffe51: Pull complete 3a7b2554e089: Pull complete 3ad8a6408839: Pull complete e7c58bcc7f57: Pull complete 59b2407fe431: Pull complete 315160f4d4f8: Pull complete ad328ba96976: Pull complete 825dca2e642e: Pull complete 9fbd8c908047: Pull complete b1d30330e969: Pull complete 8c76c65bb8e8: Pull complete 9279965667b5: Pull complete a0ae3eb4d088: Pull complete 819fb509ef8b: Pull complete c962935d47d4: Pull complete 63b444b5bd1e: Pull complete 7efa1c09faf6: Pull complete 46c4327ce462: Pull complete b095ebe7bdf6: Pull complete 3aa16a533cab: Pull complete 41419e4f1948: Pull complete 589837814d9a: Pull complete bd025ad1b844: Pull complete 24762ff7528f: Pull complete fe364253c657: Pull complete Digest: sha256:025e9c1f6848c4726544c6ae873d710c62f547b72afb7f537aaa44eb5377cb5c Status: Downloaded newer image for discourse/base:2.0.20240708-0023 WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml Ensuring launcher is up to date Fetching origin Launcher is up-to-date 2.0.20240708-0023: Pulling from discourse/base Digest: sha256:025e9c1f6848c4726544c6ae873d710c62f547b72afb7f537aaa44eb5377cb5c Status: Image is up to date for discourse/base:2.0.20240708-0023 /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb /usr/local/bin/pups --stdin I, [2024-07-30T23:17:49.155568 #1] INFO -- : Reading from stdin I, [2024-07-30T23:17:49.174566 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown: I, [2024-07-30T23:17:49.178764 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown: I, [2024-07-30T23:17:49.182693 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown: I, [2024-07-30T23:17:49.186941 #1] INFO -- : File > /root/install_postgres chmod: +x chown: I, [2024-07-30T23:17:49.192962 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown: I, [2024-07-30T23:17:49.194203 #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-07-30T23:17:49.195046 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf I, [2024-07-30T23:17:49.195755 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf I, [2024-07-30T23:17:49.196585 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf I, [2024-07-30T23:17:49.197187 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf I, [2024-07-30T23:17:49.197882 #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-07-30T23:17:49.198513 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf I, [2024-07-30T23:17:49.199240 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf I, [2024-07-30T23:17:49.199781 #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-07-30T23:17:49.200703 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf I, [2024-07-30T23:17:49.201185 #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-07-30T23:17:49.201640 #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-07-30T23:17:49.202174 #1] INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres I, [2024-07-30T23:17:50.409725 #1] INFO -- : Generating locales (this might take a while)... Generation complete. I, [2024-07-30T23:17:50.411760 #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-07-30T23:17:50.423492 #1] INFO -- : File > /usr/local/bin/create_db chmod: +x chown: I, [2024-07-30T23:17:50.431565 #1] INFO -- : File > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres I, [2024-07-30T23:17:50.436569 #1] INFO -- : File > /var/spool/cron/crontabs/postgres chmod: chown: I, [2024-07-30T23:17:50.437422 #1] INFO -- : > sleep 5 2024-07-30 23:17:50.582 UTC [35] LOG: starting PostgreSQL 13.15 (Debian 13.15-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit 2024-07-30 23:17:50.583 UTC [35] LOG: listening on IPv4 address "0.0.0.0", port 5432 2024-07-30 23:17:50.584 UTC [35] LOG: listening on IPv6 address "::", port 5432 2024-07-30 23:17:50.586 UTC [35] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2024-07-30 23:17:50.600 UTC [44] LOG: database system was shut down at 2024-07-30 23:10:36 UTC 2024-07-30 23:17:50.624 UTC [35] LOG: database system is ready to accept connections I, [2024-07-30T23:17:55.441764 #1] INFO -- : I, [2024-07-30T23:17:55.442245 #1] INFO -- : > /usr/local/bin/create_db 2024-07-30 23:17:55.564 UTC [54] postgres@postgres ERROR: database "discourse" already exists 2024-07-30 23:17:55.564 UTC [54] postgres@postgres STATEMENT: CREATE DATABASE discourse; createdb: error: database creation failed: ERROR: database "discourse" already exists 2024-07-30 23:17:55.689 UTC [57] postgres@discourse ERROR: role "discourse" already exists 2024-07-30 23:17:55.689 UTC [57] postgres@discourse STATEMENT: create user discourse; ERROR: role "discourse" already exists NOTICE: extension "hstore" already exists, skipping NOTICE: extension "pg_trgm" already exists, skipping NOTICE: extension "vector" already exists, skipping NOTICE: extension "hstore" already exists, skipping NOTICE: extension "pg_trgm" already exists, skipping NOTICE: extension "vector" already exists, skipping I, [2024-07-30T23:17:56.299805 #1] INFO -- : GRANT ALTER SCHEMA CREATE EXTENSION CREATE EXTENSION CREATE EXTENSION CREATE EXTENSION CREATE EXTENSION CREATE EXTENSION UPDATE 0 I, [2024-07-30T23:17:56.300690 #1] INFO -- : > echo postgres installed! I, [2024-07-30T23:17:56.305545 #1] INFO -- : postgres installed! I, [2024-07-30T23:17:56.310868 #1] INFO -- : File > /etc/service/redis/run chmod: +x chown: I, [2024-07-30T23:17:56.315121 #1] INFO -- : File > /etc/service/redis/log/run chmod: +x chown: I, [2024-07-30T23:17:56.318790 #1] INFO -- : File > /etc/runit/3.d/10-redis chmod: +x chown: I, [2024-07-30T23:17:56.319988 #1] INFO -- : Replacing daemonize yes with in /etc/redis/redis.conf I, [2024-07-30T23:17:56.321093 #1] INFO -- : Replacing (?-mix:^pidfile.*$) with in /etc/redis/redis.conf I, [2024-07-30T23:17:56.326371 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data I, [2024-07-30T23:17:56.331307 #1] INFO -- : I, [2024-07-30T23:17:56.332038 #1] INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf I, [2024-07-30T23:17:56.332795 #1] INFO -- : Replacing (?-mix:^bind .*$) with in /etc/redis/redis.conf I, [2024-07-30T23:17:56.333715 #1] INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf I, [2024-07-30T23:17:56.334488 #1] INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf I, [2024-07-30T23:17:56.335443 #1] INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf I, [2024-07-30T23:17:56.336391 #1] INFO -- : > echo redis installed I, [2024-07-30T23:17:56.338454 #1] INFO -- : redis installed I, [2024-07-30T23:17:56.338985 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile I, [2024-07-30T23:17:56.345596 #1] INFO -- : logfile "" I, [2024-07-30T23:17:56.346156 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf I, [2024-07-30T23:17:56.347561 #1] INFO -- : > sleep 10 97:C 30 Jul 2024 23:17:56.364 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 97:C 30 Jul 2024 23:17:56.365 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=97, just started 97:C 30 Jul 2024 23:17:56.365 # Configuration loaded 97:M 30 Jul 2024 23:17:56.366 * monotonic clock: POSIX clock_gettime 97:M 30 Jul 2024 23:17:56.368 * Running mode=standalone, port=6379. 97:M 30 Jul 2024 23:17:56.369 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 97:M 30 Jul 2024 23:17:56.369 # Server initialized 97:M 30 Jul 2024 23:17:56.369 # 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. 97:M 30 Jul 2024 23:17:56.371 * Loading RDB produced by version 7.0.7 97:M 30 Jul 2024 23:17:56.371 * RDB age 440 seconds 97:M 30 Jul 2024 23:17:56.371 * RDB memory usage when created 20.31 Mb 97:M 30 Jul 2024 23:17:56.455 * Done loading RDB, keys loaded: 5310, keys expired: 0. 97:M 30 Jul 2024 23:17:56.456 * DB loaded from disk: 0.085 seconds 97:M 30 Jul 2024 23:17:56.456 * Ready to accept connections I, [2024-07-30T23:18:06.352531 #1] INFO -- : I, [2024-07-30T23:18:06.354435 #1] INFO -- : > thpoff echo "thpoff is installed!" I, [2024-07-30T23:18:06.361902 #1] INFO -- : thpoff is installed! I, [2024-07-30T23:18:06.362921 #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-07-30T23:18:06.496312 #1] INFO -- : I, [2024-07-30T23:18:06.497806 #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-07-30T23:18:06.667119 #1] INFO -- : I, [2024-07-30T23:18:06.668254 #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-07-30T23:18:06.811977 #1] INFO -- : I, [2024-07-30T23:18:06.813101 #1] INFO -- : > rm -f /etc/cron.d/anacron I, [2024-07-30T23:18:06.816332 #1] INFO -- : I, [2024-07-30T23:18:06.820240 #1] INFO -- : File > /etc/cron.d/anacron chmod: chown: I, [2024-07-30T23:18:06.825212 #1] INFO -- : File > /etc/runit/1.d/copy-env chmod: +x chown: I, [2024-07-30T23:18:06.830008 #1] INFO -- : File > /etc/service/unicorn/run chmod: +x chown: I, [2024-07-30T23:18:06.834856 #1] INFO -- : File > /etc/service/nginx/run chmod: +x chown: I, [2024-07-30T23:18:06.838800 #1] INFO -- : File > /etc/runit/3.d/01-nginx chmod: +x chown: I, [2024-07-30T23:18:06.843097 #1] INFO -- : File > /etc/runit/3.d/02-unicorn chmod: +x chown: I, [2024-07-30T23:18:06.843729 #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-07-30T23:18:06.846301 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard Updating files: 100% (34584/34584), done. I, [2024-07-30T23:18:11.385995 #1] INFO -- : HEAD is now at 52a047a8b UX: plugins may have underscore in the name (#27749) I, [2024-07-30T23:18:11.389786 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f I, [2024-07-30T23:18:11.629191 #1] INFO -- : I, [2024-07-30T23:18:11.630237 #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-bread-path - [deleted] (none) -> origin/0-a-pullrequests-merefield-add_irv_to_poll - [deleted] (none) -> origin/0-a-unresolv-bread - [deleted] (none) -> origin/add_mechanism_to_redeliver_all_webhook_events - [deleted] (none) -> origin/dependabot/bundler/irb-1.14.0 - [deleted] (none) -> origin/dependabot/bundler/libv8-node-21.7.2.0 - [deleted] (none) -> origin/dependabot/bundler/mini_racer-0.12.0 - [deleted] (none) -> origin/dependabot/bundler/sassc-embedded-1.77.7 - [deleted] (none) -> origin/dependabot/npm_and_yarn/ember/string-4.0.0 - [deleted] (none) -> origin/dependabot/npm_and_yarn/glob-10.4.3 - [deleted] (none) -> origin/dependabot/npm_and_yarn/highlight.js-11.10.0 - [deleted] (none) -> origin/dependabot/npm_and_yarn/highlightjs/cdn-assets-11.10.0 - [deleted] (none) -> origin/dev/notification-avatar-size-getter - [deleted] (none) -> origin/dev/stylesheet_importer_categories_with_background_images-modifier - [deleted] (none) -> origin/feature/private-github-onebox - [deleted] (none) -> origin/fix-ensure-post-and-topic-user-id-is-always-set - [deleted] (none) -> origin/fix_destroy_drafts - [deleted] (none) -> origin/fix_rack_logger_info_being_logged - [deleted] (none) -> origin/formtoolkit - [deleted] (none) -> origin/loic-use-messageformat-gem - [deleted] (none) -> origin/support-query-string - [deleted] (none) -> origin/update-base-urls-to-respect-subfolder 52a047a8b..1e76fbe20 main -> origin/main * [new branch] 0-a-pugin-outlet-in-raw -> origin/0-a-pugin-outlet-in-raw * [new branch] add-tag-groups-for-tag -> origin/add-tag-groups-for-tag * [new branch] again-support-load-more-btn -> origin/again-support-load-more-btn * [new branch] agc_plugin_analytics_job_errors -> origin/agc_plugin_analytics_job_errors * [new branch] cat-mod-groups -> origin/cat-mod-groups + bfdeae4f4...5bffd5bb6 coco/generic-importer -> origin/coco/generic-importer (forced update) * [new branch] conditional-summary-box -> origin/conditional-summary-box * [new branch] dependabot/bundler/libv8-node-22.5.1.0 -> origin/dependabot/bundler/libv8-node-22.5.1.0 * [new branch] dependabot/bundler/mini_racer-0.13.0 -> origin/dependabot/bundler/mini_racer-0.13.0 * [new branch] dependabot/bundler/racc-1.8.1 -> origin/dependabot/bundler/racc-1.8.1 * [new branch] dependabot/bundler/sass-embedded-1.77.8 -> origin/dependabot/bundler/sass-embedded-1.77.8 * [new branch] dependabot/bundler/sassc-embedded-1.77.8 -> origin/dependabot/bundler/sassc-embedded-1.77.8 * [new branch] dependabot/bundler/sqlite3-2.0.3 -> origin/dependabot/bundler/sqlite3-2.0.3 * [new branch] dependabot/bundler/zeitwerk-2.6.17 -> origin/dependabot/bundler/zeitwerk-2.6.17 * [new branch] dependabot/npm_and_yarn/babel-917a8756b1 -> origin/dependabot/npm_and_yarn/babel-917a8756b1 * [new branch] dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.1 -> origin/dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.1 * [new branch] dependabot/npm_and_yarn/eslint-9.7.0 -> origin/dependabot/npm_and_yarn/eslint-9.7.0 6dc3b593c..6c23bdce3 dependabot/npm_and_yarn/jsdoc-4.0.3 -> origin/dependabot/npm_and_yarn/jsdoc-4.0.3 * [new branch] dependabot/npm_and_yarn/lefthook-1.7.11 -> origin/dependabot/npm_and_yarn/lefthook-1.7.11 * [new branch] dependabot/npm_and_yarn/sass-1.77.8 -> origin/dependabot/npm_and_yarn/sass-1.77.8 + 146e235a0...4d7194a08 dev/add-behavior-transformers -> origin/dev/add-behavior-transformers (forced update) + 344d0eda8...f060538a8 dev/ember-source-5.9.0-upgrade -> origin/dev/ember-source-5.9.0-upgrade (forced update) * [new branch] ember-cli-terser-tweak -> origin/ember-cli-terser-tweak * [new branch] ensure_default_timeouts_for_net_http -> origin/ensure_default_timeouts_for_net_http * [new branch] experimental_async_css_loading -> origin/experimental_async_css_loading * [new branch] feature/enable-chat-with-dms-only -> origin/feature/enable-chat-with-dms-only * [new branch] feature/show-note-bookmark-notif -> origin/feature/show-note-bookmark-notif * [new branch] fix-live-notifications-setting -> origin/fix-live-notifications-setting + 8ed724634...d58449475 fix-search-context-delete-key -> origin/fix-search-context-delete-key (forced update) * [new branch] fix-thumbnail-from-404-video-src -> origin/fix-thumbnail-from-404-video-src * [new branch] group_and_tag_group_permission_change_notification -> origin/group_and_tag_group_permission_change_notification * [new branch] history-store-methods -> origin/history-store-methods * [new branch] inp-next -> origin/inp-next * [new branch] loic-drop-compiled-js-column -> origin/loic-drop-compiled-js-column * [new branch] loic-rails-7.1-defaults -> origin/loic-rails-7.1-defaults * [new branch] loic-upgrade-miniracer -> origin/loic-upgrade-miniracer + fbfd5f2af...3aeac668c mt/converter -> origin/mt/converter (forced update) * [new branch] preload_stylesheets_links -> origin/preload_stylesheets_links * [new branch] profile-plugin-outlets -> origin/profile-plugin-outlets * [new branch] reenable_webpack_minimization_2 -> origin/reenable_webpack_minimization_2 ddf53c129..2f4c621a2 remove-x-count -> origin/remove-x-count * [new branch] revert-location-change -> origin/revert-location-change * [new branch] set_unicorn_worker_safe_timeouts_for_net_http -> origin/set_unicorn_worker_safe_timeouts_for_net_http * [new branch] skip-defer-in-test -> origin/skip-defer-in-test 473248381..1b619b7d6 stable -> origin/stable * [new branch] support-load-more-btn -> origin/support-load-more-btn * [new branch] temp-pr-28024 -> origin/temp-pr-28024 52a047a8b..1e76fbe20 tests-passed -> origin/tests-passed * [new branch] tobiaseigen-patch-3 -> origin/tobiaseigen-patch-3 * [new branch] tobiaseigen-patch-4 -> origin/tobiaseigen-patch-4 * [new branch] tobiaseigen-patch-5 -> origin/tobiaseigen-patch-5 * [new branch] trace-objects -> origin/trace-objects * [new branch] ux/admin-interface-breadcrumbs-titles-1 -> origin/ux/admin-interface-breadcrumbs-titles-1 t [tag update] beta -> beta t [tag update] latest-release -> latest-release * [new tag] v3.2.4 -> v3.2.4 * [new tag] v3.2.5 -> v3.2.5 * [new tag] v3.3.0 -> v3.3.0 * [new tag] v3.3.0.beta4 -> v3.3.0.beta4 * [new tag] v3.3.0.beta5 -> v3.3.0.beta5 * [new tag] v3.3.0.beta6 -> v3.3.0.beta6 I, [2024-07-30T23:18:13.349030 #1] INFO -- : I, [2024-07-30T23:18:13.352117 #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-07-30T23:18:18.445256 #1] INFO -- : Branch 'tests-passed' set up to track remote branch 'tests-passed' from 'origin'. I, [2024-07-30T23:18:18.446350 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed I, [2024-07-30T23:18:18.461736 #1] INFO -- : I, [2024-07-30T23:18:18.462419 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp I, [2024-07-30T23:18:18.466421 #1] INFO -- : I, [2024-07-30T23:18:18.466812 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp I, [2024-07-30T23:18:18.470122 #1] INFO -- : I, [2024-07-30T23:18:18.470465 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids I, [2024-07-30T23:18:18.473161 #1] INFO -- : I, [2024-07-30T23:18:18.473525 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets I, [2024-07-30T23:18:18.476196 #1] INFO -- : I, [2024-07-30T23:18:18.476487 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep I, [2024-07-30T23:18:18.480252 #1] INFO -- : I, [2024-07-30T23:18:18.480633 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails I, [2024-07-30T23:18:18.483216 #1] INFO -- : I, [2024-07-30T23:18:18.483508 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log" I, [2024-07-30T23:18:18.488378 #1] INFO -- : I, [2024-07-30T23:18:18.488665 #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-07-30T23:18:18.493292 #1] INFO -- : I, [2024-07-30T23:18:18.493583 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}" I, [2024-07-30T23:18:18.497719 #1] INFO -- : I, [2024-07-30T23:18:18.498024 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public" I, [2024-07-30T23:18:18.501920 #1] INFO -- : I, [2024-07-30T23:18:18.502232 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}" I, [2024-07-30T23:18:18.506864 #1] INFO -- : I, [2024-07-30T23:18:18.507167 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp" I, [2024-07-30T23:18:18.510866 #1] INFO -- : I, [2024-07-30T23:18:18.511178 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp I, [2024-07-30T23:18:18.654081 #1] INFO -- : I, [2024-07-30T23:18:18.654816 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete I, [2024-07-30T23:18:18.657607 #1] INFO -- : I, [2024-07-30T23:18:18.659068 #1] INFO -- : Replacing # redis with sv start redis || exit 1 in /etc/service/unicorn/run I, [2024-07-30T23:18:18.679621 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git Cloning into 'docker_manager'... I, [2024-07-30T23:18:19.879843 #1] INFO -- : I, [2024-07-30T23:18:19.880423 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-events.git Cloning into 'discourse-events'... I, [2024-07-30T23:18:20.516853 #1] INFO -- : I, [2024-07-30T23:18:20.517395 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git Cloning into 'discourse-cakeday'... I, [2024-07-30T23:18:21.112955 #1] INFO -- : I, [2024-07-30T23:18:21.113690 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/jannolii/discourse-topic-trade-buttons.git Cloning into 'discourse-topic-trade-buttons'... I, [2024-07-30T23:18:21.605106 #1] INFO -- : I, [2024-07-30T23:18:21.605782 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-locations.git Cloning into 'discourse-locations'... I, [2024-07-30T23:18:22.397288 #1] INFO -- : I, [2024-07-30T23:18:22.398907 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git Cloning into 'discourse-adplugin'... I, [2024-07-30T23:18:23.052948 #1] INFO -- : I, [2024-07-30T23:18:23.053461 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/paviliondev/discourse-layouts.git Cloning into 'discourse-layouts'... I, [2024-07-30T23:18:23.643467 #1] INFO -- : I, [2024-07-30T23:18:23.644332 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf I, [2024-07-30T23:18:23.650569 #1] INFO -- : I, [2024-07-30T23:18:23.651107 #1] INFO -- : > rm /etc/nginx/sites-enabled/default I, [2024-07-30T23:18:23.653562 #1] INFO -- : I, [2024-07-30T23:18:23.653961 #1] INFO -- : > mkdir -p /var/nginx/cache I, [2024-07-30T23:18:23.656725 #1] INFO -- : I, [2024-07-30T23:18:23.657644 #1] INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf I, [2024-07-30T23:18:23.660804 #1] INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf I, [2024-07-30T23:18:23.662749 #1] INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf I, [2024-07-30T23:18:23.664112 #1] INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf I, [2024-07-30T23:18:23.665243 #1] INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf I, [2024-07-30T23:18:23.666182 #1] INFO -- : > echo "done configuring web" I, [2024-07-30T23:18:23.669965 #1] INFO -- : done configuring web I, [2024-07-30T23:18:23.671261 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock) I, [2024-07-30T23:18:24.813757 #1] INFO -- : Successfully installed bundler-2.5.9 1 gem installed I, [2024-07-30T23:18:24.814331 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+ I, [2024-07-30T23:18:26.719777 #1] INFO -- : I, [2024-07-30T23:18:26.721118 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then rm -rf app/assets/javascripts/node_modules fi I, [2024-07-30T23:18:26.723387 #1] INFO -- : I, [2024-07-30T23:18:26.723793 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean' warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0" warning " > @discourse/lint-configs@1.3.9" has incorrect peer dependency "ember-template-lint@6.0.0". warning " > @glint/environment-ember-loose@1.4.0" has unmet peer dependency "@glimmer/component@^1.1.2". warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*". warning "workspace-aggregator-7d09b1a6-cf0b-4300-8b4c-29bc64f4bd51 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2". warning "workspace-aggregator-7d09b1a6-cf0b-4300-8b4c-29bc64f4bd51 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2". warning "workspace-aggregator-7d09b1a6-cf0b-4300-8b4c-29bc64f4bd51 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2". warning "workspace-aggregator-7d09b1a6-cf0b-4300-8b4c-29bc64f4bd51 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0". warning "workspace-aggregator-7d09b1a6-cf0b-4300-8b4c-29bc64f4bd51 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5". warning "workspace-aggregator-7d09b1a6-cf0b-4300-8b4c-29bc64f4bd51 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1". I, [2024-07-30T23:21:27.820468 #1] INFO -- : yarn install v1.22.22 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... [5/5] Building fresh packages... $ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules patch-package 8.0.0 Applying patches... babel-plugin-debug-macros@0.3.4 ✔ content-tag@2.0.1 ✔ decorator-transforms@2.0.0 ✔ ember-this-fallback@0.4.0 (1 deprecation-name) ✔ ember-this-fallback@0.4.0 (2 themes) ✔ ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔ virtual-dom@2.1.1 ✔ Done in 163.25s. yarn cache v1.22.22 success Cleared cache. Done in 16.90s. I, [2024-07-30T23:21:27.830318 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3' I, [2024-07-30T23:21:38.663640 #1] INFO -- : Fetching gem metadata from https://rubygems.org/........ Fetching public_suffix 6.0.1 Fetching excon 0.111.0 Fetching logster 2.20.0 Installing public_suffix 6.0.1 Installing excon 0.111.0 Fetching nokogiri 1.16.7 (x86_64-linux) Fetching rexml 3.3.2 Installing logster 2.20.0 Installing rexml 3.3.2 Fetching faraday-net_http 3.1.1 Installing faraday-net_http 3.1.1 Fetching highline 3.1.0 Installing highline 3.1.0 Fetching messageformat-wrapper 1.1.0 Installing messageformat-wrapper 1.1.0 Fetching sassc-embedded 1.77.7 Fetching faraday 2.10.0 Installing sassc-embedded 1.77.7 Installing faraday 2.10.0 Fetching irb 1.14.0 Installing irb 1.14.0 Installing nokogiri 1.16.7 (x86_64-linux) Fetching sanitize 6.1.2 Installing sanitize 6.1.2 Bundle complete! 141 Gemfile dependencies, 184 gems now installed. Gems in the groups 'test' and 'development' were not installed. Bundled gems are installed into `./vendor/bundle` I, [2024-07-30T23:21:38.665131 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all' I, [2024-07-30T23:21:45.696748 #1] INFO -- : discourse-adplugin is already at latest compatible version discourse-cakeday is already at latest compatible version discourse-events is already at latest compatible version discourse-layouts is already at latest compatible version discourse-locations is already at latest compatible version discourse-topic-trade-buttons is already at latest compatible version docker_manager is already at latest compatible version I, [2024-07-30T23:21:45.698432 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf I, [2024-07-30T23:21:45.700440 #1] INFO -- : > sleep 10 624:C 30 Jul 2024 23:21:45.720 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 624:C 30 Jul 2024 23:21:45.721 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=624, just started 624:C 30 Jul 2024 23:21:45.721 # Configuration loaded 624:M 30 Jul 2024 23:21:45.722 * monotonic clock: POSIX clock_gettime 624:M 30 Jul 2024 23:21:45.723 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 624:M 30 Jul 2024 23:21:45.723 # Failed listening on port 6379 (TCP), aborting. I, [2024-07-30T23:21:55.706503 #1] INFO -- : I, [2024-07-30T23:21:55.707969 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' I, [2024-07-30T23:22:35.850369 #1] INFO -- : gem install uuidtools -v 2.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed uuidtools-2.2.0 1 gem installed gem install iso-639 -v 0.3.5 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed iso-639-0.3.5 1 gem installed gem install ice_cube -v 0.16.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed ice_cube-0.16.4 1 gem installed gem install icalendar -v 2.8.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install ActiveSupport is required for TimeWithZone support, but not required for general use. Successfully installed icalendar-2.8.0 1 gem installed gem install icalendar-recurrence -v 1.1.3 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed icalendar-recurrence-1.1.3 1 gem installed gem install date -v 3.3.4 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Building native extensions. This could take a while... Successfully installed date-3.3.4 1 gem installed gem install time -v 0.2.0 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed time-0.2.0 1 gem installed gem install stringio -v 3.1.1 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Building native extensions. This could take a while... Successfully installed stringio-3.1.1 1 gem installed gem install omnievent -v 0.1.0.pre3 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed omnievent-0.1.0.pre3 1 gem installed gem install omnievent-icalendar -v 0.1.0.pre5 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed omnievent-icalendar-0.1.0.pre5 1 gem installed gem install omnievent-api -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed omnievent-api-0.1.0.pre2 1 gem installed gem install omnievent-eventbrite -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed omnievent-eventbrite-0.1.0.pre2 1 gem installed gem install omnievent-eventzilla -v 0.1.0.pre2 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed omnievent-eventzilla-0.1.0.pre2 1 gem installed gem install omnievent-meetup -v 0.1.0.pre1 -i /var/www/discourse/plugins/discourse-events/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed omnievent-meetup-0.1.0.pre1 1 gem installed gem install geocoder -v 1.8.2 -i /var/www/discourse/plugins/discourse-locations/gems/3.3.3 --no-document --ignore-dependencies --no-user-install Successfully installed geocoder-1.8.2 1 gem installed I, [2024-07-30T23:22:35.853334 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build' Node.js heap_size_limit (1000.25) is less than 2048MB. Setting --max-old-space-size=2048 and CHEAP_SOURCE_MAPS=1 ...[ConfigLoader] ...[Babel: @embroider/macros > applyPatches] ...[Babel: ember-source > applyPatches] 97:M 30 Jul 2024 23:22:57.044 * 100 changes in 300 seconds. Saving... 97:M 30 Jul 2024 23:22:57.048 * Background saving started by pid 913 913:C 30 Jul 2024 23:22:57.446 * DB saved on disk 913:C 30 Jul 2024 23:22:57.448 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB 97:M 30 Jul 2024 23:22:57.550 * Background saving terminated with success ...[ember.js] ...[Babel: @glimmer/component > applyPatches] ...[Babel: discourse-widget-hbs > applyPatches] ...[Babel: discourse-common > applyPatches] ...[Babel: ember-tracked-storage-polyfill > applyPatches] ...[Babel: @ember/test-helpers > applyPatches] ...[Babel: @ember/test-waiters > applyPatches] ...[Babel: dialog-holder > applyPatches] ...[Babel: ember-buffered-proxy > applyPatches] ...[Babel: ember-load-initializers > applyPatches] ...[Babel: float-kit > applyPatches] ...[Babel: select-kit > applyPatches] ...[@embroider/compat/app] ...[@embroider/webpack] ...[@embroider/webpack] ...[@embroider/webpack] ...[@embroider/webpack] ...[@embroider/webpack] ...[@embroider/webpack] [BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/node_modules/@json-editor/json-editor/dist/jsoneditor.js as it exceeds the max of 500KB. ...[@embroider/webpack] [BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/node_modules/ace-builds/src-noconflict/ace.js as it exceeds the max of 500KB. ...[@embroider/webpack] Killed error Command failed with exit code 137. I, [2024-07-30T23:25:29.186567 #1] INFO -- : yarn run v1.22.22 $ /var/www/discourse/node_modules/.bin/ember build -prod Building Environment: production building... info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. I, [2024-07-30T23:25:29.197569 #1] INFO -- : Terminating async processes I, [2024-07-30T23:25:29.198651 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 35 I, [2024-07-30T23:25:29.200762 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 97 97:signal-handler (1722381929) Received SIGTERM scheduling shutdown... 2024-07-30 23:25:29.207 UTC [35] LOG: received fast shutdown request 2024-07-30 23:25:29.218 UTC [35] LOG: aborting any active transactions 2024-07-30 23:25:29.259 UTC [35] LOG: background worker "logical replication launcher" (PID 50) exited with exit code 1 2024-07-30 23:25:29.260 UTC [45] LOG: shutting down 97:M 30 Jul 2024 23:25:29.295 # User requested shutdown... 97:M 30 Jul 2024 23:25:29.296 * Saving the final RDB snapshot before exiting. 2024-07-30 23:25:29.315 UTC [35] LOG: database system is shut down 97:M 30 Jul 2024 23:25:29.441 * DB saved on disk 97:M 30 Jul 2024 23:25:29.442 # Redis is now ready to exit, bye bye... FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile:build' failed with return # 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"=>"build", "hook"=>"assets_precompile_build", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile:build'"]} bootstrap failed with exit code 137 ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one. ./discourse-doctor may help diagnose the problem. ffd97673ed0e7f38ed999e42a04bd53ee293737cf62da73e3d4b02280f129fae