Stuck while installing HAOS on TrueNas Scale

I don’t know what else to do, Ive ben trying to install HAOS for a couple of hours but Im still stuck in the preparing Home Assistant part.

I started following this guide by @troy : “https:community.home-assistant.io/t/installing-haos-in-a-vm-on-truenas-scale/511393” and it worked great but when I go to homeassistant:8123/ and look at the logs, Im stuck in a loop:

23-12-09 13:04:41 ERROR (SyncWorker_1) [supervisor.docker.interface] Can’t install .ghcr.io/home-assistant/qemux86-64-homeassistant:2023.12.1: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2023.12.1&.fromImage=.ghcr.io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error (“Get “https://ghcr.io/v2/”: dial tcp: lookup ghcr.io: no such host”)
23-12-09 13:04:41 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec

I dont know what to do, Ive try to restart from scratch and I get the same result. Also I cant ping any web from the TrueNas VM shell. I guess it has something to with dns but Im kinda new with these things.

Any thoughts?

What you see on your browser window is sometimes deceptive. Refresh the browser window to see the real status of the window (on your keyboard press F5 or ctrl F5)

It shows the same thing no matter how many times I reload. Is there any way to change the dns from the console? Im using pihole on my router, could that be the problem?

Your issue is DNS related, as your system cannot access ghcr.io. Unless you have manually changed things in Pi-hole, the default Pi-hole settings are never the issue.

In TrueNAS create any VM and try to ping ghcr.io.

Hi @nesta

I just thought of something to check in TrueNAS

On the global network configuration page - How is the Outbound Network set?

image

I’m finally home and was able to check my settings on TrueNAS. I no longer think it’s related to Outbound Network settings. However, it may help to add your pi-hole IP as a Nameserver and your router’s IP as the Default Gateway