Merci pour l’indice à tous, cela n’était pas clair en regardant le message d’erreur. J’ai maintenant mis à jour le système d’exploitation (il est effectivement prévu de passer à un nouveau système dans un avenir proche) et j’utilise maintenant la dernière version de docker :
root@vtdiscourse /var/discourse# docker --version
Docker version 27.5.1, build 9f9e405
La première reconstruction, incluant la mise à jour de PostgreSQL, s’est bien déroulée autant que j’ai pu le constater, mais la deuxième reconstruction de l’application échoue à nouveau :
root@vtdiscourse /var/discourse# ./launcher rebuild app
Architecture x86_64 détectée.
Vérification que le launcher est à jour
Récupération de l'origine
Le launcher est à jour
Arrêt de l'ancien conteneur
+ /usr/bin/docker stop -t 600 app
app
2.0.20250129-0720: Tirage depuis discourse/base
Digestion : sha256:01b8516e5504c0e9bc3707773015ff4407be03a89154194ff3b5b8699291bc26
Statut : L'image est à jour pour discourse/base:2.0.20250129-0720
docker.io/discourse/base:2.0.20250129-0720
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2025-02-07T12:24:01.077847 #1] INFO -- : Lecture depuis stdin
I, [2025-02-07T12:24:01.088712 #1] INFO -- : Fichier > /etc/service/postgres/run chmod: +x chown:
I, [2025-02-07T12:24:01.092158 #1] INFO -- : Fichier > /etc/service/postgres/log/run chmod: +x chown:
I, [2025-02-07T12:24:01.095399 #1] INFO -- : Fichier > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2025-02-07T12:24:01.098725 #1] INFO -- : Fichier > /root/install_postgres chmod: +x chown:
I, [2025-02-07T12:24:01.101897 #1] INFO -- : Fichier > /root/upgrade_postgres chmod: +x chown:
I, [2025-02-07T12:24:01.102188 #1] INFO -- : Remplacement de data_directory = '/var/lib/postgresql/15/main' par data_directory = '/shared/postgres_data' dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.375689 #1] INFO -- : Remplacement de (?-mix:#?listen_addresses *=.*) par listen_addresses = '*' dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376033 #1] INFO -- : Remplacement de (?-mix:#?synchronous_commit *=.*) par synchronous_commit = $db_synchronous_commit dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376462 #1] INFO -- : Remplacement de (?-mix:#?shared_buffers *=.*) par shared_buffers = $db_shared_buffers dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.376899 #1] INFO -- : Remplacement de (?-mix:#?work_mem *=.*) par work_mem = $db_work_mem dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.377215 #1] INFO -- : Remplacement de (?-mix:#?default_text_search_config *=.*) par default_text_search_config = '$db_default_text_search_config' dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.377590 #1] INFO -- : Remplacement de (?-mix:#?checkpoint_segments *=.*) par checkpoint_segments = $db_checkpoint_segments dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.381222 #1] INFO -- : Remplacement de (?-mix:#?logging_collector *=.*) par logging_collector = $db_logging_collector dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.381793 #1] INFO -- : Remplacement de (?-mix:#?log_min_duration_statement *=.*) par log_min_duration_statement = $db_log_min_duration_statement dans /etc/postgresql/15/main/postgresql.conf
I, [2025-02-07T12:24:01.382182 #1] INFO -- : Remplacement de (?-mix:^#local +replication +postgres +peer$) par local replication postgres peer dans /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.608937 #1] INFO -- : Remplacement de (?-mix:^host.*all.*all.*127.*$) par host all all 0.0.0.0/0 md5 dans /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.609239 #1] INFO -- : Remplacement de (?-mix:^host.*all.*all.*::1\/128.*$) par host all all ::/0 md5 dans /etc/postgresql/15/main/pg_hba.conf
I, [2025-02-07T12:24:01.609523 #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, [2025-02-07T12:27:08.142917 #1] INFO -- : Génération des locales (cela peut prendre un moment)...
en_US.UTF-8... terminé
Génération terminée.
I, [2025-02-07T12:27:08.143547 #1] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main
I, [2025-02-07T12:27:08.149982 #1] INFO -- : Fichier > /usr/local/bin/create_db chmod: +x chown:
I, [2025-02-07T12:27:08.155367 #1] INFO -- : Fichier > /var/lib/postgresql/take-database-backup chmod: +x chown: postgres:postgres
I, [2025-02-07T12:27:08.158186 #1] INFO -- : Fichier > /var/spool/cron/crontabs/postgres chmod: chown:
I, [2025-02-07T12:27:08.158385 #1] INFO -- : > sleep 5
2025-02-07 12:27:08.206 UTC [42] LOG: démarrage de PostgreSQL 15.10 (Debian 15.10-1.pgdg120+1) sur x86_64-pc-linux-gnu, compilé par gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-02-07 12:27:08.206 UTC [42] LOG: écoute sur l'adresse IPv4 "0.0.0.0", port 5432
2025-02-07 12:27:08.206 UTC [42] LOG: écoute sur l'adresse IPv6 "::", port 5432
2025-02-07 12:27:08.219 UTC [42] LOG: écoute sur le socket Unix "/var/run/postgresql/.s.PGSQL.5432"
2025-02-07 12:27:08.237 UTC [53] LOG: le système de bases de données a été arrêté le 2025-02-07 12:20:09 UTC
2025-02-07 12:27:08.248 UTC [42] LOG: le système de bases de données est prêt à accepter les connexions
I, [2025-02-07T12:27:13.160322 #1] INFO -- :
I, [2025-02-07T12:27:13.160466 #1] INFO -- : > /usr/local/bin/create_db
2025-02-07 12:27:13.224 UTC [60] postgres@postgres ERROR: la base de données « discourse » existe déjà
2025-02-07 12:27:13.224 UTC [60] 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à
2025-02-07 12:27:13.284 UTC [63] postgres@discourse ERROR: le rôle « discourse » existe déjà
2025-02-07 12:27:13.284 UTC [63] 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: la version « 0.8.0 » de l'extension « vector » est déjà installé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
NOTICE: la version « 0.8.0 » de l'extension « vector » est déjà installée
I, [2025-02-07T12:27:13.896203 #1] INFO -- : GRANT
ALTER SCHEMA
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
CREATE EXTENSION
CREATE EXTENSION
CREATE EXTENSION
ALTER EXTENSION
UPDATE 0
I, [2025-02-07T12:27:13.896314 #1] INFO -- : > echo postgres installed!
I, [2025-02-07T12:27:13.898502 #1] INFO -- : postgres installed!
I, [2025-02-07T12:27:13.901863 #1] INFO -- : Fichier > /etc/service/redis/run chmod: +x chown:
I, [2025-02-07T12:27:13.905158 #1] INFO -- : Fichier > /etc/service/redis/log/run chmod: +x chown:
I, [2025-02-07T12:27:13.908457 #1] INFO -- : Fichier > /etc/runit/3.d/10-redis chmod: +x chown:
I, [2025-02-07T12:27:13.908904 #1] INFO -- : Remplacement de daemonize yes par dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.089263 #1] INFO -- : Remplacement de (?-mix:^pidfile.*$) par dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.089723 #1] INFO -- : > install -d -m 0755 -o redis -g redis /shared/redis_data
I, [2025-02-07T12:27:14.092105 #1] INFO -- :
I, [2025-02-07T12:27:14.092424 #1] INFO -- : Remplacement de (?-mix:^logfile.*$) par logfile "" dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.092948 #1] INFO -- : Remplacement de (?-mix:^bind .*$) par dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.093393 #1] INFO -- : Remplacement de (?-mix:^dir .*$) par dir /shared/redis_data dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.093851 #1] INFO -- : Remplacement de (?-mix:^protected-mode yes) par protected-mode no dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.094231 #1] INFO -- : Remplacement de # io-threads 4 par io-threads $redis_io_threads dans /etc/redis/redis.conf
I, [2025-02-07T12:27:14.094574 #1] INFO -- : > echo redis installed
I, [2025-02-07T12:27:14.095877 #1] INFO -- : redis installed
I, [2025-02-07T12:27:14.096020 #1] INFO -- : > cat /etc/redis/redis.conf | grep logfile
I, [2025-02-07T12:27:14.098793 #1] INFO -- : logfile ""
I, [2025-02-07T12:27:14.098926 #1] INFO -- : > exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
I, [2025-02-07T12:27:14.100074 #1] INFO -- : > sleep 10
109:C 07 févr. 2025 12:27:14.111 # oO0OoO0OoO0Oo Redis est en cours de démarrage oO0OoO0OoO0Oo
109:C 07 févr. 2025 12:27:14.111 # Version Redis=7.0.15, bits=64, commit=00000000, modified=0, pid=109, vient de démarrer
109:C 07 févr. 2025 12:27:14.111 # Configuration chargée
109:M 07 févr. 2025 12:27:14.111 * horloge monotone : POSIX clock_gettime
109:M 07 févr. 2025 12:27:14.112 * Mode d'exécution=standalone, port=6379.
109:M 07 févr. 2025 12:27:14.112 # Serveur initialisé
109:M 07 févr. 2025 12:27:14.112 # AVERTISSEMENT La surcommission 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. Si elle est désactivée, elle peut également provoquer des échecs sans condition de faible mémoire, voir https://github.com/jemalloc/jemalloc/issues/1328. Pour résoudre 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.
109:M 07 févr. 2025 12:27:14.113 * Chargement du RDB produit par la version 7.0.15
109:M 07 févr. 2025 12:27:14.113 * Âge du RDB 425 secondes
109:M 07 févr. 2025 12:27:14.113 * Utilisation mémoire du RDB lors de sa création 2.78 Mo
109:M 07 févr. 2025 12:27:14.120 * Chargement du RDB terminé, clés chargées : 1629, clés expirées : 1.
109:M 07 févr. 2025 12:27:14.120 * Base de données chargée depuis le disque : 0.007 secondes
109:M 07 févr. 2025 12:27:14.120 * Prêt à accepter les connexions
I, [2025-02-07T12:27:24.101766 #1] INFO -- :
I, [2025-02-07T12:27:24.101989 #1] INFO -- : > thpoff echo "thpoff est installé !"
I, [2025-02-07T12:27:24.104708 #1] INFO -- : thpoff est installé !
I, [2025-02-07T12:27:24.105058 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Abandon ! Le courriel n'est pas configuré !"; exit 1; end'
I, [2025-02-07T12:27:24.198364 #1] INFO -- :
I, [2025-02-07T12:27:24.198510 #1] INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Abandon ! Le domaine n'est pas configuré !"; exit 1; end'
I, [2025-02-07T12:27:24.290864 #1] INFO -- :
I, [2025-02-07T12:27:24.291001 #1] INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Abandon ! Le CDN doit avoir un protocole spécifié. Une fois corrigé, vous devriez rebake vos messages maintenant pour corriger tous les messages."; exit 1; end'
I, [2025-02-07T12:27:24.383477 #1] INFO -- :
I, [2025-02-07T12:27:24.383659 #1] INFO -- : > rm -f /etc/cron.d/anacron
I, [2025-02-07T12:27:24.385641 #1] INFO -- :
I, [2025-02-07T12:27:24.387673 #1] INFO -- : Fichier > /etc/cron.d/anacron chmod: chown:
I, [2025-02-07T12:27:24.391186 #1] INFO -- : Fichier > /etc/runit/1.d/copy-env chmod: +x chown:
I, [2025-02-07T12:27:24.394676 #1] INFO -- : Fichier > /etc/service/unicorn/run chmod: +x chown:
I, [2025-02-07T12:27:24.397954 #1] INFO -- : Fichier > /etc/service/nginx/run chmod: +x chown:
I, [2025-02-07T12:27:24.401316 #1] INFO -- : Fichier > /etc/runit/3.d/01-nginx chmod: +x chown:
I, [2025-02-07T12:27:24.404581 #1] INFO -- : Fichier > /etc/runit/3.d/02-unicorn chmod: +x chown:
I, [2025-02-07T12:27:24.404732 #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, [2025-02-07T12:27:24.406272 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git clean -f
I, [2025-02-07T12:27:24.638997 #1] INFO -- :
I, [2025-02-07T12:27:24.639147 #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-app-events-revolution
- [supprimé] (aucun) -> origin/0-ember-bump-fix-modal
- [supprimé] (aucun) -> origin/0-polls-still
- [supprimé] (aucun) -> origin/0-rename-details
- [supprimé] (aucun) -> origin/0-simpler-placeholder
- [supprimé] (aucun) -> origin/0-store-bump
- [supprimé] (aucun) -> origin/0-tooltip
- [supprimé] (aucun) -> origin/0-user-status
- [supprimé] (aucun) -> origin/add-message-builder-modifier-3
- [supprimé] (aucun) -> origin/add-shift-detect
- [supprimé] (aucun) -> origin/add-shortcuts
- [supprimé] (aucun) -> origin/add-signal-to-notifications-template
- [supprimé] (aucun) -> origin/after-post-outlet
- [supprimé] (aucun) -> origin/again-support-load-more-btn
- [supprimé] (aucun) -> origin/allow-overriding-sidebar-my-posts-icon
- [supprimé] (aucun) -> origin/array-custom-field-order
- [supprimé] (aucun) -> origin/async-category-link
- [supprimé] (aucun) -> origin/bump-eslint-config
- [supprimé] (aucun) -> origin/carsick-patch-1
- [supprimé] (aucun) -> origin/cat-mod-groups
- [supprimé] (aucun) -> origin/category-experts-approved-webhook-event-wip
- [supprimé] (aucun) -> origin/chat-github-onebox
- [supprimé] (aucun) -> origin/chat-uppy-upload
- [supprimé] (aucun) -> origin/conditional-summary-box
- [supprimé] (aucun) -> origin/custom-field-store-cleanup
- [supprimé] (aucun) -> origin/d-object
- [supprimé] (aucun) -> origin/defer-button-action
- [supprimé] (aucun) -> origin/demote-summarize-ai-button
- [supprimé] (aucun) -> origin/dependabot/npm_and_yarn/uppy-b578ad6dea
- [supprimé] (aucun) -> origin/dev-fail-tests-on-fa6-deprecated-icons-from-svg-sprite-rb
- [supprimé] (aucun) -> origin/dev-faster-tests
- [supprimé] (aucun) -> origin/dev-migrate-user-passwords
- [supprimé] (aucun) -> origin/dev-refactor-username-validation-mixin
- [supprimé] (aucun) -> origin/dev/add-a-reference-column-to-notifications
- [supprimé] (aucun) -> origin/dev/advanced-search-custom-in-special
- [supprimé] (aucun) -> origin/dev/automation-scriptable-add-with-class
- [supprimé] (aucun) -> origin/dev/default-plugin-config-pages
- [supprimé] (aucun) -> origin/dev/drop-ignore-chat_channels_last_message_sent_at
- [supprimé] (aucun) -> origin/dev/port-outlet-wrapper-to-stable
- [supprimé] (aucun) -> origin/dev/refactor-uploads-importer
- [supprimé] (aucun) -> origin/dev/remove-deprecated-respect-plugin-positional-argument
- [supprimé] (aucun) -> origin/dev/sidebar-sections-collapse-expand-transformer-events
- [supprimé] (aucun) -> origin/dev/sidebar-subsections
- [supprimé] (aucun) -> origin/dev/third-party-breadcrumbs
- [supprimé] (aucun) -> origin/dev_add_query_param
- [supprimé] (aucun) -> origin/dev_lazy_load_categories_tests
- [supprimé] (aucun) -> origin/dev_update_category_position
- [supprimé] (aucun) -> origin/docs-publishing-mvp
- [supprimé] (aucun) -> origin/drawer-composer-positioning
- [supprimé] (aucun) -> origin/ember-4
- [supprimé] (aucun) -> origin/expand-allowed-custom-emoji-images-types
- [supprimé] (aucun) -> origin/extra-js-revert
- [supprimé] (aucun) -> origin/feature/add-user-to-topic_tags_changed-event
- [supprimé] (aucun) -> origin/feature/custom-fields-for-existing-users
- [supprimé] (aucun) -> origin/feature/enable-chat-with-dms-only
- [supprimé] (aucun) -> origin/feature/light-dark-mode-switcher
- [supprimé] (aucun) -> origin/feature/paste-upload-on-first-upload-input-templates
- [supprimé] (aucun) -> origin/feature/show-note-bookmark-notif
- [supprimé] (aucun) -> origin/feature/show-status-on-mentions-when-user-havent-used-autocomplete
- [supprimé] (aucun) -> origin/feature_pm_editor
- [supprimé] (aucun) -> origin/feature_track_mentions
- [supprimé] (aucun) -> origin/fix-directory-search-limit
- [supprimé] (aucun) -> origin/fix-display-errors-for-history-modal-when-fetching-revisions
- [supprimé] (aucun) -> origin/fix-password-reset-security-key
- [supprimé] (aucun) -> origin/fix-safari-below-18-detection
- [supprimé] (aucun) -> origin/fix-search-context-delete-key
- [supprimé] (aucun) -> origin/fix-unread-notifications-take-2
- [supprimé] (aucun) -> origin/fix/tag-rename-404
- [supprimé] (aucun) -> origin/full-page
- [supprimé] (aucun) -> origin/glimmer-header-dnd-live
- [supprimé] (aucun) -> origin/group_and_tag_group_permission_change_notification
- [supprimé] (aucun) -> origin/handle-non-ascii-charc
- [supprimé] (aucun) -> origin/hijacks
- [supprimé] (aucun) -> origin/history-store-methods
- [supprimé] (aucun) -> origin/i18n-helper-import
- [supprimé] (aucun) -> origin/image-assets
- [supprimé] (aucun) -> origin/implicit-injections-deprecations
- [supprimé] (aucun) -> origin/improve-claimed-reviewables-transactions
- [supprimé] (aucun) -> origin/issue/do-not-enforce-2fa-on-social-logins
- [supprimé] (aucun) -> origin/issue/fix-user-field-enum-migrate
- [supprimé] (aucun) -> origin/issue/fixup-upload-ref-backfill-migration-dates
- [supprimé] (aucun) -> origin/list-wrapper
- [supprimé] (aucun) -> origin/live-cache
- [supprimé] (aucun) -> origin/lock-step
- [supprimé] (aucun) -> origin/loic-upgrade-miniracer
- [supprimé] (aucun) -> origin/more-topics-active
- [supprimé] (aucun) -> origin/nginx-conf
- [supprimé] (aucun) -> origin/oklab
- [supprimé] (aucun) -> origin/plugin-outlet-no-subdir
- [supprimé] (aucun) -> origin/post-widget-outlet
- [supprimé] (aucun) -> origin/powered-by-reactivity
- [supprimé] (aucun) -> origin/promote-migration-tweak
- [supprimé] (aucun) -> origin/prune-old-transpilers
- [supprimé] (aucun) -> origin/remap-assume-yes-option
- [supprimé] (aucun) -> origin/remove-bootbox
- [supprimé] (aucun) -> origin/remove-muted-from-hot-and-top-topic-lists
- [supprimé] (aucun) -> origin/remove-x-count
- [supprimé] (aucun) -> origin/render-glimmer-granular
- [supprimé] (aucun) -> origin/revert-28587-revert-28321-dev/remove-create_post_for_category_and_tag_changes-setting
- [supprimé] (aucun) -> origin/revert-location-change
- [supprimé] (aucun) -> origin/revert-thread-title-experiment
- [supprimé] (aucun) -> origin/see_if_yarn_cache_is_working
- [supprimé] (aucun) -> origin/shared-draft-category
- [supprimé] (aucun) -> origin/skip-back-button-animation
- [supprimé] (aucun) -> origin/tag-span
- [supprimé] (aucun) -> origin/testing_debian_12
- [supprimé] (aucun) -> origin/tobiaseigen-patch-4
- [supprimé] (aucun) -> origin/topic-count-fix
- [supprimé] (aucun) -> origin/topic-list-item-style
- [supprimé] (aucun) -> origin/translations-from-crowdin-main
- [supprimé] (aucun) -> origin/translations-from-crowdin-stable
- [supprimé] (aucun) -> origin/update-gems-stable
- [supprimé] (aucun) -> origin/ux/admin-site-setting-inner-sidebar-experiment
- [supprimé] (aucun) -> origin/whats-new-notify-plugins
c64b5d6d7..6b6b31a97 main -> origin/main
* [nouvelle branche] 0-a-pnpm-lock -> origin/0-a-pnpm-lock
+ 3c0b2f75f...0d2238318 allow-posts-link-in-sidebar -> origin/allow-posts-link-in-sidebar (mise à jour forcée)
* [nouvelle branche] async-data -> origin/async-data
* [nouvelle branche] automation-autoload -> origin/automation-autoload
+ c35147e8c...a4758855f composer-disable-submit -> origin/composer-disable-submit (mise à jour forcée)
* [nouvelle branche] d-menu-composer-flag -> origin/d-menu-composer-flag
* [nouvelle branche] dependabot/bundler/msgpack-1.8.0 -> origin/dependabot/bundler/msgpack-1.8.0
* [nouvelle branche] dependabot/bundler/net-smtp-0.5.1 -> origin/dependabot/bundler/net-smtp-0.5.1
* [nouvelle branche] dependabot/bundler/parser-3.3.7.1 -> origin/dependabot/bundler/parser-3.3.7.1
* [nouvelle branche] dependabot/bundler/rdoc-6.12.0 -> origin/dependabot/bundler/rdoc-6.12.0
* [nouvelle branche] dependabot/bundler/rspec-core-3.13.3 -> origin/dependabot/bundler/rspec-core-3.13.3
* [nouvelle branche] dependabot/bundler/rspec-rails-7.1.1 -> origin/dependabot/bundler/rspec-rails-7.1.1
* [nouvelle branche] dependabot/bundler/rubocop-1.71.2 -> origin/dependabot/bundler/rubocop-1.71.2
* [nouvelle branche] dependabot/bundler/webmock-3.25.0 -> origin/dependabot/bundler/webmock-3.25.0
* [nouvelle branche] dependabot/npm_and_yarn/discourse/lint-configs-2.4.0 -> origin/dependabot/npm_and_yarn/discourse/lint-configs-2.4.0
* [nouvelle branche] dependabot/npm_and_yarn/ember-cli-6.2.0 -> origin/dependabot/npm_and_yarn/ember-cli-6.2.0
* [nouvelle branche] dependabot/npm_and_yarn/prosemirror-view-1.37.2 -> origin/dependabot/npm_and_yarn/prosemirror-view-1.37.2
* [nouvelle branche] dependabot/npm_and_yarn/puppeteer-core-24.2.0 -> origin/dependabot/npm_and_yarn/puppeteer-core-24.2.0
* [nouvelle branche] dependabot/npm_and_yarn/swc/core-1.10.14 -> origin/dependabot/npm_and_yarn/swc/core-1.10.14
* [nouvelle branche] dependabot/npm_and_yarn/terser-5.38.1 -> origin/dependabot/npm_and_yarn/terser-5.38.1
* [nouvelle branche] dependabot/npm_and_yarn/uppy-b82cdcd59c -> origin/dependabot/npm_and_yarn/uppy-b82cdcd59c
* [nouvelle branche] dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests -> origin/dev-better-backtrace-for-deprecated-icon-names-from-plugins-in-tests
+ 72ff8f1eb...699aa3755 dev-refactor-username-validation-mixin-to-helper -> origin/dev-refactor-username-validation-mixin-to-helper (mise à jour forcée)
* [nouvelle branche] dev/async-content-component -> origin/dev/async-content-component
+ ec68ffb95...2124c96a9 dev/color-palette-editor -> origin/dev/color-palette-editor (mise à jour forcée)
* [nouvelle branche] dev/ember-async-data-demo -> origin/dev/ember-async-data-demo
* [nouvelle branche] dev/purge-widget-post-menu -> origin/dev/purge-widget-post-menu
* [nouvelle branche] dev/user-field-components-transformer -> origin/dev/user-field-components-transformer
* [nouvelle branche] feature_pm_codeblock -> origin/feature_pm_codeblock
* [nouvelle branche] feature_pm_emoji -> origin/feature_pm_emoji
* [nouvelle branche] feature_pm_hashtag -> origin/feature_pm_hashtag
* [nouvelle branche] feature_pm_html_block -> origin/feature_pm_html_block
* [nouvelle branche] feature_pm_html_inline -> origin/feature_pm_html_inline
* [nouvelle branche] feature_pm_image -> origin/feature_pm_image
* [nouvelle branche] feature_pm_link -> origin/feature_pm_link
* [nouvelle branche] feature_pm_mention -> origin/feature_pm_mention
* [nouvelle branche] feature_pm_quote -> origin/feature_pm_quote
* [nouvelle branche] feature_pm_strikethrough -> origin/feature_pm_strikethrough
* [nouvelle branche] feature_pm_table -> origin/feature_pm_table
* [nouvelle branche] feature_pm_typographer -> origin/feature_pm_typographer
* [nouvelle branche] feature_pm_underline -> origin/feature_pm_underline
* [nouvelle branche] fix/secure-upload-rake-dedup-no-post -> origin/fix/secure-upload-rake-dedup-no-post
+ 0f2f74d08...18fbfb9cb mt/idb -> origin/mt/idb (mise à jour forcée)
* [nouvelle branche] mt/update-default-config -> origin/mt/update-default-config
* [nouvelle branche] omit-date-in-user-stream-small-actions -> origin/omit-date-in-user-stream-small-actions
* [nouvelle branche] pento/dev-upgrade-pnpm-10 -> origin/pento/dev-upgrade-pnpm-10
* [nouvelle branche] quick-smoke-test -> origin/quick-smoke-test
+ de3691471...e5890e554 renato/pm -> origin/renato/pm (mise à jour forcée)
5d4c2a89e..22f2a554e stable -> origin/stable
c64b5d6d7..6b6b31a97 tests-passed -> origin/tests-passed
* [nouvelle branche] tobiaseigen-patch-3 -> origin/tobiaseigen-patch-3
* [nouvelle branche] tobiaseigen-patch-3-1 -> origin/tobiaseigen-patch-3-1
415cccafb..c43caf483 user-fields-plugin-outlets-update -> origin/user-fields-plugin-outlets-update
* [nouvelle branche] user-stream-item-alignment-fix -> origin/user-stream-item-alignment-fix
10566d84b..c540132fe ux/combined-themes-components-sidebar-links -> origin/ux/combined-themes-components-sidebar-links
t [mise à jour tag] beta -> beta
t [mise à jour tag] latest-release -> latest-release
* [nouveau tag] v3.3.4 -> v3.3.4
* [nouveau tag] v3.4.0 -> v3.4.0
* [nouveau tag] v3.4.0.beta4 -> v3.4.0.beta4
I, [2025-02-07T12:27:26.047219 #1] INFO -- :
I, [2025-02-07T12:27:26.047365 #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, [2025-02-07T12:27:32.242164 #1] INFO -- : branche 'tests-passed' configurée pour suivre 'origin/tests-passed'.
I, [2025-02-07T12:27:32.242306 #1] INFO -- : > cd /var/www/discourse && sudo -H -E -u discourse git config user.discourse-version tests-passed
I, [2025-02-07T12:27:32.253644 #1] INFO -- :
I, [2025-02-07T12:27:32.253780 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp
I, [2025-02-07T12:27:32.256418 #1] INFO -- :
I, [2025-02-07T12:27:32.256500 #1] INFO -- : > cd /var/www/discourse && chown discourse:www-data tmp
I, [2025-02-07T12:27:32.258899 #1] INFO -- :
I, [2025-02-07T12:27:32.258965 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/pids
I, [2025-02-07T12:27:32.261423 #1] INFO -- :
I, [2025-02-07T12:27:32.261536 #1] INFO -- : > cd /var/www/discourse && mkdir -p tmp/sockets
I, [2025-02-07T12:27:32.263798 #1] INFO -- :
I, [2025-02-07T12:27:32.263864 #1] INFO -- : > cd /var/www/discourse && touch tmp/.gitkeep
I, [2025-02-07T12:27:32.266054 #1] INFO -- :
I, [2025-02-07T12:27:32.266120 #1] INFO -- : > cd /var/www/discourse && mkdir -p /shared/log/rails
I, [2025-02-07T12:27:32.268279 #1] INFO -- :
I, [2025-02-07T12:27:32.268346 #1] INFO -- : > cd /var/www/discourse && bash -c "touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log"
I, [2025-02-07T12:27:32.271876 #1] INFO -- :
I, [2025-02-07T12:27:32.271943 #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, [2025-02-07T12:27:32.275766 #1] INFO -- :
I, [2025-02-07T12:27:32.275833 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/{uploads,backups}"
I, [2025-02-07T12:27:32.279336 #1] INFO -- :
I, [2025-02-07T12:27:32.279449 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/{uploads,backups} /var/www/discourse/public"
I, [2025-02-07T12:27:32.282869 #1] INFO -- :
I, [2025-02-07T12:27:32.282985 #1] INFO -- : > cd /var/www/discourse && bash -c "mkdir -p /shared/tmp/{backups,restores}"
I, [2025-02-07T12:27:32.286437 #1] INFO -- :
I, [2025-02-07T12:27:32.286552 #1] INFO -- : > cd /var/www/discourse && bash -c "ln -s /shared/tmp/{backups,restores} /var/www/discourse/tmp"
I, [2025-02-07T12:27:32.289936 #1] INFO -- :
I, [2025-02-07T12:27:32.290051 #1] INFO -- : > cd /var/www/discourse && chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp
I, [2025-02-07T12:27:32.295538 #1] INFO -- :
I, [2025-02-07T12:27:32.295660 #1] INFO -- : > cd /var/www/discourse && [ ! -d public/plugins ] || find public/plugins/ -maxdepth 1 -xtype l -delete
I, [2025-02-07T12:27:32.297217 #1] INFO -- :
I, [2025-02-07T12:27:32.297447 #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, [2025-02-07T12:27:32.297853 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Clonage dans 'docker_manager'...
I, [2025-02-07T12:27:33.282135 #1] INFO -- :
I, [2025-02-07T12:27:33.282282 #1] INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/communiteq/discourse-private-topics.git
Clonage dans 'discourse-private-topics'...
I, [2025-02-07T12:27:33.838661 #1] INFO -- :
I, [2025-02-07T12:27:33.838987 #1] INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:33.841660 #1] INFO -- :
I, [2025-02-07T12:27:33.841772 #1] INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2025-02-07T12:27:33.843420 #1] INFO -- :
I, [2025-02-07T12:27:33.843484 #1] INFO -- : > mkdir -p /var/nginx/cache
I, [2025-02-07T12:27:33.845230 #1] INFO -- :
I, [2025-02-07T12:27:33.845418 #1] INFO -- : Remplacement de pid /run/nginx.pid; par daemon off; dans /etc/nginx/nginx.conf
I, [2025-02-07T12:27:34.158786 #1] INFO -- : Remplacement de (?m-ix:upstream[^\}]+\}) par upstream discourse { server 127.0.0.1:3000; } dans /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159111 #1] INFO -- : Remplacement de (?-mix:server_name.+$) par server_name _ ; dans /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159474 #1] INFO -- : Remplacement de (?-mix:client_max_body_size.+$) par client_max_body_size $upload_size ; dans /etc/nginx/conf.d/discourse.conf
I, [2025-02-07T12:27:34.159788 #1] INFO -- : Remplacement de (?-mix:worker_connections.+$) par worker_connections $nginx_worker_connections ; dans /etc/nginx/nginx.conf
I, [2025-02-07T12:27:34.160072 #1] INFO -- : > echo "done configuring web"
I, [2025-02-07T12:27:34.161854 #1] INFO -- : done configuring web
I, [2025-02-07T12:27:34.162105 #1] INFO -- : > cd /var/www/discourse && gem install bundler --conservative -v $(awk '/BUNDLED WITH/ { getline; gsub(/ /,""); print $0 }' Gemfile.lock)
I, [2025-02-07T12:27:34.468978 #1] INFO -- :
I, [2025-02-07T12:27:34.469096 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
I, [2025-02-07T12:27:36.908120 #1] INFO -- :
I, [2025-02-07T12:27:36.908416 #1] INFO -- : > cd /var/www/discourse && if [ -f yarn.lock ]; then
if [ -d node_modules/.pnpm ]; then
echo "Cette version de Discourse utilise yarn, mais les node_modules pnpm sont présents. Nettoyage..."
find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +
fi
su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'
fi
I, [2025-02-07T12:27:38.403844 #1] INFO -- : Portée : tous les projets 17 workspace
Le fichier de verrouillage est à jour, l'étape de résolution est ignorée
EINVAL EINVAL : argument invalide, rmdir '/var/www/discourse/app/assets/javascripts/dialog-holder/node_modules/.bin'
I, [2025-02-07T12:27:38.404328 #1] INFO -- : Terminaison des processus asynchrones
I, [2025-02-07T12:27:38.404370 #1] INFO -- : Envoi de INT à HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main pid : 42
I, [2025-02-07T12:27:38.404438 #1] INFO -- : Envoi de TERM à exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid : 109
2025-02-07 12:27:38.404 UTC [42] LOG : demande d'arrêt rapide reçue
109:signal-handler (1738931258) SIGTERM reçu, planification de l'arrêt...
2025-02-07 12:27:38.434 UTC [42] LOG : annulation des transactions actives
2025-02-07 12:27:38.436 UTC [42] LOG : travailleur en arrière-plan "logical replication launcher" (PID 56) terminé avec le code de sortie 1
2025-02-07 12:27:38.436 UTC [51] LOG : arrêt en cours
2025-02-07 12:27:38.443 UTC [51] LOG : point de contrôle en cours : arrêt immédiat
109:M 07 févr. 2025 12:27:38.499 # Arrêt demandé par l'utilisateur...
109:M 07 févr. 2025 12:27:38.499 * Sauvegarde de la dernière instantanée RDB avant de quitter.
2025-02-07 12:27:38.507 UTC [51] LOG : point de contrôle terminé : 4 tampons écrits (0,0 %) ; 0 fichier(s) WAL ajouté(s), 0 supprimé(s), 0 recyclé(s) ; écriture=0,002 s, synchronisation=0,027 s, total=0,071 s ; fichiers synchronisés=3, plus long=0,010 s, moyenne=0,009 s ; distance=5 kB, estimation=5 kB
2025-02-07 12:27:38.514 UTC [42] LOG : système de base de données arrêté
109:M 07 févr. 2025 12:27:38.541 * Base de données sauvegardée sur le disque
109:M 07 févr. 2025 12:27:38.541 # Redis est maintenant prêt à quitter, au revoir...
ÉCHEC
--------------------
Pups::ExecError : cd /var/www/discourse && if [ -f yarn.lock ]; then
if [ -d node_modules/.pnpm ]; then
echo "Cette version de Discourse utilise yarn, mais les node_modules de pnpm sont présents. Nettoyage en cours..."
find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +
fi
su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
else
su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'
fi a échoué avec le retour #<Process::Status: pid 290 exit 234>
Lieu de l'échec : /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec a échoué avec les paramètres {"cd"=>"$home", "hook"=>"yarn", "cmd"=>["if [ -f yarn.lock ]; then\n if [ -d node_modules/.pnpm ]; then\n echo \"Cette version de Discourse utilise yarn, mais les node_modules de pnpm sont présents. Nettoyage en cours...\"\n find ./node_modules ./app/assets/javascripts/*/node_modules -mindepth 1 -maxdepth 1 -exec rm -rf {} +\n fi\n su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'\nelse\n su discourse -c 'CI=1 pnpm install --frozen-lockfile && pnpm prune'\nfi"]}
bootstrap a échoué avec le code de sortie 234
** ÉCHEC DU BOOTSTRAP ** veuillez remonter et rechercher les messages d'erreur précédents, il peut y en avoir plus d'un.
./discourse-doctor peut aider à diagnostiquer le problème.
ca4136b0e8118d0ec935d9c725cd78463f542b74c8734ca79d278dc94ec76b56
Je ne vois toujours pas ce qui a mal tourné. Y a-t-il un autre fichier journal que je devrais consulter ? Merci encore pour vos conseils !