La mise à jour de v3.4.0.beta3 +21 vers v3.4.0.beta4 +37 échoue, impossible de créer un répertoire

J’essaie d’exécuter la dernière mise à jour de Discourse via la zone d’administration Web. Mais cela échoue et affiche le journal ci-dessous :

********************************************************
*** Veuillez patienter, les prochaines étapes peuvent prendre un certain temps ***
********************************************************
Cyclage de Unicorn, pour libérer de la mémoire
Redémarrage de unicorn pid : 43
Attente du rechargement de Unicorn.
Attente du rechargement de Unicorn..
Attente du rechargement de Unicorn...
Attente du rechargement de Unicorn....
Attente du rechargement de Unicorn.....
Attente du rechargement de Unicorn......
Attente du rechargement de Unicorn.......
Attente du rechargement de Unicorn........
Arrêt de 1 travailleur Unicorn, pour libérer de la mémoire
Arrêt de la file d'attente des travaux pour récupérer de la mémoire, pid maître est 1201725
$ cd /var/www/discourse && git fetch --tags --prune-tags --prune --force
error : impossible de verrouiller la référence 'refs/remotes/origin/ux/combined-themes-components-sidebar-links' : impossible de créer le répertoire pour .git/refs/remotes/origin/ux/combined-themes-components-sidebar-links
From https://github.com/discourse/discourse
 ! [new branch]          ux/combined-themes-components-sidebar-links -> origin/ux/combined-themes-components-sidebar-links  (impossible de mettre à jour la référence locale)
Docker Manager : ÉCHEC DE LA MISE À NIVEAU
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:211:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:88:in `block in upgrade'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:72:in `each'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:72:in `each_with_index'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:72:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:44:in `load'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:44:in `block in perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.2.2.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:70:in `conditional_executor'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands/runner/runner_command.rb:43:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command/base.rb:178:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command/base.rb:73:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:71:in `block in invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:149:in `with_argv'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/command.rb:69:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/commands.rb:18:in `<main>'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
bin/rails:18:in `<main>'
Lancement de 1 travailleur Unicorn qui a été arrêté initialement

Entrer dans le conteneur de l’application Discourse et essayer de créer le répertoire mentionné manuellement entraîne également une erreur, comme ci-dessous :

root@vtdiscourse-app:/var/www/discourse/.git/refs/remotes/origin# mkdir ux
mkdir : impossible de créer le répertoire « ux » : Argument invalide

Je m’interroge sur le message d’erreur car l’appel mkdir me semble correct. Une idée ?

Je ne sais pas, mais la question par défaut : que se passe-t-il lorsque vous faites ./launcher enter app depuis une console ?

Vous devez effectuer une reconstruction en ligne de commande. Et vous devriez également consulter Mise à jour PostgreSQL 15

Je me retrouve dans le conteneur. Je peux alors, par exemple, exécuter (comme écrit ci-dessus)

Si j’essaie cela en exécutant git pull et ./launcher rebuild app, je me retrouve avec les messages d’erreur suivants :

root@vtdiscourse-app /var/discourse# ./launcher rebuild app
WARNING: Docker version 23.0.3 deprecated, recommend upgrade to 24.0.7 or newer.
x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

2.0.20250129-0720: Pulling from discourse/base
af302e5c37e9: Pull complete 
ed49ab5c933d: Pull complete 
7cb9e730d898: Pull complete 
7c28a6b187b2: Pull complete 
23222af7238f: Pull complete 
59b87d9ed5c1: Pull complete 
90d60b432298: Pull complete 
d3b3135aa82b: Pull complete 
94e7b594395d: Pull complete 
cf15e2c89d00: Pull complete 
2c0cccf9ec27: Pull complete 
5d8ea2a8d564: Pull complete 
020f04b42275: Pull complete 
06e22604f387: Pull complete 
8b0ecc579aad: Pull complete 
4d577f7424c0: Pull complete 
37ef4781925f: Pull complete 
30d67d1af761: Pull complete 
43eaf8c26af4: Pull complete 
02f4cc50eabd: Pull complete 
93896ee36e56: Pull complete 
fadd5d615e0e: Pull complete 
85f9459cb30e: Extracting [==================================================>]     749B/749B
eaddca2afacb: Download complete 
f54443d29a2d: Download complete 
ed6f0f133683: Download complete 
3d1894dc563f: Download complete 
51ca3f63c909: Download complete 
b87374db2274: Download complete 
failed to register layer: ApplyLayer exit status 1 stdout:  stderr: unlinkat /tmp/node-compile-cache/v22.13.1-x64-efe9a9df-0: invalid argument
2.0.20250129-0720: Pulling from discourse/base
af302e5c37e9: Pull complete 
ed49ab5c933d: Pull complete 
7cb9e730d898: Pull complete 
7c28a6b187b2: Pull complete 
23222af7238f: Pull complete 
59b87d9ed5c1: Pull complete 
90d60b432298: Pull complete 
d3b3135aa82b: Pull complete 
94e7b594395d: Pull complete 
cf15e2c89d00: Pull complete 
2c0cccf9ec27: Pull complete 
5d8ea2a8d564: Pull complete 
020f04b42275: Pull complete 
06e22604f387: Pull complete 
8b0ecc579aad: Pull complete 
4d577f7424c0: Pull complete 
37ef4781925f: Pull complete 
30d67d1af761: Pull complete 
43eaf8c26af4: Pull complete 
02f4cc50eabd: Pull complete 
93896ee36e56: Pull complete 
fadd5d615e0e: Pull complete 
85f9459cb30e: Extracting [==================================================>]     749B/749B
eaddca2afacb: Download complete 
f54443d29a2d: Download complete 
ed6f0f133683: Download complete 
3d1894dc563f: Download complete 
51ca3f63c909: Download complete 
b87374db2274: Download complete 
failed to register layer: ApplyLayer exit status 1 stdout:  stderr: unlinkat /tmp/node-compile-cache/v22.13.1-x64-efe9a9df-0: invalid argument
Unable to find image 'discourse/base:2.0.20250129-0720' locally
2.0.20250129-0720: Pulling from discourse/base
af302e5c37e9: Pulling fs layer
ed49ab5c933d: Pulling fs layer
7cb9e730d898: Pulling fs layer
7c28a6b187b2: Pulling fs layer
23222af7238f: Pulling fs layer
59b87d9ed5c1: Pulling fs layer
90d60b432298: Pulling fs layer
d3b3135aa82b: Pulling fs layer
94e7b594395d: Pulling fs layer
cf15e2c89d00: Pulling fs layer
2c0cccf9ec27: Pulling fs layer
5d8ea2a8d564: Pulling fs layer
020f04b42275: Pulling fs layer
06e22604f387: Pulling fs layer
8b0ecc579aad: Pulling fs layer
4d577f7424c0: Pulling fs layer
23222af7238f: Waiting
37ef4781925f: Pulling fs layer
30d67d1af761: Pulling fs layer
59b87d9ed5c1: Waiting
43eaf8c26af4: Pulling fs layer
90d60b432298: Waiting
02f4cc50eabd: Pulling fs layer
93896ee36e56: Pulling fs layer
fadd5d615e0e: Pulling fs layer
85f9459cb30e: Pulling fs layer
d3b3135aa82b: Waiting
eaddca2afacb: Pulling fs layer
f54443d29a2d: Pulling fs layer
94e7b594395d: Waiting
ed6f0f133683: Pulling fs layer
cf15e2c89d00: Waiting
3d1894dc563f: Pulling fs layer
2c0cccf9ec27: Waiting
51ca3f63c909: Pulling fs layer
5d8ea2a8d564: Waiting
b87374db2274: Pulling fs layer
020f04b42275: Waiting
06e22604f387: Waiting
4d577f7424c0: Waiting
37ef4781925f: Waiting
8b0ecc579aad: Waiting
30d67d1af761: Waiting
43eaf8c26af4: Waiting
02f4cc50eabd: Waiting
93896ee36e56: Waiting
fadd5d615e0e: Waiting
85f9459cb30e: Waiting
eaddca2afacb: Waiting
f54443d29a2d: Waiting
ed6f0f133683: Waiting
3d1894dc563f: Waiting
51ca3f63c909: Waiting
b87374db2274: Waiting
7c28a6b187b2: Waiting
7cb9e730d898: Verifying Checksum
7cb9e730d898: Download complete
7c28a6b187b2: Verifying Checksum
7c28a6b187b2: Download complete
af302e5c37e9: Verifying Checksum
af302e5c37e9: Download complete
23222af7238f: Verifying Checksum
23222af7238f: Download complete
ed49ab5c933d: Verifying Checksum
ed49ab5c933d: Download complete
90d60b432298: Verifying Checksum
90d60b432298: Download complete
94e7b594395d: Verifying Checksum
94e7b594395d: Download complete
d3b3135aa82b: Verifying Checksum
d3b3135aa82b: Download complete
cf15e2c89d00: Download complete
2c0cccf9ec27: Verifying Checksum
2c0cccf9ec27: Download complete
af302e5c37e9: Pull complete
5d8ea2a8d564: Verifying Checksum
5d8ea2a8d564: Download complete
020f04b42275: Verifying Checksum
020f04b42275: Download complete
8b0ecc579aad: Verifying Checksum
8b0ecc579aad: Download complete
4d577f7424c0: Download complete
06e22604f387: Verifying Checksum
06e22604f387: Download complete
30d67d1af761: Verifying Checksum
30d67d1af761: Download complete
37ef4781925f: Verifying Checksum
37ef4781925f: Download complete
43eaf8c26af4: Verifying Checksum
43eaf8c26af4: Download complete
02f4cc50eabd: Verifying Checksum
02f4cc50eabd: Download complete
59b87d9ed5c1: Verifying Checksum
59b87d9ed5c1: Download complete
fadd5d615e0e: Download complete
93896ee36e56: Verifying Checksum
93896ee36e56: Download complete
85f9459cb30e: Download complete
eaddca2afacb: Verifying Checksum
eaddca2afacb: Download complete
f54443d29a2d: Verifying Checksum
ed6f0f133683: Download complete
3d1894dc563f: Verifying Checksum
3d1894dc563f: Download complete
51ca3f63c909: Verifying Checksum
51ca3f63c909: Download complete
b87374db2274: Verifying Checksum
b87374db2274: Download complete
ed49ab5c933d: Pull complete
7cb9e730d898: Pull complete
7c28a6b187b2: Pull complete
23222af7238f: Pull complete
59b87d9ed5c1: Pull complete
90d60b432298: Pull complete
d3b3135aa82b: Pull complete
94e7b594395d: Pull complete
cf15e2c89d00: Pull complete
2c0cccf9ec27: Pull complete
5d8ea2a8d564: Pull complete
020f04b42275: Pull complete
06e22604f387: Pull complete
8b0ecc579aad: Pull complete
4d577f7424c0: Pull complete
37ef4781925f: Pull complete
30d67d1af761: Pull complete
43eaf8c26af4: Pull complete
02f4cc50eabd: Pull complete
93896ee36e56: Pull complete
fadd5d615e0e: Pull complete
f54443d29a2d: Download complete
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: unlinkat /tmp/node-compile-cache/v22.13.1-x64-efe9a9df-0: invalid argument.
See 'docker run --help'.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

J’ai suivi les conseils du fil de discussion mentionné, mais l’exécution d’un conteneur docker trivial fonctionne sans problème et le redémarrage du service docker n’a rien changé non plus.

Si j’ai bien compris, cela nécessite également une reconstruction en ligne de commande (en disposant de suffisamment de ressources matérielles).

Qu’ai-je négligé ?

Avez-vous un ancien système d’exploitation ou pourquoi ne pouvez-vous pas mettre à niveau Docker ?

Je suppose que votre docker est obsolète. Vous pourriez peut-être apt install docker-ce, ou peut-être que votre système d’exploitation est obsolète et que vous souhaitez vraiment passer à une nouvelle VM.

ce fil de discussion contient des informations sur une mise à niveau échouée en raison de la nécessité de mettre à jour Docker

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 !

Comme le problème persiste et que je suis désemparé, je me demande si quelqu’un peut me donner un indice sur la façon de déboguer le problème. Merci !

Avez-vous essayé de reconstruire à nouveau ?

oui, hier juste avant de poster à nouveau, j’ai réessayé et j’ai encore échoué.

La solution dans mon cas a été de passer à du matériel plus récent avec un environnement virtuel plus récent. Voir :