Hi All,
For the last couple of days my HA has been down. I am at a loss as to what is going on…
I am running the latest build (0.102.1 - was also having probs on 0.101.x) within a docker container on a QNAP 451+.
The symptoms I am having is that the HA boots to a certain point and stops. This is what I am presented with on the console:
2019-11-22 06:43:25 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.template
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.bom
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.broadlink
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.legacy
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.waze_travel_time
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.qnap
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.airvisual
2019-11-22 06:43:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.vacuum] Setting up vacuum.xiaomi_miio
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.xiaomi_miio.vacuum] Initializing with host 192.168.55.230 (token 676c3...)
2019-11-22 06:43:27 INFO (SyncWorker_3) [homeassistant.loader] Loaded generic from homeassistant.components.generic
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.setup] Setting up switch
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.switch] Setting up switch.template
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.switch] Setting up switch.broadlink
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.switch] Setting up switch.broadlink
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wake_on_lan
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.setup] Setting up camera
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.ffmpeg
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.ffmpeg
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.generic
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.mjpeg
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.mjpeg
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.camera] Setting up camera.ffmpeg
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.setup] Setup of domain vacuum took 2.0 seconds.
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 3.3 seconds.
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.setup] Setting up ios
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.legacy
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.setup] Setup of domain ios took 0.0 seconds.
2019-11-22 06:43:27 INFO (MainThread) [homeassistant.components.notify] Setting up notify.ios
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 4.2 seconds.
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.garbage_collection
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.garbage_collection
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.garbage_collection
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.zwave
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.nest
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.openuv
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.alexa_media
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.ios
2019-11-22 06:43:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.asuswrt
2019-11-22 06:43:30 INFO (MainThread) [hacs.repository.integration.hacs.integration] Registration complete
2019-11-22 06:43:31 INFO (MainThread) [hacs.data] Restore started
2019-11-22 06:43:31 INFO (MainThread) [hacs.data] Restore done
2019-11-22 06:43:31 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 7.1 seconds.
2019-11-22 06:43:31 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hacs
and I get the following in the log:
2019-11-22 06:42:53 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for anniversaries 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-11-22 06:42:53 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for garbage_collection 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-11-22 06:42:53 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs 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-11-22 06:42:53 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for alexa_media 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-11-22 06:42:54 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=607 from 2019-11-22 06:40:52)
2019-11-22 06:42:55 ERROR (MainThread) [homeassistant.setup] Setup failed for anniversaries: No setup function defined.
2019-11-22 06:42:59 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sun2 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-11-22 06:43:00 ERROR (SyncWorker_3) [pyecobee] Error while refreshing tokens from ecobee: 400: {'error': 'invalid_grant', 'error_description': 'The authorization grant, token or credentials are invalid, expired, revoked, do not match the redirection URI used in the authorization request, or was issued to another client.', 'error_uri': 'https://tools.ietf.org/html/rfc6749#section-5.2'}
2019-11-22 06:43:01 ERROR (MainThread) [homeassistant.components.ecobee] Error updating ecobee tokens
2019-11-22 06:43:09 WARNING (MainThread) [homeassistant.setup] Setup of doorbird is taking over 10 seconds.
which doesn’t tell me a lot.
Before it stopped working I was updating a few apps in HACS which weren’t really playing ball - for example, on one app, I’d select the update version and hit update and nothing was happening. The last thing I did is update the Anniversaries custom component and the Garbage Collection components (tried to, this is what wasn’t working). I think got busy with kids and wife and didn’t do anything else. During the night HA stopped working and since then I have been unable to get it booting again.
I have tried restoring from backup which I think is before the issues starting happening - no luck. I have also tried creating new docker containers with the current and newest versions of HA with no difference. It seems HA just doesn’t want to run on my box with something in my config or cache which it doesn’t like.
While trying to fix the issues, I noticed my NAS running slow and I think having memory issues so I rebooted and updated the firmware. I am not sure if I did this before or after the issues, I think after but cannot be positive. Although in saying this, I have an older version .64 copy of HA running on docker and I boot that with no issue…
I suspect that HACS has somehow had a conniption (no evidence of course and it’s a great product regardless of what it has done on my system) - does anyone know how I can remove HACs from my system completely to see if that isolates it? Can I delete anything in .storage or somewhere else that will reset HACs/config?
Any advice on what I can check, things I can try, etc etc graciously accepted. Got 2 years of config there not working and at a loss on what to try next…
Thanks,