Posting here to document my attempts to resolve this issue, hopefully it can help other users with a similar issue. Thanks to mods who have helped me get this far.
I have a fresh install of HA that I cannot access through the browser by any method. It is listed as a wired (LAN) connection in my router UI and responds to pings, but that is all. I have tried:
15-20 re-flashes
several re-downloads of 32bit and 64 bit images
several power supplies
several SD cards
several SD card readers
wifi and LAN install attempts
specifically allowing TCP traffic to port 8123 as per this guide
disabling windows firewall altogether
Debugging using this guide yielded the following report:
-- Logs begin at Fri 2018-06-22 11:11:49 UTC. --
Jun 22 11:47:10 hassio hassos-supervisor[552]: 18-06-22 11:47:10 WARNING (MainThread) [hassio.homeassistant] Fails install landingpage, retry after 30sec
Jun 22 11:47:40 hassio hassos-supervisor[552]: 18-06-22 11:47:40 INFO (SyncWorker_11) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag landingpage.
Jun 22 11:47:50 hassio hassos-supervisor[552]: 18-06-22 11:47:50 ERROR (SyncWorker_11) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:landingpage -> 500 Server Error: Internal Server Error ("Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.1.1:53: read udp 192.168.1.103:42324->192.168.1.1:53: i/o timeout").
Would appreciate some pointers from more experienced folks. I’ve had HA working in the past and it seemed great, but I’m not sure I want to automate my whole life on something that breaks on a fresh install…
It seems to be DNS problem associated with docker. This article suggests that these kind of errors are somewhat commonplace.
Am I able to run the kinds of tests they suggest for docker inside Hassos? This is my first foray into anything command-line related so please excuse the dumb questions. I don’t need the problems solved for me, just the right direction
They are telling you the network is broken. Your device has no access to the outside world. It can’t ping an IP outside of it’s network (can you ping your router?), and it will never resolve any hostnames/DNS if you don’t fix the networking.
Thanks for your reply and sorry about the delay. I ended up giving up temporarily and had to re-image to try again.
After a reinstall I can successfully ping the router and an external IP (8.8.8.8) from inside the pi. All other devices on the network can connect to the internet just fine.
Checking the supervisor logs, I am getting very different reports:
Dec 10 22:34:30 hassio hassos-supervisor[1140]: 19-12-10 22:34:30 INFO (MainThre ad) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
Dec 10 23:21:10 hassio hassos-supervisor[1140]: 19-12-10 23:21:10 INFO (MainThread) [hassio.host.info] Update local host information
Dec 10 23:21:10 hassio hassos-supervisor[1140]: 19-12-10 23:21:10 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
Dec 10 23:21:10 hassio hassos-supervisor[1140]: 19-12-10 23:21:10 INFO (MainThread) [hassio.host.services] Update service information
Dec 10 23:21:10 hassio hassos-supervisor[1140]: 19-12-10 23:21:10 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
Dec 10 23:21:11 hassio hassos-supervisor[1140]: 19-12-10 23:21:11 INFO (MainThread) [hassio.host.network] Update local network DNS information
Dec 10 23:21:11 hassio hassos-supervisor[1140]: 19-12-10 23:21:11 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
Dec 10 23:34:30 hassio hassos-supervisor[1140]: 19-12-10 23:34:30 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/hassio-addons/repository repository
Dec 10 23:34:30 hassio hassos-supervisor[1140]: 19-12-10 23:34:30 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
Dec 10 23:34:32 hassio hassos-supervisor[1140]: 19-12-10 23:34:32 INFO (MainThread) [hassio.store] Load add-ons from store: 62 all - 0 new - 0 remove
I’m pretty stumped- Same image file, same machine, same SD card and same router, same settings. However, I still can’t access the frontend.
Resetting the pi changed the supervisor output. Still can’t access the UI
-- Logs begin at Fri 2018-06-22 11:11:49 UTC. --
Dec 11 00:23:52 hassio hassos-supervisor[592]: 19-12-11 00:23:52 INFO (MainThread) [__main__] Run Hass.io
Dec 11 00:23:52 hassio hassos-supervisor[592]: 19-12-11 00:23:52 INFO (MainThread) [hassio.api] Start API on 172.30.32.2
Dec 11 00:23:52 hassio hassos-supervisor[592]: 19-12-11 00:23:52 INFO (MainThread) [hassio.addons] Phase 'initialize' start 0 add-ons
Dec 11 00:23:52 hassio hassos-supervisor[592]: 19-12-11 00:23:52 INFO (MainThread) [hassio.addons] Phase 'system' start 0 add-ons
Dec 11 00:23:52 hassio hassos-supervisor[592]: 19-12-11 00:23:52 INFO (MainThread) [hassio.addons] Phase 'services' start 0 add-ons
Dec 11 00:23:52 hassio hassos-supervisor[592]: 19-12-11 00:23:52 INFO (SyncWorker_3) [hassio.docker.interface] Start homeassistant/raspberrypi3-homeassistant
Dec 11 00:33:57 hassio hassos-supervisor[592]: 19-12-11 00:33:57 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
Dec 11 00:33:57 hassio hassos-supervisor[592]: 19-12-11 00:33:57 INFO (MainThread) [hassio.addons] Phase 'application' start 0 add-ons
Dec 11 00:33:57 hassio hassos-supervisor[592]: 19-12-11 00:33:57 INFO (MainThread) [hassio.tasks] All core tasks are scheduled
Dec 11 00:33:57 hassio hassos-supervisor[592]: 19-12-11 00:33:57 INFO (MainThread) [hassio.core] Hass.io is up and running
Also, why would the ip address of Homeassistant be 172.30.32.1 when the pi is listed as 192.168.1.102 in my router