home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.44k stars 30.68k forks source link

HA start up error #70104

Closed moraleseder1 closed 2 years ago

moraleseder1 commented 2 years ago

The problem

I run HA on Unraid, had a power outtage and when I rebooted my server, all my docker containers start up, except for HA.

What version of Home Assistant Core has the issue?

core

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

today at 10:52:16 AMhomeassistant.exceptions.HomeAssistantError: Expecting value: line 1 column 1 (char 0) today at 10:52:16 AM[finish] process exit code 1 today at 10:52:16 AM[cont-finish.d] executing container finish scripts... today at 10:52:16 AM[cont-finish.d] done. today at 10:52:16 AM[s6-finish] waiting for services. today at 10:52:16 AM[s6-finish] sending all processes the TERM signal. today at 10:52:19 AM[s6-finish] sending all processes the KILL signal and exiting. today at 11:30:11 AM[s6-init] making user provided files available at /var/run/s6/etc...exited 0. today at 11:30:12 AM[s6-init] ensuring user provided files have correct perms...exited 0. today at 11:30:12 AM[fix-attrs.d] applying ownership & permissions fixes... today at 11:30:12 AM[fix-attrs.d] done. today at 11:30:12 AM[cont-init.d] executing container initialization scripts... today at 11:30:12 AM[cont-init.d] done. today at 11:30:12 AM[services.d] starting services today at 11:30:12 AM[services.d] done. today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration badnest 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'badnest' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration netgear_enhanced 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_2) [homeassistant.loader] The custom integration 'netgear_enhanced' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration grocy 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_5) [homeassistant.loader] The custom integration 'grocy' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration magic_areas 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_1) [homeassistant.loader] The custom integration 'magic_areas' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration waste_collection_schedule 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_3) [homeassistant.loader] The custom integration 'waste_collection_schedule' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration deepstack_face 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_7) [homeassistant.loader] The custom integration 'deepstack_face' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration noonlight 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_4) [homeassistant.loader] The custom integration 'noonlight' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_8) [homeassistant.loader] We found a custom integration deepstack_object 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_8) [homeassistant.loader] The custom integration 'deepstack_object' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration authenticated 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 today at 11:30:14 AM2022-04-15 11:30:14 ERROR (SyncWorker_6) [homeassistant.loader] The custom integration 'authenticated' does not have a version key 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_9) [homeassistant.loader] We found a custom integration browser_mod 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_10) [homeassistant.loader] We found a custom integration wyzeapi 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_11) [homeassistant.loader] We found a custom integration sonoff 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration unifigateway 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_12) [homeassistant.loader] We found a custom integration personalcapital 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration auto_backup 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration entity_controller 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration webrtc 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_13) [homeassistant.loader] We found a custom integration mail_and_packages 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_9) [homeassistant.loader] We found a custom integration plex_assistant 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_14) [homeassistant.loader] We found a custom integration adaptive_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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_3) [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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_16) [homeassistant.loader] We found a custom integration average 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_10) [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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_17) [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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_15) [homeassistant.loader] We found a custom integration amazon_rekognition 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 today at 11:30:14 AM2022-04-15 11:30:14 WARNING (SyncWorker_18) [homeassistant.loader] We found a custom integration 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_12) [homeassistant.loader] We found a custom integration google_home 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_8) [homeassistant.loader] We found a custom integration fpl 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration aarlo 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_1) [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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_19) [homeassistant.loader] We found a custom integration blueiris 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration scheduler 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration frigate 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration nodered 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration alarmo 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_20) [homeassistant.loader] We found a custom integration dwains_dashboard 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_11) [homeassistant.loader] We found a custom integration garbage_collection 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_21) [homeassistant.loader] We found a custom integration huesyncbox 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_13) [homeassistant.loader] We found a custom integration samsungtv_smart 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 today at 11:30:15 AM2022-04-15 11:30:14 WARNING (SyncWorker_16) [homeassistant.loader] We found a custom integration spotcast 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 today at 11:30:15 AM2022-04-15 11:30:15 ERROR (SyncWorker_21) [homeassistant.util.json] Could not parse JSON content: /config/.storage/core.config_entries today at 11:30:15 AMTraceback (most recent call last): today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/util/json.py", line 33, in load_json today at 11:30:15 AM return json.loads(fdesc.read()) # type: ignore[no-any-return] today at 11:30:15 AM File "/usr/local/lib/python3.9/json/init.py", line 346, in loads today at 11:30:15 AM return _default_decoder.decode(s) today at 11:30:15 AM File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode today at 11:30:15 AM obj, end = self.raw_decode(s, idx=_w(s, 0).end()) today at 11:30:15 AM File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode today at 11:30:15 AM raise JSONDecodeError("Expecting value", s, err.value) from None today at 11:30:15 AMjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) today at 11:30:15 AM2022-04-15 11:30:15 ERROR (MainThread) [root] Uncaught exception today at 11:30:15 AMTraceback (most recent call last): today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/util/json.py", line 33, in load_json today at 11:30:15 AM return json.loads(fdesc.read()) # type: ignore[no-any-return] today at 11:30:15 AM File "/usr/local/lib/python3.9/json/init.py", line 346, in loads today at 11:30:15 AM return _default_decoder.decode(s) today at 11:30:15 AM File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode today at 11:30:15 AM obj, end = self.raw_decode(s, idx=_w(s, 0).end()) today at 11:30:15 AM File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode today at 11:30:15 AM raise JSONDecodeError("Expecting value", s, err.value) from None today at 11:30:15 AMjson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) today at 11:30:15 AM today at 11:30:15 AMThe above exception was the direct cause of the following exception: today at 11:30:15 AM today at 11:30:15 AMTraceback (most recent call last): today at 11:30:15 AM File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main today at 11:30:15 AM return _run_code(code, main_globals, None, today at 11:30:15 AM File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code today at 11:30:15 AM exec(code, run_globals) today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/main.py", line 203, in today at 11:30:15 AM sys.exit(main()) today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/main.py", line 191, in main today at 11:30:15 AM exit_code = runner.run(runtime_conf) today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/runner.py", line 119, in run today at 11:30:15 AM return loop.run_until_complete(setup_and_run_hass(runtime_config)) today at 11:30:15 AM File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete today at 11:30:15 AM return future.result() today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/runner.py", line 101, in setup_and_run_hass today at 11:30:15 AM hass = await bootstrap.async_setup_hass(runtime_config) today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 138, in async_setup_hass today at 11:30:15 AM await async_from_config_dict(config_dict, hass) is not None today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 219, in async_from_config_dict today at 11:30:15 AM await hass.config_entries.async_initialize() today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/config_entries.py", line 914, in async_initialize today at 11:30:15 AM config = await self.hass.helpers.storage.async_migrator( today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 42, in async_migrator today at 11:30:15 AM if (store_data := await store.async_load()) is not None: today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 114, in async_load today at 11:30:15 AM return await self._load_task today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 123, in _async_load today at 11:30:15 AM return await self._async_load_data() today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 141, in _async_load_data today at 11:30:15 AM data = await self.hass.async_add_executor_job( today at 11:30:15 AM File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run today at 11:30:15 AM result = self.fn(*self.args, **self.kwargs) today at 11:30:15 AM File "/usr/src/homeassistant/homeassistant/util/json.py", line 39, in load_json today at 11:30:15 AM raise HomeAssistantError(error) from error today at 11:30:15 AMhomeassistant.exceptions.HomeAssistantError: Expecting value: line 1 column 1 (char 0) today at 11:30:15 AM[finish] process exit code 1 today at 11:30:15 AM[cont-finish.d] executing container finish scripts... today at 11:30:15 AM[cont-finish.d] done. today at 11:30:15 AM[s6-finish] waiting for services. today at 11:30:15 AM[s6-finish] sending all processes the TERM signal. today at 11:30:18 AM[s6-finish] sending all processes the KILL signal and exiting. today at 11:30:19 AMContainer stopped

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

thecode commented 2 years ago

The relevant error is this one Could not parse JSON content: /config/.storage/core.config_entries. Your core.config_entries file is probably damaged, if you have a backup you can rename the config folder to config1 or backup somewhere just in case, restore the backup and restart HA. If you don't have a backup either upload this file here so I can look at it (note it might contain device IPs/MAC or other sensitive data) or open it with an editor and check if it looks broken.

moraleseder1 commented 2 years ago

Okay so for some reason, that file was completely empty, I found a back up of from about 6 months ago, replaced it and HA is booting up now. What does that file hold?

thecode commented 2 years ago

Mostly data for integrations you set from the UI: https://developers.home-assistant.io/docs/config_entries_index/

moraleseder1 commented 2 years ago

Gotcha! I have no idea why it would be just blank but good thing I had the back up. Thank you so much for your help!