Home Assistant Core - Recovery Mode

Bonjour,

j'ai mi à jour Proxmox en 9.2.20 à la place 9.2.11 et depuis HA fonctionne plus correctement.

Quelqu'un aurait une piste de dépannage ?
Étrangement l'heure ne correspond pas à la coupure pour mise à jour.

s6-rc: info: service legacy-services: stopping
[18:40:08] INFO: Home Assistant Core finish process exit code 0
[18:40:08] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: warning: service s6rc-oneshot-runner is marked as essential, not stopping it
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2026-09-20 20:41:25.351 ERROR (SyncWorker_0) [annotatedyaml.loader] mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11
2026-09-20 20:41:25.352 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11. Activating recovery mode
2026-09-20 20:43:28.793 ERROR (SyncWorker_2) [annotatedyaml.loader] 2026-09-20 20:43:28.793 ERROR (SyncWorker_2) [annotatedyaml.loader] mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11
2026-09-20 20:43:28.793 ERROR (MainThread) [homeassistant.components.homeassistant] 2026-09-20 20:43:28.793 ERROR (MainThread) [homeassistant.components.homeassistant] The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11
2026-09-20 20:43:28.794 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] 2026-09-20 20:43:28.794 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [2545924474960] Error during service call to homeassistant.restart: The system cannot restart because the configuration is not valid: Error loading /config/configuration.yaml: mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2026-09-20 20:49:05.384 ERROR (SyncWorker_0) [annotatedyaml.loader] mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11
2026-09-20 20:49:05.385 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11. Activating recovery mode

Merci pour l'aide

Sans doute rien à voir avec la mise à jour de Proxmox si ce n'est un redémarrage de HA ...

Tu as un souci dans ton fichier sensor.yaml qui doit dans doute être inclus dans configuration.yaml

2026-09-20 20:49:05.384 ERROR (SyncWorker_0) [annotatedyaml.loader] mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11
2026-09-20 20:49:05.385 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: mapping values are not allowed here
  in "/config/sensor.yaml", line 2, column 11. Activating recovery mode

Oui, j'ai regardé l'erreur. J'ai impression qu'il bloque sur un accent. Je vais l'enlever.
Sinon pour le reste j'ai pris une sauvegarde de deux avant et c'est reparti.
C'est vraiment très étrange.
Merci

Dans les outils de développement il y'a un outil de vérification de syntaxe du fichier de configuration yaml pour éviter ce genre de désagrément