Cannot connect to homeassistant, got error from "ha supervisor restart" like "Error: System is not ready with state: setup"
Sollution for RPI or ODROID:
first check logs using
docker logs -f --tail 50 hassio_supervisor
check for output like
istant%2Fqemuarm-homeassistant&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: no such host")
2025-03-31 15:48:12.252 WARNING (MainThread) [supervisor.homeassistant.core] Failed to install landingpage, retrying after 30sec
2025-03-31 15:48:42.255 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemuarm-homeassistant with tag landingpage.
2025-03-31 15:48:42.272 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemuarm-homeassistant:landingpage: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=landingpage&fromImage=ghcr.io%2Fhome-assistant%2Fqemuarm-homeassistant&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io: no such host")
2025-03-31 15:48:42.272 WARNING (MainThread) [supervisor.homeassistant.core] Failed to install landingpage, retrying after 30sec
this is DNS error issue, and how to fix it?
type:
sudo rm /etc/resolv.conf sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
wait a few minutes and check, if it still doesn't work then edit the /etc/resolv.conf file and add e.g. 8.8.8.8