Error Installing Home Assistant - Name Resolution

Hi All,

I am installing Home Assistant on a Virtuabox machine for testing. When I connect to the URL via the host machine, I am getting the following error message:

Error installing Home Assistant

An error occured while installing Home Assistant, check the logs below for more information.

There are some orange errors which I think are normal and the one in red as follows:

[supervisor.docker.interface] Can’t install ghcr.io/home-assistant/qemux86-64-homeassistant:2024.11.3: 500 Server Error for http+docker://localhost/v1.47/images/create?tag=2024.11.3&fromImage=ZZZZ: Internal Server Error (“Get XXXX”: dial tcp: lookup ghcr.io: Temporary failure in name resolution")

(I replaced a few URLs because forum won’t allow me to post all of the links).

It looks like these are related to DNS/name server information. I tried editing the etc/resolv.conf in the shell and putting in some good DNS servers, but these disappear when I restart the server. I also tried setting the DNS servers with the following command:

ha dns options --servers dns://4.2.2.1
ha dns restart

I’m not sure where to go from here. Does anyone have any suggestions?

Thank you!

Have a read of this to set the DNS correctly: First time install Raspberry Pi 4 - #4 by mlydeen Ignore the HDMI stuff just the login and network commands. Also the next post about finding the correct adaptor to use.