I had a power outage today, and since then I’ve been unable to access the web front end on Hassio on my RPi3.
I have the SAMBA add-on enabled and can see the usual shared folders and the HA log, which doesn’t report any significant errors or warning (just what i normally get), which seems to suggest HA is running, but the web UI isn’t allowing connection.
I’ve seen that this seems to be a common error after a power outage usually fixed by a re-install. I’m reluctant to jump straight into that route as I have the ps4wakerbridge installed and that was a pain to get working.
Can anyone off pointers to fix this issue without a full re-install?
2019-03-31 22:31:59 WARNING (Recorder) [homeassistant.components.recorder.migration] Database is about to upgrade. Schema version: None
2019-03-31 22:32:01 WARNING (MainThread) [homeassistant.loader] You are using a custom component for alexa.media_player which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-31 22:32:01 WARNING (MainThread) [homeassistant.loader] You are using a custom component for ps4.media_player which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-31 22:32:02 ERROR (SyncWorker_17) [custom_components.ps4.media_player] Failed to call info: HTTPConnectionPool(host='x.x.x.x', port=3031): Max retries exceeded with url: /ps4/x.x.x.x/info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x72aad1b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2019-03-31 22:32:06 ERROR (SyncWorker_12) [homeassistant.components.media_player.onkyo] Unable to connect to receiver at x.x.x.x
2019-03-31 22:32:06 ERROR (SyncWorker_4) [pychromecast.socket_client] [x.x.x.x:8009] Failed to connect, retrying in 5.0s
2019-03-31 22:32:11 ERROR (SyncWorker_3) [homeassistant.components.device_tracker.icloud] Multiple devices with name: xxxx
I only have HassOS all in one install. When you log in via ssh there are a list of commands available. You can restart host and home assistant. I think stop home assistant then reboot host then restart home assistant. That’s usually done it for me in the past.
hassio > ha restart
Error: Unknown Error, see logs
Checking the logs I fount that the chromecast component was failing to load and crashing out a task. When I removed that the system was able to restart successfully. On further investigation, it transpired that the Google Home Mini hadn’t come back online after power outage and it was that causing the chromecast error.
Many thanks for all the pointers on how to investigate.