Homeassistant stopped working, a lot of errors

Hey guys,

My Homeassistant stopped working correctly all of a sudden a couple of days ago.
I updated to core-2021.6.0 from 2021.5.5 last week. But I dont recall it breaking it then.

Installation info:

System Health

version: core-2021.6.5
installation_type: Home Assistant Core
dev: false
hassio: false
docker: false
virtualenv: true
python_version: 3.8.5
os_name: Linux
os_version: 5.10.17-v7l+
arch: armv7l
timezone: Europe/Belgrade


GitHub API: ok
Github API Calls Remaining: 4853
Installed Version: 1.12.4
Stage: running
Available Repositories: 904
Installed Repositories: 11


dashboards: 4
resources: 10
views: 7
mode: storage


api_endpoint_reachable: ok

This is the log, but its to over my head

Log:

2021-06-18 17:06:15 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ziggonext 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
2021-06-18 17:06:15 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration samsungtv_tizen 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
2021-06-18 17:06:15 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration plex_recently_added 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
2021-06-18 17:06:15 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration 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
2021-06-18 17:06:15 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration radarr_upcoming_media 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
2021-06-18 17:06:15 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration sonarr_upcoming_media 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
2021-06-18 17:06:15 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration files 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
2021-06-18 17:06:15 ERROR (SyncWorker_5) [homeassistant.loader] The custom integration 'files' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
2021-06-18 17:06:17 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/homeassistant/.homeassistant/home-assistant_v2.db was shutdown cleanly
2021-06-18 17:06:17 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=42 from 2021-06-18 14:54:18.206727)
2021-06-18 17:06:26 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:06:26 ERROR (MainThread) [hass_nabucasa.remote] Unexpected error in Remote UI loop
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/remote.py", line 379, in _certificate_handler
if not await self.load_backend():
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/remote.py", line 137, in load_backend
resp = await cloud_api.async_remote_register(self.cloud)
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/cloud_api.py", line 16, in check_token
await cloud.auth.async_check_token()
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/auth.py", line 168, in async_check_token
if not self._authenticated_cognito.check_token(renew=False):
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/auth.py", line 214, in _authenticated_cognito
raise Unauthenticated("No authentication found")
hass_nabucasa.auth.Unauthenticated: No authentication found
2021-06-18 17:06:31 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:06:36 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:06:53 WARNING (MainThread) [homeassistant.setup] Setup of cloud is taking over 10 seconds.
2021-06-18 17:06:54 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:06:54 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:07:07 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:07:24 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:07:40 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud
2021-06-18 17:08:02 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:08:07 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:08:11 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:08:20 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:08:21 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:08:37 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:08:39 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:08:39 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/local/file-loader.js:7:1 Uncaught SyntaxError: Unexpected token '<'
2021-06-18 17:08:39 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:08:40 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud
2021-06-18 17:09:07 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:09:07 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:09:07 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:09:22 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:09:40 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud
2021-06-18 17:09:48 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/hacsfiles/lovelace-thermostat-dark-card/thermostat-dark-card.js:253:15124 Uncaught TypeError: Cannot read property 'attributes' of undefined
2021-06-18 17:09:48 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:09:48 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/local/file-loader.js:7:1 Uncaught SyntaxError: Unexpected token '<'
2021-06-18 17:09:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:09:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:09:48 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:10:40 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud
2021-06-18 17:10:57 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:10:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:10:58 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/hacsfiles/lovelace-thermostat-dark-card/thermostat-dark-card.js:253:15124 Uncaught TypeError: Cannot read property 'attributes' of undefined
2021-06-18 17:10:58 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:10:58 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/local/file-loader.js:7:1 Uncaught SyntaxError: Unexpected token '<'
2021-06-18 17:10:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:10:58 ERROR (MainThread) [frontend.js.latest.202106030] http://XXX.XXX.XXX.XXX:XXX/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:11:15 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook c8fbaf8f2b98e544d31a89e52319720b8a78f7e2ce7f667bfc80aa52abe2ddad from XXX.XXX.XXX.XXX
2021-06-18 17:11:38 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: No authentication found
2021-06-18 17:11:41 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: cloud
2021-06-18 17:11:43 ERROR (MainThread) [homeassistant.setup] Setup of cloud is taking longer than 300 seconds. Startup will proceed without waiting any longer
2021-06-18 17:11:46 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Configuration.yaml' for nest integration could not authenticate: Access token failure: ('invalid_grant: Token has been expired or revoked.', '{\n "error": "invalid_grant",\n "error_description": "Token has been expired or revoked."\n}')
2021-06-18 17:11:46 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud
2021-06-18 17:11:46 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2021-06-18 17:11:55 WARNING (MainThread) [homeassistant.setup] Setup of ziggonext is taking over 10 seconds.
2021-06-18 17:12:00 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/google_assistant/helpers.py", line 114, in sync_google
await self.async_sync_entities_all()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/google_assistant/helpers.py", line 214, in async_sync_entities_all
res = await gather(
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/google_assistant/helpers.py", line 207, in async_sync_entities
status = await self._async_request_sync_devices(agent_user_id)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/cloud/google_config.py", line 170, in _async_request_sync_devices
resp = await cloud_api.async_google_actions_request_sync(self._cloud)
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/cloud_api.py", line 16, in check_token
await cloud.auth.async_check_token()
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/auth.py", line 168, in async_check_token
if not self._authenticated_cognito.check_token(renew=False):
File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/auth.py", line 214, in _authenticated_cognito
raise Unauthenticated("No authentication found")
hass_nabucasa.auth.Unauthenticated: No authentication found
2021-06-18 17:12:10 ERROR (MainThread) [frontend.js.latest.202106030] http://192.168.1.25:8123/lovelace-hoofd/default_view:0:0 Uncaught
2021-06-18 17:12:10 ERROR (MainThread) [frontend.js.latest.202106030] http://192.168.1.25:8123/local/file-loader.js:7:1 Uncaught SyntaxError: Unexpected token '<'
2021-06-18 17:12:10 ERROR (MainThread) [frontend.js.latest.202106030] http://192.168.1.25:8123/lovelace-hoofd/default_view:0:0 Uncaught

I checked the update info before updating and as far as I know I didnt see any breaking changes.

Thanks for the help.

Its also not connecting to my nabu anymore,

Connection failed: No response from instance

I think it has something to do with not being able to connect to the cloud…
It can also not load default_config:

I already removed all custom integrations and its still not able to connect to the cloud.

I also lost the ability in the settings to connect to the cloud.

edit:

Logger: hass_nabucasa.remote
Source: /srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/remote.py:415
First occurred: 8:00:02 (1 occurrences)
Last logged: 8:00:02

Unexpected error in Remote UI loop
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/remote.py", line 379, in _certificate_handler
    if not await self.load_backend():
  File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/remote.py", line 137, in load_backend
    resp = await cloud_api.async_remote_register(self.cloud)
  File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/cloud_api.py", line 16, in check_token
    await cloud.auth.async_check_token()
  File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/auth.py", line 168, in async_check_token
    if not self._authenticated_cognito.check_token(renew=False):
  File "/srv/homeassistant/lib/python3.8/site-packages/hass_nabucasa/auth.py", line 214, in _authenticated_cognito
    raise Unauthenticated("No authentication found")
hass_nabucasa.auth.Unauthenticated: No authentication found

Im a moron. Its official now.
It was a payment issue for nabu. I renewed my subscription and all is good now…

(In my defense, the nabu casa website show confusing dates for when payment is due. It didnt say there was a payment issue, and told me next payment was due June 9th.)

1 Like

I’ve been tracking this topic as I was interested in the answer (I did not have one). Thank you for updating with the solution. Don’t feel bad, it is something that is easy to overlook.