Installing to a Raspberry Pi 4B

I have been through this process many times, with slightly differing, but equally unsuccessful results. I burn a new storage device with Raspberry Pi Imager, usually a 64GB micro sd card, but lately an NVMe card. In either case, it installs without a hitch. I plug the card into the RP, connect an Ethernet cable, and fire it up. It gets an IP address from my router, and I watch its progress in my browser.

Sometimes it complains about DNS. I tell it to use CloudFlare and it continues. It starts loading whatever it needs to, but eventually gets to the point where these messages repeat until I cut power:

2025-12-21 01:55:18.366 INFO (MainThread) [supervisor.docker.interface] Updating image Package raspberrypi4-64-homeassistant · GitHub to Package raspberrypi4-64-homeassistant · GitHub
2025-12-21 01:55:18.367 INFO (MainThread) [supervisor.docker.interface] Downloading docker image Package raspberrypi4-64-homeassistant · GitHub with tag 2025.12.4.
2025-12-21 01:55:30.862 ERROR (MainThread) [supervisor.docker.interface] Can’t install ghcr.io/home-assistant/raspberrypi4-64-homeassistant:2025.12.4: 500 Server Error for http+docker://localhost/v1.51/images/create?tag=2025.12.4&fromImage=ghcr.io%2Fhome-assistant%2Fraspberrypi4-64-homeassistant&platform=linux%2Farm64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: no such host”)
2025-12-21 01:55:30.864 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec

I’ve run out of ideas. Any assistance will be greatly appreciated.

OK, by power-cycling, I managed to HA to install. Got things set up, and it wants to update the supervisor. When it tries, I get:

2025-12-20 23:28:51.623 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2025.12.3

2025-12-20 23:28:51.624 INFO (MainThread) [supervisor.docker.interface] Downloading docker image Package aarch64-hassio-supervisor · GitHub with tag 2025.12.3.

2025-12-20 23:29:04.090 ERROR (MainThread) [supervisor.docker.interface] Can’t install ghcr.io/home-assistant/aarch64-hassio-supervisor:2025.12.3: 500 Server Error for http+docker://localhost/v1.51/images/create?tag=2025.12.3&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: no such host”)

2025-12-20 23:29:04.135 CRITICAL (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can’t install ghcr.io/home-assistant/aarch64-hassio-supervisor:2025.12.3: 500 Server Error for http+docker://localhost/v1.51/images/create?tag=2025.12.3&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: no such host”)

So, some progress, but just as much mystery. Any ideas?

Just some encouragement to say that it Can be done. I don’t know what I did differently to yourself, but I’ve got a live home assistant on my local network on a Raspberry Pi 4 (4GB) “to see what that does”, and I’m browsing it from a newer Raspberry Pi 5. All that I can say is ‘persevere’.

That install went onto a 32GB micro-sd at the start of December.
Memory use at present is < 2GB
cpu use has never been a hindrance, as I’m not doing much with it beyond learning the syntax and whether or not it will let me set up various things.
I’ve tried a couple of other things before I got the pi5, so I’ll report those here as “not recommended”. Various combinations of raspberry Pi 2 and 3 with 1GB of memory each were Insufficient for both running home assistant and for logging in to its web interface. For example this month, logged into this now-known-good Home Assistant on a Raspberry Pi 4, from an old Pi 2 with 1 GB of RAM, that was Insufficient. I’d installed the File editor add-on. From clicking it until being able to type in configuration.yaml which I’d previously opened before going back to Overview, took 12 to 18 seconds, limited by the browser end. From a Pi 5 with plenty of memory, doing exactly the same thing on exactly the same Pi 4 Home Assistant, took 2 to 3 seconds.

I’m quite happy for getting started with Home Assistant on my Raspberry Pi 4.

Does your ISP block github for some reason?

Try adding a better DNS server to your internet router. 9.9.9.9, 1.1.1.1, 8.8.8.8 etc…

No, I regularly use github on other local machines with no trouble. And this RP used to run HA just fine. It was when I went to install a fresh copy on a new SD card that everything went south.

So those DNS servers are a combination of Google and Cloudflare? I’ll give it a shot.

Wait, it gets better. I added some more DNS servers and restarted HA. Now It’s telling me:

2025-12-21 12:31:02.337 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2025.12.3
2025-12-21 12:31:02.340 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/aarch64-hassio-supervisor with tag 2025.12.3.
2025-12-21 12:34:24.567 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-22712' coro=<DockerInterface.install.<locals>.process_pull_image_log() done, defined at /usr/src/supervisor/supervisor/docker/interface.py:404> exception=TypeError("unsupported operand type(s) for +=: 'int' and 'NoneType'")>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/docker/interface.py", line 406, in process_pull_image_log
    self._process_pull_image_log(curr_job_id, reference)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/docker/interface.py", line 345, in _process_pull_image_log
    total += job.extra["total"]
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
2025-12-21 12:34:24.575 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-22713' coro=<DockerInterface.install.<locals>.process_pull_image_log() done, defined at /usr/src/supervisor/supervisor/docker/interface.py:404> exception=TypeError("unsupported operand type(s) for +=: 'int' and 'NoneType'")>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/docker/interface.py", line 406, in process_pull_image_log
    self._process_pull_image_log(curr_job_id, reference)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/docker/interface.py", line 345, in _process_pull_image_log
    total += job.extra["total"]
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
2025-12-21 12:35:34.822 ERROR (SyncWorker_1) [supervisor.docker.manager] error pulling image configuration: download failed after attempts=6: dial tcp: lookup ghcr.io: no such host

What the hell?

Still not finding github:

Try this: How to set DNS after first install

Here’s my current DNS setup. Are you saying I should ditch all but 9.9.9.9? Who is that, btw?

No not at all.

That topic does not apply to you, as noted in the topic:

I was under the impression that this was a first installation issue and you could not get the HA frontend up and running.

Do you have a pi-hole or AdGuard DNS filter on your network?

Unbelievable: I just tried it again, without changing anything, and it worked. I’m now running Supervisor 2025.12.3.

Isn’t .4 available now? Hmm

And now I’m getting the same error messages trying to install HACS. Sigh, I’ll just keep trying.

Thanks for your help