Bonjour, quelqu’un peut-il m’aider ?
J’ai mis à jour mon site depuis le tableau de bord d’administration, puis j’ai reçu une erreur 500.
J’ai ensuite mis à jour et reconstruit manuellement l’application via la console, comme suggéré dans ce sujet : Manually update Discourse and Docker image to latest
Cependant, il indique maintenant que le site est inaccessible (voir le code ci-dessous).
6a2d56837370: Pull complete
933885f686e0: Pull complete
aecf6df6a6bb: Pull complete
33fcdcfe61e2: Pull complete
12726a4d34c8: Pull complete
Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
Status: Downloaded newer image for discourse/base:2.0.20240825-0027
docker.io/discourse/base:2.0.20240825-0027
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 600 app
app
2.0.20240825-0027: Pulling from discourse/base
Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
Status: Image is up to date for discourse/base:2.0.20240825-0027
docker.io/discourse/base:2.0.20240825-0027
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-09-06T21:09:11.924233 #1] INFO -- : Lecture depuis stdin
I, [2024-09-06T21:09:11.948135 #1] INFO -- : Fichier > /etc/service/postgres/run chmod: +x chown:
I, [2024-09-06T21:09:11.954933 #1] INFO -- : Fichier > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-09-06T21:09:11.962398 #1] INFO -- : Fichier > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-09-06T21:09:11.970316 #1] INFO -- : Fichier > /root/install_postgres chmod: +x chown:
I, [2024-09-06T21:09:11.977886 #1] INFO -- : Fichier > /root/upgrade_postgres chmod: +x chown:
I, [2024-09-06T21:09:11.978953 #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-09-06T21:09:11.979881 #1] INFO -- : Remplacement de (?-mix:#?listen_addresses *=.*) par listen_addresses = '*' dans /etc/postgresql/13/main/postgresql.conf
I, [2024-09-06T21:09:11.980742 #1] INFO -- : Remplacement de (?-mix:#?synchronous_commit *=.*) par synchronous_commit = $db_synchronous_commit dans /etc/postgresql/13/main/postgresql.conf
I, [2024-09-06T21:09:11.981529 #1] INFO -- : Remplacement de (?-mix:#?shared_buffers *=.*) par shared_buffers = $db_shared_buffers dans /etc/postgresql/13/main/postgresql.conf
I, [2024-09-06T21:09:11.982197 #1] INFO -- : Remplacement de (?-mix:#?work_mem *=.*) par work_mem = $db_work_mem dans /etc/postgresql/13/main/postgresql.conf
I, [2024-09-06T21:09:11.982796 #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-09-06T21:09:11.983436 #1] INFO -- : Remplacement de (?-mix:#?checkpoint_segments *=.*) par checkpoint_segments = $db_checkpoint_segments dans /etc/postgresql/13/main/postgresql.conf
I, [2024-09-06T21:09:11.984111 #1] INFO -- : Remplacement de (?-mix:#?logging_collector *=.*) par logging_collector = $db_logging_collector dans /etc/postgresql/13/main/postgresql.conf
I, [2024-09-06T21:09:11.989137 #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-09-06T21:09:11.990088 #1] INFO -- : Remplacement de (?-mix:^#local +replication +postgres +peer$) par local replication postgres peer dans /etc/postgresql/13/main/pg_hba.conf
I, [2024-09-06T21:09:11.990775 #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-09-06T21:09:11.991225 #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-09-06T21:09:11.991785 #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-09-06T21:09:14.358212 #1] INFO -- : Génération des locales (cela peut prendre un moment)...
Génération terminée.
I, [2024-09-06T21:09:14.358757 #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-09-06T21:09:14.368506 #1] INFO -- : Fichier > /usr/local/bin/create_db chmod: +x chown:
I, [2024-09-06T21:09:14.379487 #1] INFO -- : Fichier > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2024-09-06T21:09:14.383790 #1] INFO -- : Fichier > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2024-09-06T21:09:14.384318 #1] INFO -- : > sleep 5
2024-09-06 21:09:14.499 UTC [36] LOG: démarrage de PostgreSQL 13.16 (Debian 13.16-1.pgdg120+1) sur x86_64-pc-linux-gnu, compilé par gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-09-06 21:09:14.501 UTC [36] LOG: écoute sur l'adresse IPv4 "0.0.0.0", port 5432
2024-09-06 21:09:14.501 UTC [36] LOG: écoute sur l'adresse IPv6 "::", port 5432
2024-09-06 21:09:14.507 UTC [36] LOG: écoute sur le socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2024-09-06 21:09:14.520 UTC [45] LOG: le système de bases de données a été arrêté le 2024-09-06 21:09:02 UTC
2024-09-06 21:09:14.536 UTC [36] LOG: le système de bases de données est prêt à accepter les connexions
I, [2024-09-06T21:09:19.389587 #1] INFO -- :
I, [2024-09-06T21:09:19.390196 #1] INFO -- : > /usr/local/bin/create_db
2024-09-06 21:09:19.488 UTC [55] postgres@postgres ERROR: la base de données "discourse" existe déjà
2024-09-06 21:09:19.488 UTC [55] postgres@postgres STATEMENT: CREATE DATABASE discourse;
erreur createdb: la création de la base de données a échoué : ERROR: la base de données "discourse" existe déjà
2024-09-06 21:09:19.562 UTC [58] postgres@discourse ERROR: le rôle "discourse" existe déjà
2024-09-06 21:09:19.562 UTC [58] postgres@discourse STATEMENT: create user discourse;
ERROR: le rôle "discourse" existe déjà
NOTICE: l'extension "hstore" existe déjà, ignorée
NOTICE: l'extension "pg_trgm" existe déjà, ignorée
NOTICE: l'extension "vector" existe déjà, ignorée
NOTICE: l'extension "hstore" existe déjà, ignorée
NOTICE: l'extension "pg_trgm" existe déjà, ignorée
NOTICE: l'extension "vector" existe déjà, ignorée
I, [2024-09-06T21:09:20.325777 #1] INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0
I, [2024-09-06T21:09:20.326007 #1] INFO -- : > echo postgres installed!
I, [2024-09-06T21:09:20.330120 #1] INFO -- : postgres installed!
I, [2024-09-06T21:09:20.337776 #1] INFO -- : Fichier > /etc/service/redis/run chmod: +x chown:
I, [2024-09-06T21:09:20.344536 #1] INFO -- : Fichier > /etc/service/redis/log/run chmod: +x chown:
I, [2024-09-06T21:09:20.351809 #1] INFO -- : Fichier > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2024-09-06T21:09:20.352682 #1] INFO -- : Remplacement de daemonize yes par dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.353953 #1] INFO -- : Remplacement de (?-mix:^pidfile.*$) par dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.355364 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2024-09-06T21:09:20.362199 #1] INFO -- :
I, [2024-09-06T21:09:20.363404 #1] INFO -- : Remplacement de (?-mix:^logfile.*$) par logfile "" dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.364252 #1] INFO -- : Remplacement de (?-mix:^bind .*$) par dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.365811 #1] INFO -- : Remplacement de (?-mix:^dir .*$) par dir /shared/redis_data dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.366936 #1] INFO -- : Remplacement de (?-mix:^protected-mode yes) par protected-mode no dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.368067 #1] INFO -- : Remplacement de # io-threads 4 par io-threads $redis_io_threads dans /etc/redis/redis.conf
I, [2024-09-06T21:09:20.369481 #1] INFO -- : > echo redis installed
I, [2024-09-06T21:09:20.372856 #1] INFO -- : redis installed
I, [2024-09-06T21:09:20.373572 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2024-09-06T21:09:20.379893 #1] INFO -- : logfile ""
I, [2024-09-06T21:09:20.380212 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-09-06T21:09:20.382757 #1] INFO -- : > sleep 10
104:C 06 Sep 2024 21:09:20.400 # oO0OoO0OoO0Oo Redis est en cours de démarrage oO0OoO0OoO0Oo
104:C 06 Sep 2024 21:09:20.401 # Version Redis=7.0.7, bits=64, commit=00000000, modified=0, pid=104, juste démarré
104:C 06 Sep 2024 21:09:20.401 # Configuration chargée
104:M 06 Sep 2024 21:09:20.402 * horloge monotone : POSIX clock_gettime
104:M 06 Sep 2024 21:09:20.404 * Mode d'exécution=standalone, port=6379.
104:M 06 Sep 2024 21:09:20.404 # Serveur initialisé
104:M 06 Sep 2024 21:09:20.405 # ATTENTION 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.
104:M 06 Sep 2024 21:09:20.406 * Chargement du RDB produit par la version 7.0.7
104:M 06 Sep 2024 21:09:20.406 * Âge du RDB 19 secondes
104:M 06 Sep 2024 21:09:20.406 * Utilisation mémoire du RDB lors de sa création 16.25 Mo
104:M 06 Sep 2024 21:09:20.464 * Chargement du RDB terminé, clés chargées : 3363, clés expirées : 2.
104:M 06 Sep 2024 21:09:20.465 * Base de données chargée depuis le disque : 0.059 secondes
104:M 06 Sep 2024 21:09:20.465 * Prêt à accepter les connexions
I, [2024-09-06T21:09:30.386531 #1] INFO -- :
I, [2024-09-06T21:09:30.387145 #1] INFO -- : > thpoff echo "thpoff is installed!"
I, [2024-09-06T21:09:30.392326 #1] INFO -- : thpoff is installed!
I, [2024-09-06T21:09:30.392856 #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-09-06T21:09:30.507128 #1] INFO -- :
I, [2024-09-06T21:09:30.507386 #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-09-06T21:09:30.595075 #1] INFO -- :
I, [2024-09-06T21:09:30.595318 #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-09-06T21:09:30.680859 #1] INFO -- :
I, [2024-09-06T21:09:30.681407 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2024-09-06T21:09:30.684425 #1] INFO -- :
I, [2024-09-06T21:09:30.687845 #1] INFO -- : Fichier > /etc/cron.d/anacron chmod: chown:
I, [2024-09-06T21:09:30.693618 #1] INFO -- : Fichier > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2024-09-06T21:09:30.699134 #1] INFO -- : Fichier > /etc/service/unicorn/run chmod: +x chown:
I, [2024-09-06T21:09:30.704312 #1] INFO -- : Fichier > /etc/service/nginx/run chmod: +x chown:
I, [2024-09-06T21:09:30.709358 #1] INFO -- : Fichier > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2024-09-06T21:09:30.713986 #1] INFO -- : Fichier > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2024-09-06T21:09:30.714205 #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-09-06T21:09:30.715803 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git reset --hard
Mise à jour des fichiers : 100% (34680/34680), terminé.
I, [2024-09-06T21:09:34.830734 #1] INFO -- : HEAD est maintenant à 274e18622 FIX: Video uploads sometimes hang indefinitely (#28523)
I, [2024-09-06T21:09:34.831387 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2024-09-06T21:09:35.010034 #1] INFO -- :
I, [2024-09-06T21:09:35.010752 #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
'
Depuis https://github.com/discourse/discourse
- [supprimé] (aucun) -> origin/0-a-gjs-ace
- [supprimé] (aucun) -> origin/better-respect-End-key-in-topics
- [supprimé] (aucun) -> origin/category-experts-approved-webhook-event
- [supprimé] (aucun) -> origin/chat-sound-respects-indicator-pref
- [supprimé] (aucun) -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.2
- [supprimé] (aucun) -> origin/dependabot/bundler/sass-embedded-1.77.8
- [supprimé] (aucun) -> origin/dependabot/bundler/sassc-embedded-1.77.8
- [supprimé] (aucun) -> origin/dependabot/npm_and_yarn/ember-cli-deprecation-workflow-3.0.2
- [supprimé] (aucun) -> origin/dependabot/npm_and_yarn/ember/test-helpers-4.0.1
- [supprimé] (aucun) -> origin/dependabot/npm_and_yarn/eslint-9.7.0
- [supprimé] (aucun) -> origin/dependabot/npm_and_yarn/sass-1.77.8
- [supprimé] (aucun) -> origin/detect-default-readonly
- [supprimé] (aucun) -> origin/dev/remove-header-widgets
- [supprimé] (aucun) -> origin/feature/site-text-result-selected-lang
- [supprimé] (aucun) -> origin/fix/add-user-to-user-directory-when-activated
- [supprimé] (aucun) -> origin/issue/fix-bookmark-clearing-reminder
- [supprimé] (aucun) -> origin/native-class-components-2
- [supprimé] (aucun) -> origin/native-class-components-3
- [supprimé] (aucun) -> origin/notifications_id_bigint
- [supprimé] (aucun) -> origin/prevent-desktop-notifications-on-mobile
- [supprimé] (aucun) -> origin/ux/admin-plugins-ui-guidelines
274e18622..deb751dfe main -> origin/main
* [nouvelle branche] 0-a-testem -> origin/0-a-testem
* [nouvelle branche] add-about-config-description -> origin/add-about-config-description
* [nouvelle branche] add-tag-group-log -> origin/add-tag-group-log
* [nouvelle branche] burning-uppy-mixins -> origin/burning-uppy-mixins
* [nouvelle branche] change-text-for-approved-post-webhook-event -> origin/change-text-for-approved-post-webhook-event
7f254be61..488081d93 coco/generic-importer -> origin/coco/generic-importer
* [nouvelle branche] dependabot/bundler/omniauth-google-oauth2-1.1.3 -> origin/dependabot/bundler/omniauth-google-oauth2-1.1.3
* [nouvelle branche] dependabot/bundler/sass-embedded-1.78.0 -> origin/dependabot/bundler/sass-embedded-1.78.0
* [nouvelle branche] dependabot/bundler/sassc-embedded-1.78.0 -> origin/dependabot/bundler/sassc-embedded-1.78.0
* [nouvelle branche] dependabot/bundler/test-prof-1.4.2 -> origin/dependabot/bundler/test-prof-1.4.2
* [nouvelle branche] dependabot/npm_and_yarn/sass-1.78.0 -> origin/dependabot/npm_and_yarn/sass-1.78.0
* [nouvelle branche] dev-faster-tests -> origin/dev-faster-tests
* [nouvelle branche] dev-migrate-user-password -> origin/dev-migrate-user-password
* [nouvelle branche] dev/add-outlet-to-categories-only -> origin/dev/add-outlet-to-categories-only
* [nouvelle branche] dev/bulk-import-chats -> origin/dev/bulk-import-chats
* [nouvelle branche] dev/clear-trackers-for-uninstalled-checks -> origin/dev/clear-trackers-for-uninstalled-checks
* [nouvelle branche] dev/glimmer-post-menu -> origin/dev/glimmer-post-menu
* [nouvelle branche] dev/port-outlet-wrapper-to-stable -> origin/dev/port-outlet-wrapper-to-stable
* [nouvelle branche] dev/remove-deprecated-respect-plugin-positional-argument -> origin/dev/remove-deprecated-respect-plugin-positional-argument
* [nouvelle branche] drop-old-notification-id-columns -> origin/drop-old-notification-id-columns
* [nouvelle branche] ember-native-class -> origin/ember-native-class
* [nouvelle branche] feature/add-user-to-topic_tags_changed-event -> origin/feature/add-user-to-topic_tags_changed-event
* [nouvelle branche] fontawesome-6-framework -> origin/fontawesome-6-framework
* [nouvelle branche] fontawesome-6-upgrade -> origin/fontawesome-6-upgrade
* [nouvelle branche] full-width-login-modal-mobile -> origin/full-width-login-modal-mobile
* [nouvelle branche] getting-started-fixes -> origin/getting-started-fixes
* [nouvelle branche] glint -> origin/glint
* [nouvelle branche] issue/hide-historical-bpv-data -> origin/issue/hide-historical-bpv-data
* [nouvelle branche] loic-refactor-services -> origin/loic-refactor-services
+ a25ac32bc...97bd38cf4 mt/converter -> origin/mt/converter (mise à jour forcée)
* [nouvelle branche] revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting
d3ad2ecda..381cf8548 stable -> origin/stable
274e18622..deb751dfe tests-passed -> origin/tests-passed
* [nouvelle branche] ux-1pw-ignore -> origin/ux-1pw-ignore
* [nouvelle branche] ux/convert-chat-plugin-ui -> origin/ux/convert-chat-plugin-ui
* [nouvelle branche] ux/getting-started-link-fix -> origin/ux/getting-started-link-fix
t [mise à jour tag] beta -> beta
t [mise à jour tag] latest-release -> latest-release
* [nouveau tag] v3.3.1 -> v3.3.1
* [nouveau tag] v3.4.0.beta1 -> v3.4.0.beta1
I, [2024-09-06T21:09:35.920328 #1] INFO -- :
I, [2024-09-06T21:09:35.920932 #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-09-06T21:09:40.293928 #1] INFO -- : branche 'tests-passed' configurée pour suivre 'origin/tests-passed'.
I, [2024-09-06T21:09:40.294182 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2024-09-06T21:09:40.307374 #1] INFO -- :
I, [2024-09-06T21:09:40.307665 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2024-09-06T21:09:40.313403 #1] INFO -- :
I, [2024-09-06T21:09:40.313653 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2024-09-06T21:09:40.317917 #1] INFO -- :
I, [2024-09-06T21:09:40.318150 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2024-09-06T21:09:40.323052 #1] INFO -- :
I, [2024-09-06T21:09:40.323368 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2024-09-06T21:09:40.328389 #1] INFO -- :
I, [2024-09-06T21:09:40.328931 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2024-09-06T21:09:40.333819 #1] INFO -- :
I, [2024-09-06T21:09:40.334031 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2024-09-06T21:09:40.338273 #1] INFO -- :
I, [2024-09-06T21:09:40.338499 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2024-09-06T21:09:40.344500 #1] INFO -- :
I, [2024-09-06T21:09:40.345175 #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-09-06T21:09:40.351488 #1] INFO -- :
I, [2024-09-06T21:09:40.351715 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2024-09-06T21:09:40.358369 #1] INFO -- :
I, [2024-09-06T21:09:40.358654 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2024-09-06T21:09:40.365209 #1] INFO -- :
I, [2024-09-06T21:09:40.365507 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2024-09-06T21:09:40.373210 #1] INFO -- :
I, [2024-09-06T21:09:40.373502 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2024-09-06T21:09:40.379740 #1] INFO -- :
I, [2024-09-06T21:09:40.379967 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2024-09-06T21:09:40.394263 #1] INFO -- :
I, [2024-09-06T21:09:40.394509 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2024-09-06T21:09:40.398136 #1] INFO -- :
I, [2024-09-06T21:09:40.398726 #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-09-06T21:09:40.401363 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonage dans 'docker_manager'...
I, [2024-09-06T21:09:41.375371 #1] INFO -- :
I, [2024-09-06T21:09:41.375948 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-ai.git
Clonage dans 'discourse-ai'...
I, [2024-09-06T21:09:43.378168 #1] INFO -- :
I, [2024-09-06T21:09:43.378418 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-cakeday.git
Clonage dans 'discourse-cakeday'...
I, [2024-09-06T21:09:44.053579 #1] INFO -- :
I, [2024-09-06T21:09:44.053738 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-chat-integration.git
Clonage dans 'discourse-chat-integration'...
I, [2024-09-06T21:09:44.792206 #1] INFO -- :
I, [2024-09-06T21:09:44.792555 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-checklist.git
Clonage dans 'discourse-checklist'...
I, [2024-09-06T21:09:45.423200 #1] INFO -- :
I, [2024-09-06T21:09:45.423548 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-docs.git
Clonage dans 'discourse-docs'...
I, [2024-09-06T21:09:46.034856 #1] INFO -- :
I, [2024-09-06T21:09:46.035347 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-footnote.git
Clonage dans 'discourse-footnote'...
I, [2024-09-06T21:09:46.600352 #1] INFO -- :
I, [2024-09-06T21:09:46.600812 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-github.git
Clonage dans 'discourse-github'...
I, [2024-09-06T21:09:47.223540 #1] INFO -- :
I, [2024-09-06T21:09:47.224027 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-graphviz.git
Clonage dans 'discourse-graphviz'...
I, [2024-09-06T21:09:47.957830 #1] INFO -- :
I, [2024-09-06T21:09:47.958247 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-math.git
Clonage dans 'discourse-math'...
I, [2024-09-06T21:09:49.398988 #1] INFO -- :
I, [2024-09-06T21:09:49.399439 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-patreon.git
Clonage dans 'discourse-patreon'...
I, [2024-09-06T21:09:50.128576 #1] INFO -- :
I, [2024-09-06T21:09:50.129164 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-reactions.git
Clonage dans 'discourse-reactions'...
I, [2024-09-06T21:09:50.837034 #1] INFO -- :
I, [2024-09-06T21:09:50.838015 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-solved.git
Clonage dans 'discourse-solved'...
I, [2024-09-06T21:09:51.505606 #1] INFO -- :
I, [2024-09-06T21:09:51.505770 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-spoiler-alert.git
Clonage dans 'discourse-spoiler-alert'...
I, [2024-09-06T21:09:52.085695 #1] INFO -- :
I, [2024-09-06T21:09:52.085899 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-subscriptions.git
Clonage dans 'discourse-subscriptions'...
I, [2024-09-06T21:09:52.965401 #1] INFO -- :
I, [2024-09-06T21:09:52.965884 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-yearly-review.git
Clonage dans 'discourse-yearly-review'...
I, [2024-09-06T21:09:53.543561 #1] INFO -- :
I, [2024-09-06T21:09:53.543968 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-adplugin.git
Clonage dans 'discourse-adplugin'...
I, [2024-09-06T21:09:54.268697 #1] INFO -- :
I, [2024-09-06T21:09:54.269203 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-akismet.git
Clonage dans 'discourse-akismet'...
I, [2024-09-06T21:09:54.896822 #1] INFO -- :
I, [2024-09-06T21:09:54.897057 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-assign.git
Clonage dans 'discourse-assign'...
I, [2024-09-06T21:09:55.731145 #1] INFO -- :
I, [2024-09-06T21:09:55.731358 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-automation.git
Clonage dans 'discourse-automation'...
I, [2024-09-06T21:09:56.428511 #1] INFO -- :
I, [2024-09-06T21:09:56.428721 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-calendar.git
Clonage dans 'discourse-calendar'...
I, [2024-09-06T21:09:57.419699 #1] INFO -- :
I, [2024-09-06T21:09:57.419945 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-data-explorer.git
Clonage dans 'discourse-data-explorer'...
I, [2024-09-06T21:09:58.127555 #1] INFO -- :
I, [2024-09-06T21:09:58.127808 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-gamification.git
Clonage dans 'discourse-gamification'...
I, [2024-09-06T21:09:58.795750 #1] INFO -- :
I, [2024-09-06T21:09:58.795963 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-policy.git
Clonage dans 'discourse-policy'...
I, [2024-09-06T21:09:59.406532 #1] INFO -- :
I, [2024-09-06T21:09:59.406741 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-templates.git
Clonage dans 'discourse-templates'...
I, [2024-09-06T21:10:00.118127 #1] INFO -- :
I, [2024-09-06T21:10:00.118374 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-topic-voting.git
Clonage dans 'discourse-topic-voting'...
I, [2024-09-06T21:10:00.793006 #1] INFO -- :
I, [2024-09-06T21:10:00.793758 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-user-notes.git
Clonage dans 'discourse-user-notes'...
I, [2024-09-06T21:10:01.363811 #1] INFO -- :
I, [2024-09-06T21:10:01.364096 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/discourse-zendesk-plugin.git
Clonage dans 'discourse-zendesk-plugin'...
I, [2024-09-06T21:10:02.106845 #1] INFO -- :
I, [2024-09-06T21:10:02.107632 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2024-09-06T21:10:02.119479 #1] INFO -- :
I, [2024-09-06T21:10:02.120380 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2024-09-06T21:10:02.126777 #1] INFO -- :
I, [2024-09-06T21:10:02.127871 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2024-09-06T21:10:02.131941 #1] INFO -- :
I, [2024-09-06T21:10:02.133199 #1] INFO -- : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2024-09-06T21:10:02.134392 #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-09-06T21:10:02.134854 #1] INFO -- : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2024-09-06T21:10:02.138746 #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-09-06T21:10:02.139920 #1] INFO -- : Remplacement de (?-mix:worker_connections.+$) par worker_connections $nginx_worker_connections ; dans /etc/nginx/nginx.conf
I, [2024-09-06T21:10:02.141496 #1] INFO -- : > echo "done configuring web"
I, [2024-09-06T21:10:02.148744 #1] INFO -- : done configuring web
I, [2024-09-06T21:10:02.149314 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2024-09-06T21:10:02.713680 #1] INFO -- :
I, [2024-09-06T21:10:02.713870 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2024-09-06T21:10:04.665686 #1] INFO -- :
I, [2024-09-06T21:10:04.666337 #1] INFO -- : > cd /var/www/discourse && if [ "tests-passed" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
I, [2024-09-06T21:10:04.670072 #1] INFO -- :
I, [2024-09-06T21:10:04.670248 #1] INFO -- : > cd /var/www/discourse && if [ -f yarn.lock ]; then
su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
su discourse -c 'CI=1 pnpm install --frozen-lockfile'
fi
I, [2024-09-06T21:10:40.806033 #1] INFO -- : Détection de node_modules géré par yarn. Exécution du nettoyage ponctuel...
nettoyage terminé
Portée : les 19 projets de l'espace de travail
Le fichier de verrouillage est à jour, l'étape de résolution est ignorée
Progression : 1 résolu, 0 réutilisé, 0 téléchargé, 0 ajouté
Paquets : +1760
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progression : 1760 résolus, 0 réutilisés, 0 téléchargés, 0 ajoutés
Progression : 1760 résolus, 0 réutilisés, 56 téléchargés, 48 ajoutés
Progression : 1760 résolus, 0 réutilisés, 188 téléchargés, 172 ajoutés
Progression : 1760 résolus, 0 réutilisés, 308 téléchargés, 295 ajoutés
Progression : 1760 résolus, 0 réutilisés, 372 téléchargés, 363 ajoutés
Progression : 1760 résolus, 0 réutilisés, 377 téléchargés, 366 ajoutés
Progression : 1760 résolus, 0 réutilisés, 462 téléchargés, 450 ajoutés
Progression : 1760 résolus, 0 réutilisés, 547 téléchargés, 536 ajoutés
Progression : 1760 résolus, 0 réutilisés, 606 téléchargés, 595 ajoutés
Progression : 1760 résolus, 0 réutilisés, 678 téléchargés, 667 ajoutés
Progression : 1760 résolus, 0 réutilisés, 838 téléchargés, 829 ajoutés
Progression : 1760 résolus, 0 réutilisés, 931 téléchargés, 916 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1057 téléchargés, 1048 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1147 téléchargés, 1136 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1165 téléchargés, 1152 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1180 téléchargés, 1164 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1219 téléchargés, 1210 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1239 téléchargés, 1225 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1389 téléchargés, 1380 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1438 téléchargés, 1433 ajoutés
Les paquets sont liés de manière rigide depuis le magasin adressé par contenu vers le magasin virtuel.
Le magasin adressé par contenu se trouve à : /home/discourse/.local/share/pnpm/store/v3
Le magasin virtuel se trouve à : node_modules/.pnpm
Progression : 1760 résolus, 0 réutilisés, 1464 téléchargés, 1452 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1533 téléchargés, 1519 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1558 téléchargés, 1546 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1651 téléchargés, 1637 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1725 téléchargés, 1721 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1759 téléchargés, 1759 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1760 téléchargés, 1759 ajoutés
Progression : 1760 résolus, 0 réutilisés, 1760 téléchargés, 1760 ajoutés, terminé
.../@fortawesome/fontawesome-free postinstall$ node attribution.js
.../core-js@3.33.0/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
.../core-js@2.6.12/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
.../node_modules/@swc/core postinstall$ node postinstall.js
.../esbuild@0.23.1/node_modules/esbuild postinstall$ node install.js
.../core-js@2.6.12/node_modules/core-js postinstall: Terminé
.../@fortawesome/fontawesome-free postinstall: Font Awesome Free 5.15.4 par @fontawesome - https://fontawesome.com
.../@fortawesome/fontawesome-free postinstall: Licence - https://fontawesome.com/license/free (Icônes : CC BY 4.0, Polices : SIL OFL 1.1, Code : Licence MIT)
.../@fortawesome/fontawesome-free postinstall: Terminé
.../core-js@3.33.0/node_modules/core-js postinstall: Terminé
.../esbuild@0.23.1/node_modules/esbuild postinstall: Terminé
.../node_modules/@swc/core postinstall: Terminé
.../node_modules/lefthook postinstall$ node postinstall.js
.../node_modules/lefthook postinstall: Terminé
dependances de développement :
+ @babel/plugin-proposal-decorators 7.24.7
+ @discourse/lint-configs 1.3.9
+ @discourse/moment-timezone-names-translations 1.0.0
+ @fortawesome/fontawesome-free 5.15.4
+ @glint/core 1.4.1-unstable.ff9ea6c
+ @glint/environment-ember-loose 1.4.1-unstable.ff9ea6c
+ @glint/environment-ember-template-imports 1.4.1-unstable.ff9ea6c
+ @glint/template 1.4.1-unstable.ff9ea6c
+ @mixer/parallel-prettier 2.0.3
+ @swc/core 1.7.23
+ chart.js 3.5.1
+ chartjs-plugin-datalabels 2.2.0
+ chrome-launcher 1.1.2
+ chrome-remote-interface 0.33.2
+ concurrently 8.2.2
+ ember-template-lint 6.0.0
+ esbuild 0.23.1
+ eslint 8.57.0
+ jsdoc 4.0.3
+ lefthook 1.7.15
+ licensee 10.0.0
+ lint-to-the-future 2.0.0
+ lint-to-the-future-ember-template 1.2.0
+ lint-to-the-future-eslint 2.0.1
+ magnific-popup 1.1.0
+ moment 2.30.1
+ moment-timezone 0.5.45
+ pikaday 1.8.2
+ prettier 2.8.8
+ puppeteer-core 23.3.0
+ squoosh 2.0.0
+ terser 5.31.6
+ typescript 5.5.4
Terminé en 35,8s
I, [2024-09-06T21:10:40.806440 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --jobs $(($(nproc) - 1)) --retry 3'
I, [2024-09-06T21:10:48.675147 #1] INFO -- : Récupération des métadonnées du gem depuis https://rubygems.org/........
Récupération de net-imap 0.4.16
Installation de net-imap 0.4.16
Récupération de css_parser 1.19.0
Installation de css_parser 1.19.0
Récupération de uri 0.13.1
Installation de uri 0.13.1
Récupération de faraday-net_http 3.3.0
Installation de faraday-net_http 3.3.0
Récupération de logger 1.6.1
Installation de logger 1.6.1
Récupération de faraday 2.11.0
Installation de faraday 2.11.0
Récupération de google-protobuf 4.28.0 (x86_64-linux)
Installation de google-protobuf 4.28.0 (x86_64-linux)
Récupération de reline 0.5.10
Installation de reline 0.5.10
Récupération de highline 3.1.1
Installation de highline 3.1.1
Récupération de thor 1.3.2
Installation de thor 1.3.2
Récupération de zeitwerk 2.6.18
Installation de zeitwerk 2.6.18
Récupération de omniauth-oauth 1.2.1
Installation de omniauth-oauth 1.2.1
Récupération de rexml 3.3.7
Installation de rexml 3.3.7
Récupération de ruby-readability 0.7.2
Installation de ruby-readability 0.7.2
Récupération de tzinfo-data 1.2024.2
Installation de tzinfo-data 1.2024.2
Bundle terminé ! 140 dépendances dans le Gemfile, 183 gems maintenant installés.
Les gems des groupes 'test' et 'development' 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-09-06T21:10:48.675878 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2024-09-06T21:10:53.593625 #1] INFO -- : discourse-adplugin est déjà à la dernière version compatible
discourse-ai est déjà à la dernière version compatible
discourse-akismet est déjà à la dernière version compatible
discourse-assign est déjà à la dernière version compatible
discourse-automation est déjà à la dernière version compatible
discourse-cakeday est déjà à la dernière version compatible
discourse-calendar est déjà à la dernière version compatible
discourse-chat-integration est déjà à la dernière version compatible
discourse-checklist est déjà à la dernière version compatible
discourse-data-explorer est déjà à la dernière version compatible
discourse-docs est déjà à la dernière version compatible
discourse-footnote est déjà à la dernière version compatible
discourse-gamification est déjà à la dernière version compatible
discourse-github est déjà à la dernière version compatible
discourse-graphviz est déjà à la dernière version compatible
discourse-math est déjà à la dernière version compatible
discourse-patreon est déjà à la dernière version compatible
discourse-policy est déjà à la dernière version compatible
discourse-reactions est déjà à la dernière version compatible
discourse-solved est déjà à la dernière version compatible
discourse-spoiler-alert est déjà à la dernière version compatible
discourse-subscriptions est déjà à la dernière version compatible
discourse-templates est déjà à la dernière version compatible
discourse-topic-voting est déjà à la dernière version compatible
discourse-user-notes est déjà à la dernière version compatible
discourse-yearly-review est déjà à la dernière version compatible
discourse-zendesk-plugin est déjà à la dernière version compatible
docker_manager est déjà à la dernière version compatible
I, [2024-09-06T21:10:53.593955 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2024-09-06T21:10:53.596275 #1] INFO -- : > sleep 10
860:C 06 Sep 2024 21:10:53.607 # oO0OoO0OoO0Oo Redis démarre oO0OoO0OoO0Oo
860:C 06 Sep 2024 21:10:53.607 # Version de Redis=7.0.7, bits=64, commit=00000000, modified=0, pid=860, vient de démarrer
860:C 06 Sep 2024 21:10:53.607 # Configuration chargée
860:M 06 Sep 2024 21:10:53.608 * horloge monotone : POSIX clock_gettime
860:M 06 Sep 2024 21:10:53.609 # Avertissement : Impossible de créer la socket TCP d'écoute du serveur *:6379 : bind : Adresse déjà utilisée
860:M 06 Sep 2024 21:10:53.609 # Échec de l'écoute sur le port 6379 (TCP), annulation.
I, [2024-09-06T21:11:03.599469 #1] INFO -- :
I, [2024-09-06T21:11:03.600184 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
2024-09-06 21:11:19.267 UTC [988] discourse@discourse ERREUR : la relation "user_required_fields_versions" existe déjà
2024-09-06 21:11:19.267 UTC [988] discourse@discourse ÉNONCÉ : CREATE TABLE "user_required_fields_versions" ("id" bigserial primary key, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
rake annulé !
StandardError : Une erreur s'est produite, celle-ci et toutes les migrations ultérieures ont été annulées : (StandardError)
PG::DuplicateTable : ERREUR : la relation "user_required_fields_versions" existe déjà
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:55:in `block (2 levels) in raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1027:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:999:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `block in raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1142:in `log'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:53:in `raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:521:in `internal_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:131:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/query_cache.rb:25:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:304:in `create_table'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/default_strategy.rb:10:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1047:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1036:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:566:in `create_table'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/compatibility.rb:115:in `create_table'
/var/www/discourse/db/migrate/20240531053226_create_user_required_fields_version.rb:5:in `change'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate'
/var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:234:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Caused by:
ActiveRecord::StatementInvalid: PG::DuplicateTable: ERROR: relation "user_required_fields_versions" already exists (ActiveRecord::StatementInvalid)
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:55:in `block (2 levels) in raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1027:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:999:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `block in raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1142:in `log'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:53:in `raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:521:in `internal_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:131:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/query_cache.rb:25:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:304:in `create_table'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/default_strategy.rb:10:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1047:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1036:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:566:in `create_table'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/compatibility.rb:115:in `create_table'
/var/www/discourse/db/migrate/20240531053226_create_user_required_fields_version.rb:5:in `change'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate'
/var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:234:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Caused by:
PG::DuplicateTable: ERROR: relation "user_required_fields_versions" already exists (PG::DuplicateTable)
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rack-mini-profiler-3.3.1/lib/patches/db/pg.rb:110:in `async_exec'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:55:in `block (2 levels) in raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1027:in `block in with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:999:in `with_raw_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `block in raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract_adapter.rb:1142:in `log'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:53:in `raw_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:521:in `internal_execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:131:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/query_cache.rb:25:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `execute'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:304:in `create_table'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/default_strategy.rb:10:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1047:in `block in method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `block in say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1017:in `say_with_time'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1036:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:566:in `create_table'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration/compatibility.rb:115:in `create_table'
/var/www/discourse/db/migrate/20240531053226_create_user_required_fields_version.rb:5:in `change'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:986:in `exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration'
/var/www/discourse/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:970:in `block (2 levels) in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:969:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:227:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:968:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1178:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1529:in `block in execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:535:in `block in within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/concurrency/null_lock.rb:9:in `synchronize'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:532:in `within_new_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:344:in `transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1580:in `ddl_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1528:in `execute_migration_in_transaction'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `each'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1503:in `migrate_without_lock'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `block in migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1600:in `with_advisory_lock'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1448:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1274:in `up'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/migration.rb:1249:in `migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/tasks/database_tasks.rb:251:in `migrate'
/var/www/discourse/lib/tasks/db.rake:259:in `block (2 levels) in <main>'
/var/www/discourse/lib/distributed_mutex.rb:53:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:49:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:34:in `synchronize'
/var/www/discourse/lib/tasks/db.rake:234:in `block in <main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I, [2024-09-06T21:11:19.326623 #1] INFO -- : gem install tokenizers -v 0.4.4 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.4 --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.9 -i /var/www/discourse/plugins/discourse-ai/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed tiktoken_ruby-0.0.9-x86_64-linux
1 gem installed
gem install sawyer -v 0.9.2 -i /var/www/discourse/plugins/discourse-github/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed sawyer-0.9.2
1 gem installed
gem install octokit -v 5.6.1 -i /var/www/discourse/plugins/discourse-github/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed octokit-5.6.1
1 gem installed
gem install stripe -v 11.1.0 -i /var/www/discourse/plugins/discourse-subscriptions/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed stripe-11.1.0
1 gem installed
gem install inflection -v 1.0.0 -i /var/www/discourse/plugins/discourse-zendesk-plugin/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed inflection-1.0.0
1 gem installed
gem install multipart-post -v 2.2.3 -i /var/www/discourse/plugins/discourse-zendesk-plugin/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed multipart-post-2.2.3
1 gem installed
gem install faraday-multipart -v 1.0.4 -i /var/www/discourse/plugins/discourse-zendesk-plugin/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed faraday-multipart-1.0.4
1 gem installed
gem install zendesk_api -v 1.38.0.rc1 -i /var/www/discourse/plugins/discourse-zendesk-plugin/gems/3.3.4 --no-document --ignore-dependencies --no-user-install
Successfully installed zendesk_api-1.38.0.rc1
1 gem installed
== 20240416105733 AddRankToPollVotes: migrating ===============================
-- add_column(:poll_votes, :rank, :integer, {:null=>false, :default=>0})
-> 0.0075s
== 20240416105733 AddRankToPollVotes: migrated (0.0127s) ======================
== 20240528132059 AddCompanionUserToLlmModel: migrating =======================
-- add_column(:llm_models, :user_id, :integer)
-> 0.0020s
-- add_column(:llm_models, :enabled_chat_bot, :boolean, {:null=>false, :default=>false})
-> 0.0016s
== 20240528132059 AddCompanionUserToLlmModel: migrated (0.0044s) ==============
== 20240528144216 SeedOpenAiModels: migrating =================================
== 20240528144216 SeedOpenAiModels: migrated (0.0013s) ========================
== 20240531053226 CreateUserRequiredFieldsVersion: migrating ==================
-- create_table(:user_required_fields_versions)
I, [2024-09-06T21:11:19.327304 #1] INFO -- : Terminating async processes
I, [2024-09-06T21:11:19.327364 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 36
I, [2024-09-06T21:11:19.327410 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 104
2024-09-06 21:11:19.327 UTC [36] LOG: received fast shutdown request
104:signal-handler (1725657079) Received SIGTERM scheduling shutdown...
2024-09-06 21:11:19.332 UTC [36] LOG: aborting any active transactions
2024-09-06 21:11:19.335 UTC [36] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
2024-09-06 21:11:19.341 UTC [46] LOG: shutting down
104:M 06 Sep 2024 21:11:19.372 # User requested shutdown...
104:M 06 Sep 2024 21:11:19.373 * Saving the final RDB snapshot before exiting.
2024-09-06 21:11:19.379 UTC [36] LOG: database system is shut down
104:M 06 Sep 2024 21:11:19.464 * DB saved on disk
104:M 06 Sep 2024 21:11:19.464 # 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 864 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.
11de27f0f4b363f5d4cce624f33cf6cfa9955eee9287915186f907810b3d19f5
root@hub:/var/discourse# ^C
root@hub:/var/discourse#
Je ne suis pas développeur et la personne qui m’aide habituellement n’est pas joignable pendant la semaine prochaine, donc je ne sais vraiment pas quoi essayer d’autre.
Tout aide serait vraiment appréciée

