Home assistant inaccessible "CLI not starting"

Bonjour,
Je n’avais pas eu besoin d’accéder à mon interface lovelace depuis un moment et je me rends compte qu’en saisisstant l’url:8123 dans mon navigateur je n’arrive plus à me connecter à HA.
Que ce soit en WIFI ou en LAN, le rpi est bien reconnu dans ma box mais impossible d’afficher une page.

Je n’ai pas activé le SSH lors de l’installation, je ne peux pas donc pas faire grand chose pour comprendre ce qu’il se passe.

HA est installé sur un disque dur branché en USB sur mon rpi4. Il me semble que l’on peut activer le SSH en installant un fichier à la racine de ce disque mais je n’en suis pas sur.

Si qqn a une idée pour m’aider à avancer … merci d’avance

Salut
Tu peux déjà brancher un écran et un clavier et regarde ce qui se passe en direct

1 « J'aime »

et voir si le http://homeassistant.local:4357 envoie quelque chose ou si le rpi répond aux ping.

1 « J'aime »

Merci pour vos retours
HA:4357 me renvoie ca :

Home Assistant observer
Supervisor: Disconnected

Et en branchant un écran j’obtiens ca :

Waiting for the Home Assistant CLI to be ready…
[WARN] Home Assistant CLI not starting! Jump into emergency console…
#[…] hwamon hwamon1: Undervoltage detected!

Je me demande si ce n’est pas un problème avec mon boitier d’alimentation
Je vais tester avec un autre

Vu le message il semble que ça pourrait bien être ça

Boitier d’alimentation changé avec un officiel Raspberry, le message d’erreur d’undervoltage n’apparait plus mais au démarrage j’ai à nouveau :

Waiting for the Home Assistant CLI to be ready…
[WARN] Home Assistant CLI not starting! Jump into emergency console …"
.#

En cherchant sur le net, j’ai tenté un « login » mais ca me remet sur la même erreur quelques instants plus tard

Je pense que ton stockage a pris un coup
Il faudrait essayer de passer un coup de fsck dessus mais pour ça faudrait booter un autre système sur ton PI

HA Observer qui ne m’affichait jusqu’ici que « disconnected » me donne quelques infos supplémentaires. Si ca peut aider

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
cont-init: info: running /etc/cont-init.d/udev.sh
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise watchdog: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise supervisor: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
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: 

Sinon, je veux bien un peu d’aide pour ce que tu proposes

Vu que ton ton disque est en USB le plus simple serait de booster une distribution live Ubuntu sur un autre pc brancher ton disque USB et lancer un fsck dessus

J’ai pris un ancien pi3 avec rpiOS dessus sur une carte sd et j’ai lancé fsck sur la partition principale
Il m’indique « clean »
J’ai rebranché le SSD sur mon rpi4 et l’erreur est toujours la même

Il faut le faire sur toutes les partitions du SSD ?

J’ai réussi a trouver un répertoire backup et ai récupéré les fichiers .tar les plus récents. C’est déjà ca

Il doit pas y avoir 50 partitions oui c’est la partition principale surtout qu’il faut réparer
Si tu as récupéré ton backup c’est déjà ça

Il y a 8 partitions
La sda6 semble avoir un problème et le terminal m’indique d’utiliser e2fsck mais quoi que je fasse j’obtiens une erreur :

ça doit etre une partition de SWAP ?
que te retourne blkid ? ou fdisk -l /dev/sda


J’ai bien envie de reformater mon SSD et de reup ma sauvegarde. Si je pars sur cette option ça devrait repartir techniquement

Ohh j’ai dit de la merde la bonne commande c’est lsblk mais d’après fdisk ce sont toutes des partitions linux …

Bonjour,
Après avoir récup la sauvegarde, j’ai fait une resintall neuve sur mon rpi4
Merci quand même pour l’aide apportée
Je clos le sujet

1 « J'aime »