Stuck in 'Preparing home assistant

Good Morning,

I’m trying to install HomeAssistant in a Raspberry Pi4 1GB, 16GB miscro sd card.

I have flashed version 8.5 using both the raspberry pi imager tool and the balena etcher. Then I connect it to the raspberryPi, power and ethernet connection and I can see the ‘Preparing home assistant from a browser’. The log shows an error. I was wondering whether it could be due to the microSD running out of space, but I have found some posts around which say that you can actually use a 16GB memory device even though I will run out of memory fast.

Do you have any idea what might be causing this issue?

Below you can find the whole 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
[10:06:41] 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)
s6-rc: info: service legacy-services successfully started
[10:06:42] INFO: Starting local supervisor watchdog...
22-08-28 10:06:48 INFO (MainThread) [__main__] Initializing Supervisor setup
22-08-28 10:06:48 INFO (MainThread) [supervisor.docker.network] Can't find Supervisor network, creating a new network
22-08-28 10:06:53 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
22-08-28 10:06:53 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
22-08-28 10:06:53 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/aarch64-hassio-supervisor with version 2022.08.3
22-08-28 10:06:53 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
22-08-28 10:07:09 WARNING (SyncWorker_0) [supervisor.docker.interface] Can't find homeassistant/aarch64-hassio-supervisor for cleanup
22-08-28 10:07:09 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
22-08-28 10:07:09 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-08-28 10:07:09 INFO (MainThread) [__main__] Setting up Supervisor
22-08-28 10:07:09 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
22-08-28 10:07:10 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface io.hass.os
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.systemd1
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.login1
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
22-08-28 10:07:10 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.resolve1
22-08-28 10:07:10 INFO (MainThread) [supervisor.host.info] Updating local host information
22-08-28 10:07:10 INFO (MainThread) [supervisor.host.services] Updating service information
22-08-28 10:07:10 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-08-28 10:07:12 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-08-28 10:07:12 INFO (MainThread) [supervisor.host.network] Updating local network information
22-08-28 10:07:13 INFO (MainThread) [supervisor.host.network] Updating local network information
22-08-28 10:07:14 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
22-08-28 12:07:14 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
22-08-28 12:07:14 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-cli versions: [<AwesomeVersion CalVer '2022.06.0'>]
22-08-28 12:07:14 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.06.0
22-08-28 12:07:15 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
22-08-28 12:08:04 INFO (SyncWorker_1) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/aarch64-hassio-cli with version 2022.06.0 - 172.30.32.5
22-08-28 12:08:04 INFO (SyncWorker_0) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-dns versions: [<AwesomeVersion CalVer '2022.04.1'>]
22-08-28 12:08:04 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1
22-08-28 12:08:05 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-08-28 12:08:50 INFO (SyncWorker_1) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2022.04.1 - 172.30.32.3
22-08-28 12:08:50 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
22-08-28 12:08:50 INFO (SyncWorker_1) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-audio versions: [<AwesomeVersion CalVer '2022.07.0'>]
22-08-28 12:08:51 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.07.0
22-08-28 12:08:51 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
22-08-28 12:09:51 INFO (SyncWorker_0) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/aarch64-hassio-audio with version 2022.07.0 - 172.30.32.4
22-08-28 12:09:51 INFO (SyncWorker_1) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-observer versions: [<AwesomeVersion CalVer '2021.10.0'>]
22-08-28 12:09:51 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0
22-08-28 12:09:51 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
22-08-28 12:10:53 INFO (SyncWorker_0) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.10.0 - 172.30.32.6
22-08-28 12:10:54 INFO (SyncWorker_1) [supervisor.docker.interface] Found ghcr.io/home-assistant/aarch64-hassio-multicast versions: [<AwesomeVersion CalVer '2022.02.0'>]
22-08-28 12:10:54 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0
22-08-28 12:10:54 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
22-08-28 12:11:37 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/aarch64-hassio-multicast with version 2022.02.0 - Host
22-08-28 12:11:37 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-08-28 12:11:42 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
22-08-28 12:11:42 INFO (SyncWorker_0) [supervisor.docker.interface] No version found for ghcr.io/home-assistant/raspberrypi4-64-homeassistant
22-08-28 12:11:42 INFO (MainThread) [supervisor.homeassistant.core] No Home Assistant Docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant found.
22-08-28 12:11:42 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
22-08-28 12:11:42 INFO (MainThread) [supervisor.homeassistant.core] Using preinstalled landingpage
22-08-28 12:11:42 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
22-08-28 12:11:42 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-08-28 12:12:30 INFO (SyncWorker_1) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version landingpage
22-08-28 12:12:30 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 8.5 / BootSlot A
22-08-28 12:12:30 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
22-08-28 12:12:30 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository
22-08-28 12:12:30 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/esphome/home-assistant-addon repository
22-08-28 12:12:41 INFO (MainThread) [supervisor.store] Loading add-ons from store: 66 all - 66 new - 0 remove
22-08-28 12:12:41 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
22-08-28 12:12:41 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
22-08-28 12:12:41 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
22-08-28 12:12:41 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
22-08-28 12:12:41 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
22-08-28 12:12:41 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-08-28 12:12:41 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-08-28 12:12:41 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-08-28 12:12:41 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
22-08-28 12:12:41 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-08-28 12:12:41 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-08-28 12:12:41 INFO (MainThread) [__main__] Running Supervisor
22-08-28 12:12:42 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
22-08-28 12:12:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
22-08-28 12:12:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
22-08-28 12:12:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 0 add-ons
22-08-28 12:12:42 INFO (MainThread) [supervisor.core] Skiping start of Home Assistant
22-08-28 12:12:42 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
22-08-28 12:12:43 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-08-28 12:12:43 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-08-28 12:12:43 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant setup
22-08-28 12:12:43 INFO (MainThread) [supervisor.host.info] Updating local host information
22-08-28 12:12:43 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7
22-08-28 12:12:43 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-08-28 12:12:43 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.8.7.
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-08-28 12:12:43 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-08-28 12:12:46 INFO (MainThread) [supervisor.host.services] Updating service information
22-08-28 12:12:46 INFO (MainThread) [supervisor.host.network] Updating local network information
22-08-28 12:12:46 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-08-28 12:12:46 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-08-28 12:12:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-08-28 12:12:50 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-08-28 12:12:50 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-08-28 12:29:03 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7")
22-08-28 12:29:03 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
22-08-28 12:29:33 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7
22-08-28 12:29:33 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.8.7.
22-08-28 12:31:28 ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7")
22-08-28 12:31:28 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
22-08-28 12:31:58 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7
22-08-28 12:31:58 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.8.7.
22-08-28 12:33:38 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7")
22-08-28 12:33:38 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
22-08-28 12:34:08 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7
22-08-28 12:34:08 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.8.7.
22-08-28 12:57:09 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: 404 Client Error for http+docker://localhost/v1.41/images/ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7/json: Not Found ("no such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7: No such image: ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7")
22-08-28 12:57:09 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
22-08-28 12:57:39 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/raspberrypi4-64-homeassistant:landingpage to ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2022.8.7
22-08-28 12:57:39 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/raspberrypi4-64-homeassistant with tag 2022.8.7.

Thanks and regards

It turned out it was a faulty sd card, which is pretty surprising as it is brand new.

Regards