Home Assistant (17.3) installation fails on Raspberry Pi 5

Hi everyone,

I wanted to install Home Assistant on my Raspberry Pi 5, but I’m running into problems and have pretty much run out of ideas. Here are the components:

Raspberry Pi 5 (8 GB RAM),
500 GB Intenso Premium NVMe Gen 3,
Original 27W power supply,
Argon Neo 5 case,
Pi connected to the router via LAN.

The problem is as follows: I installed HA 17.3 onto the NVMe SSD using the Imager and inserted it into the Raspberry Pi 5. HA boots up and indicates that everything is fine.

When I access http://homeassistant.local:8123/ (or ip:8123), the installation process begins. Everything works at first, but then an error occurs:

ERROR (MainThread) [supervisor.docker.manager] failed commit on ref "layer-sha256:43f998f61b560d0a6ab96a8b58dd4e6edb2c6499c32154dbee1fcb61f24ada90": commit failed: unexpected commit digest sha256:23e3ab27e064f5f35df1630256e04c07217804f31be4b38328e3ea0609b03e0b, expected sha256:43f998f61b560d0a6ab96a8b58dd4e6edb2c6499c32154dbee1fcb61f24ada90: failed precondition.

WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec. The error then enters an infinite loop and repeats continuously.

I have tried the following potential solutions, but unfortunately, none of them worked.

  1. I installed the HA 16.2 and 16.3 images on the NVMe; it worked, but with errors. I was able to set up the Pi, but after shutting it down, I could no longer access the user interface—even though the Pi indicated that everything was running perfectly.
  2. Installed the image on the NVMe using Pi Imager on Windows.
  3. Installed the image directly via the Pi.
  4. Tried using a different power supply (higher wattage).
  5. Tried using a USB-to-NVMe adapter to connect the NVMe to the Pi via USB.
  6. Tried using a 128 GB SD card and installed HA on it.
  7. Installed Raspberry Pi OS on both SD and NVMe; that ran without issues. I also tried installing HA there.
  8. Freshly re-flashed HA onto the NVMe at least 10–15 times, formatting the drive beforehand—hope dies last.
  9. Used a different network router / internet provider.
  10. Changed the boot order to NVMe.
  11. Checked the SSD using CrystalDisk; it showed no errors.
  12. Used a different NVMe drive (Crucial 500 GB).
  13. Sought advice from Perplexity/ChatGPT and tried the suggested solutions.

Unfortunately, nothing worked, and I am at my wit's end. I would appreciate your help.

There was a thing for a while that PI5's that did not have the internal firmware up to date were having problems installing HA. Make sure the Pi itself's internal eeprom is the latest.

after checking the firmware, i'd also disable the wifi (via the second option in link) Disabling Wifi on Raspberry Pi - Installation / Home Assistant OS - Home Assistant Community

Hello, I have same problem with installation on Virtualbox. The problem appears to be with the file signature. It expects a certain SHA256 and receives a different one, thus blocking the installation. Does anyone know how to fix this? I've run all the network checks, and they've all been successful.