I need help with install

(Before asking, did you search first? Press :mag: at the upper right to search)
: Yea, I searched but there have no solutions.

Error:

ActiveRecord::RecordNotFound: Couldn't find Upload with 'id'=-6 (ActiveRecord::RecordNotFound)

FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1836 exit 1>
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.

EXTRA: am using web.china.template

I tried N times ./launcher rebuild app still have this error, and i tried re-install system from ubuntu → CentOS Stream 9 still not work for me…

Just to confirm, are you doing a standard install on the machine?

1 Like

Sure I am followed steps one by one

1 Like

still need help, I tried change system and a lot of work, it doenst solved…

if possible please post the whole install message with all errors. we need more info.

1 Like

All logs

[root@VM-12-13-opencloudos discourse]# ./launcher rebuild app
x86_64 arch detected.
Ensuring launcher is up to date
Launcher is up-to-date
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-19T13:50:31.994053 #1]  INFO -- : Reading from stdin
I, [2024-10-19T13:50:32.004621 #1]  INFO -- : File > /etc/service/postgres/run  chmod: +x  chown: 
I, [2024-10-19T13:50:32.009191 #1]  INFO -- : File > /etc/service/postgres/log/run  chmod: +x  chown: 
I, [2024-10-19T13:50:32.013618 #1]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x  chown: 
I, [2024-10-19T13:50:32.017938 #1]  INFO -- : File > /root/install_postgres  chmod: +x  chown: 
I, [2024-10-19T13:50:32.022326 #1]  INFO -- : File > /root/upgrade_postgres  chmod: +x  chown: 
I, [2024-10-19T13:50:32.022750 #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-19T13:50:32.023536 #1]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.025221 #1]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.026428 #1]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.027604 #1]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.029619 #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-19T13:50:32.030608 #1]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.031551 #1]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-19T13:50:32.033322 #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-19T13:50:32.034706 #1]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-19T13:50:32.035041 #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-19T13:50:32.036167 #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-19T13:50:32.037059 #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-19T13:50:33.948482 #1]  INFO -- : Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.

I, [2024-10-19T13:50:33.948732 #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-19T13:50:33.955411 #1]  INFO -- : File > /usr/local/bin/create_db  chmod: +x  chown: 
I, [2024-10-19T13:50:33.963917 #1]  INFO -- : File > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-10-19T13:50:33.968300 #1]  INFO -- : File > /var/spool/cron/crontabs/postgres  chmod:   chown: 
I, [2024-10-19T13:50:33.969657 #1]  INFO -- : > sleep 5
2024-10-19 13:50:34.081 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-19 13:50:34.082 UTC [39] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-10-19 13:50:34.082 UTC [39] LOG:  listening on IPv6 address "::", port 5432
2024-10-19 13:50:34.086 UTC [39] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-10-19 13:50:34.093 UTC [48] LOG:  database system was shut down at 2024-10-19 13:48:19 UTC
2024-10-19 13:50:34.103 UTC [39] LOG:  database system is ready to accept connections
I, [2024-10-19T13:50:38.974064 #1]  INFO -- : 
I, [2024-10-19T13:50:38.974219 #1]  INFO -- : > /usr/local/bin/create_db
2024-10-19 13:50:39.815 UTC [58] postgres@postgres ERROR:  database "discourse" already exists
2024-10-19 13:50:39.815 UTC [58] postgres@postgres STATEMENT:  CREATE DATABASE discourse;
createdb: error: database creation failed: ERROR:  database "discourse" already exists
2024-10-19 13:50:39.904 UTC [61] postgres@discourse ERROR:  role "discourse" already exists
2024-10-19 13:50:39.904 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-19T13:50:41.055604 #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-19T13:50:41.056260 #1]  INFO -- : > echo postgres installed!
I, [2024-10-19T13:50:41.058685 #1]  INFO -- : postgres installed!

I, [2024-10-19T13:50:41.062996 #1]  INFO -- : File > /etc/service/redis/run  chmod: +x  chown: 
I, [2024-10-19T13:50:41.066731 #1]  INFO -- : File > /etc/service/redis/log/run  chmod: +x  chown: 
I, [2024-10-19T13:50:41.070663 #1]  INFO -- : File > /etc/runit/3.d/10-redis  chmod: +x  chown: 
I, [2024-10-19T13:50:41.072432 #1]  INFO -- : Replacing daemonize yes with  in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.073165 #1]  INFO -- : Replacing (?-mix:^pidfile.*$) with  in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.075450 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-10-19T13:50:41.083114 #1]  INFO -- : 
I, [2024-10-19T13:50:41.083654 #1]  INFO -- : Replacing (?-mix:^logfile.*$) with logfile "" in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.084501 #1]  INFO -- : Replacing (?-mix:^bind .*$) with  in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.086688 #1]  INFO -- : Replacing (?-mix:^dir .*$) with dir /shared/redis_data in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.088658 #1]  INFO -- : Replacing (?-mix:^protected-mode yes) with protected-mode no in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.091200 #1]  INFO -- : Replacing # io-threads 4 with io-threads $redis_io_threads in /etc/redis/redis.conf
I, [2024-10-19T13:50:41.095884 #1]  INFO -- : > echo redis installed
I, [2024-10-19T13:50:41.097627 #1]  INFO -- : redis installed

I, [2024-10-19T13:50:41.097959 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-10-19T13:50:41.105603 #1]  INFO -- : logfile ""

I, [2024-10-19T13:50:41.105814 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-10-19T13:50:41.107689 #1]  INFO -- : > sleep 10
107:C 19 Oct 2024 13:50:41.123 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
107:C 19 Oct 2024 13:50:41.123 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=107, just started
107:C 19 Oct 2024 13:50:41.123 # Configuration loaded
107:M 19 Oct 2024 13:50:41.123 * monotonic clock: POSIX clock_gettime
107:M 19 Oct 2024 13:50:41.126 * Running mode=standalone, port=6379.
107:M 19 Oct 2024 13:50:41.126 # Server initialized
107:M 19 Oct 2024 13:50:41.126 # 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 19 Oct 2024 13:50:41.126 * Loading RDB produced by version 7.0.7
107:M 19 Oct 2024 13:50:41.126 * RDB age 142 seconds
107:M 19 Oct 2024 13:50:41.126 * RDB memory usage when created 0.83 Mb
107:M 19 Oct 2024 13:50:41.126 * Done loading RDB, keys loaded: 11, keys expired: 0.
107:M 19 Oct 2024 13:50:41.126 * DB loaded from disk: 0.000 seconds
107:M 19 Oct 2024 13:50:41.126 * Ready to accept connections
I, [2024-10-19T13:50:51.109945 #1]  INFO -- : 
I, [2024-10-19T13:50:51.110333 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-10-19T13:50:51.115648 #1]  INFO -- : thpoff is installed!

I, [2024-10-19T13:50:51.116217 #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-19T13:50:51.185084 #1]  INFO -- : 
I, [2024-10-19T13:50:51.185195 #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-19T13:50:51.256814 #1]  INFO -- : 
I, [2024-10-19T13:50:51.256929 #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-19T13:50:51.324896 #1]  INFO -- : 
I, [2024-10-19T13:50:51.325095 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-10-19T13:50:51.327476 #1]  INFO -- : 
I, [2024-10-19T13:50:51.330153 #1]  INFO -- : File > /etc/cron.d/anacron  chmod:   chown: 
I, [2024-10-19T13:50:51.334196 #1]  INFO -- : File > /etc/runit/1.d/copy-env  chmod: +x  chown: 
I, [2024-10-19T13:50:51.338092 #1]  INFO -- : File > /etc/service/unicorn/run  chmod: +x  chown: 
I, [2024-10-19T13:50:51.341990 #1]  INFO -- : File > /etc/service/nginx/run  chmod: +x  chown: 
I, [2024-10-19T13:50:51.345790 #1]  INFO -- : File > /etc/runit/3.d/01-nginx  chmod: +x  chown: 
I, [2024-10-19T13:50:51.349861 #1]  INFO -- : File > /etc/runit/3.d/02-unicorn  chmod: +x  chown: 
I, [2024-10-19T13:50:51.350146 #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-19T13:50:51.352055 #1]  INFO -- : > su discourse -c 'git config --global url."https://mirror.ghproxy.com/https://github.com/".insteadOf "https://github.com/"'
I, [2024-10-19T13:50:51.401411 #1]  INFO -- : 
I, [2024-10-19T13:50:51.403411 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Updating files: 100% (34680/34680), done.
I, [2024-10-19T13:50:55.210905 #1]  INFO -- : HEAD is now at 274e18622 FIX: Video uploads sometimes hang indefinitely (#28523)

I, [2024-10-19T13:50:55.211024 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-10-19T13:50:55.343230 #1]  INFO -- : 
I, [2024-10-19T13:50:55.343530 #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
'
warning: redirecting to https://ghp.ci/https://github.com/discourse/discourse.git/
From https://mirror.ghproxy.com/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..201c174b4  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]          0-a-notif-button-gjs    -> origin/0-a-notif-button-gjs
 * [new branch]          0-a-presence-ref        -> origin/0-a-presence-ref
 * [new branch]          auto-grid-images        -> origin/auto-grid-images
 * [new branch]          automatic-grid-images   -> origin/automatic-grid-images
 * [new branch]          avatar-uploader-uppy    -> origin/avatar-uploader-uppy
 * [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..488081d93  coco/generic-importer   -> origin/coco/generic-importer
 * [new branch]          dependabot/bundler/omniauth-google-oauth2-1.2.0 -> origin/dependabot/bundler/omniauth-google-oauth2-1.2.0
 * [new branch]          dependabot/bundler/sass-embedded-1.80.2 -> origin/dependabot/bundler/sass-embedded-1.80.2
 * [new branch]          dependabot/bundler/sassc-embedded-1.80.0 -> origin/dependabot/bundler/sassc-embedded-1.80.0
 * [new branch]          dependabot/npm_and_yarn/sass-1.80.2 -> origin/dependabot/npm_and_yarn/sass-1.80.2
 * [new branch]          dev-drop-password-related-columns-from-users-table -> origin/dev-drop-password-related-columns-from-users-table
 * [new branch]          dev-faster-tests        -> origin/dev-faster-tests
 * [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/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/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]          dmenu-button-default-styling -> origin/dmenu-button-default-styling
 * [new branch]          drop_textarea_manip_mixin -> origin/drop_textarea_manip_mixin
 * [new branch]          ember-native-class      -> origin/ember-native-class
 * [new branch]          feature-categories-only-optimized -> origin/feature-categories-only-optimized
 * [new branch]          feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event
 * [new branch]          feature/allow-description-screenshots-for-remote-theme -> origin/feature/allow-description-screenshots-for-remote-theme
 * [new branch]          fix-participating-users-statistics -> origin/fix-participating-users-statistics
 * [new branch]          fix-safari-below-18-detection -> origin/fix-safari-below-18-detection
 * [new branch]          fix/handle-nested-top-topic-period-param -> origin/fix/handle-nested-top-topic-period-param
 * [new branch]          fix/problem-check-target-pg13 -> origin/fix/problem-check-target-pg13
 * [new branch]          forgot-password-in-staff-readonly -> origin/forgot-password-in-staff-readonly
 * [new branch]          full-width-login-modal-mobile -> origin/full-width-login-modal-mobile
 * [new branch]          glint                   -> origin/glint
 * [new branch]          invite-uploader-uppy    -> origin/invite-uploader-uppy
 * [new branch]          issue/fix-plugin-actions-outlet -> origin/issue/fix-plugin-actions-outlet
 * [new branch]          issue/reply-to-site-contact-revise-review -> origin/issue/reply-to-site-contact-revise-review
 * [new branch]          loic-params-contracts   -> origin/loic-params-contracts
 * [new branch]          loic-refactor-chat-services -> origin/loic-refactor-chat-services
 * [new branch]          look-and-feel-changes   -> origin/look-and-feel-changes
 * [new branch]          modified-header-offset-calculator -> origin/modified-header-offset-calculator
 * [new branch]          mt/idb                  -> origin/mt/idb
 * [new branch]          mt/port-uploads-importer -> origin/mt/port-uploads-importer
 * [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]          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]          safari-hacks-sayonara   -> origin/safari-hacks-sayonara
   d3ad2ecda..fbe171948  stable                  -> origin/stable
 * [new branch]          tag-name-transformer    -> origin/tag-name-transformer
 * [new branch]          testing_debian_12       -> origin/testing_debian_12
   274e18622..201c174b4  tests-passed            -> origin/tests-passed
 * [new branch]          theme-update-concurrency -> origin/theme-update-concurrency
 * [new branch]          uppy-tweaks             -> origin/uppy-tweaks
 * [new branch]          ux-refactored-flow      -> origin/ux-refactored-flow
 * [new branch]          ux/simplification-invite-modal -> origin/ux/simplification-invite-modal
 * [new branch]          watched-word-uploader-uppy -> origin/watched-word-uploader-uppy
 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-19T13:51:01.380501 #1]  INFO -- : 
I, [2024-10-19T13:51:01.380814 #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
'
warning: redirecting to https://ghp.ci/https://github.com/discourse/discourse.git/
warning: redirecting to https://ghp.ci/https://github.com/discourse/discourse.git/
Switched to a new branch 'tests-passed'
I, [2024-10-19T13:51:27.427734 #1]  INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.

I, [2024-10-19T13:51:27.427865 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-10-19T13:51:27.436936 #1]  INFO -- : 
I, [2024-10-19T13:51:27.437026 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-10-19T13:51:27.440043 #1]  INFO -- : 
I, [2024-10-19T13:51:27.440122 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-10-19T13:51:27.442944 #1]  INFO -- : 
I, [2024-10-19T13:51:27.443022 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-10-19T13:51:27.445867 #1]  INFO -- : 
I, [2024-10-19T13:51:27.445943 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-10-19T13:51:27.448744 #1]  INFO -- : 
I, [2024-10-19T13:51:27.448820 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-10-19T13:51:27.455315 #1]  INFO -- : 
I, [2024-10-19T13:51:27.455413 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-10-19T13:51:27.458606 #1]  INFO -- : 
I, [2024-10-19T13:51:27.458922 #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-19T13:51:27.464886 #1]  INFO -- : 
I, [2024-10-19T13:51:27.465125 #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-19T13:51:27.469011 #1]  INFO -- : 
I, [2024-10-19T13:51:27.469080 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-10-19T13:51:27.473097 #1]  INFO -- : 
I, [2024-10-19T13:51:27.473193 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-10-19T13:51:27.477353 #1]  INFO -- : 
I, [2024-10-19T13:51:27.477450 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-10-19T13:51:27.481224 #1]  INFO -- : 
I, [2024-10-19T13:51:27.481473 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-10-19T13:51:27.485171 #1]  INFO -- : 
I, [2024-10-19T13:51:27.485241 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-10-19T13:51:27.487903 #1]  INFO -- : 
I, [2024-10-19T13:51:27.487974 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-10-19T13:51:27.490035 #1]  INFO -- : 
I, [2024-10-19T13:51:27.490492 #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-19T13:51:27.491094 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-10-19T13:52:20.586659 #1]  INFO -- : 
I, [2024-10-19T13:52:20.587172 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-10-19T13:52:20.591443 #1]  INFO -- : 
I, [2024-10-19T13:52:20.591930 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-10-19T13:52:20.593973 #1]  INFO -- : 
I, [2024-10-19T13:52:20.594235 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-10-19T13:52:20.596579 #1]  INFO -- : 
I, [2024-10-19T13:52:20.597636 #1]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2024-10-19T13:52:20.601528 #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-19T13:52:20.601879 #1]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2024-10-19T13:52:20.602941 #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-19T13:52:20.604080 #1]  INFO -- : Replacing (?-mix:worker_connections.+$) with worker_connections $nginx_worker_connections ; in /etc/nginx/nginx.conf
I, [2024-10-19T13:52:20.605222 #1]  INFO -- : > echo "done configuring web"
I, [2024-10-19T13:52:20.607584 #1]  INFO -- : done configuring web

I, [2024-10-19T13:52:20.607903 #1]  INFO -- : > su discourse -c 'gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/'
I, [2024-10-19T13:52:50.553409 #1]  INFO -- : https://gems.ruby-china.com/ added to sources
https://rubygems.org/ removed from sources

I, [2024-10-19T13:52:50.553529 #1]  INFO -- : > su discourse -c 'gem update bundler'
WARNING:  You don't have /home/discourse/.local/share/gem/ruby/3.3.0/bin in your PATH,
          gem executables will not run.
I, [2024-10-19T13:53:22.509570 #1]  INFO -- : Updating installed gems
Updating bundler
Defaulting to user installation because default installation directory (/usr/local/lib/ruby/gems/3.3.0) is not writable.
Successfully installed bundler-2.5.22
Gems updated: bundler

I, [2024-10-19T13:53:22.510307 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-10-19T13:53:51.622273 #1]  INFO -- : Successfully installed bundler-2.5.18
1 gem installed

I, [2024-10-19T13:53:51.622526 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-10-19T13:53:53.014768 #1]  INFO -- : 
I, [2024-10-19T13:53:53.015018 #1]  INFO -- : > su discourse -c 'pnpm config set registry https://registry.npmmirror.com --global'
I, [2024-10-19T13:53:54.766440 #1]  INFO -- : 
I, [2024-10-19T13:53:54.767252 #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-19T14:00:37.396439 #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: +1922
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1922, reused 0, downloaded 0, added 0
Progress: resolved 1922, reused 0, downloaded 22, added 14
Progress: resolved 1922, reused 0, downloaded 52, added 39
Progress: resolved 1922, reused 0, downloaded 88, added 126
Progress: resolved 1922, reused 0, downloaded 136, added 227
Progress: resolved 1922, reused 0, downloaded 152, added 283
Progress: resolved 1922, reused 0, downloaded 179, added 332
Progress: resolved 1922, reused 0, downloaded 194, added 343
Progress: resolved 1922, reused 0, downloaded 194, added 344
Progress: resolved 1922, reused 0, downloaded 211, added 362
Progress: resolved 1922, reused 0, downloaded 242, added 396
Progress: resolved 1922, reused 0, downloaded 278, added 433
Progress: resolved 1922, reused 0, downloaded 326, added 487
Progress: resolved 1922, reused 0, downloaded 356, added 507
Progress: resolved 1922, reused 0, downloaded 359, added 510
Progress: resolved 1922, reused 0, downloaded 370, added 522
Progress: resolved 1922, reused 0, downloaded 370, added 523
Progress: resolved 1922, reused 0, downloaded 384, added 537
Progress: resolved 1922, reused 0, downloaded 400, added 551
Progress: resolved 1922, reused 0, downloaded 429, added 580
Progress: resolved 1922, reused 0, downloaded 429, added 581
Progress: resolved 1922, reused 0, downloaded 482, added 638
Progress: resolved 1922, reused 0, downloaded 490, added 643
Progress: resolved 1922, reused 0, downloaded 504, added 655
Progress: resolved 1922, reused 0, downloaded 506, added 657
Progress: resolved 1922, reused 0, downloaded 538, added 697
Progress: resolved 1922, reused 0, downloaded 571, added 730
Progress: resolved 1922, reused 0, downloaded 582, added 734
Progress: resolved 1922, reused 0, downloaded 606, added 761
Progress: resolved 1922, reused 0, downloaded 619, added 772
Progress: resolved 1922, reused 0, downloaded 649, added 802
Progress: resolved 1922, reused 0, downloaded 683, added 844
Progress: resolved 1922, reused 0, downloaded 716, added 867
Progress: resolved 1922, reused 0, downloaded 716, added 868
Progress: resolved 1922, reused 0, downloaded 826, added 980
Progress: resolved 1922, reused 0, downloaded 891, added 1053
Progress: resolved 1922, reused 0, downloaded 938, added 1092
Progress: resolved 1922, reused 0, downloaded 951, added 1102
Progress: resolved 1922, reused 0, downloaded 951, added 1103
Progress: resolved 1922, reused 0, downloaded 1010, added 1167
Progress: resolved 1922, reused 0, downloaded 1033, added 1193
Progress: resolved 1922, reused 0, downloaded 1075, added 1227
Progress: resolved 1922, reused 0, downloaded 1089, added 1241
Progress: resolved 1922, reused 0, downloaded 1101, added 1253
Progress: resolved 1922, reused 0, downloaded 1132, added 1285
Progress: resolved 1922, reused 0, downloaded 1138, added 1291
Progress: resolved 1922, reused 0, downloaded 1148, added 1299
Progress: resolved 1922, reused 0, downloaded 1148, added 1300
Progress: resolved 1922, reused 0, downloaded 1174, added 1327
Progress: resolved 1922, reused 0, downloaded 1176, added 1331
Progress: resolved 1922, reused 0, downloaded 1189, added 1341
Progress: resolved 1922, reused 0, downloaded 1192, added 1343
Progress: resolved 1922, reused 0, downloaded 1192, added 1344
Progress: resolved 1922, reused 0, downloaded 1197, added 1350
Progress: resolved 1922, reused 0, downloaded 1205, added 1356
Progress: resolved 1922, reused 0, downloaded 1205, added 1357
Progress: resolved 1922, reused 0, downloaded 1236, added 1389
Progress: resolved 1922, reused 0, downloaded 1252, added 1404
Progress: resolved 1922, reused 0, downloaded 1299, added 1454
Progress: resolved 1922, reused 0, downloaded 1321, added 1478
Progress: resolved 1922, reused 0, downloaded 1346, added 1500
Progress: resolved 1922, reused 0, downloaded 1390, added 1545
Progress: resolved 1922, reused 0, downloaded 1400, added 1552
Progress: resolved 1922, reused 0, downloaded 1410, added 1561
Progress: resolved 1922, reused 0, downloaded 1410, added 1562
Progress: resolved 1922, reused 0, downloaded 1437, added 1590
Progress: resolved 1922, reused 0, downloaded 1450, added 1602
Progress: resolved 1922, reused 0, downloaded 1452, added 1604
Progress: resolved 1922, reused 0, downloaded 1453, added 1605
Progress: resolved 1922, reused 0, downloaded 1471, added 1631
Progress: resolved 1922, reused 0, downloaded 1517, added 1670
Progress: resolved 1922, reused 0, downloaded 1520, added 1674
Progress: resolved 1922, reused 0, downloaded 1531, added 1684
Progress: resolved 1922, reused 0, downloaded 1535, added 1687
Progress: resolved 1922, reused 0, downloaded 1546, added 1698
Progress: resolved 1922, reused 0, downloaded 1546, added 1699
Progress: resolved 1922, reused 0, downloaded 1547, added 1699
Progress: resolved 1922, reused 0, downloaded 1553, added 1709
Progress: resolved 1922, reused 0, downloaded 1573, added 1725
Progress: resolved 1922, reused 0, downloaded 1610, added 1764
Progress: resolved 1922, reused 0, downloaded 1638, added 1795
Progress: resolved 1922, reused 0, downloaded 1652, added 1805
Progress: resolved 1922, reused 0, downloaded 1673, added 1841
Progress: resolved 1922, reused 0, downloaded 1722, added 1885
Progress: resolved 1922, reused 0, downloaded 1746, added 1916
Progress: resolved 1922, reused 0, downloaded 1746, added 1921
Packages are cloned 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 1922, reused 0, downloaded 1747, added 1921
Progress: resolved 1922, reused 0, downloaded 1747, added 1922, 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){}"
.../node_modules/@swc/core postinstall$ node postinstall.js
.../esbuild@0.24.0/node_modules/esbuild postinstall$ node install.js
.../node_modules/lefthook postinstall$ node postinstall.js
.../core-js@3.33.0/node_modules/core-js postinstall: Done
.../core-js@2.6.12/node_modules/core-js postinstall: Done
.../node_modules/lefthook postinstall: Done
.../node_modules/@swc/core postinstall: Done
.../esbuild@0.24.0/node_modules/esbuild postinstall: Done

devDependencies:
+ @babel/plugin-proposal-decorators 7.25.7
+ @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.36
+ 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.3
+ lefthook 1.7.21
+ 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.0
+ squoosh 2.0.0
+ terser 5.36.0
+ typescript 5.6.3

Done in 6m 42.2s

I, [2024-10-19T14:00:37.583053 #1]  INFO -- : > su discourse -c 'bundle config mirror.https://rubygems.org https://gems.ruby-china.com'
I, [2024-10-19T14:00:38.160584 #1]  INFO -- : 
I, [2024-10-19T14:00:38.165497 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
I, [2024-10-19T14:02:33.793672 #1]  INFO -- : Fetching gem metadata from https://gems.ruby-china.com/........
Fetching base64 0.2.0
Installing base64 0.2.0
Fetching i18n 1.14.6
Installing i18n 1.14.6
Fetching mutex_m 0.2.0
Installing mutex_m 0.2.0
Fetching activesupport 7.1.4.1
Installing activesupport 7.1.4.1
Fetching actionview 7.1.4.1
Installing actionview 7.1.4.1
Fetching rack 2.2.10
Installing rack 2.2.10
Fetching actionpack 7.1.4.1
Installing actionpack 7.1.4.1
Fetching activejob 7.1.4.1
Installing activejob 7.1.4.1
Fetching date 3.3.4
Installing date 3.3.4 with native extensions
Fetching timeout 0.4.1
Installing timeout 0.4.1
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching net-imap 0.5.0
Installing net-imap 0.5.0
Fetching actionmailer 7.1.4.1
Installing actionmailer 7.1.4.1
Fetching activemodel 7.1.4.1
Installing activemodel 7.1.4.1
Fetching activerecord 7.1.4.1
Installing activerecord 7.1.4.1
Fetching msgpack 1.7.3
Installing msgpack 1.7.3 with native extensions
Fetching cgi 0.4.1
Installing cgi 0.4.1 with native extensions
Fetching openssl 3.2.0
Installing openssl 3.2.0 with native extensions
Fetching css_parser 1.19.1
Installing css_parser 1.19.1
Fetching digest 3.1.1
Installing digest 3.1.1 with native extensions
Fetching dry-initializer 3.1.1
Installing dry-initializer 3.1.1
Fetching excon 0.112.0
Installing excon 0.112.0
Fetching uri 0.13.1
Installing uri 0.13.1
Fetching net-http 0.4.1
Installing net-http 0.4.1
Fetching faraday-net_http 3.3.0
Installing faraday-net_http 3.3.0
Fetching logger 1.6.1
Installing logger 1.6.1
Fetching faraday 2.12.0
Installing faraday 2.12.0
Fetching google-protobuf 4.28.2 (x86_64-linux)
Installing google-protobuf 4.28.2 (x86_64-linux)
Fetching reline 0.5.10
Installing reline 0.5.10
Fetching highline 3.1.1
Installing highline 3.1.1
Fetching stringio 3.1.1
Installing stringio 3.1.1 with native extensions
Fetching psych 5.1.2
Installing psych 5.1.2 with native extensions
Fetching irb 1.14.1
Installing irb 1.14.1
Fetching jwt 2.9.3
Installing jwt 2.9.3
Fetching webrick 1.8.2
Installing webrick 1.8.2
Fetching thor 1.3.2
Installing thor 1.3.2
Fetching zeitwerk 2.7.0
Installing zeitwerk 2.7.0
Fetching railties 7.1.4.1
Installing railties 7.1.4.1
Fetching memory_profiler 1.1.0
Installing memory_profiler 1.1.0
Fetching ostruct 0.6.0
Installing ostruct 0.6.0
Fetching oj 3.16.6
Installing oj 3.16.6 with native extensions
Fetching omniauth-oauth 1.2.1
Installing omniauth-oauth 1.2.1
Fetching puma 6.4.3
Installing puma 6.4.3 with native extensions
Fetching rexml 3.3.8
Installing rexml 3.3.8
Fetching ruby-readability 0.7.2
Installing ruby-readability 0.7.2
Fetching sprockets 3.7.5
Installing sprockets 3.7.5
Fetching tzinfo-data 1.2024.2
Installing tzinfo-data 1.2024.2
Fetching uglifier 4.2.1
Installing uglifier 4.2.1
Bundle complete! 145 Gemfile dependencies, 184 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-19T14:02:33.799849 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-10-19T14:02:39.647084 #1]  INFO -- : docker_manager is already at latest compatible version

I, [2024-10-19T14:02:39.654566 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-10-19T14:02:39.675745 #1]  INFO -- : > sleep 10
1881:C 19 Oct 2024 14:02:39.689 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1881:C 19 Oct 2024 14:02:39.689 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=1881, just started
1881:C 19 Oct 2024 14:02:39.689 # Configuration loaded
1881:M 19 Oct 2024 14:02:39.690 * monotonic clock: POSIX clock_gettime
1881:M 19 Oct 2024 14:02:39.690 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
1881:M 19 Oct 2024 14:02:39.690 # Failed listening on port 6379 (TCP), aborting.
I, [2024-10-19T14:02:49.693070 #1]  INFO -- : 
I, [2024-10-19T14:02:49.697998 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
107:M 19 Oct 2024 14:02:53.663 * 100 changes in 300 seconds. Saving...
107:M 19 Oct 2024 14:02:53.663 * Background saving started by pid 1928
1928:C 19 Oct 2024 14:02:53.706 * DB saved on disk
1928:C 19 Oct 2024 14:02:53.707 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
107:M 19 Oct 2024 14:02:53.763 * Background saving terminated with success
rake aborted!
ActiveRecord::RecordNotFound: Couldn't find Upload with 'id'=-6 (ActiveRecord::RecordNotFound)
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.1/lib/active_record/core.rb:253:in `find'
/var/www/discourse/lib/site_icon_manager.rb:119:in `resolve_original'
/var/www/discourse/lib/site_icon_manager.rb:71:in `block in ensure_optimized!'
/var/www/discourse/lib/site_icon_manager.rb:70:in `each'
/var/www/discourse/lib/site_icon_manager.rb:70:in `ensure_optimized!'
/var/www/discourse/lib/tasks/db.rake:272:in `block (2 levels) in <main>'
/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 <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I, [2024-10-19T14:02:59.420183 #1]  INFO -- : /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:382:in `enforce_available_locales!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:214:in `translate'
/var/www/discourse/lib/freedom_patches/translate_accelerator.rb:151:in `block in translate_no_override'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/lru_redux-1.1.0/lib/lru_redux/cache.rb:34:in `getset'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/lru_redux-1.1.0/lib/lru_redux/util/safe_sync.rb:26:in `block in getset'
/usr/local/lib/ruby/3.3.0/monitor.rb:201:in `synchronize'
/usr/local/lib/ruby/3.3.0/monitor.rb:201:in `mon_synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/lru_redux-1.1.0/lib/lru_redux/util/safe_sync.rb:25:in `getset'
/var/www/discourse/lib/freedom_patches/translate_accelerator.rb:149:in `translate_no_override'
/var/www/discourse/lib/freedom_patches/translate_accelerator.rb:237:in `translate'
/var/www/discourse/app/models/group.rb:521:in `refresh_automatic_group!'
/var/www/discourse/app/models/group.rb:670:in `block in ensure_automatic_groups!'
/var/www/discourse/app/models/group.rb:670:in `each_key'
/var/www/discourse/app/models/group.rb:670:in `ensure_automatic_groups!'
(eval at /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:46):3:in `block (2 levels) in run_file'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:46:in `eval'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:46:in `block (2 levels) in run_file'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:58:in `block in open'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:57:in `open'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:57:in `open'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:36:in `block in run_file'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.1/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.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4.1/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.1/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.1/lib/active_record/transactions.rb:212:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:35:in `run_file'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:26:in `block in run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:25:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/seed-fu/runner.rb:25:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/discourse-seed-fu-2.3.12/lib/discourse-seed-fu.rb:29:in `seed'
/var/www/discourse/lib/tasks/db.rake:264:in `block (2 levels) in <main>'
/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 <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:281:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:281:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:281:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:188:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:188:in `invoke_task'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `block (2 levels) in top_level'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:138:in `block in top_level'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:147:in `run_with_threads'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:132:in `top_level'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:83:in `block in run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:214:in `standard_exception_handling'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/application.rb:80:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/bin/rake:25:in `load'
/var/www/discourse/vendor/bundle/ruby/3.3.0/bin/rake:25:in `<top (required)>'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli.rb:455:in `exec'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli.rb:35:in `dispatch'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/cli.rb:29:in `start'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/exe/bundle:28:in `block in <top (required)>'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/exe/bundle:20:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'

I, [2024-10-19T14:02:59.780614 #1]  INFO -- : Terminating async processes
I, [2024-10-19T14:02:59.786134 #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
107:signal-handler (1729346579) Received SIGTERM scheduling shutdown...
I, [2024-10-19T14:02:59.787448 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 107
2024-10-19 14:02:59.787 UTC [39] LOG:  received fast shutdown request
2024-10-19 14:02:59.817 UTC [39] LOG:  aborting any active transactions
2024-10-19 14:02:59.842 UTC [39] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
2024-10-19 14:02:59.844 UTC [49] LOG:  shutting down
2024-10-19 14:02:59.884 UTC [39] LOG:  database system is shut down
107:M 19 Oct 2024 14:02:59.888 # User requested shutdown...
107:M 19 Oct 2024 14:02:59.888 * Saving the final RDB snapshot before exiting.
107:M 19 Oct 2024 14:02:59.892 * DB saved on disk
107:M 19 Oct 2024 14:02:59.892 # 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 #<Process::Status: pid 1884 exit 1>
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.
43cec54a679ed85d41e63466df3f4d65150dfb6b82ff70f11a0bdd68714ec2c3
[root@VM-12-13-opencloudos discourse]# 

here I posted

still need help :frowning:

Perhaps try running ./discourse-doctor?

Did you figure this out?

It looks like yhou’ve got something that’s messing with your github access:

1 Like