Rpi 4 Wont Install HA

First Timer, I followed the directions for the install on a rpi4 and can not load HAOS on my rpi4. I’ve tried 10.3, 10.3, 10,2 images. I’ve tried the pi imager and etcher and still keep getting held up on the same spot. I’m using the right the pi4 not pi3 image. I’ve also tried different power source and 2 different SD cards, I even purchased the one from the install link.

Looks like there are some issues with certain packages being out of date. You should look at those or use the latest:

Version core-2023.8.0
Installation Type Home Assistant OS

Host Operating System Home Assistant OS 10.4
Supervisor Version supervisor-2023.07.1

My question is why would these be out of date if they are from an official image? Someone else on reddit did the same thing im trying to do and they had no issues. They downloaded the file and loaded it up.

Spit-balling, but is your Pi connected via Ethernet? Specifically, does it have internet access?

Connected via ethernet, I can see its IP on my router and connect to from IP so I assume it has intent access unless my switch is blocking it for some reason.

Are your able to get to github and it’s repositories from the PI? Anything else on the PI (DNS, Other network programs)?

No because the pi never loads up. I followed this setup Raspberry Pi - Home Assistant but cant get to onboarding.

Looking at the logfile snippet your network connection seems to be OK but:

If you have access to the CLI run the following command:

ha supervisor update

and reboot the host after the above command has finished.

well in most cases updates arise and create a breaking change. So, started with the latest installation software (stable) and you should be ok. Furthermore, be sure your RPI has the latest fw too.

Is the latest software thats stable 10.4? I didnt look for anything that said stable or experimental, i used the link in the tutorial then when and looked at past releases. I didnt know the pi had firmware that could be updated so i will look into that.

@TZukowski, you are not updating the OS but doing a new install. There is no such thing like “a breaking change to arise” with a new insatallation. Furthermore “breaking changes” are always announced with the Release Notes.

The problem is not caused by a missed firmware update to your PI. RPI3’s and some older 1st. gen. RPI4’s were unable to boot from SSD. Thus a soon after released firmware fixed that issue.

If the problem you encounter is caused by old and outdated firmware the Pi would not even boot at all from SSD (which according to the log snippet is not the case).

And yes, the latest stable release by the time of this writing is 10.04 according to the Releases.

1 Like

Thanks. This should be easy but its me.

Its booted further but still not all the way there. Its throwing different errors now.

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
[03:20:01] 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)
[03:20:01] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
23-08-04 03:20:06 INFO (MainThread) [__main__] Initializing Supervisor setup
23-08-04 03:20:06 INFO (MainThread) [supervisor.docker.network] Can't find Supervisor network, creating a new network
23-08-04 03:20:06 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
23-08-04 03:20:06 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/aarch64-hassio-supervisor with version 2023.07.1
23-08-04 03:20:06 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
23-08-04 03:20:07 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
23-08-04 03:20:07 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-08-04 03:20:07 INFO (MainThread) [__main__] Setting up Supervisor
23-08-04 03:20:07 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
23-08-04 03:20:07 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
23-08-04 03:20:07 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
23-08-04 03:20:08 INFO (MainThread) [supervisor.host.services] Updating service information
23-08-04 03:20:08 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-08-04 03:20:08 INFO (MainThread) [supervisor.host.network] Updating local network information
23-08-04 03:20:08 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
23-08-03 22:20:08 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
23-08-03 22:20:08 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-cli versions: [<AwesomeVersion CalVer '2023.06.0'>]
23-08-03 22:20:08 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.06.0
23-08-03 22:20:08 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
23-08-03 22:20:10 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2023.06.0 - 172.30.32.5
23-08-03 22:20:10 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-dns versions: [<AwesomeVersion CalVer '2023.06.2'>]
23-08-03 22:20:10 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2
23-08-03 22:20:10 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
23-08-03 22:20:11 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2023.06.2 - 172.30.32.3
23-08-03 22:20:11 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
23-08-03 22:20:11 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-audio versions: [<AwesomeVersion CalVer '2023.06.0'>]
23-08-03 22:20:11 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.06.0
23-08-03 22:20:11 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
23-08-03 22:20:13 INFO (SyncWorker_1) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2023.06.0 - 172.30.32.4
23-08-03 22:20:13 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-observer versions: [<AwesomeVersion CalVer '2023.06.0'>]
23-08-03 22:20:13 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0
23-08-03 22:20:13 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
23-08-03 22:20:14 INFO (SyncWorker_1) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2023.06.0 - 172.30.32.6
23-08-03 22:20:14 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-multicast versions: [<AwesomeVersion CalVer '2023.06.2'>]
23-08-03 22:20:14 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2023.06.2
23-08-03 22:20:14 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
23-08-03 22:20:15 INFO (SyncWorker_1) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2023.06.2 - Host
23-08-03 22:20:15 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-08-03 22:20:15 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
23-08-03 22:20:15 INFO (SyncWorker_1) [supervisor.docker.interface] No version found for ghcr.io/home-assistant/raspberrypi4-64-homeassistant
23-08-03 22:20:15 INFO (MainThread) [supervisor.homeassistant.core] No Home Assistant Docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant found.
23-08-03 22:20:15 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
23-08-03 22:20:15 INFO (MainThread) [supervisor.homeassistant.core] Using preinstalled landingpage
23-08-03 22:20:16 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
23-08-03 22:20:16 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
23-08-03 22:20:16 INFO (SyncWorker_0) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
23-08-03 22:20:16 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 10.4 / BootSlot A
23-08-03 22:20:16 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/esphome/home-assistant-addon repository
23-08-03 22:20:16 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository
23-08-03 22:20:16 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
23-08-03 22:20:22 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
stderr: 'Cloning into '/data/addons/git/a0d7b954'...
fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com
'.
23-08-03 22:20:22 ERROR (MainThread) [supervisor.store] Can't retrieve data from https://github.com/hassio-addons/repository due to
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / a0d7b954
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / a0d7b954
23-08-03 22:20:22 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/esphome/home-assistant-addon repository: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/esphome/home-assistant-addon /data/addons/git/5c53de3b
stderr: 'Cloning into '/data/addons/git/5c53de3b'...
fatal: unable to access 'https://github.com/esphome/home-assistant-addon/': Could not resolve host: github.com
'.
23-08-03 22:20:22 ERROR (MainThread) [supervisor.store] Can't retrieve data from https://github.com/esphome/home-assistant-addon due to
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / 5c53de3b
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / 5c53de3b
23-08-03 22:20:22 INFO (MainThread) [supervisor.store] Loading add-ons from store: 28 all - 28 new - 0 remove
23-08-03 22:20:22 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
23-08-03 22:20:22 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
23-08-03 22:20:22 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
23-08-03 22:20:22 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-08-03 22:20:22 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-08-03 22:20:22 INFO (MainThread) [__main__] Running Supervisor
23-08-03 22:20:22 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
23-08-03 22:20:22 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
23-08-03 22:20:22 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
23-08-03 22:20:22 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 0 add-ons
23-08-03 22:20:22 INFO (MainThread) [supervisor.core] Skiping start of Home Assistant
23-08-03 22:20:22 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
23-08-03 22:20:22 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
23-08-03 22:20:22 INFO (MainThread) [supervisor.core] Supervisor is up and running
23-08-03 22:20:22 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant setup
23-08-03 22:20:22 INFO (MainThread) [supervisor.host.info] Updating local host information
23-08-03 22:20:22 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2023.8.0
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
23-08-03 22:20:22 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2023.8.0.
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.MULTIPLE_DATA_DISKS/ContextType.SYSTEM
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DOCKER_CONFIG/ContextType.SYSTEM
23-08-03 22:20:22 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-08-03 22:20:23 INFO (MainThread) [supervisor.host.services] Updating service information
23-08-03 22:20:23 INFO (MainThread) [supervisor.host.network] Updating local network information
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.NO_CURRENT_BACKUP/ContextType.SYSTEM
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.NO_CURRENT_BACKUP - ContextType.SYSTEM / None
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-08-03 22:20:23 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-08-03 22:20:23 INFO (MainThread) [supervisor.host.manager] Host information reload completed
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
23-08-03 22:20:23 INFO (MainThread) [supervisor.resolution.fixup] System autofix complet```

Now you have a network (DNS) problem (domain names don’t resolve).

You are not trying to do this all over WiFi, do you?

Nope, this is the same ethernet as before. Even tried a different cable.

This is on HA OS 10.4? Take a look into DNS server issues. Also make sure your modem/router/switch allows DNS resolution for the ip-address of your pi. Also make sure IPv6 is disabled on the router’s side (for your LAN).

Correct me if im wrong but doesnt HA OS 10.4 need to installed first before i can do those commands? I will look at my dns resolution and the ipv6 as mentioned.

edit: ipv6 is disabled.

It is failing on retrieving additional packets to the OS itself. Thus you should already be able to access the CLI.

Nevertheless, you have to solve the DNS issues before continuing since those seem to be the culprit of the issue(s) you encounter.

Is this a “bare metal installation” or are you installing HA OS into a VM, Proxmos or something similar?

Tried to ssh in and got no connection.

I will look into dns resolution, dont know why my router and switch wouldnt allow it.

Bare metal to the rpi4

Maybe you did already fiddle around here and there? Me personally would redownload the image (make sure it is the correct image for the Raspberry, 64 bit), reformat the SD Card and start all over again using the latest stable HA Os 10.4.

I have done that once since you started helping but I will try again. I appreciate your help.

This was a brand new out of the box pi4, I loaded the image from pi imager and tried to load it on the pi and got nothing.