Après avoir reconstruit, erreur suivante renvoyée : #


ÉCHEC
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' a échoué avec le code de retour #<Process::Status: pid 1631 exit 1>
Emplacement de l'échec : /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec a échoué avec les paramètres {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}

ci-dessous se trouve l’intégralité du journal, qui peut m’aider ?

/usr/local/bin/pups --stdin
I, [2024-12-26T12:50:52.207241 #1]  INFO -- : Lecture depuis stdin
I, [2024-12-26T12:50:52.223092 #1]  INFO -- : Fichier > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-12-26T12:50:52.226838 #1]  INFO -- : Fichier > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-12-26T12:50:52.231373 #1]  INFO -- : Fichier > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-12-26T12:50:52.234873 #1]  INFO -- : Fichier > /root/install_postgres  chmod: +x  chown:
I, [2024-12-26T12:50:52.238419 #1]  INFO -- : Fichier > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-12-26T12:50:52.240056 #1]  INFO -- : Remplacement de data_directory = '/var/lib/postgresql/13/main' par data_directory = '/shared/postgres_data' dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.240707 #1]  INFO -- : Remplacement de (?-mix:#?listen_addresses *=.*) par listen_addresses = '*' dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.241185 #1]  INFO -- : Remplacement de (?-mix:#?synchronous_commit *=.*) par synchronous_commit = $db_synchronous_commit dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.241563 #1]  INFO -- : Remplacement de (?-mix:#?shared_buffers *=.*) par shared_buffers = $db_shared_buffers dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.241951 #1]  INFO -- : Remplacement de (?-mix:#?work_mem *=.*) par work_mem = $db_work_mem dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.242323 #1]  INFO -- : Remplacement de (?-mix:#?default_text_search_config *=.*) par default_text_search_config = '$db_default_text_search_config' dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.242699 #1]  INFO -- : Remplacement de (?-mix:#?checkpoint_segments *=.*) par checkpoint_segments = $db_checkpoint_segments dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.243215 #1]  INFO -- : Remplacement de (?-mix:#?logging_collector *=.*) par logging_collector = $db_logging_collector dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.243612 #1]  INFO -- : Remplacement de (?-mix:#?log_min_duration_statement *=.*) par log_min_duration_statement = $db_log_min_duration_statement dans /etc/postgresql/13/main/postgresql.conf
I, [2024-12-26T12:50:52.244219 #1]  INFO -- : Remplacement de (?-mix:^#local +replication +postgres +peer$) par local replication postgres  peer dans /etc/postgresql/13/main/pg_hba.conf
I, [2024-12-26T12:50:52.244634 #1]  INFO -- : Remplacement de (?-mix:^host.*all.*all.*127.*$) par host all all 0.0.0.0/0 md5 dans /etc/postgresql/13/main/pg_hba.conf
I, [2024-12-26T12:50:52.244999 #1]  INFO -- : Remplacement de (?-mix:^host.*all.*all.*::1\/128.*$) par host all all ::/0 md5 dans /etc/postgresql/13/main/pg_hba.conf
I, [2024-12-26T12:50:52.245528 #1]  INFO -- : > if [ -f /root/install_postgres ]; then
  /root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi

I, [2024-12-26T12:50:58.805083 #1]  INFO -- : Génération des locales (cela peut prendre un moment)...
  en_US.UTF-8... terminé
Génération terminée.

I, [2024-12-26T12:50:58.805434 #1]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-12-26T12:50:58.812375 #1]  INFO -- : Fichier > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-12-26T12:50:58.818965 #1]  INFO -- : Fichier > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-12-26T12:50:58.823036 #1]  INFO -- : Fichier > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-12-26T12:50:58.823281 #1]  INFO -- : > sleep 5
2024-12-26 12:50:58.899 GMT [39] LOG:  fichier de configuration manquant ignoré "/shared/postgres_data/postgresql.auto.conf"
2024-12-26 12:50:58.903 UTC [39] FATAL:  le répertoire de données "/shared/postgres_data" a une propriété incorrecte
2024-12-26 12:50:58.903 UTC [39] HINT:  Le serveur doit être démarré par l'utilisateur qui possède le répertoire de données.
I, [2024-12-26T12:51:03.826002 #1]  INFO -- :
I, [2024-12-26T12:51:03.826212 #1]  INFO -- : > /usr/local/bin/create_db
createdb: erreur: impossible de se connecter à la base de données template1: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
psql: erreur: connexion au serveur sur le socket "/var/run/postgresql/.s.PGSQL.5432" échouée: Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur ce socket ?
I, [2024-12-26T12:51:04.472673 #1]  INFO -- :
I, [2024-12-26T12:51:04.472805 #1]  INFO -- : > echo postgres installed!
I, [2024-12-26T12:51:04.474368 #1]  INFO -- : postgres installed!

I, [2024-12-26T12:51:04.479147 #1]  INFO -- : Fichier > /etc/service/redis/run  chmod: +x  chown:
I, [2024-12-26T12:51:04.483492 #1]  INFO -- : Fichier > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-12-26T12:51:04.487637 #1]  INFO -- : Fichier > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-12-26T12:51:04.488582 #1]  INFO -- : Remplacement de daemonize yes par  dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.489262 #1]  INFO -- : Remplacement de (?-mix:^pidfile.*$) par  dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.489751 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-12-26T12:51:04.493498 #1]  INFO -- :
I, [2024-12-26T12:51:04.493959 #1]  INFO -- : Remplacement de (?-mix:^logfile.*$) par logfile "" dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.494534 #1]  INFO -- : Remplacement de (?-mix:^bind .*$) par  dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.495122 #1]  INFO -- : Remplacement de (?-mix:^dir .*$) par dir /shared/redis_data dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.495772 #1]  INFO -- : Remplacement de (?-mix:^protected-mode yes) par protected-mode no dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.496298 #1]  INFO -- : Remplacement de # io-threads 4 par io-threads $redis_io_threads dans /etc/redis/redis.conf
I, [2024-12-26T12:51:04.496781 #1]  INFO -- : > echo redis installed
I, [2024-12-26T12:51:04.498507 #1]  INFO -- : redis installed

I, [2024-12-26T12:51:04.498696 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-12-26T12:51:04.502939 #1]  INFO -- : logfile ""

I, [2024-12-26T12:51:04.503105 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-12-26T12:51:04.504381 #1]  INFO -- : > sleep 10
87:C 26 déc. 2024 12:51:04.522 # oO0OoO0OoO0Oo Redis est en cours de démarrage oO0OoO0OoO0Oo
87:C 26 déc. 2024 12:51:04.522 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=87, just started
87:C 26 déc. 2024 12:51:04.522 # Configuration loaded
87:M 26 déc. 2024 12:51:04.523 * monotonic clock: POSIX clock_gettime
87:M 26 déc. 2024 12:51:04.525 * Running mode=standalone, port=6379.
87:M 26 déc. 2024 12:51:04.525 # Server initialized
87:M 26 déc. 2024 12:51:04.525 # 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.
87:M 26 déc. 2024 12:51:04.526 * Loading RDB produced by version 7.0.7
87:M 26 déc. 2024 12:51:04.526 * RDB age 1152 seconds
87:M 26 déc. 2024 12:51:04.526 * RDB memory usage when created 0.92 Mb
87:M 26 déc. 2024 12:51:04.526 * Done loading RDB, keys loaded: 1, keys expired: 0.
87:M 26 déc. 2024 12:51:04.526 * DB loaded from disk: 0.000 seconds
87:M 26 déc. 2024 12:51:04.526 * Ready to accept connections
I, [2024-12-26T12:51:14.506650 #1]  INFO -- :
I, [2024-12-26T12:51:14.507053 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-12-26T12:51:14.512648 #1]  INFO -- : thpoff is installed!

I, [2024-12-26T12:51:14.513141 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2024-12-26T12:51:14.599767 #1]  INFO -- :
I, [2024-12-26T12:51:14.599873 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2024-12-26T12:51:14.687292 #1]  INFO -- :
I, [2024-12-26T12:51:14.687398 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2024-12-26T12:51:14.767418 #1]  INFO -- :
I, [2024-12-26T12:51:14.767643 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-12-26T12:51:14.770302 #1]  INFO -- :
I, [2024-12-26T12:51:14.772555 #1]  INFO -- : Fichier > /etc/cron.d/anacron  chmod:   chown:
I, [2024-12-26T12:51:14.780855 #1]  INFO -- : Fichier > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-12-26T12:51:14.784714 #1]  INFO -- : Fichier > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-12-26T12:51:14.788282 #1]  INFO -- : Fichier > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-12-26T12:51:14.791993 #1]  INFO -- : Fichier > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-12-26T12:51:14.795425 #1]  INFO -- : Fichier > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-12-26T12:51:14.795568 #1]  INFO -- : Remplacement de # postgres par if [ -f /root/install_postgres ]; then
  /root/install_postgres
  rm /root/install_postgres
fi
sv start postgres || exit 1 dans /etc/service/unicorn/run
I, [2024-12-26T12:51:14.797041 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-12-26T12:51:15.572806 #1]  INFO -- :
I, [2024-12-26T12:51:15.572932 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
      git remote set-branches --add origin main
      git remote set-branches origin tests-passed
      git fetch --depth 1 origin tests-passed
  else
      git fetch --tags --prune-tags --prune --force origin
  fi
'
From https://github.com/discourse/discourse
 - [deleted]             (none)     -> origin/0-a-extra-item-classes
 - [deleted]             (none)     -> origin/abstract_autocomplete_textarea
 - [deleted]             (none)     -> origin/add-plugin-wrapper-to-user-profile-avatar
 - [deleted]             (none)     -> origin/better-conflict-handling
 - [deleted]             (none)     -> origin/custom-flag-default-translation
 - [deleted]             (none)     -> origin/dependabot/bundler/sass-embedded-1.81.0
 - [deleted]             (none)     -> origin/dependabot/bundler/webrick-1.9.1
 - [deleted]             (none)     -> origin/dependabot/npm_and_yarn/sass-1.81.0
 - [deleted]             (none)     -> origin/dev/ember-5-12
 - [deleted]             (none)     -> origin/feature/backup-cli-sql-only-option
 - [deleted]             (none)     -> origin/feature/block-ip-and-email-to-bulk-delete
 - [deleted]             (none)     -> origin/fix-undefined-controller
 - [deleted]             (none)     -> origin/fix/hide-profiles
 - [deleted]             (none)     -> origin/mobile-firefox-keyboard-fix
 - [deleted]             (none)     -> origin/relax-emoji-sanitization
 - [deleted]             (none)     -> origin/separate_upload_placeholder
 - [deleted]             (none)     -> origin/update-robots-desc
   251333995..bf3279d75  main                    -> origin/main
 * [new branch]          0-a-gjs-comp            -> origin/0-a-gjs-comp
 * [new branch]          0-a-no-nest             -> origin/0-a-no-nest
 * [new branch]          0-a-presence            -> origin/0-a-presence
 * [new branch]          add-devenv              -> origin/add-devenv
 + 8741e0f07...04bf23c03 br/directory            -> origin/br/directory  (forced update)
 * [new branch]          category-page-mobile    -> origin/category-page-mobile
   07c91ff5b..1a3925b17  composer_toolbar_improv -> origin/composer_toolbar_improv
 * [new branch]          dependabot/bundler/mocha-2.7.1 -> origin/dependabot/bundler/mocha-2.7.1
 * [new branch]          dependabot/bundler/nokogiri-1.18.0 -> origin/dependabot/bundler/nokogiri-1.18.0
 * [new branch]          dependabot/bundler/sass-embedded-1.83.0 -> origin/dependabot/bundler/sass-embedded-1.83.0
 * [new branch]          dependabot/npm_and_yarn/ember-cli-6.1.0 -> origin/dependabot/npm_and_yarn/ember-cli-6.1.0
 * [new branch]          dependabot/npm_and_yarn/highlightjs-4b4c138b28 -> origin/dependabot/npm_and_yarn/highlightjs-4b4c138b28
 * [new branch]          dependabot/npm_and_yarn/sass-1.83.0 -> origin/dependabot/npm_and_yarn/sass-1.83.0
 * [new branch]          dev-no-text-on-yields   -> origin/dev-no-text-on-yields
 * [new branch]          dev-update-svg-icon-subset-site-setting-help-text -> origin/dev-update-svg-icon-subset-site-setting-help-text
 + d5f594c07...3759d9cf2 dev/admin-api-ui-guidelines -> origin/dev/admin-api-ui-guidelines  (forced update)
 * [new branch]          dev/admin-webhooks-ui-guidelines -> origin/dev/admin-webhooks-ui-guidelines
 * [new branch]          dev/import-support-discourse-reactions-plugin -> origin/dev/import-support-discourse-reactions-plugin
 * [new branch]          dev/settable-fields     -> origin/dev/settable-fields
 * [new branch]          embedding-ux            -> origin/embedding-ux
 * [new branch]          feature/add-trigger-on-option-to-on-tag-change-automation -> origin/feature/add-trigger-on-option-to-on-tag-change-automation
 * [new branch]          feature/default-value-to-fields-in-automation -> origin/feature/default-value-to-fields-in-automation
 * [new branch]          feature/option-for-optional-name-at-signup -> origin/feature/option-for-optional-name-at-signup
 + 2921205f2...7902d7260 feature/wizard-look-and-feel-improvements -> origin/feature/wizard-look-and-feel-improvements  (forced update)
 * [new branch]          fitzy/org-runners       -> origin/fitzy/org-runners
 * [new branch]          fix-chat                -> origin/fix-chat
 * [new branch]          fix-firefox-android-followup -> origin/fix-firefox-android-followup
 * [new branch]          fix-is-replying-when-offline -> origin/fix-is-replying-when-offline
 * [new branch]          fix-open-composer-error -> origin/fix-open-composer-error
 * [new branch]          hide-login-outlets      -> origin/hide-login-outlets
 * [new branch]          i18n/banned-lint        -> origin/i18n/banned-lint
 * [new branch]          issue/allow-admin-to-use-reserved-usernames -> origin/issue/allow-admin-to-use-reserved-usernames
 + 50c0a90ba...56e8c5245 less_invasive_autocomplete -> origin/less_invasive_autocomplete  (forced update)
 * [new branch]          login-css               -> origin/login-css
 + 8834e37c4...d502d7c37 loic-enable-rspec-rule  -> origin/loic-enable-rspec-rule  (forced update)
 * [new branch]          mt/fix-poll-options     -> origin/mt/fix-poll-options
 + 1fc526eb4...9e46da1b7 mt/idb                  -> origin/mt/idb  (forced update)
 + 72f3215c0...eaded6223 mt/pr4                  -> origin/mt/pr4  (forced update)
 * [new branch]          multiple-drafts-dropdown -> origin/multiple-drafts-dropdown
 * [new branch]          plugin-outlet-for-full-page-search-container-and-filter -> origin/plugin-outlet-for-full-page-search-container-and-filter
 * [new branch]          plugin-outlet-on-full-page-search-container-and-filter -> origin/plugin-outlet-on-full-page-search-container-and-filter
 * [new branch]          plugin-outlet-on-full-page-search-container-and-filter-1 -> origin/plugin-outlet-on-full-page-search-container-and-filter-1
 * [new branch]          post-dup-event          -> origin/post-dup-event
 * [new branch]          reapply_refactor        -> origin/reapply_refactor
 * [new branch]          refactor-mobile-coposer-position -> origin/refactor-mobile-coposer-position
 * [new branch]          refactor-mobile-coposer-position-replace-actions -> origin/refactor-mobile-coposer-position-replace-actions
 * [new branch]          remove-u-blocked        -> origin/remove-u-blocked
 * [new branch]          renato/pm               -> origin/renato/pm
 * [new branch]          skip_compressing_assets_if_assets_is_already_on_s3 -> origin/skip_compressing_assets_if_assets_is_already_on_s3
 * [new branch]          speed_up_bundle         -> origin/speed_up_bundle
 * [new branch]          splash-screen-optim     -> origin/splash-screen-optim
 * [new branch]          split-badge-grant       -> origin/split-badge-grant
   f5b108bf9..bb7b5ec70  stable                  -> origin/stable
   251333995..bf3279d75  tests-passed            -> origin/tests-passed
 * [new branch]          topic-tracking-dmenu    -> origin/topic-tracking-dmenu
 * [new branch]          translations-from-crowdin-main -> origin/translations-from-crowdin-main
 * [new branch]          translations-from-crowdin-stable -> origin/translations-from-crowdin-stable
 * [new branch]          user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
 * [new branch]          user-menu-plugin-outlet -> origin/user-menu-plugin-outlet
 * [new branch]          vite                    -> origin/vite
 * [new branch]          wip-merged-topics       -> origin/wip-merged-topics
 t [tag update]          beta                    -> beta
 t [tag update]          latest-release          -> latest-release
 * [new tag]             v3.3.3                  -> v3.3.3
 * [new tag]             v3.4.0.beta3            -> v3.4.0.beta3
I, [2024-12-26T12:51:18.637477 #1]  INFO -- :
I, [2024-12-26T12:51:18.637601 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse bash -c '
  set -o errexit
  if [[ $(git symbolic-ref --short HEAD) == tests-passed ]] ; then
      git pull
  else
      git -c advice.detachedHead=false checkout tests-passed
  fi
'
Switched to a new branch 'tests-passed'
I, [2024-12-26T12:51:32.760569 #1]  INFO -- : branch 'tests-passed' set up to track 'origin/tests-passed'.

I, [2024-12-26T12:51:32.760686 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-12-26T12:51:32.769978 #1]  INFO -- :
I, [2024-12-26T12:51:32.770075 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-12-26T12:51:32.772833 #1]  INFO -- :
I, [2024-12-26T12:51:32.772915 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-12-26T12:51:32.775404 #1]  INFO -- :
I, [2024-12-26T12:51:32.775482 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-12-26T12:51:32.778308 #1]  INFO -- :
I, [2024-12-26T12:51:32.778383 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-12-26T12:51:32.780841 #1]  INFO -- :
I, [2024-12-26T12:51:32.780926 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-12-26T12:51:32.784451 #1]  INFO -- :
I, [2024-12-26T12:51:32.784543 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-12-26T12:51:32.787109 #1]  INFO -- :
I, [2024-12-26T12:51:32.787191 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-12-26T12:51:32.790727 #1]  INFO -- :
I, [2024-12-26T12:51:32.790896 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log"
I, [2024-12-26T12:51:32.794789 #1]  INFO -- :
I, [2024-12-26T12:51:32.794877 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-12-26T12:51:32.798800 #1]  INFO -- :
I, [2024-12-26T12:51:32.798885 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-12-26T12:51:32.802599 #1]  INFO -- :
I, [2024-12-26T12:51:32.802677 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-12-26T12:51:32.806850 #1]  INFO -- :
I, [2024-12-26T12:51:32.806935 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-12-26T12:51:32.810393 #1]  INFO -- :
I, [2024-12-26T12:51:32.810479 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-12-26T12:51:32.888664 #1]  INFO -- :
I, [2024-12-26T12:51:32.888804 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-12-26T12:51:32.890931 #1]  INFO -- :
I, [2024-12-26T12:51:32.891136 #1]  INFO -- : Remplacement de # redis par if [ ! -d /shared/redis_data ]; then
  install -d -m 0755 -o redis -g redis /shared/redis_data
fi
sv start redis || exit 1 dans /etc/service/unicorn/run
I, [2024-12-26T12:51:32.891767 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2024-12-26T12:51:35.362595 #1]  INFO -- :
I, [2024-12-26T12:51:35.362724 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Cloning into 'discourse-data-explorer'...
I, [2024-12-26T12:51:37.397513 #1]  INFO -- :
I, [2024-12-26T12:51:37.397655 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Cloning into 'discourse-solved'...
I, [2024-12-26T12:51:39.372227 #1]  INFO -- :
I, [2024-12-26T12:51:39.372361 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Cloning into 'discourse-user-notes'...
I, [2024-12-26T12:51:43.860556 #1]  INFO -- :
I, [2024-12-26T12:51:43.860787 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Cloning into 'discourse-adplugin'...
I, [2024-12-26T12:51:45.872895 #1]  INFO -- :
I, [2024-12-26T12:51:45.873053 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-policy.git
Cloning into 'discourse-policy'...
I, [2024-12-26T12:51:47.722593 #1]  INFO -- :
I, [2024-12-26T12:51:47.722971 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.727257 #1]  INFO -- :
I, [2024-12-26T12:51:47.727641 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-12-26T12:51:47.729606 #1]  INFO -- :
I, [2024-12-26T12:51:47.729712 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-12-26T12:51:47.731912 #1]  INFO -- :
I, [2024-12-26T12:51:47.732880 #1]  INFO -- : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2024-12-26T12:51:47.733403 #1]  INFO -- : Remplacement de (?m-ix:upstream[^\}]+\}) par upstream discourse { server 127.0.0.1:3000; } dans /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.733788 #1]  INFO -- : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.734148 #1]  INFO -- : Remplacement de (?-mix:client_max_body_size.+$) par client_max_body_size $upload_size ; dans /etc/nginx/conf.d/discourse.conf
I, [2024-12-26T12:51:47.734484 #1]  INFO -- : Remplacement de (?-mix:worker_connections.+$) par worker_connections $nginx_worker_connections ; dans /etc/nginx/nginx.conf
I, [2024-12-26T12:51:47.734778 #1]  INFO -- : > echo "done configuring web"
I, [2024-12-26T12:51:47.736525 #1]  INFO -- : done configuring web

I, [2024-12-26T12:51:47.736920 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-12-26T12:51:48.089770 #1]  INFO -- :
I, [2024-12-26T12:51:48.089887 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-12-26T12:51:52.139597 #1]  INFO -- :
I, [2024-12-26T12:51:52.140257 #1]  INFO -- : > cd /var/www/discourse && if [ -f yarn.lock ]; then
  if [ -d node_modules/.pnpm ]; then
    echo "This version of Discourse uses yarn, but pnpm node_modules are preset. Cleaning up..."
    find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +
  fi
  su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
  su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'
fi
I, [2024-12-26T12:52:29.760119 #1]  INFO -- : Scope: all 18 workspace projects
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +232 -97
++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
Progress: resolved 232, reused 164, downloaded 0, added 2
Progress: resolved 232, reused 164, downloaded 0, added 29
Progress: resolved 232, reused 164, downloaded 0, added 45
Progress: resolved 232, reused 164, downloaded 14, added 59
Progress: resolved 232, reused 164, downloaded 19, added 71
Progress: resolved 232, reused 164, downloaded 29, added 79
Progress: resolved 232, reused 164, downloaded 46, added 94
Progress: resolved 232, reused 164, downloaded 59, added 106
Progress: resolved 232, reused 164, downloaded 60, added 109
Progress: resolved 232, reused 164, downloaded 65, added 111
Progress: resolved 232, reused 164, downloaded 67, added 113
Progress: resolved 232, reused 164, downloaded 67, added 116
Progress: resolved 232, reused 164, downloaded 67, added 122
Progress: resolved 232, reused 164, downloaded 67, added 123
Progress: resolved 232, reused 164, downloaded 68, added 125
Progress: resolved 232, reused 164, downloaded 68, added 126
Progress: resolved 232, reused 164, downloaded 68, added 127
Progress: resolved 232, reused 164, downloaded 68, added 127, done
.../node_modules/@swc/core postinstall$ node postinstall.js
.../esbuild@0.24.2/node_modules/esbuild postinstall$ node install.js
.../node_modules/lefthook postinstall$ node postinstall.js
.../node_modules/@swc/core postinstall: Done
.../node_modules/lefthook postinstall: Done
.../esbuild@0.24.2/node_modules/esbuild postinstall: Done

devDependencies:
- @swc/core 1.9.3
+ @swc/core 1.10.1
- esbuild 0.24.0
+ esbuild 0.24.2
- lefthook 1.8.5
+ lefthook 1.10.0
- lint-to-the-future 2.5.1
+ lint-to-the-future 2.6.1
- lint-to-the-future-ember-template 2.0.0
+ lint-to-the-future-ember-template 3.0.0
- puppeteer-core 23.9.0
+ puppeteer-core 23.11.1
- terser 5.36.0
+ terser 5.37.0

Done in 34.7s
Lockfile is up to date, resolution step is skipped
Already up to date


I, [2024-12-26T12:52:29.760701 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.2
      - 3.1.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
I, [2024-12-26T12:53:29.944202 #1]  INFO -- : Fetching gem metadata from https://rubygems.org/........
Fetching bigdecimal 3.1.9
Fetching minitest 5.25.4
Fetching logger 1.6.4
Installing bigdecimal 3.1.9 with native extensions
Installing minitest 5.25.4
Installing logger 1.6.4
Fetching securerandom 0.4.1
Fetching erubi 1.13.1
Installing securerandom 0.4.1
Fetching useragent 0.16.11
Installing erubi 1.13.1
Fetching timeout 0.4.3
Installing useragent 0.16.11
Fetching openssl 3.3.0
Installing timeout 0.4.3
Fetching csv 3.3.2
Installing openssl 3.3.0 with native extensions
Installing csv 3.3.2
Fetching discourse-fonts 0.0.12
Installing discourse-fonts 0.0.12
Récupération de json 2.9.1
Installation de json 2.9.1 avec extensions natives
Récupération de io-console 0.8.0
Installation de io-console 0.8.0 avec extensions natives
Récupération de regexp_parser 2.10.0
Installation de regexp_parser 2.10.0
Récupération de webrick 1.9.1
Installation de webrick 1.9.1
Récupération de rexml 3.4.0
Installation de rexml 3.4.0
Récupération de rack-test 2.2.0
Installation de rack-test 2.2.0
Récupération de reline 0.6.0
Installation de reline 0.6.0
Récupération de psych 5.2.2
Installation de psych 5.2.2 avec extensions natives
Récupération de css_parser 1.21.0
Installation de css_parser 1.21.0
Récupération de net-imap 0.5.4
Installation de net-imap 0.5.4
Récupération de rdoc 6.10.0
Installation de rdoc 6.10.0
Récupération de mini_scheduler 0.18.0
Installation de mini_scheduler 0.18.0
Récupération de rails-html-sanitizer 1.6.2
Installation de rails-html-sanitizer 1.6.2
Récupération de faraday 2.12.2
Installation de faraday 2.12.2
Récupération de irb 1.14.3
Installation de irb 1.14.3
Récupération de activesupport 7.2.2.1
Récupération de google-protobuf 4.29.2 (x86_64-linux)
Installation de activesupport 7.2.2.1
Récupération de oj 3.16.8
Installation de google-protobuf 4.29.2 (x86_64-linux)
Installation de oj 3.16.8 avec extensions natives
Récupération de activemodel 7.2.2.1
Installation de activemodel 7.2.2.1
Récupération de actionview 7.2.2.1
Installation de actionview 7.2.2.1
Récupération de activejob 7.2.2.1
Installation de activejob 7.2.2.1
Récupération de activerecord 7.2.2.1
Installation de activerecord 7.2.2.1
Récupération de actionpack 7.2.2.1
Installation de actionpack 7.2.2.1
Récupération de actionmailer 7.2.2.1
Installation de actionmailer 7.2.2.1
Récupération de railties 7.2.2.1
Installation de railties 7.2.2.1
Bundle terminé ! 146 dépendances Gemfile, 187 gems installés.
Les gems des groupes 'test' et 'development' n'ont pas été installés.
Les gems bundled sont installés dans `./vendor/bundle`
2 gems installés dont vous dépendez directement recherchent des financements.
  Exécutez `bundle fund` pour plus de détails

I, [2024-12-26T12:53:29.944330 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle clean'
I, [2024-12-26T12:53:30.602553 #1]  INFO -- : Suppression de actionmailer (7.2.2)
Suppression de actionpack (7.2.2)
Suppression de actionview (7.2.2)
Suppression de activejob (7.2.2)
Suppression de activemodel (7.2.2)
Suppression de activerecord (7.2.2)
Suppression de activesupport (7.2.2)
Suppression de bigdecimal (3.1.8)
Suppression de css_parser (1.19.1)
Suppression de csv (3.3.0)
Suppression de discourse-fonts (0.0.9)
Suppression de erubi (1.13.0)
Suppression de faraday (2.12.1)
Suppression de google-protobuf-4.29.0-x86_64 (linux)
Suppression de io-console (0.7.2)
Suppression de irb (1.14.1)
Suppression de json (2.8.2)
Suppression de logger (1.6.2)
Suppression de mini_scheduler (0.17.0)
Suppression de minitest (5.25.2)
Suppression de net-imap (0.5.1)
Suppression de oj (3.16.7)
Suppression de openssl (3.2.0)
Suppression de psych (5.2.1)
Suppression de rack-test (2.1.0)
Suppression de rails-html-sanitizer (1.6.1)
Suppression de railties (7.2.2)
Suppression de rdoc (6.8.1)
Suppression de regexp_parser (2.9.3)
Suppression de reline (0.5.12)
Suppression de rexml (3.3.9)
Suppression de securerandom (0.4.0)
Suppression de timeout (0.4.2)
Suppression de useragent (0.16.10)
Suppression de webrick (1.9.0)

I, [2024-12-26T12:53:30.602867 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-12-26T12:53:34.804140 #1]  INFO -- : Liaison symbolique des polices depuis le gem discourse-fonts
discourse-adplugin est déjà à la dernière version compatible
discourse-data-explorer est déjà à la dernière version compatible
discourse-policy est déjà à la dernière version compatible
discourse-solved est déjà à la dernière version compatible
discourse-user-notes est déjà à la dernière version compatible
docker_manager est déjà à la dernière version compatible

I, [2024-12-26T12:53:34.804366 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-12-26T12:53:34.806082 #1]  INFO -- : > sleep 10
1628:C 26 Dec 2024 12:53:34.814 # oO0OoO0OoO0Oo Redis est en cours de démarrage oO0OoO0OoO0Oo
1628:C 26 Dec 2024 12:53:34.814 # Version Redis=7.0.7, bits=64, commit=00000000, modified=0, pid=1628, démarrage en cours
1628:C 26 Dec 2024 12:53:34.814 # Configuration chargée
1628:M 26 Dec 2024 12:53:34.814 * horloge monotone : POSIX clock_gettime
1628:M 26 Dec 2024 12:53:34.815 # Avertissement : Impossible de créer la socket d'écoute TCP du serveur *:6379 : bind : Adresse déjà utilisée
1628:M 26 Dec 2024 12:53:34.815 # Échec de l'écoute sur le port 6379 (TCP), abandon.
I, [2024-12-26T12:53:44.808580 #1]  INFO -- :
I, [2024-12-26T12:53:44.809131 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
URGENT : Échec de l'initialisation du site par défaut : ActiveRecord::ConnectionNotEstablished connexion au serveur sur la socket "/var/run/postgresql/.s.PGSQL.5432" a échoué : Aucun fichier ou dossier de ce type
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur cette socket ?

/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:69:in `rescue in new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:57:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:982:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:994:in `reconnect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:662:in `block in reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:661:in `reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:763:in `block in verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:754:in `verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:771:in `connect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:977:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:976:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:128:in `quote_string'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:76:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:122:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1099:in `quoted_scope'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1076:in `data_source_sql'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:60:in `table_exists?'
/var/www/discourse/lib/site_settings/db_provider.rb:58:in `table_exists?'
/var/www/discourse/lib/site_settings/db_provider.rb:14:in `all'
/var/www/discourse/lib/site_settings/defaults_provider.rb:30:in `db_all'
/var/www/discourse/lib/site_setting_extension.rb:360:in `block in refresh!'
/var/www/discourse/lib/site_setting_extension.rb:353:in `synchronize'
/var/www/discourse/lib/site_setting_extension.rb:353:in `refresh!'
/var/www/discourse/config/initializers/005-site_settings.rb:20:in `block (2 levels) in <main>'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:16:in `block in safe_each_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:36:in `each_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in `each_connection'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:9:in `each_active_connection'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:14:in `safe_each_connection'
/var/www/discourse/config/initializers/005-site_settings.rb:18:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:109:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb:96:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/local/lib/ruby/3.3.0/tsort.rb:231:in `block in tsort_each'
/usr/local/lib/ruby/3.3.0/tsort.rb:353:in `block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby/3.3.0/tsort.rb:434:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/3.3.0/tsort.rb:352:in `block in each_strongly_connected_component'
/usr/local/lib/ruby/3.3.0/tsort.rb:350:in `each'
/usr/local/lib/ruby/3.3.0/tsort.rb:350:in `call'
/usr/local/lib/ruby/3.3.0/tsort.rb:350:in `each_strongly_connected_component'
/usr/local/lib/ruby/3.3.0/tsort.rb:229:in `tsort_each'
/usr/local/lib/ruby/3.3.0/tsort.rb:208:in `tsort_each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:435:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:411:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:559:in `block in run_tasks_blocks'
/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:243:in `block in invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:218: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:243:in `block in invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:241:in `invoke_prerequisites'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/lib/rake/task.rb:218: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>'
rake interrompu !
ActiveRecord::ConnectionNotEstablished : connexion au serveur sur la socket "/var/run/postgresql/.s.PGSQL.5432" a échoué : Aucun fichier ou dossier de ce type (ActiveRecord::ConnectionNotEstablished)
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur cette socket ?
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:69:in `rescue in new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:57:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:982:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:994:in `reconnect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:662:in `block in reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:661:in `reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:763:in `block in verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:754:in `verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:771:in `connect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:977:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:976:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:128:in `quote_string'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:76:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:122:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1099:in `quoted_scope'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1076:in `data_source_sql'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:60:in `table_exists?'
/var/www/discourse/config/initializers/006-ensure_login_hint.rb:8:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:109:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb:96:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:435:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:411:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:559:in `block in run_tasks_blocks'
/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>'

Causé par :
PG::ConnectionBad : connexion au serveur sur la socket "/var/run/postgresql/.s.PGSQL.5432" a échoué : Aucun fichier ou dossier de ce type (PG::ConnectionBad)
        Le serveur est-il en cours d'exécution localement et accepte-t-il les connexions sur cette socket ?
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg/connection.rb:819:in `connect_start'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg/connection.rb:819:in `connect_to_hosts'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg/connection.rb:759:in `new'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/pg-1.5.4/lib/pg.rb:63:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:58:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:982:in `connect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:994:in `reconnect'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:662:in `block in reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:661:in `reconnect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:763:in `block in verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:754:in `verify!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:771:in `connect!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:977:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:976:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:128:in `quote_string'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/quoting.rb:76:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/quoting.rb:122:in `quote'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1099:in `quoted_scope'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:1076:in `data_source_sql'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.2.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:60:in `table_exists?'
/var/www/discourse/config/initializers/006-ensure_login_hint.rb:8:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:407:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:179:in `block in call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:668:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:667:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:180:in `call'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:559:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:109:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/reloader.rb:96:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application/finisher.rb:74:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:435:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:411:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:559:in `block in run_tasks_blocks'
/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>'
Tâches : TOP => db:migrate => db:load_config => environment
(Voir la trace complète en exécutant la tâche avec --trace)
I, [2024-12-26T12:53:47.919752 #1]  INFO -- :
I, [2024-12-26T12:53:47.920249 #1]  INFO -- : Terminaison des processus asynchrones
I, [2024-12-26T12:53:47.920297 #1]  INFO -- : Envoi de TERM à exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid : 87
87:signal-handler (1735217627) SIGTERM reçu, planification de l'arrêt...
87:M 26 Dec 2024 12:53:47.985 # Arrêt demandé par l'utilisateur...
87:M 26 Dec 2024 12:53:47.985 * Sauvegarde de la dernière snapshot RDB avant sortie.
87:M 26 Dec 2024 12:53:48.018 * DB sauvegardée sur disque
87:M 26 Dec 2024 12:53:48.018 # Redis est maintenant prêt à sortir, au revoir...

Avez-vous joué avec la propriété du répertoire sous /var/discourse/shared ou l’un de ses sous-répertoires ? Cela cassera l’installation.

Si votre site était vide, vous pouvez supprimer /var/discourse et refaire l’installation.

Je pense qu’une ancienne image de base avait des identifiants utilisateur différents, ils doivent donc être chownés.

J’ai mis à jour Docker avant d’exécuter ./launcher rebuild app, est-ce la raison ?

Oui, Falco
J’ai sauvegardé avant de reconstruire, j’ai redémarré un serveur et j’ai restauré les fichiers précédemment sauvegardés, merci beaucoup pour votre réponse