Failed to install Home Assistant on Raspberry Pi 3 Moel B V1.2

This is the first time I meet Home Assistant, however, I can not install it… I use a 64G SamSung SD card, and my operating system is MacOS 10.15.7 ( BTW, it is strange that when reading the SD card on my Mac, it shows that the stoarge is 67G ). I also use Raspberry Pi 3 Moel B V1.2 as the hardware. The workflow for me is as follows.

  1. Format the SD card to exFat.

  2. Use balenaEtcher to flash the file to my SD card. For the image, I tried both Raspberry Pi 3 Model B and B+ 32-bit and Raspberry Pi 3 Model B and B+ 64-bit.

  3. Insert the SD card to my Pi 3, and wait.

  4. 20 minutes passed, I logged into homeassistant.local:8123/ and found the following logs.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
[04:49:03] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[04:49:05] INFO: Start local supervisor watchdog...
Initialize Supervisor setup
Initialize Supervisor Sentry
Create Supervisor media folder /data/media
Setup coresys for machine: raspberrypi3
Attach to Supervisor homeassistant/armv7-hassio-supervisor with version 247
Connect Supervisor to hassio Network
Cleanup images: ['homeassistant/armv7-hassio-supervisor:242']
Setup Supervisor
Update local host information
Update service information
Update local network information
Update PulseAudio information
Failed to load cookie file from cookie: No such file or directory
Load AppArmor Profiles: {'hassio-supervisor'}
Reload local service hassos-apparmor.service
Attach to homeassistant/armv7-hassio-dns with version 9
Restart CoreDNS plugin
Restart homeassistant/armv7-hassio-dns
Updated /etc/resolv.conf
Attach to homeassistant/armv7-hassio-audio with version 17
Attach to homeassistant/armv7-hassio-cli with version 26
No observer plugin Docker image homeassistant/armv7-hassio-observer found.
Setup observer plugin
Fetch update data from https://version.home-assistant.io/stable.json
Pull image homeassistant/armv7-hassio-observer tag 2020.10.1.
observer plugin now installed
Start observer plugin
Start Observer homeassistant/armv7-hassio-observer with version 2020.10.1 - 172.30.32.6
Attach to homeassistant/armv7-hassio-multicast with version 3
Restart Multicast plugin
Restart homeassistant/armv7-hassio-multicast
Fetch update data from https://version.home-assistant.io/stable.json
Load Home Assistant secrets: 0
Attach to homeassistant/raspberrypi3-homeassistant with version landingpage
Detect HassOS 4.13 / BootSlot A
Load add-on /data/addons/core repository
Load add-on /data/addons/git/a0d7b954 repository
Load add-ons from store: 66 all - 66 new - 0 remove
Found 0 installed add-ons
Found 0 snapshot files
Load 0 messages
Load 0 ingress session
Run Supervisor
Start API on 172.30.32.2
Rauc: A - marked slot kernel.0 as good
Phase 'AddonStartup.INITIALIZE' start 0 add-ons
Phase 'AddonStartup.SYSTEM' start 0 add-ons
Phase 'AddonStartup.SERVICES' start 0 add-ons
Skip start of Home Assistant
Phase 'AddonStartup.APPLICATION' start 0 add-ons
All core tasks are scheduled
Started Supervisor hardware monitor
Supervisor is up and running
Setup Home Assistant
Update local host information
Update image homeassistant/raspberrypi3-homeassistant:landingpage to homeassistant/raspberrypi3-homeassistant:0.116.4
Pull image homeassistant/raspberrypi3-homeassistant tag 0.116.4.
Update service information
Update local network information
Update PulseAudio information
Failed to load cookie file from cookie: No such file or directory
Can't install homeassistant/raspberrypi3-homeassistant:0.116.4 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:0.116.4: No such image: homeassistant/raspberrypi3-homeassistant:0.116.4").
This error is often caused by not having enough disk space available. Available space in /data is: 54.8 GiB
Error on install Home Assistant. Retry in 30sec
Update image homeassistant/raspberrypi3-homeassistant:landingpage to homeassistant/raspberrypi3-homeassistant:0.116.4
Pull image homeassistant/raspberrypi3-homeassistant tag 0.116.4.

It seems that 404 is a storage problem, and it comes into a dead loop with retrying in 30 seconds and pulling the file again… I just pulled out the SD card, and checked it on my Mac, finding out that all space has run out… It is strange! Does Home Assistant need a SD card with larger than 64G, or there is something I missed?

No 64GB should be plenty. When you did this:

Did you remove all other partitions?

After I format it, I checked it.

From the figure, I guess there is only 1 partition after the format.

When balena etcher has finished, remove the SD card from your Mac without touching a key or clicking on your mouse

It sounds strange, but let me try first.

Failed, but still thanks.

So I guess my problem will never be solved. :frowning:

That strange. Did you tried with the latest beta?

Under Assets

Why? That is not in the instructions.

Also, is your pi plugged into ethernet?

So you mean I shoudn’t format the SD card, but just flash into it?

Yes, it is plugged into wired internet.

Follow the instructions!

1 Like

UPDATE

After I connect Pi to HDMI, I found the following error message:

[811.773354] Under-voltage detected!
[821.928316] Voltage normalized
[831.778306] EXT4-fs error (device mmcblk0p8: ext4_validate_block_bitmap:384: comm exe: bg 64: bad block bitmap checksum`

It just keeps showing the same error message. So any idea?

Looks to me like you have a corrupted SD card due to insufficient power super. A 2.4 amp or higher PSU for a Pi3 is recommended.

Thanks, let me try first.

Now the power error message has gone, however, it still shows the EXT4-fs error… Sigh, maybe I need to switch to another SD card.