Installation HA sur Rpi 4 impossible

Mon problème

Bonjour,
J’ai décidé de refaire complètement une nouvelle installation de HA sur un RPi 4 8Go
j’ai donc formaté une carte SD et installé une image « haos_rpi4-64-11.1.img.xz » avec BalenaEtcher.
Mais impossible de démarrer la nouvelle version.
J’ai fait de nombreux essais avec plusieurs cartes SD et en utilisant Raspberry Pi Imager, et avec différentges versions d’images : toujours le même résultat.
Voici une copie d’écran :

Et voici le fichier log :


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
[07:26:36] INFO: Using udev information from host
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)
[07:26:36] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
23-11-11 07:26:45 INFO (MainThread) [__main__] Initializing Supervisor setup
23-11-11 07:26:45 INFO (MainThread) [supervisor.docker.network] Can't find Supervisor network, creating a new network
23-11-11 07:26:51 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
23-11-11 07:26:51 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2023.10.0
23-11-11 07:26:51 INFO (MainThread) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
23-11-11 07:26:59 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
23-11-11 07:26:59 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-11-11 07:26:59 INFO (MainThread) [__main__] Setting up Supervisor
23-11-11 07:27:05 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
23-11-11 07:27:05 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
23-11-11 07:27:05 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
23-11-11 07:27:05 INFO (MainThread) [supervisor.host.services] Updating service information
23-11-11 07:27:05 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-11-11 07:27:06 INFO (MainThread) [supervisor.host.network] Updating local network information
23-11-11 07:27:06 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
23-11-11 07:27:11 WARNING (MainThread) [supervisor.utils.whoami] Can't fetch Whoami data: Cannot connect to host services.home-assistant.io:443 ssl:default [Try again]
23-11-11 07:27:11 WARNING (MainThread) [supervisor.core] Can't adjust Time/Date settings: Can't fetch Whoami data: Cannot connect to host services.home-assistant.io:443 ssl:default [Try again]
23-11-11 07:27:11 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
23-11-11 07:27:17 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
23-11-11 07:27:17 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-cli versions: [<AwesomeVersion CalVer '2023.06.0'>]
23-11-11 07:27:17 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.06.0
23-11-11 07:27:19 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
23-11-11 07:27:53 INFO (MainThread) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.06.0 - 172.30.32.5
23-11-11 07:27:53 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-dns versions: [<AwesomeVersion CalVer '2023.06.2'>]
23-11-11 07:27:53 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2
23-11-11 07:27:55 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
23-11-11 07:28:31 INFO (MainThread) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2 - 172.30.32.3
23-11-11 07:28:31 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
23-11-11 07:28:36 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-audio versions: [<AwesomeVersion CalVer '2023.06.0'>]
23-11-11 07:28:36 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.06.0
23-11-11 07:28:36 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
23-11-11 07:29:18 INFO (MainThread) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.06.0 - 172.30.32.4
23-11-11 07:29:19 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-observer versions: [<AwesomeVersion CalVer '2023.06.0'>]
23-11-11 07:29:19 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0
23-11-11 07:29:21 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
23-11-11 07:30:07 INFO (MainThread) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0 - 172.30.32.6
23-11-11 07:30:07 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-multicast versions: [<AwesomeVersion CalVer '2023.06.2'>]
23-11-11 07:30:07 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2023.06.2
23-11-11 07:30:07 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
23-11-11 07:30:43 INFO (MainThread) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2023.06.2 - Host
23-11-11 07:30:43 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
23-11-11 07:30:43 INFO (MainThread) [supervisor.docker.interface] No version found for ghcr.io/home-assistant/raspberrypi4-64-homeassistant
23-11-11 07:30:43 INFO (MainThread) [supervisor.homeassistant.core] No Home Assistant Docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant found.
23-11-11 07:30:43 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
23-11-11 07:30:43 INFO (MainThread) [supervisor.homeassistant.core] Using preinstalled landingpage
23-11-11 07:30:43 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
23-11-11 07:30:44 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
23-11-11 07:31:18 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
23-11-11 07:31:19 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 11.1 / BootSlot A
23-11-11 07:31:24 WARNING (MainThread) [supervisor.jobs] 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-11-11 07:31:24 ERROR (MainThread) [supervisor.store] Can't add repository https://github.com/esphome/home-assistant-addon due to 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reload - store / 5c53de3b
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / 5c53de3b
23-11-11 07:31:24 WARNING (MainThread) [supervisor.jobs] 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-11-11 07:31:24 ERROR (MainThread) [supervisor.store] Can't add repository core due to 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reload - store / core
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / core
23-11-11 07:31:24 WARNING (MainThread) [supervisor.jobs] 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-11-11 07:31:24 ERROR (MainThread) [supervisor.store] Can't add repository https://github.com/hassio-addons/repository due to 'GitRepo.clone' blocked from execution, no supervisor internet connection
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_reload - store / a0d7b954
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / a0d7b954
23-11-11 07:31:24 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
23-11-11 07:31:24 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
23-11-11 07:31:24 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
23-11-11 07:31:24 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
23-11-11 07:31:24 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-11-11 07:31:24 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - setup
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
23-11-11 07:31:24 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-11-11 07:31:24 INFO (MainThread) [__main__] Running Supervisor
23-11-11 07:31:24 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
23-11-11 07:31:24 INFO (MainThread) [supervisor.addons] Phase 'initialize' starting 0 add-ons
23-11-11 07:31:27 INFO (MainThread) [supervisor.addons] Phase 'system' starting 0 add-ons
23-11-11 07:31:27 INFO (MainThread) [supervisor.addons] Phase 'services' starting 0 add-ons
23-11-11 07:31:27 INFO (MainThread) [supervisor.core] Skiping start of Home Assistant
23-11-11 07:31:27 INFO (MainThread) [supervisor.addons] Phase 'application' starting 0 add-ons
23-11-11 07:31:28 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
23-11-11 07:31:28 INFO (MainThread) [supervisor.core] Supervisor is up and running
23-11-11 07:31:28 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant setup
23-11-11 07:31:28 INFO (MainThread) [supervisor.host.info] Updating local host information
23-11-11 07:31:28 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
23-11-11 07:31:28 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
23-11-11 07:31:28 INFO (MainThread) [supervisor.host.services] Updating service information
23-11-11 07:31:28 INFO (MainThread) [supervisor.host.network] Updating local network information
23-11-11 07:31:28 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-11-11 07:31:28 INFO (MainThread) [supervisor.host.manager] Host information reload completed
23-11-11 07:31:33 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
23-11-11 07:31:33 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-11-11 07:31:33 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
23-11-11 07:31:33 INFO (MainThread) [supervisor.jobs] 'CheckAddonPwned.run_check' blocked from execution, no supervisor internet connection
23-11-11 07:31:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
23-11-11 07:31:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
23-11-11 07:31:33 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server

23-11-11 07:31:38 INFO (MainThread) [supervisor.jobs] 'CheckDNSServerIPv6.run_check' blocked from execution, no supervisor internet connection
23-11-11 07:31:38 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
23-11-11 07:31:38 INFO (MainThread) [supervisor.resolution.module] Create new suggestion create_full_backup - system / None
23-11-11 07:31:38 INFO (MainThread) [supervisor.resolution.module] Create new issue no_current_backup - system / None
23-11-11 07:31:38 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
23-11-11 07:31:43 INFO (MainThread) [supervisor.jobs] 'CheckDNSServer.run_check' blocked from execution, no supervisor internet connection
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-11-11 07:31:43 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
23-11-11 07:31:48 WARNING (MainThread) [supervisor.jobs] 'FixupStoreExecuteReload.process_fixup' blocked from execution, no supervisor internet connection
23-11-11 07:31:48 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-11-11 07:32:08 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
23-11-11 07:32:08 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
23-11-11 07:32:43 WARNING (MainThread) [supervisor.jobs] 'Updater.fetch_data' blocked from execution, no supervisor internet connection
23-11-11 07:32:43 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec

Je ne sais pas ce que j’ai fait comme erreur, d’autant plus que lorque j’avais fait mes premières installations il y a quelques mois, je n’ai pas eu de problème.
Je suis bloqué.
Merci pour votre aide.

Salut
Tu semble avoir un souci de réseau : câble bien branché ?
Par ailleurs, les cartes SD c’est pas fiable sur la durée

1 « J'aime »

Bj

la ce qui me vient à l’esprit , tu dois avoir IPV6 Activé sur ta box
désactive pour voir est refait une installe

+1 ton PI doit avoir accès à Internet en filaire pour que l’installation initiale se passe bien. L’image d’installation par défaut télécharge la dernière version de HA et l’installe lors du premier démarrage !

Merci pour vos réponses.
J’avais changé le câble Ethernet : Idem
J’ai vérifié sur ma FreeBox, je suis toujours en IPV4. Par ailleurs j’ai un ancien système domotique qui fonctionne toujours sur le réseau. Et lorsque j’utilise Advanced IP scanner, je vois bien mon RPi.
Pour ce qui de la carte SD, j’ai bien prévu de mettre un SSD, mais comme cela ne fonctionne pas, je refais des essais avec la carte SD, pour être sur une solution minimaliste.

Bonjour,
J’ai fait diverses tentatives, mais j’ai toujours le même problème.
J’ai branché un écran sur le Rpi et après l’initialisation, j’obtiens l’écran suivant :

Puis-je aller plus loin ?
Y a-t’il des commandes à rentrer directement sur le Rpi ?
Je ne suis pas du tout familier avec les commandes Linux.

Bj

une fois que tu as son ip
essai de te connecter en ssh par exemple et fais un test ping via son IP
ping 192.168.0.24

sur ton réseau a tu modifie des DNS , ou est que que tu passe par une solution type adguard ou autres ?

un gif pour ping sur google
ping

Merci pour ta réponse,
J’ai essayé de me connecter en ssh avec PuTTy à l’adresse 192.168.0.14 qui est l’adresse du RPi (IP statique) fixée depuis ma FreeBox. Cela ne fonctionne pas, j’ai alors essayé de rajouter un fichier ssh vide dans la racine de la carte SD, pas mieux. Puis j’ai reflashé la carte SD avec Raspberry pi imager en activant le ssh, toujours pas mieux.

Peux tu depuis le Shell de ton pi faire un ping sur le 192.168.0.1 ?
Et un ping sur une de tes machines connue sur ton réseau ?

Puis sur www.cern.org par exemple ?
Donc peux tu voir l’extérieur depuis ce haos ?

Là je suis dans HA CLI et je ne sais pas comment accéder au Shell du Rpi.
Je suis relativement débutant sur Linux.

Salut,
Le ping fonctionne aussi dans la console HA (HA cli)

Lorsque je tape ping 192.168.0.15 (adresse d’un autre Rpi avec HA qui fonctionne) j’obtiens :

"unknow command « ping » for « ha » "

Désolé, testé sur la console avec mon HA supervised… donc pas exactement pareil.
Je confirme pas dispo sous ha cli
image
Essaye de faire l’inverse: pinger ton HA depuis l’autre systeme

Cela fonctionne :

Depuis le terminal de HA du RPi Dev (192.168.0.15) j’arrive donc à pinger le RPi Prod (192.168.0.14) que j’essaye vainement de réinstaller, ils sont donc bien sur le même réseau.
Si je tente de pinger Google cela ne marche pas :


Je ne suis pas suffisamment compétent pour savoir ce qui se passe.

Tu as un souci de config réseau (DHCP ?) … Pas de passerelle ou pas de DNS

Merci pour ton aide Pulpy-Luke
Je peux voir ça où ?

La route par défaut:

image

et pour la résolution des noms DNS:

image

et le ping:

image

Qu’est ce que cela donne du coup chez toi

As-tu fixé l’adresse IP de ton HA à la main ???
Il semble qu’il te manque les infos DNS

Merci Jean-Luc, j’ai fixé l’adresse IP au niveau de la FreeBox
Mais effectivement j’ai un problème au niveau des DNS :
Capture d'écran 2023-11-12 213016

Je ne sais pas comment le résoudre