HomeAssist

Hello there,

Yesterday I had a short power outage. After the power was up and running again, I noticed my Home Assistant won’t start anymore.
I tried searching with the errors listed in my log below, but couldn’t find a solution.
Can anyone help me with this?

My setup:
RaspberryPi 4b
Ubuntu 20.04.1 LTS
Home-Assistant 0.114.4 running on Docker

Log:

2020-09-12 11:01:13 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for circadian_lighting which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:13 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for monitor_docker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:30 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for lovelace_gen which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:31 WARNING (MainThread) [homeassistant.config] Key whitelist_external_dirs has been replaced with allowlist_external_dirs. Please update your config
2020-09-12 11:01:31 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for eventsensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:31 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for edgeos which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:31 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 experience issues with Home Assistant.
2020-09-12 11:01:31 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=166 from 2020-09-12 07:59:30)
2020-09-12 11:01:32 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for afvalwijzer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] jackett: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' jackett
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] home-assistant: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' home-assistant
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] nginxproxyman: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' nginxproxyman
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] portainer: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' portainer
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] bitwarden: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' bitwarden
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] phpmyadmin: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' phpmyadmin
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] radarr: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' radarr
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] sonarr: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' sonarr
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] bazarr: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' bazarr
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] db: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' db
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] mosquitto: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' mosquitto
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] code-server: Cannot determine memory usage for container ('usage')
2020-09-12 11:01:34 ERROR (Thread-3) [custom_components.monitor_docker.helpers] {}: Raw 'memory_stats' code-server
2020-09-12 11:01:36 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for rpi_power which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:37 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for climacell which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-12 11:01:38 INFO (MainThread) [backoff] Backing off call_api(...) for 1.0s (asyncio.exceptions.CancelledError)

About the errors for the docker monitor. I had them before the power outage and HA worked even with those errors. I now disabled the memory sensor within the docker monitor custom component, but the errors keep showing up. But I guess that’s a different problem to be asked to the owner of that custom component.

When I open up portainer, some more info shows in the last part of the log:

/usr/local/lib/python3.8/asyncio/events.py:81: RuntimeWarning: coroutine 'ServiceRegistry._execute_service' was never awaited
  self._context.run(self._callback, *self._args)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
2020-09-12 11:01:38 INFO (MainThread) [backoff] Backing off call_api(...) for 1.0s (asyncio.exceptions.CancelledError)
No JSON data received from https://json.mijnafvalwijzer.nl/?method=postcodecheck&postcode=######&street=&huisnummer=##&toevoeging=&langs=nl

Remove the mijnafvalwijzer custom component. It causes a lot of problems these last days.

I removed it, and everything is working again.
Didn’t knew that would impact everything.

Thank you!

What I did read, afvalwijzer stopped with json on a specific page, and the component is broken, will take a few days before that will be fixed. Just look at github. I had the same issue. My HA did hang after startup but hopefully they can bring a new version soon.

Thank you,

I did noticed it was broken, just didn’t think it would break HA fully. The component was updated very quickly and is working again