أخطاء إعادة بناء المُشغّل

--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake db:migrate' فشل مع العودة #<Process::Status: pid 1006 exit 1>
موقع الفشل: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
فشل التنفيذ بالمعلمات {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
فشل الإقلاع برمز الخروج 1
** فشل الإقلاع ** يرجى التمرير للأعلى والبحث عن رسائل خطأ سابقة، قد يكون هناك أكثر من رسالة واحدة.
قد يساعد ./discourse-doctor في تشخيص المشكلة.
77d5fea7b7d5e87e701dc99b614a8b70ff5818aa90b6c3217b22de77d5cca0ae

لقد أعدت بناء المشغل مرة أخرى وهو يظهر أخطاء والآن لا يعمل مرة أخرى… :smiling_face_with_tear: لقد اقترب الوقت من 5 صباحًا لذا سأستسلم.

هل يمكنك فعل ما تطلبه الرسالة والتمرير لأعلى للبحث عن أخطاء سابقة، ولصقها هنا.

إذًا لماذا تنشر؟ :slight_smile:

@JammyDodger على حق، أظهر لنا الخطأ السابق وسنحاول مساعدتك.

application non fonctionnelle !
Tentative de reconstruction
==================== JOURNAL DE RECONSTRUCTION ====================
architecture x86_64 détectée.
Vérification de la mise à jour du lanceur
Le lanceur est à jour
Arrêt de l'ancien conteneur
+ /usr/bin/docker stop -t 600 app
app
2.0.20240602-0023 : Tirage depuis discourse/base
Digest : sha256:5e0c30da851a00e824a58b033d59b8f3dd840b513a7694a7a5d0674285c0ee3c
Statut : L'image est à jour pour discourse/base:2.0.20240602-0023
docker.io/discourse/base:2.0.20240602-0023
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-06-17T20:05:29.853285 #1]  INFO -- : Lecture depuis stdin
I, [2024-06-17T20:05:29.862224 #1]  INFO -- : Fichier > /etc/service/postgres/run  chmod: +x  chown:
I, [2024-06-17T20:05:29.866216 #1]  INFO -- : Fichier > /etc/service/postgres/log/run  chmod: +x  chown:
I, [2024-06-17T20:05:29.870135 #1]  INFO -- : Fichier > /etc/runit/3.d/99-postgres  chmod: +x  chown:
I, [2024-06-17T20:05:29.874092 #1]  INFO -- : Fichier > /root/install_postgres  chmod: +x  chown:
I, [2024-06-17T20:05:29.877971 #1]  INFO -- : Fichier > /root/upgrade_postgres  chmod: +x  chown:
I, [2024-06-17T20:05:29.878188 #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-06-17T20:05:29.878785 #1]  INFO -- : Remplacement de (?-mix:#?listen_addresses *=.*) par listen_addresses = '*' dans /etc/postgresql/13/main/postgresql.conf
I, [2024-06-17T20:05:29.879181 #1]  INFO -- : Remplacement de (?-mix:#?synchronous_commit *=.*) par synchronous_commit = $db_synchronous_commit dans /etc/postgresql/13/main/postgresql.conf
I, [2024-06-17T20:05:29.879826 #1]  INFO -- : Remplacement de (?-mix:#?shared_buffers *=.*) par shared_buffers = $db_shared_buffers dans /etc/postgresql/13/main/postgresql.conf
I, [2024-06-17T20:05:29.880330 #1]  INFO -- : Remplacement de (?-mix:#?work_mem *=.*) par work_mem = $db_work_mem dans /etc/postgresql/13/main/postgresql.conf
I, [2024-06-17T20:05:29.880825 #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-06-17T20:05:29.881331 #1]  INFO -- : Remplacement de (?-mix:#?checkpoint_segments *=.*) par checkpoint_segments = $db_checkpoint_segments dans /etc/postgresql/13/main/postgresql.conf
I, [2024-06-17T20:05:29.881860 #1]  INFO -- : Remplacement de (?-mix:#?logging_collector *=.*) par logging_collector = $db_logging_collector dans /etc/postgresql/13/main/postgresql.conf
I, [2024-06-17T20:05:29.882366 #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-06-17T20:05:29.882849 #1]  INFO -- : Remplacement de (?-mix:^#local +replication +postgres +peer$) par local replication postgres  peer dans /etc/postgresql/13/main/pg_hba.conf
I, [2024-06-17T20:05:29.883136 #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-06-17T20:05:29.883399 #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-06-17T20:05:29.883784 #1]  INFO -- : > [ -f /root/install_postgres ] && /root/install_postgres && rm -f /root/install_postgres
I, [2024-06-17T20:05:30.872941 #1]  INFO -- : Génération des locales (cela peut prendre un moment)...
Génération terminée.

I, [2024-06-17T20:05:30.873177 #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-06-17T20:05:30.880739 #1]  INFO -- : Fichier > /usr/local/bin/create_db  chmod: +x  chown:
I, [2024-06-17T20:05:30.888318 #1]  INFO -- : Fichier > /var/lib/postgresql/take-database-backup  chmod: +x  chown: postgres:postgres
I, [2024-06-17T20:05:30.891309 #1]  INFO -- : Fichier > /var/spool/cron/crontabs/postgres  chmod:   chown:
I, [2024-06-17T20:05:30.891684 #1]  INFO -- : > sleep 5
2024-06-17 20:05:30.903 UTC [35] LOG:  démarrage de PostgreSQL 13.15 (Debian 13.15-1.pgdg110+1) sur x86_64-pc-linux-gnu, compilé par gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2024-06-17 20:05:30.903 UTC [35] LOG:  écoute sur l'adresse IPv4 "0.0.0.0", port 5432
2024-06-17 20:05:30.903 UTC [35] LOG:  écoute sur l'adresse IPv6 "::", port 5432
2024-06-17 20:05:30.905 UTC [35] LOG:  écoute sur le socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2024-06-17 20:05:30.909 UTC [44] LOG:  le système de bases de données a été interrompu ; dernière mise en service connue à 2024-06-17 19:29:07 UTC
2024-06-17 20:05:31.039 UTC [44] LOG:  identifiant de gestionnaire de ressources invalide dans l'enregistrement de point de contrôle principal
2024-06-17 20:05:31.039 UTC [44] PANIC:  impossible de localiser un enregistrement de point de contrôle valide
2024-06-17 20:05:31.156 UTC [35] LOG:  le processus de démarrage (PID 44) a été terminé par le signal 6 : Aborted
2024-06-17 20:05:31.156 UTC [35] LOG:  abandon du démarrage en raison d'un échec du processus de démarrage
2024-06-17 20:05:31.158 UTC [35] LOG:  le système de bases de données est arrêté
I, [2024-06-17T20:05:35.893980 #1]  INFO -- :
I, [2024-06-17T20:05:35.894220 #1]  INFO -- : > /usr/local/bin/create_db
createdb : erreur : impossible de se connecter à la base de données template1 : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
psql : erreur : la connexion au serveur sur le 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 ce socket ?
I, [2024-06-17T20:05:36.293371 #1]  INFO -- :
I, [2024-06-17T20:05:36.293556 #1]  INFO -- : > echo postgres installed!
I, [2024-06-17T20:05:36.295705 #1]  INFO -- : postgres installed!

I, [2024-06-17T20:05:36.300145 #1]  INFO -- : Fichier > /etc/service/redis/run  chmod: +x  chown:
I, [2024-06-17T20:05:36.304146 #1]  INFO -- : Fichier > /etc/service/redis/log/run  chmod: +x  chown:
I, [2024-06-17T20:05:36.308058 #1]  INFO -- : Fichier > /etc/runit/3.d/10-redis  chmod: +x  chown:
I, [2024-06-17T20:05:36.308242 #1]  INFO -- : Remplacement de daemonize yes par  dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.308835 #1]  INFO -- : Remplacement de (?-mix:^pidfile.*$) par  dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.309275 #1]  INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-06-17T20:05:36.311574 #1]  INFO -- :
I, [2024-06-17T20:05:36.312092 #1]  INFO -- : Remplacement de (?-mix:^logfile.*$) par logfile "" dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.312620 #1]  INFO -- : Remplacement de (?-mix:^bind .*$) par  dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.313252 #1]  INFO -- : Remplacement de (?-mix:^dir .*$) par dir /shared/redis_data dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.313912 #1]  INFO -- : Remplacement de (?-mix:^protected-mode yes) par protected-mode no dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.314555 #1]  INFO -- : Remplacement de # io-threads 4 par io-threads $redis_io_threads dans /etc/redis/redis.conf
I, [2024-06-17T20:05:36.315111 #1]  INFO -- : > echo redis installed
I, [2024-06-17T20:05:36.316949 #1]  INFO -- : redis installed

I, [2024-06-17T20:05:36.317229 #1]  INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-06-17T20:05:36.320521 #1]  INFO -- : logfile ""

I, [2024-06-17T20:05:36.320786 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-06-17T20:05:36.322093 #1]  INFO -- : > sleep 10
80:C 17 juin 2024 20:05:36.328 # oO0OoO0OoO0Oo Redis est en cours de démarrage oO0OoO0OoO0Oo
80:C 17 juin 2024 20:05:36.328 # Version Redis=7.0.7, bits=64, commit=00000000, modified=0, pid=80, juste démarré
80:C 17 juin 2024 20:05:36.328 # Configuration chargée
80:M 17 juin 2024 20:05:36.329 * horloge monotone : POSIX clock_gettime
80:M 17 juin 2024 20:05:36.329 * Mode d'exécution=standalone, port=6379.
80:M 17 juin 2024 20:05:36.330 # Serveur initialisé
80:M 17 juin 2024 20:05:36.330 # ATTENTION : La surallocation mémoire doit être activée ! Sans cela, une sauvegarde en arrière-plan ou une réplication peut échouer en cas de faible mémoire. Désactivée, elle peut également causer des échecs sans condition de faible mémoire, voir https://github.com/jemalloc/jemalloc/issues/1328. Pour corriger ce problème, ajoutez 'vm.overcommit_memory = 1' à /etc/sysctl.conf puis redémarrez ou exécutez la commande 'sysctl vm.overcommit_memory=1' pour que cela prenne effet.
80:M 17 juin 2024 20:05:36.330 * Chargement de RDB produit par la version 7.0.7
80:M 17 juin 2024 20:05:36.330 * Âge RDB 85 secondes
80:M 17 juin 2024 20:05:36.330 * Utilisation mémoire RDB lors de la création 28.57 Mo
80:M 17 juin 2024 20:05:36.386 * Chargement RDB terminé, clés chargées : 1564, clés expirées : 0.
80:M 17 juin 2024 20:05:36.386 * BDD chargée depuis le disque : 0.056 secondes
80:M 17 juin 2024 20:05:36.387 * Prêt à accepter les connexions
I, [2024-06-17T20:05:46.324759 #1]  INFO -- :
I, [2024-06-17T20:05:46.325005 #1]  INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-06-17T20:05:46.328667 #1]  INFO -- : thpoff is installed!

I, [2024-06-17T20:05:46.329166 #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-06-17T20:05:46.389306 #1]  INFO -- :
I, [2024-06-17T20:05:46.389569 #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-06-17T20:05:46.449542 #1]  INFO -- :
I, [2024-06-17T20:05:46.449779 #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-06-17T20:05:46.510364 #1]  INFO -- :
I, [2024-06-17T20:05:46.510701 #1]  INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-06-17T20:05:46.513382 #1]  INFO -- :
I, [2024-06-17T20:05:46.516280 #1]  INFO -- : Fichier > /etc/cron.d/anacron  chmod:   chown:
I, [2024-06-17T20:05:46.520613 #1]  INFO -- : Fichier > /etc/runit/1.d/copy-env  chmod: +x  chown:
I, [2024-06-17T20:05:46.524783 #1]  INFO -- : Fichier > /etc/service/unicorn/run  chmod: +x  chown:
I, [2024-06-17T20:05:46.528886 #1]  INFO -- : Fichier > /etc/service/nginx/run  chmod: +x  chown:
I, [2024-06-17T20:05:46.532947 #1]  INFO -- : Fichier > /etc/runit/3.d/01-nginx  chmod: +x  chown:
I, [2024-06-17T20:05:46.537154 #1]  INFO -- : Fichier > /etc/runit/3.d/02-unicorn  chmod: +x  chown:
I, [2024-06-17T20:05:46.537304 #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-06-17T20:05:46.538416 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Mise à jour des fichiers : 100 % (34508/34508), terminé.
I, [2024-06-17T20:05:49.281277 #1]  INFO -- : HEAD est maintenant à 62b1b69e8 UX : contraindre la largeur des transcriptions de chat dans les publications (#27288)

I, [2024-06-17T20:05:49.281370 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-06-17T20:05:49.401816 #1]  INFO -- :
I, [2024-06-17T20:05:49.401917 #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/add_filter_webhook_events_by_status
 - [deleted]             (none)     -> origin/add_lifecycle_rule_for_inventories
 - [deleted]             (none)     -> origin/application-route-actions
 - [deleted]             (none)     -> origin/avoid_unformatted_logs
 - [deleted]             (none)     -> origin/categories-modal-fix
 - [deleted]             (none)     -> origin/decorator-transforms-take-2
 - [deleted]             (none)     -> origin/dependabot/bundler/rails_failover-2.1.0
 - [deleted]             (none)     -> origin/dev/ember-58-upgrade-playground
 - [deleted]             (none)     -> origin/dev/rfc-value-modifier-plugin-api
 - [deleted]             (none)     -> origin/dev/standalone-home-logo-contents-component
 - [deleted]             (none)     -> origin/discourse-route-actions
 - [deleted]             (none)     -> origin/discourse-url-native-class
 - [deleted]             (none)     -> origin/fix-group-chat-member-count
 - [deleted]             (none)     -> origin/ghost-button
 - [deleted]             (none)     -> origin/issue/bulk-action-pm-fixes
 - [deleted]             (none)     -> origin/migrations-tooling/converter
 - [deleted]             (none)     -> origin/permalinks
 - [deleted]             (none)     -> origin/route-native-class
 - [deleted]             (none)     -> origin/search-result-consistency
 - [deleted]             (none)     -> origin/support_alternate_bucket_s3_inventory
 - [deleted]             (none)     -> origin/update-official-plugin-list
 - [deleted]             (none)     -> origin/user-posts-stream-native-class
 - [deleted]             (none)     -> origin/ux-account-disclaimer
   62b1b69e8..0a881a59d  main                    -> origin/main
 * [new branch]          0-a-fix-bread           -> origin/0-a-fix-bread
 * [new branch]          0-a-z-index-cards       -> origin/0-a-z-index-cards
 * [new branch]          add_mechanism_to_redeliver_all_webhook_events -> origin/add_mechanism_to_redeliver_all_webhook_events
 * [new branch]          add_mechanism_to_redeliver_all_webhook_events_wip -> origin/add_mechanism_to_redeliver_all_webhook_events_wip
 + 098e99e83...f82803b6a coco/generic-importer   -> origin/coco/generic-importer  (forced update)
 * [new branch]          dependabot/bundler/libv8-node-21.7.2.0 -> origin/dependabot/bundler/libv8-node-21.7.2.0
 * [new branch]          dependabot/bundler/oauth2-2.0.9 -> origin/dependabot/bundler/oauth2-2.0.9
 * [new branch]          dependabot/bundler/omniauth-2.1.2 -> origin/dependabot/bundler/omniauth-2.1.2
 * [new branch]          dependabot/bundler/omniauth-google-oauth2-1.1.2 -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2
 + 01982d4eb...58a828d0b dependabot/bundler/sqlite3-2.0.2 -> origin/dependabot/bundler/sqlite3-2.0.2  (forced update)
 * [new branch]          detect-default-readonly -> origin/detect-default-readonly
 * [new branch]          dev-strict-dynamic-csp-as-default -> origin/dev-strict-dynamic-csp-as-default
 * [new branch]          dev/add-behavior-transformers -> origin/dev/add-behavior-transformers
 * [new branch]          dev/backend-for-admin-config-area-about -> origin/dev/backend-for-admin-config-area-about
 * [new branch]          dev/ember-source-5.9.0-upgrade -> origin/dev/ember-source-5.9.0-upgrade
 * [new branch]          dev/enable-admin-notice-glimmer-header -> origin/dev/enable-admin-notice-glimmer-header
 * [new branch]          feature/requires-confirmation-site-settings -> origin/feature/requires-confirmation-site-settings
 + fc63df2f0...2f9e84fcf feature/user-fields-required-for-existing-users-2 -> origin/feature/user-fields-required-for-existing-users-2  (forced update)
 * [new branch]          fix-custom-homepage-preloading -> origin/fix-custom-homepage-preloading
 * [new branch]          fix-password-reset-security-key -> origin/fix-password-reset-security-key
 * [new branch]          fix-post-revision-tags-serializer -> origin/fix-post-revision-tags-serializer
   b3d6801e8..2f6fb64e7  formtoolkit             -> origin/formtoolkit
 * [new branch]          grant-admin-fetch-user  -> origin/grant-admin-fetch-user
 * [new branch]          issue/do-not-enforce-2fa-on-social-logins -> origin/issue/do-not-enforce-2fa-on-social-logins
 * [new branch]          jjaffeux-otp-validation -> origin/jjaffeux-otp-validation
 + b2b6b4468...66a18c7e8 loic-update-to-rails-7.1 -> origin/loic-update-to-rails-7.1  (forced update)
 * [new branch]          loic-use-messageformat-gem -> origin/loic-use-messageformat-gem
 * [new branch]          mt/converter            -> origin/mt/converter
 * [new branch]          remove-summarization    -> origin/remove-summarization
 * [new branch]          remove_hostname         -> origin/remove_hostname
   5558028f8..1ba06b544  stable                  -> origin/stable
   62b1b69e8..0a881a59d  tests-passed            -> origin/tests-passed
 * [new branch]          tobiaseigen-patch-3     -> origin/tobiaseigen-patch-3
I, [2024-06-17T20:05:50.898564 #1]  INFO -- :
I, [2024-06-17T20:05:50.898663 #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
'
Basculé vers une nouvelle branche 'tests-passed'
I, [2024-06-17T20:05:55.884175 #1]  INFO -- : La branche 'tests-passed' est configurée pour suivre la branche distante 'tests-passed' depuis 'origin'.

I, [2024-06-17T20:05:55.884535 #1]  INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-06-17T20:05:55.894338 #1]  INFO -- :
I, [2024-06-17T20:05:55.894469 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-06-17T20:05:55.897649 #1]  INFO -- :
I, [2024-06-17T20:05:55.897764 #1]  INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-06-17T20:05:55.900522 #1]  INFO -- :
I, [2024-06-17T20:05:55.900580 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-06-17T20:05:55.903311 #1]  INFO -- :
I, [2024-06-17T20:05:55.903367 #1]  INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-06-17T20:05:55.906029 #1]  INFO -- :
I, [2024-06-17T20:05:55.906106 #1]  INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-06-17T20:05:55.908562 #1]  INFO -- :
I, [2024-06-17T20:05:55.908628 #1]  INFO -- : > cd /var/www/discourse && mkdir -p                    /shared/log/rails
I, [2024-06-17T20:05:55.911254 #1]  INFO -- :
I, [2024-06-17T20:05:55.911320 #1]  INFO -- : > cd /var/www/discourse && bash -c "touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-06-17T20:05:55.915062 #1]  INFO -- :
I, [2024-06-17T20:05:55.915129 #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-06-17T20:05:55.918918 #1]  INFO -- :
I, [2024-06-17T20:05:55.918984 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/{uploads,backups}"
I, [2024-06-17T20:05:55.922966 #1]  INFO -- :
I, [2024-06-17T20:05:55.923030 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-06-17T20:05:55.926759 #1]  INFO -- :
I, [2024-06-17T20:05:55.926825 #1]  INFO -- : > cd /var/www/discourse && bash -c "mkdir -p           /shared/tmp/{backups,restores}"
I, [2024-06-17T20:05:55.930748 #1]  INFO -- :
I, [2024-06-17T20:05:55.930811 #1]  INFO -- : > cd /var/www/discourse && bash -c "ln    -s           /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-06-17T20:05:55.934520 #1]  INFO -- :
I, [2024-06-17T20:05:55.934587 #1]  INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-06-17T20:05:55.944626 #1]  INFO -- :
I, [2024-06-17T20:05:55.944690 #1]  INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-06-17T20:05:55.946289 #1]  INFO -- :
I, [2024-06-17T20:05:55.946439 #1]  INFO -- : Remplacement de # redis par sv start redis || exit 1 dans /etc/service/unicorn/run
I, [2024-06-17T20:05:55.949787 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonage dans 'docker_manager'...
I, [2024-06-17T20:05:57.519052 #1]  INFO -- :
I, [2024-06-17T20:05:57.519169 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Clonage dans 'discourse-solved'...
I, [2024-06-17T20:05:58.586122 #1]  INFO -- :
I, [2024-06-17T20:05:58.586236 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-yearly-review.git
Clonage dans 'discourse-yearly-review'...
I, [2024-06-17T20:05:59.653877 #1]  INFO -- :
I, [2024-06-17T20:05:59.653994 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Clonage dans 'discourse-reactions'...
I, [2024-06-17T20:06:00.752272 #1]  INFO -- :
I, [2024-06-17T20:06:00.752387 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-subscriptions.git
Clonage dans 'discourse-subscriptions'...
I, [2024-06-17T20:06:02.749499 #1]  INFO -- :
I, [2024-06-17T20:06:02.749617 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git
Clonage dans 'discourse-math'...
I, [2024-06-17T20:06:04.928875 #1]  INFO -- :
I, [2024-06-17T20:06:04.928993 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar.git
Clonage dans 'discourse-calendar'...
I, [2024-06-17T20:06:06.305663 #1]  INFO -- :
I, [2024-06-17T20:06:06.305777 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification.git
Clonage dans 'discourse-gamification'...
I, [2024-06-17T20:06:07.367400 #1]  INFO -- :
I, [2024-06-17T20:06:07.367541 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-post-voting.git
Clonage dans 'discourse-post-voting'...
I, [2024-06-17T20:06:08.497741 #1]  INFO -- :
I, [2024-06-17T20:06:08.497856 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-perspective-api.git
Clonage dans 'discourse-perspective-api'...
I, [2024-06-17T20:06:10.061673 #1]  INFO -- :
I, [2024-06-17T20:06:10.061794 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-ai.git
Clonage dans 'discourse-ai'...
I, [2024-06-17T20:06:12.766277 #1]  INFO -- :
I, [2024-06-17T20:06:12.766400 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-akismet.git
Clonage dans 'discourse-akismet'...
I, [2024-06-17T20:06:13.830126 #1]  INFO -- :
I, [2024-06-17T20:06:13.830245 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Clonage dans 'discourse-cakeday'...
I, [2024-06-17T20:06:14.871455 #1]  INFO -- :
I, [2024-06-17T20:06:14.871597 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-topic-voting.git
Clonage dans 'discourse-topic-voting'...
I, [2024-06-17T20:06:16.184643 #1]  INFO -- :
I, [2024-06-17T20:06:16.184781 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-saved-searches.git
Clonage dans 'discourse-saved-searches'...
I, [2024-06-17T20:06:17.212355 #1]  INFO -- :
I, [2024-06-17T20:06:17.212497 #1]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Clonage dans 'discourse-data-explorer'...
I, [2024-06-17T20:06:18.549058 #1]  INFO -- :
I, [2024-06-17T20:06:18.549408 #1]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-06-17T20:06:18.552470 #1]  INFO -- :
I, [2024-06-17T20:06:18.552775 #1]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-06-17T20:06:18.554900 #1]  INFO -- :
I, [2024-06-17T20:06:18.555164 #1]  INFO -- : > mkdir -p /var/nginx/cache
I, [2024-06-17T20:06:18.557532 #1]  INFO -- :
I, [2024-06-17T20:06:18.557658 #1]  INFO -- : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2024-06-17T20:06:18.557950 #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-06-17T20:06:18.558158 #1]  INFO -- : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2024-06-17T20:06:18.558751 #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-06-17T20:06:18.559200 #1]  INFO -- : Remplacement de (?-mix:worker_connections.+$) par worker_connections $nginx_worker_connections ; dans /etc/nginx/nginx.conf
I, [2024-06-17T20:06:18.559753 #1]  INFO -- : > echo "done configuring web"
I, [2024-06-17T20:06:18.561445 #1]  INFO -- : done configuring web

I, [2024-06-17T20:06:18.561803 #1]  INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-06-17T20:06:18.736893 #1]  INFO -- :
I, [2024-06-17T20:06:18.737122 #1]  INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-06-17T20:06:19.788839 #1]  INFO -- :
I, [2024-06-17T20:06:19.789378 #1]  INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
  rm -rf app/assets/javascripts/node_modules
fi
I, [2024-06-17T20:06:19.791580 #1]  INFO -- :
I, [2024-06-17T20:06:19.791775 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning " > @discourse/lint-configs@1.3.9" has incorrect peer dependency "ember-template-lint@6.0.0".
warning " > @glint/environment-ember-loose@1.4.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-645a2ee3-21a2-46c9-a5c2-6eeb8d7f95e9 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-645a2ee3-21a2-46c9-a5c2-6eeb8d7f95e9 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-645a2ee3-21a2-46c9-a5c2-6eeb8d7f95e9 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-645a2ee3-21a2-46c9-a5c2-6eeb8d7f95e9 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-645a2ee3-21a2-46c9-a5c2-6eeb8d7f95e9 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-645a2ee3-21a2-46c9-a5c2-6eeb8d7f95e9 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2024-06-17T20:07:52.168343 #1]  INFO -- : yarn install v1.22.22
[1/5] Validation de package.json...
[2/5] Résolution des packages...
[3/5] Récupération des packages...
[4/5] Liaison des dépendances...
[5/5] Construction de nouveaux packages...
$ ./app/assets/javascripts/run-patch-package && rm -rf app/assets/javascripts/node_modules
patch-package 8.0.0
Application des correctifs...
babel-plugin-debug-macros@0.3.4 ✔
content-tag@2.0.1 ✔
decorator-transforms@2.0.0 ✔
ember-this-fallback@0.4.0 (1 deprecation-name) ✔
ember-this-fallback@0.4.0 (2 themes) ✔
ember-this-fallback@0.4.0 (3 exclude-strict-mode) ✔
virtual-dom@2.1.1 ✔
Terminé en 84.90s.
yarn cache v1.22.22
success Cache effacé.
Terminé en 7.05s.

I, [2024-06-17T20:07:52.169234 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local deployment true'
I, [2024-06-17T20:07:52.402223 #1]  INFO -- :
I, [2024-06-17T20:07:52.402320 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle config --local without "development test"'
I, [2024-06-17T20:07:52.566141 #1]  INFO -- : Vous remplacez la valeur locale actuelle de without, qui est actuellement "test:development"

I, [2024-06-17T20:07:52.566223 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'
I, [2024-06-17T20:08:10.286076 #1]  INFO -- : Récupération des métadonnées du gem depuis https://rubygems.org/.........
Récupération de concurrent-ruby 1.3.3
Récupération de erubi 1.13.0
Récupération de builder 3.3.0
Récupération de public_suffix 5.1.0
Installation de erubi 1.13.0
Installation de builder 3.3.0
Installation de public_suffix 5.1.0
Récupération de ffi 1.17.0 (x86_64-linux-gnu)
Récupération de zeitwerk 2.6.16
Installation de concurrent-ruby 1.3.3
Récupération de nokogiri 1.16.6 (x86_64-linux)
Installation de zeitwerk 2.6.16
Récupération de google-protobuf 4.27.1 (x86_64-linux)
Installation de ffi 1.17.0 (x86_64-linux-gnu)
Installation de google-protobuf 4.27.1 (x86_64-linux)
Récupération de oj 3.16.4
Installation de oj 3.16.4 avec extensions natives
Récupération de rexml 3.3.0
Installation de rexml 3.3.0
Récupération de net-imap 0.4.13
Installation de net-imap 0.4.13
Récupération de sass-embedded 1.77.5 (x86_64-linux-gnu)
Récupération de activesupport 7.0.8.4
Installation de activesupport 7.0.8.4
Installation de nokogiri 1.16.6 (x86_64-linux)
Récupération de faraday 2.9.1
Installation de faraday 2.9.1
Installation de sass-embedded 1.77.5 (x86_64-linux-gnu)
Récupération de activemodel 7.0.8.4
Installation de activemodel 7.0.8.4
Récupération de activejob 7.0.8.4
Installation de activejob 7.0.8.4
Récupération de activerecord 7.0.8.4
Installation de activerecord 7.0.8.4
Récupération de ruby-readability 0.7.1
Installation de ruby-readability 0.7.1
Récupération de sanitize 6.1.1
Installation de sanitize 6.1.1
Récupération de actionview 7.0.8.4
Installation de actionview 7.0.8.4
Récupération de actionpack 7.0.8.4
Installation de actionpack 7.0.8.4
Récupération de actionmailer 7.0.8.4
Récupération de railties 7.0.8.4
Récupération de sprockets-rails 3.5.1
Installation de sprockets-rails 3.5.1
Installation de actionmailer 7.0.8.4
Installation de railties 7.0.8.4
Récupération de rails_failover 2.1.0
Installation de rails_failover 2.1.0
Bundle terminé ! 141 dépendances Gemfile, 174 gems installés maintenant.
Les gems dans les groupes 'development' et 'test' n'ont pas été installés.
Les gems bundled sont installés dans `./vendor/bundle`
1 gem installé dont vous dépendez directement recherche un financement.
  Exécutez `bundle fund` pour plus de détails

I, [2024-06-17T20:08:10.286825 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-06-17T20:08:13.104274 #1]  INFO -- : discourse-ai is already at latest compatible version
discourse-akismet is already at latest compatible version
discourse-cakeday is already at latest compatible version
discourse-calendar is already at latest compatible version
discourse-data-explorer is already at latest compatible version
discourse-gamification is already at latest compatible version
discourse-math is already at latest compatible version
discourse-perspective-api is already at latest compatible version
discourse-post-voting is already at latest compatible version
discourse-reactions is already at latest compatible version
discourse-saved-searches is already at latest compatible version
discourse-solved is already at latest compatible version
discourse-subscriptions is already at latest compatible version
discourse-topic-voting is already at latest compatible version
discourse-yearly-review is already at latest compatible version
docker_manager is already at latest compatible version

I, [2024-06-17T20:08:13.104663 #1]  INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-06-17T20:08:13.106739 #1]  INFO -- : > sleep 10
1002:C 17 Jun 2024 20:08:13.112 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1002:C 17 Jun 2024 20:08:13.112 # Redis version=7.0.7, bits=64, commit=00000000, modified=0, pid=1002, just started
1002:C 17 Jun 2024 20:08:13.112 # Configuration loaded
1002:M 17 Jun 2024 20:08:13.113 * monotonic clock: POSIX clock_gettime
1002:M 17 Jun 2024 20:08:13.114 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
1002:M 17 Jun 2024 20:08:13.114 # Failed listening on port 6379 (TCP), aborting.
I, [2024-06-17T20:08:23.109522 #1]  INFO -- :
I, [2024-06-17T20:08:23.109771 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
URGENT: Failed to initialize site default: ActiveRecord::ConnectionNotEstablished connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?

/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:87:in `rescue in new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:77:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_handling.rb:313:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_handling.rb:280:in `connection'
/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:303:in `block in refresh!'
/var/www/discourse/lib/site_setting_extension.rb:296:in `synchronize'
/var/www/discourse/lib/site_setting_extension.rb:296: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:8:in `block in safe_each_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.0.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.0.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.0.0/lib/rails_multisite/connection_management.rb:21:in `each_connection'
/var/www/discourse/lib/freedom_patches/rails_multisite.rb:6: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.0.8.4/lib/active_support/callbacks.rb:445:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:686:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:200:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:106:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/reloader.rb:88:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/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.0.8.4/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.3/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.6.16/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:506: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.3/lib/bundler/cli/exec.rb:58:in `load'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/cli/exec.rb:58:in `kernel_load'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/cli/exec.rb:23:in `run'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/cli.rb:451:in `exec'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/cli.rb:34:in `dispatch'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/cli.rb:28:in `start'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/exe/bundle:28:in `block in <top (required)>'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.3/exe/bundle:20:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
rake aborted!
ActiveRecord::ConnectionNotEstablished: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory (ActiveRecord::ConnectionNotEstablished)
        Is the server running locally and accepting connections on that socket?
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:87:in `rescue in new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:77:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_handling.rb:313:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_handling.rb:280:in `connection'
/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.0.8.4/lib/active_support/callbacks.rb:445:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:686:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:200:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:106:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/reloader.rb:88:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.3/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.6.16/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:506: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>'

Caused by:
PG::ConnectionBad: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory (PG::ConnectionBad)
        Is the server running locally and accepting connections on that 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.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:78:in `new_client'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_handling.rb:313:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.4/lib/active_record/connection_handling.rb:280:in `connection'
/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.0.8.4/lib/active_support/callbacks.rb:445:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:686:in `catch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:200:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:595:in `invoke_before'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/callbacks.rb:106:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.4/lib/active_support/reloader.rb:88:in `prepare!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:32:in `instance_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:32:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:61:in `block in run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/initializable.rb:60:in `run_initializers'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:372:in `initialize!'
/var/www/discourse/config/environment.rb:7:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.3/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.6.16/lib/zeitwerk/kernel.rb:34:in `require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:348:in `require_environment!'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.4/lib/rails/application.rb:506: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>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)
I, [2024-06-17T20:08:28.285205 #1]  INFO -- : gem install tokenizers -v 0.4.4 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
Successfully installed tokenizers-0.4.4-x86_64-linux
1 gem installed
gem install tiktoken_ruby -v 0.0.7 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
Successfully installed tiktoken_ruby-0.0.7-x86_64-linux
1 gem installed
gem install stripe -v 11.1.0 -i /var/www/discourse/plugins/discourse-subscriptions/gems/3.3.2 --no-document --ignore-dependencies --no-user-install
Successfully installed stripe-11.1.0
1 gem installed

I, [2024-06-17T20:08:28.285792 #1]  INFO -- : Terminating async processes
I, [2024-06-17T20:08:28.285906 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 80
80:signal-handler (1718654908) Received SIGTERM scheduling shutdown...
80:M 17 Jun 2024 20:08:28.333 # User requested shutdown...
80:M 17 Jun 2024 20:08:28.333 * Saving the final RDB snapshot before exiting.
80:M 17 Jun 2024 20:08:28.420 * DB saved on disk
80:M 17 Jun 2024 20:08:28.420 # 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 1005 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.
b8c78af762b408c68869407a8c9b2e9acb04ca531fbe1d14b25103c2c03acb48
  1. استخدمت Discourse Doctor لطباعة السجلات. 2. اعتقادي أن الخطأ متعلق بـ PostgreSQL، هل أفهم بشكل صحيح؟

لا أعرف السبب، لكن لحسن الحظ جربت مرة أخرى الآن وهو يعمل. أتساءل ما هو السبب الأساسي لهذا السلوك. هل يعرف أحد؟

لا أريد أن أمر بهذا مرة أخرى، لذلك إذا قام أي شخص بإعادة تثبيت Discourse بسبب خطأ واستعاد باستخدام ملف نسخة احتياطية. أود أيضًا أن أعرف ما إذا كان لديك نسخة احتياطية مخزنة في ملف محلي، محفوظة خارجيًا، وقمت بمزامنتها بعد إعادة التثبيت.