Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set up dependencies of default_config. Setup failed for dependencies: config, frontend, history, logbook, map, mobile_app #28361

Closed
lee-costa opened this issue Oct 31, 2019 · 48 comments
Labels

Comments

@lee-costa
Copy link

lee-costa commented Oct 31, 2019

Home Assistant release with the issue:

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu 18.04

Integration:

Description of problem:

I am following this guide https://www.home-assistant.io/docs/installation/raspberry-pi/ and keep receiving the error

Unable to set up dependencies of default_config. Setup failed for dependencies: config, frontend, history, logbook, map, mobile_app 

when starting using the command hass .

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Unable to find configuration. Creating default one in /home/USER/.homeassistant
Config directory: /home/USER/.homeassistant
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded group from homeassistant.components.group
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2019-10-31 00:49:06 INFO (SyncWorker_0) [homeassistant.loader] Loaded script from homeassistant.components.script
2019-10-31 00:49:06 INFO (SyncWorker_2) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
2019-10-31 00:49:06 INFO (SyncWorker_0) [homeassistant.loader] Loaded http from homeassistant.components.http
2019-10-31 00:49:06 INFO (SyncWorker_2) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2019-10-31 00:49:06 INFO (SyncWorker_3) [homeassistant.loader] Loaded config from homeassistant.components.config
2019-10-31 00:49:06 INFO (SyncWorker_4) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2019-10-31 00:49:06 INFO (SyncWorker_0) [homeassistant.loader] Loaded api from homeassistant.components.api
2019-10-31 00:49:06 INFO (SyncWorker_2) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2019-10-31 00:49:06 INFO (SyncWorker_3) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2019-10-31 00:49:06 INFO (SyncWorker_4) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2019-10-31 00:49:06 INFO (SyncWorker_0) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2019-10-31 00:49:06 INFO (SyncWorker_2) [homeassistant.loader] Loaded history from homeassistant.components.history
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2019-10-31 00:49:06 INFO (SyncWorker_3) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2019-10-31 00:49:06 INFO (SyncWorker_4) [homeassistant.loader] Loaded map from homeassistant.components.map
2019-10-31 00:49:06 INFO (SyncWorker_0) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2019-10-31 00:49:06 INFO (SyncWorker_2) [homeassistant.loader] Loaded person from homeassistant.components.person
2019-10-31 00:49:06 INFO (SyncWorker_1) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2019-10-31 00:49:06 INFO (SyncWorker_3) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2019-10-31 00:49:06 INFO (SyncWorker_4) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2019-10-31 00:49:06 INFO (SyncWorker_0) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2019-10-31 00:49:06 INFO (SyncWorker_2) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.bootstrap] Setting up {'system_log'}
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up http
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up system_log
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up recorder
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.1 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2019-10-31 00:49:06 ERROR (MainThread) [homeassistant.setup] Error during setup of component lovelace
Traceback (most recent call last):
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/components/lovelace/__init__.py", line 66, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up group
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up person
2019-10-31 00:49:06 INFO (SyncWorker_3) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up config
2019-10-31 00:49:06 ERROR (MainThread) [homeassistant.setup] Error during setup of component config
Traceback (most recent call last):
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/components/config/__init__.py", line 34, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up history
2019-10-31 00:49:06 ERROR (MainThread) [homeassistant.setup] Error during setup of component history
Traceback (most recent call last):
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/components/history/__init__.py", line 283, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/USER/homeassistant/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-10-31 00:49:06 INFO (MainThread) [homeassistant.setup] Setting up api
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up auth
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up system_health
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up webhook
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2019-10-31 00:49:07 INFO (SyncWorker_0) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up script
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.1 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up tts
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up cloud
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setting up automation
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.3 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.3 seconds.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: lovelace
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.config] Unable to import mobile_app: No module named 'hass_frontend'
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Invalid config.
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2019-10-31 00:49:07 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds.
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: config, frontend, history, logbook, map, mobile_app
2019-10-31 00:49:07 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2019-10-31 00:49:09 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 2.41s
2019-10-31 00:49:09 WARNING (MainThread) [homeassistant.bootstrap] Python 3.6 support is deprecated and will be removed in the first release after December 15, 2019. Please upgrade Python to 3.7.0 or higher.
2019-10-31 00:49:09 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-10-31 00:49:09 INFO (SyncWorker_0) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2019-10-31 00:49:09 INFO (MainThread) [homeassistant.core] Timer:starting

Additional information:

@trantuan4889
Copy link

trantuan4889 commented Oct 31, 2019

I same:

2019-10-31 14:03:22 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-10-31 14:03:24 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for sonoff 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-10-31 14:03:25 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: [api_password] is an invalid option for [http]. Check: http->http->api_password. (See /config/configuration.yaml, line 25). Please check the docs at https://home-assistant.io/integrations/http/
2019-10-31 14:03:25 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.
2019-10-31 14:03:25 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_log. Setup failed for dependencies: http
2019-10-31 14:03:25 ERROR (MainThread) [homeassistant.setup] Setup failed for system_log: Could not set up all dependencies.
2019-10-31 14:03:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for google_geocode 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-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of auth. Setup failed for dependencies: http
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Setup failed for auth: Could not set up all dependencies.
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_health. Setup failed for dependencies: http
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Setup failed for system_health: Could not set up all dependencies.
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of api. Setup failed for dependencies: http
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not set up all dependencies.
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of google_assistant. Setup failed for dependencies: http
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Setup failed for google_assistant: Could not set up all dependencies.
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of tts. Setup failed for dependencies: http
2019-10-31 14:03:32 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of webhook. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for webhook: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for mqtt: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of media_player. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for media_player: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of websocket_api. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of config. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.binary_sensor: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.binary_sensor: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: auth, http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of zeroconf. Setup failed for dependencies: api
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of device_automation. Setup failed for dependencies: webhook
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for device_automation: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, http, onboarding, system_log, websocket_api
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: cloud, http, webhook
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of automation. Setup failed for dependencies: device_automation, webhook
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for automation: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of panel_custom. Setup failed for dependencies: frontend
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for panel_custom: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of calendar. Setup failed for dependencies: http
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for calendar: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of hassio. Setup failed for dependencies: http, panel_custom
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for hassio: Could not set up all dependencies.
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: automation, cloud, config, frontend, history, logbook, map, mobile_app, system_health, zeroconf
2019-10-31 14:03:33 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2019-10-31 14:03:38 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2019-10-31 14:06:55 ERROR (MainThread) [homeassistant.setup] Error during setup of component hacs
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/config/custom_components/hacs/__init__.py", line 40, in async_setup
    await startup_wrapper_for_yaml(Hacs)
  File "/config/custom_components/hacs/__init__.py", line 73, in startup_wrapper_for_yaml
    startup_result = await hacs_startup(hacs)
  File "/config/custom_components/hacs/__init__.py", line 105, in hacs_startup
    await setup_frontend(hacs)
  File "/config/custom_components/hacs/setup.py", line 58, in setup_frontend
    hacs.hass.http.register_view(HacsPluginView())
AttributeError: 'NoneType' object has no attribute 'register_view'
2019-10-31 14:07:50 WARNING (MainThread) [custom_components.sonoff] found new region: >>> as <<< (you should change api_region option to this value in configuration.yaml)
2019-10-31 14:07:55 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for google_fit 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-10-31 14:07:55 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:07:55 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.switch: Could not set up all dependencies.
2019-10-31 14:08:01 WARNING (SyncWorker_16) [sleekxmppfs.basexmpp] fulljid property deprecated. Use boundjid.resource
2019-10-31 14:08:24 WARNING (MainThread) [homeassistant.setup] Setup of ecovacs is taking over 10 seconds.
2019-10-31 14:08:24 WARNING (MainThread) [homeassistant.components.weather] Setup of platform darksky is taking over 10 seconds.
2019-10-31 14:08:24 WARNING (MainThread) [homeassistant.components.switch] Setup of platform xiaomi_aqara is taking over 10 seconds.
2019-10-31 14:08:24 WARNING (MainThread) [homeassistant.components.switch] Setup of platform sonoff is taking over 10 seconds.
2019-10-31 14:08:35 WARNING (MainThread) [homeassistant.components.vacuum] Setup of platform ecovacs is taking over 10 seconds.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mqtt. Setup failed for dependencies: http
2019-10-31 14:09:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform mqtt.sensor: Could not set up all dependencies.
2019-10-31 14:09:13 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of camera. Setup failed for dependencies: http
2019-10-31 14:09:13 ERROR (MainThread) [homeassistant.setup] Setup failed for camera: Could not set up all dependencies.
2019-10-31 14:09:13 ERROR (SyncWorker_0) [homeassistant.components.google_travel_time.sensor] Unable to find entity device_tracker.galaxy_a7_2017
2019-10-31 14:09:13 ERROR (SyncWorker_2) [homeassistant.components.google_travel_time.sensor] Unable to find entity device_tracker.honor_7x
2019-10-31 14:09:13 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Money EVN, the state is unknown.
2019-10-31 14:09:13 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Origin Addresses, the state is unknown.
2019-10-31 14:09:13 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Yuyu Destination Addresses, the state is unknown.
2019-10-31 14:09:13 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Yuyu Origin Addresses, the state is unknown.
2019-10-31 14:09:13 WARNING (MainThread) [homeassistant.components.template.sensor] Could not render template Destination Addresses, the state is unknown.
2019-10-31 14:09:23 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.flower_light_intensity is taking over 10 seconds

@kronna
Copy link

kronna commented Oct 31, 2019

I have the same problem with dependencies failing on latest docker container, I had to revert to an older version.

@ThaStealth
Copy link
Contributor

Same problem here, also reverted to 100.3

@KC-inDomus
Copy link

+1

@P2AK
Copy link

P2AK commented Oct 31, 2019

I'm also stuck on this and figured it was just my stupidity. I was only able to get HA running again by revering to 0.100.3 as well.

pip3 install --upgrade homeassistant~=0.100.3

@jmijn
Copy link

jmijn commented Oct 31, 2019

Before posting here, please read your error log carefully. @trantuan4889 for example, your error is explicitly described in your log:

2019-10-31 14:03:25 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: [api_password] is an invalid option for [http]. Check: http->http->api_password. (See /config/configuration.yaml, line 25). Please check the docs at https://home-assistant.io/integrations/http/
2019-10-31 14:03:25 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Invalid config.

Remove the api_password config

@custodis-intestina
Copy link

custodis-intestina commented Oct 31, 2019

This morning, the fresh installation went through.
In the afternoon I had the above mistakes.
The upgrade did not work. Just try the reinstallation with homeassistant ~ = 0.100.0

Nope the Error by Frontend, mobile_app, mapp ...

@trantuan4889
Copy link

You delete "api_password" -> it's ok

http:
base_url: xxxxx.duckdns.org:8123
ssl_certificate: "/ssl/fullchain.pem"
ssl_key: "/ssl/privkey.pem"
login_attempts_threshold: 20
api_password: -> delete

https://www.home-assistant.io/addons/duckdns/

@kronna
Copy link

kronna commented Nov 1, 2019

Removing api_password worked for me! Thanks

@cmille34
Copy link

cmille34 commented Nov 1, 2019

Same here, running in docker. Rolled back to 0.100.3 and working again

@P2AK
Copy link

P2AK commented Nov 1, 2019

I upgraded from 0.100.3 to 0.101.1 today and now everything is working fine.

@edegraaff
Copy link

For me this was the first experiment to do a clean install on my pi and all wend ok until i entered hass. From there dependency errors popped up and at the end i got when i access the url a 404. Based on this discussion i will try to go for 0.100.3 and see if a clean install works here. Thanks for your observations.

@edegraaff
Copy link

0.100.3 installation without any issues up and working.

@Kyrunix
Copy link

Kyrunix commented Nov 1, 2019

I posted this at #28436:

I think, there is a small problem at install script:

The current raspbian buster apt repository list don't contains a docker version.

With this information, the installation guide on
https://www.home-assistant.io/docs/installation/raspberry-pi/
can't work.

After i installed docker manually, everything works fine. I think, a small warning at start of this guide would be helpfull.
With manual installation of docker, 0.101.1 works for me with raspbian buster.

But im not 100% sure, if that is the only reason.

@edegraaff
Copy link

I Agree, i some notitions in the documentation would be nice, for starters like me it saves time, now i did several installs and then did some searching and found this issue.

@saper-2
Copy link

saper-2 commented Nov 1, 2019

HI, I just did a clean manual install on raspbian buster lite (fully up-to-date to today 2019-11-01) on python virtual env . Had those problems:
(I didn't have any configuration files whatsoever )

hass@hassio:/srv $ cd hass
hass@hassio:/srv/hass $ python3 -m venv .
hass@hassio:/srv/hass $ ls
bin  include  lib  pyvenv.cfg  share
hass@hassio:/srv/hass $ source bin/active
bash: bin/active: No such file or directory
hass@hassio:/srv/hass $ source bin/activate
(hass) hass@hassio:/srv/hass $ python3 -m pip install wheel
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Installing collected packages: wheel
Successfully installed wheel-0.33.6
(hass) hass@hassio:/srv/hass $ pip3 install homeassistant
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting homeassistant
  Downloading https://files.pythonhosted.org/packages/9c/b4/b61af7b85dd86c4d6c73607d269c3c04e23428d002ffbde6991e14634531/homeassistant-0.101.1-py3-none-any.whl (5.7MB)
    100% |████████████████████████████████| 5.7MB 77kB/s
Collecting ruamel.yaml==0.15.100 (from homeassistant)
  Downloading https://www.piwheels.org/simple/ruamel-yaml/ruamel.yaml-0.15.100-cp37-cp37m-linux_armv7l.whl (655kB)
    100% |████████████████████████████████| 665kB 664kB/s
Collecting voluptuous-serialize==2.3.0 (from homeassistant)
  Downloading https://www.piwheels.org/simple/voluptuous-serialize/voluptuous_serialize-2.3.0-py3-none-any.whl
Collecting attrs==19.2.0 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/6b/e8/2ecaf86b128a34e225807f03b22664302937ab826bd3b7eccab6754d29ea/attrs-19.2.0-py2.py3-none-any.whl (40kB)
    100% |████████████████████████████████| 40kB 678kB/s
Collecting certifi>=2019.9.11 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)
    100% |████████████████████████████████| 163kB 193kB/s
Collecting async-timeout==3.0.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting cryptography==2.8 (from homeassistant)
  Downloading https://www.piwheels.org/simple/cryptography/cryptography-2.8-cp37-cp37m-linux_armv7l.whl (852kB)
    100% |████████████████████████████████| 860kB 523kB/s
Requirement already satisfied: pip>=8.0.3 in ./lib/python3.7/site-packages (from homeassistant) (18.1)
Collecting PyJWT==1.7.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Collecting requests==2.22.0 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 544kB/s
Collecting aiohttp==3.6.1 (from homeassistant)
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.6.1-cp37-cp37m-linux_armv7l.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 294kB/s
Collecting python-slugify==3.0.6 (from homeassistant)
  Downloading https://www.piwheels.org/simple/python-slugify/python_slugify-3.0.6-py2.py3-none-any.whl
Collecting pytz>=2019.03 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB)
    100% |████████████████████████████████| 512kB 322kB/s
Collecting voluptuous==0.11.7 (from homeassistant)
  Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.11.7-py3-none-any.whl
Collecting bcrypt==3.1.7 (from homeassistant)
  Downloading https://www.piwheels.org/simple/bcrypt/bcrypt-3.1.7-cp37-cp37m-linux_armv7l.whl (56kB)
    100% |████████████████████████████████| 61kB 714kB/s
Collecting pyyaml==5.1.2 (from homeassistant)
  Downloading https://www.piwheels.org/simple/pyyaml/PyYAML-5.1.2-cp37-cp37m-linux_armv7l.whl (44kB)
    100% |████████████████████████████████| 51kB 640kB/s
Collecting astral==1.10.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/ff/5d/261f49822b7f77c265197d46cdbaaaaf06f458734e9ac55a140dd75bdf29/astral-1.10.1-py2.py3-none-any.whl
Collecting importlib-metadata==0.23 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/f6/d2/40b3fa882147719744e6aa50ac39cf7a22a913cbcba86a0371176c425a3b/importlib_metadata-0.23-py2.py3-none-any.whl
Collecting jinja2>=2.10.1 (from homeassistant)
  Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)
    100% |████████████████████████████████| 133kB 839kB/s
Collecting six>=1.4.1 (from cryptography==2.8->homeassistant)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography==2.8->homeassistant)
  Downloading https://www.piwheels.org/simple/cffi/cffi-1.13.1-cp37-cp37m-linux_armv7l.whl (342kB)
    100% |████████████████████████████████| 348kB 27kB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests==2.22.0->homeassistant)
  Downloading https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl (125kB)
    100% |████████████████████████████████| 133kB 809kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.22.0->homeassistant)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 892kB/s
Collecting idna<2.9,>=2.5 (from requests==2.22.0->homeassistant)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 3.3MB/s
Collecting yarl<2.0,>=1.0 (from aiohttp==3.6.1->homeassistant)
  Downloading https://www.piwheels.org/simple/yarl/yarl-1.3.0-cp37-cp37m-linux_armv7l.whl (255kB)
    100% |████████████████████████████████| 256kB 858kB/s
Collecting multidict<5.0,>=4.5 (from aiohttp==3.6.1->homeassistant)
  Downloading https://www.piwheels.org/simple/multidict/multidict-4.5.2-cp37-cp37m-linux_armv7l.whl (344kB)
    100% |████████████████████████████████| 348kB 1.2MB/s
Collecting text-unidecode>=1.3 (from python-slugify==3.0.6->homeassistant)
  Downloading https://files.pythonhosted.org/packages/a6/a5/c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7/text_unidecode-1.3-py2.py3-none-any.whl (78kB)
    100% |████████████████████████████████| 81kB 905kB/s
Collecting zipp>=0.5 (from importlib-metadata==0.23->homeassistant)
  Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2>=2.10.1->homeassistant)
  Downloading https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.1.1-cp37-cp37m-linux_armv7l.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography==2.8->homeassistant)
  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl (111kB)
    100% |████████████████████████████████| 112kB 1.1MB/s
Collecting more-itertools (from zipp>=0.5->importlib-metadata==0.23->homeassistant)
  Downloading https://files.pythonhosted.org/packages/45/dc/3241eef99eb45f1def35cf93af35d1cf9ef4c0991792583b8f33ea41b092/more_itertools-7.2.0-py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 3.1MB/s
Installing collected packages: ruamel.yaml, voluptuous, voluptuous-serialize, attrs, certifi, async-timeout, six, pycparser, cffi, cryptography, PyJWT, urllib3, chardet, idna, requests, multidict, yarl, aiohttp, text-unidecode, python-slugify, pytz, bcrypt, pyyaml, astral, more-itertools, zipp, importlib-metadata, MarkupSafe, jinja2, homeassistant
Successfully installed MarkupSafe-1.1.1 PyJWT-1.7.1 aiohttp-3.6.1 astral-1.10.1 async-timeout-3.0.1 attrs-19.2.0 bcrypt-3.1.7 certifi-2019.9.11 cffi-1.13.1 chardet-3.0.4 cryptography-2.8 homeassistant-0.101.1 idna-2.8 importlib-metadata-0.23 jinja2-2.10.3 more-itertools-7.2.0 multidict-4.5.2 pycparser-2.19 python-slugify-3.0.6 pytz-2019.3 pyyaml-5.1.2 requests-2.22.0 ruamel.yaml-0.15.100 six-1.12.0 text-unidecode-1.3 urllib3-1.25.6 voluptuous-0.11.7 voluptuous-serialize-2.3.0 yarl-1.3.0 zipp-0.6.0
(hass) hass@hassio:/srv/hass $ ls
bin  include  lib  pyvenv.cfg  share
(hass) hass@hassio:/srv/hass $ whereis hass
hass: /srv/hass/bin/hass
(hass) hass@hassio:/srv/hass $ ls /home
hass  pi
(hass) hass@hassio:/srv/hass $ ls /home/hass
(hass) hass@hassio:/srv/hass $ cd
(hass) hass@hassio:~ $ hass
Unable to find configuration. Creating default one in /home/hass/.homeassistant
Config directory: /home/hass/.homeassistant
2019-11-01 21:06:01 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of pyotp==2.3.0
2019-11-01 21:06:06 INFO (SyncWorker_1) [homeassistant.util.package] Attempting install of PyQRCode==1.2.1
2019-11-01 21:06:11 INFO (SyncWorker_5) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2019-11-01 21:06:11 INFO (SyncWorker_0) [homeassistant.loader] Loaded group from homeassistant.components.group
2019-11-01 21:06:11 INFO (SyncWorker_10) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2019-11-01 21:06:11 INFO (SyncWorker_12) [homeassistant.loader] Loaded script from homeassistant.components.script
2019-11-01 21:06:11 INFO (SyncWorker_7) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2019-11-01 21:06:11 INFO (SyncWorker_10) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2019-11-01 21:06:11 INFO (SyncWorker_7) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2019-11-01 21:06:11 INFO (SyncWorker_12) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2019-11-01 21:06:11 INFO (SyncWorker_7) [homeassistant.loader] Loaded http from homeassistant.components.http
2019-11-01 21:06:11 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2019-11-01 21:06:11 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
2019-11-01 21:06:11 INFO (SyncWorker_6) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2019-11-01 21:06:11 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2019-11-01 21:06:11 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
2019-11-01 21:06:11 INFO (SyncWorker_11) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2019-11-01 21:06:11 INFO (SyncWorker_1) [homeassistant.loader] Loaded config from homeassistant.components.config
2019-11-01 21:06:11 INFO (SyncWorker_13) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2019-11-01 21:06:11 INFO (SyncWorker_3) [homeassistant.loader] Loaded api from homeassistant.components.api
2019-11-01 21:06:11 INFO (SyncWorker_2) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2019-11-01 21:06:11 INFO (SyncWorker_15) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2019-11-01 21:06:11 INFO (SyncWorker_12) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2019-11-01 21:06:11 INFO (SyncWorker_7) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2019-11-01 21:06:11 INFO (SyncWorker_6) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2019-11-01 21:06:11 INFO (SyncWorker_18) [homeassistant.loader] Loaded history from homeassistant.components.history
2019-11-01 21:06:11 INFO (SyncWorker_11) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2019-11-01 21:06:11 INFO (SyncWorker_4) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2019-11-01 21:06:11 INFO (SyncWorker_8) [homeassistant.loader] Loaded map from homeassistant.components.map
2019-11-01 21:06:11 INFO (SyncWorker_3) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2019-11-01 21:06:11 INFO (SyncWorker_10) [homeassistant.loader] Loaded person from homeassistant.components.person
2019-11-01 21:06:11 INFO (SyncWorker_9) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2019-11-01 21:06:11 INFO (SyncWorker_12) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2019-11-01 21:06:11 INFO (SyncWorker_5) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2019-11-01 21:06:11 INFO (SyncWorker_6) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2019-11-01 21:06:11 INFO (SyncWorker_0) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2019-11-01 21:06:11 INFO (MainThread) [homeassistant.bootstrap] Setting up {'system_log'}
2019-11-01 21:06:11 INFO (SyncWorker_19) [homeassistant.util.package] Attempting install of aiohttp_cors==0.7.0
2019-11-01 21:06:28 INFO (MainThread) [homeassistant.setup] Setting up http
2019-11-01 21:06:28 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-11-01 21:06:28 INFO (MainThread) [homeassistant.setup] Setting up system_log
2019-11-01 21:06:28 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2019-11-01 21:06:28 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of sqlalchemy==1.3.10
2019-11-01 21:06:41 INFO (MainThread) [homeassistant.setup] Setting up recorder
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 6.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up person
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Error during setup of component lovelace
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/lovelace/__init__.py", line 66, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up group
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2019-11-01 21:06:47 INFO (SyncWorker_10) [homeassistant.util.package] Attempting install of netdisco==2.6.0
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up auth
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up history
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Error during setup of component history
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/history/__init__.py", line 283, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up config
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Error during setup of component config
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/config/__init__.py", line 34, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up system_health
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up script
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up api
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up webhook
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.2 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setting up automation
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2019-11-01 21:06:47 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.0 seconds.
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: lovelace
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2019-11-01 21:06:47 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-11-01 21:06:54 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2019-11-01 21:06:54 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds.
2019-11-01 21:06:54 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of distro==1.4.0
2019-11-01 21:06:59 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-11-01 21:06:59 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2019-11-01 21:06:59 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of mutagen==1.42.0
2019-11-01 21:06:59 INFO (SyncWorker_14) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2019-11-01 21:06:59 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2019-11-01 21:06:59 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2019-11-01 21:06:59 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2019-11-01 21:06:59 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.updater entity: binary_sensor.updater
2019-11-01 21:07:05 INFO (SyncWorker_15) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2019-11-01 21:07:05 INFO (SyncWorker_9) [homeassistant.util.package] Attempting install of hass-nabucasa==0.22
2019-11-01 21:08:45 INFO (MainThread) [homeassistant.setup] Setting up cloud
2019-11-01 21:08:45 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2019-11-01 21:08:46 INFO (SyncWorker_18) [homeassistant.util.package] Attempting install of gTTS-token==1.1.3
2019-11-01 21:08:46 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.0 seconds.
2019-11-01 21:08:46 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.1 seconds.
2019-11-01 21:09:10 INFO (MainThread) [homeassistant.setup] Setting up tts
2019-11-01 21:09:10 INFO (SyncWorker_1) [homeassistant.components.tts] Create cache dir /home/hass/.homeassistant/tts.
2019-11-01 21:09:10 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of PyNaCl==1.3.0
2019-11-01 21:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Unable to import component
2019-11-01 21:09:16 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 6.2 seconds.
2019-11-01 21:09:16 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: config, frontend, history, logbook, map, mobile_app
2019-11-01 21:09:16 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2019-11-01 21:09:16 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 194.55s
2019-11-01 21:09:16 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-11-01 21:09:16 INFO (MainThread) [homeassistant.core] Timer:starting
2019-11-01 21:09:16 INFO (SyncWorker_2) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
2019-11-01 21:17:15 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
2019-11-01 21:17:18 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
^C^CTraceback (most recent call last):
  File "/srv/hass/bin/hass", line 10, in <module>
    sys.exit(main())
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/__main__.py", line 399, in main
    exit_code = asyncio_run(setup_and_run_hass(config_dir, args))
  File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
    self.run_forever()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
    self._run_once()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1739, in _run_once
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/util/logging.py", line 85, in _process
    self._queue.get(), self.loop
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 430, in result
    raise CancelledError()
concurrent.futures._base.CancelledError

    event_list = self._selector.select(timeout)
  File "/usr/lib/python3.7/selectors.py", line 468, in select
    fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt
^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 40, in _python_exit
    t.join()
  File "/usr/lib/python3.7/threading.py", line 1032, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.7/threading.py", line 1048, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt
^C
(hass) hass@hassio:~ $ hass
Config directory: /home/hass/.homeassistant
2019-11-01 21:17:45 INFO (SyncWorker_0) [homeassistant.loader] Loaded default_config from homeassistant.components.default_config
2019-11-01 21:17:45 INFO (SyncWorker_1) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2019-11-01 21:17:45 INFO (SyncWorker_7) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2019-11-01 21:17:45 INFO (SyncWorker_5) [homeassistant.loader] Loaded script from homeassistant.components.script
2019-11-01 21:17:45 INFO (SyncWorker_6) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
2019-11-01 21:17:45 INFO (SyncWorker_3) [homeassistant.loader] Loaded group from homeassistant.components.group
2019-11-01 21:17:45 INFO (SyncWorker_4) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2019-11-01 21:17:45 INFO (SyncWorker_8) [homeassistant.loader] Loaded device_automation from homeassistant.components.device_automation
2019-11-01 21:17:45 INFO (SyncWorker_7) [homeassistant.loader] Loaded http from homeassistant.components.http
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
2019-11-01 21:17:45 INFO (SyncWorker_0) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
2019-11-01 21:17:45 INFO (SyncWorker_2) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2019-11-01 21:17:45 INFO (SyncWorker_1) [homeassistant.loader] Loaded config from homeassistant.components.config
2019-11-01 21:17:45 INFO (SyncWorker_13) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
2019-11-01 21:17:45 INFO (SyncWorker_5) [homeassistant.loader] Loaded api from homeassistant.components.api
2019-11-01 21:17:45 INFO (SyncWorker_3) [homeassistant.loader] Loaded auth from homeassistant.components.auth
2019-11-01 21:17:45 INFO (SyncWorker_8) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
2019-11-01 21:17:45 INFO (SyncWorker_10) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
2019-11-01 21:17:45 INFO (SyncWorker_0) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
2019-11-01 21:17:45 INFO (SyncWorker_11) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
2019-11-01 21:17:45 INFO (SyncWorker_16) [homeassistant.loader] Loaded history from homeassistant.components.history
2019-11-01 21:17:45 INFO (SyncWorker_12) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2019-11-01 21:17:45 INFO (SyncWorker_17) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2019-11-01 21:17:45 INFO (SyncWorker_6) [homeassistant.loader] Loaded map from homeassistant.components.map
2019-11-01 21:17:45 INFO (SyncWorker_5) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
2019-11-01 21:17:45 INFO (SyncWorker_3) [homeassistant.loader] Loaded person from homeassistant.components.person
2019-11-01 21:17:45 INFO (SyncWorker_7) [homeassistant.loader] Loaded ssdp from homeassistant.components.ssdp
2019-11-01 21:17:45 INFO (SyncWorker_14) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2019-11-01 21:17:45 INFO (SyncWorker_15) [homeassistant.loader] Loaded system_health from homeassistant.components.system_health
2019-11-01 21:17:45 INFO (SyncWorker_2) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2019-11-01 21:17:45 INFO (SyncWorker_1) [homeassistant.loader] Loaded zeroconf from homeassistant.components.zeroconf
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.bootstrap] Setting up {'system_log'}
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up http
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up system_log
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up recorder
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.1 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2019-11-01 21:17:45 ERROR (MainThread) [homeassistant.setup] Error during setup of component lovelace
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/lovelace/__init__.py", line 66, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up person
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.0 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up group
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2019-11-01 21:17:45 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2019-11-01 21:17:46 INFO (SyncWorker_18) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2019-11-01 21:17:46 INFO (SyncWorker_4) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up auth
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.0 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up webhook
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.0 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up history
2019-11-01 21:17:46 ERROR (MainThread) [homeassistant.setup] Error during setup of component history
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/history/__init__.py", line 283, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up script
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up system_health
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.0 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up config
2019-11-01 21:17:46 ERROR (MainThread) [homeassistant.setup] Error during setup of component config
Traceback (most recent call last):
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/setup.py", line 172, in _async_setup_component
    hass, processed_config
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/config/__init__.py", line 34, in async_setup
    hass.components.frontend.async_register_built_in_panel(
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 421, in __getattr__
    component: Optional[ModuleType] = integration.get_component()
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/loader.py", line 223, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/hass/lib/python3.7/site-packages/homeassistant/components/frontend/__init__.py", line 10, in <module>
    import hass_frontend
ModuleNotFoundError: No module named 'hass_frontend'
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up api
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up tts
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain person took 0.5 seconds.
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2019-11-01 21:17:46 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.0 seconds.
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setting up cloud
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setup of domain api took 1.1 seconds.
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setting up automation
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 1.1 seconds.
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 1.1 seconds.
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.1 seconds.
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: lovelace
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Unable to import component
2019-11-01 21:17:47 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.1 seconds.
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: config, frontend, history, logbook, map, mobile_app
2019-11-01 21:17:47 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2019-11-01 21:17:48 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 3.13s
2019-11-01 21:17:48 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-11-01 21:17:48 INFO (MainThread) [homeassistant.core] Timer:starting
2019-11-01 21:17:48 INFO (SyncWorker_17) [homeassistant.components.zeroconf] Starting Zeroconf broadcast
^C(hass) hass@hassio:~ $ ^C

Then I downgraded hass to 100.3 , run it (without problems), next a did some initial setup via web interface. After that I upgraded hass again to 101.1 and for now I don't have errors.
Ahh, forgot to mention: I did install just in case docker too (apt install docker)

@Kyrunix
Copy link

Kyrunix commented Nov 1, 2019

I installed docker from web page (curl -sSL https://get.docker.com | sh). I think, that there is a install dependency difference between the setup of version 0.101.1 and 100.3
The setup of 100.3 fix this dependency and a following install of 101.1 success.
I think, it would be a good idea, to check the differences between these versions (I feel with the poor person who do it. It must be a lot of commits...) . IMHO some new users will have this problem.

@lucaorioli
Copy link

I had the same problem. I downgrading to version 100.3
pip3 install --upgrade homeassistant~=0.100.3
then installed docker with curl
curl -sSL https://get.docker.com | sh

and it worked

@makuser
Copy link
Contributor

makuser commented Nov 5, 2019

Has nothing to do with docker or so... The frontend is not loaded due to a bug introduced by one of the last few commits.
It's being fixed by #28203.

It should only happen for someone installing it for the first time, as any version up to 0.100.3 successfully loads/installs the required module:
INFO (SyncWorker_7) [homeassistant.util.package] Attempting install of home-assistant-frontend==20191002.2
Upgrading to the current latest version will work again, because the required module (the frontend) has been installed by downgrading to 0.100.3, running it for a short period until it fully installed all the dependencies.

@lucaorioli so unless you are running hass in docker, it does not matter at all that you installed docker, not even how you installed docker, eg. by running the script loaded via curl and piped to a root shell (insane), or via their apt repo or by just installing the docker.io available in debians repo. It's just pure coincidence, because you happend to have downgraded hass at the same time.

@ all the rest with this issue: just downgrade to 0.100.3, run hass and check the logs until all dependencies have been installed and then you can upgrade again.
Alternatively you may also run pip3 install home-assistant-frontend==20191025.1 without downgrading hass first, which would install the frontend manually.

@Kyrunix
Copy link

Kyrunix commented Nov 6, 2019

Strange. I didn't install 100.3 and it work's on my system with manual installation of docker... and i tryd it on friday. if i see it right, the developers push the fix 12 days ago...

But if it works, i don't ask ;)

@zang74
Copy link

zang74 commented Nov 6, 2019

Just tried a fresh install of raspbian, followed the RPi install directions and got the same loading errors.

I force-quit (Ctrl-C) hass, and without a manual install of Docker, I ran @makuser's solution (pip3 install home-assistant-frontend==20191025.1). I re-ran hass and all was good.

@rbtmarshall
Copy link

rbtmarshall commented Nov 8, 2019

Alternatively you may also run pip3 install home-assistant-frontend==20191025.1 without downgrading hass first, which would install the frontend manually.

I'm installing on a Debian VM in a python 3.7 env and had this same issue. your comment about installing frontend helped. No longer getting the error during initial hass run and the browser interface is now accessible

thank you.

@beatschubser
Copy link

Downgrading worked for me as well. Kind of frustrating for first time users like me who don't know what's going on.

@KC-inDomus
Copy link

It's weird. I have the same problems of alle the guys in this thread; btw I discovered that if I remove ANY kind of "scene:", everything works great with 0.101. with scenes on, it fails.

@Walt750
Copy link

Walt750 commented Nov 10, 2019

As of 11/10/2019 - This is still an issue to all new users and new installs. Not a good experience for a new user of HA. Not cool at all.

FYI... a fresh new install from raspbian Buster and manually loading HA in a virtual environment @ 0.100.3 still fails the dependency of the above names items.

:(

@trecords
Copy link

trecords commented Nov 11, 2019

I am new user and this is issue for me and also noob for HA, please help how to solve this.
I have installed HA on fresh rasbian lite Buster

@NikAgs
Copy link

NikAgs commented Nov 12, 2019

Tried downgrading to version 0.100.3 and then upgrading back. I also tried pip3 install home-assistant-frontend==20191025.1 but am still having the same issue. I'm running hassio on raspbian within a virtual environment. This is my first time setting it up.

MichaIng added a commit to MichaIng/DietPi that referenced this issue Nov 15, 2019
+ DietPi-Software | Home Assistant: Skip pyenv virtualenv. pyenv itself is installed locally for the "homeassistant" user already, hence another virtualenv is overkill. This simplifies install and pyenv activation and reduces disk usage overhead.
+ DietPi-Software | Home Assistant: Add workaround to install home-assistant-frontend prior to first HA start: home-assistant/core#28361 (comment)
+ DietPi-Software | Home Assistant: Install aiohttp_cors manually as well due to similar error faced with Python 3.8.0 outside of virtualenv
MichaIng added a commit to MichaIng/DietPi that referenced this issue Nov 18, 2019
+ DietPi-Software | Home Assistant: Skip pyenv virtualenv. pyenv itself is installed locally for the "homeassistant" user already, hence another virtualenv is overkill. This simplifies install and pyenv activation and reduces disk usage overhead.
+ DietPi-Software | Home Assistant: Add workaround to install home-assistant-frontend prior to first HA start: home-assistant/core#28361 (comment)
+ DietPi-Software | Home Assistant: Remove obsolete $ha_srvroot from DietPi pre-v6.27 until we do a forced reinstall via dietpi-update where we can remove it via patch_file
+ DietPi-Software | Home Assistant: Since we don't use virtualenv, install bare pyenv manually instead of using installer, which pulls certain additional plugins. Git is hence not required anymore.
+ DietPi-Software | Home Assistant: Massively reduce dependencies to a minimum of current requirements to succeed build and eliminate all warnings as well. Do not install SQLite, FFmpeg and MariaDB support by default, which is not used by our setup: SQLite binary is only required if one wants to access the default SQLite database directly. FFmpeg for AV integrations. MariaDB as SQLite replacement generally makes sense for larger setup, but must be setup by user manually currently anyway. We'll add some info to our online docs about how to add additional Python modules into the Home Assistant pyenv.
+ DietPi-Software | Home Assistant: Eliminate pip version warning
+ DietPi-Software | Home Assistant: Since some components and setups (e.g. MariaDB for database) require additional Python modules or even Python build dependencies, it makes sense to allow users maintaining a custom deps list via dietpi.txt. This allows easy reinstalls and server migrations without the need to recheck, run pip installs manually and in cases redo the long taking Python build if some developer library was missing for a certain HA component/integration.
+ DietPi-Software | Home Assistant: Move the pyenv activation into its own script, to be sourced from originating script/shell. Check for correct user navigate to its home, which assures correct Python version to be loaded automatically as well.
@paulbram
Copy link

In my case, it seems my scenes are causing the issue. If I include my scenes.yaml, it won't load the front end. Removing my scenes gets it to work again. Is rolling back to 100.3 the only option?

@KC-inDomus
Copy link

I had the same problem.
CHECK for eventual upper-case entity names in scene.yaml and correct it with lower. I solved in this way.

@sgrayban
Copy link

Having issues here also.

2019-11-24 10:50:33 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, mobile_app
2019-11-24 10:50:33 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.

I don't know what dependencies are required.

@sgrayban
Copy link

Update:

I was able to fix my issues by installing botocore-python3

It seems there is a hash error with that file and pip3 will not install it. So I downloaded it manually and installed it and that fixed all 3 of my errors.

Log:

(homeassistant) homeassistant@hassbian:~ $ pip3 install botocore-python3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting botocore-python3
  Downloading https://www.piwheels.org/simple/botocore-python3/botocore_python3-1.12.139-py2.py3-none-any.whl (5.4MB)
     |████████████████████████▏       | 4.1MB 747kB/s eta 0:00:02
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    botocore-python3 from https://www.piwheels.org/simple/botocore-python3/botocore_python3-1.12.139-py2.py3-none-any.whl#sha256=3550347ce9de4090a11cbf66e7daebb52ac1893e5b2e64000dd0e5967e869e9a:
        Expected sha256 3550347ce9de4090a11cbf66e7daebb52ac1893e5b2e64000dd0e5967e869e9a
             Got        6fbc195911da553bee9d8257ffd75b3b6c430ef8b4494357307d25df56601888

Solved:
wget https://www.piwheels.org/simple/botocore-python3/botocore_python3-1.12.139-py2.py3-none-any.whl

pip3 install botocore_python3-1.12.139-py2.py3-none-any.whl

Processing ./botocore_python3-1.12.139-py2.py3-none-any.whl
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /srv/homeassistant/lib/python3.7/site-packages (from botocore-python3==1.12.139) (0.9.4)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /srv/homeassistant/lib/python3.7/site-packages (from botocore-python3==1.12.139) (2.8.0)
Collecting urllib3<1.25,>=1.20
  Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
     |████████████████████████████████| 122kB 1.8MB/s 
Collecting docutils-python3>=0.10
  Downloading https://www.piwheels.org/simple/docutils-python3/docutils_python3-0.13-py3-none-any.whl (504kB)
     |████████████████████████████████| 512kB 209kB/s 
Requirement already satisfied: six>=1.5 in /srv/homeassistant/lib/python3.7/site-packages (from python-dateutil<3.0.0,>=2.1->botocore-python3==1.12.139) (1.13.0)
Installing collected packages: urllib3, docutils-python3, botocore-python3
  Found existing installation: urllib3 1.25.7
    Uninstalling urllib3-1.25.7:
      Successfully uninstalled urllib3-1.25.7
Successfully installed botocore-python3-1.12.139 docutils-python3-0.13 urllib3-1.24.3
(homeassistant) homeassistant@hassbian:~ $ hass --script check_config
Testing configuration at /home/homeassistant/.homeassistant
(homeassistant) homeassistant@hassbian:~ $ 

@paulbram
Copy link

I had the same problem.
CHECK for eventual upper-case entity names in scene.yaml and correct it with lower. I solved in this way.

Wow. that was it. This is kind of crazy right? Has case sensitivity always been a thing for scenes?

@hwangseungho
Copy link

then when i remove scenes.yaml,it works good to all guys??
where can i find scenes.yaml??

@Pauleo77
Copy link

I'm using home assistant 0.103 within a venv. If I set default_config to my configuration.yaml, I got the following errors in the log.
Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, mobile_app Setup failed for default_config: Could not set up all dependencies.
Furthermore I was not able to access home assistant with the new companion app 2.0.

Reason:
I'm using a Raspberry Pi with os Raspian Stretch. The latest gclib version available in Raspian Stretch is version 2.24. The mobile_app component needs version 2.25.

Solution:
Update the gclib version.

#show available gclib versions
strings /lib/arm-linux-gnueabihf/libc.so.6 | grep GLIBC

#add the sources of a contrib with a newer gclib version
echo "deb http://http.debian.net/debian/ testing main contrib non-free" >> /etc/apt/sources.list

#upgrade your system
sudo apt-get update sudo apt-cache search lib6c sudo apt-get -f install libc6

#show available gclib versions again
strings /lib/arm-linux-gnueabihf/libc.so.6 | grep GLIBC

Finally reboot the os. Done!

@henkeh3
Copy link

henkeh3 commented Jan 23, 2020

as a comment to above I would suggest to use repository
"deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi"
as this repository will not generate errors for signing.

then sudo apt install libc6

check version as stated above, no need to reboot, just restart home-assistant (service)

@MichaIng
Copy link

MichaIng commented Mar 11, 2020

In my case pip3 install home-assistant-frontend==20191025.1 was not required anymore. I still run into failing web UI directly after install. The python modules installs on first service start stuck in the middle with "unable to resolve dependencies ... ModuleNotFoundError" (the same like #28361 (comment)), but a simple service restart solves it, the prior not found modules are then installed well. Really not sure what the reason is, probably some broken environment during initial install, broken cache, tmp files or whatever, but after a service restart it then works fine without any further issue.

@arnonel
Copy link

arnonel commented Apr 23, 2020

Im also getting these errors

@HoshinoTouko
Copy link

I find the solution to run the latest version of home assistant. Firstly install the version 0.100.3, then run hass --open-ui to let the hass setup and install its all dependencies. When the log print INFO (MainThread) [homeassistant.core] Timer:starting, kill the terminal and upgrade it to the newest version of homeassistant and it works.

@stale
Copy link

stale bot commented Sep 20, 2020

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 20, 2020
@MichaIng
Copy link

MichaIng commented Sep 20, 2020

In our case, a "No module name 'xyz'" error on first service start is still present:

2020-09-20 15:45:11 root@VM-Buster:~# journalctl -u home-assistant.service
-- Logs begin at Sun 2020-09-20 14:36:29 CEST, end at Sun 2020-09-20 15:51:30 CEST. --
Sep 20 15:45:07 VM-Buster systemd[1]: Started Home Assistant (DietPi).
Sep 20 15:45:27 VM-Buster homeassistant[32638]: 2020-09-20 15:45:27 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Unable to import component: No module named 'sqlalchemy'
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Error during setup of component http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: Traceback (most recent call last):
Sep 20 15:45:30 VM-Buster homeassistant[32638]:   File "/home/homeassistant/.pyenv/versions/3.8.5/lib/python3.8/site-packages/homeassistant/setup.py", line 213, in _async_setup_component
Sep 20 15:45:30 VM-Buster homeassistant[32638]:     result = await task
Sep 20 15:45:30 VM-Buster homeassistant[32638]:   File "/home/homeassistant/.pyenv/versions/3.8.5/lib/python3.8/site-packages/homeassistant/components/http/__init__.py", line 209, in async_setup
Sep 20 15:45:30 VM-Buster homeassistant[32638]:     server = HomeAssistantHTTP(
Sep 20 15:45:30 VM-Buster homeassistant[32638]:   File "/home/homeassistant/.pyenv/versions/3.8.5/lib/python3.8/site-packages/homeassistant/components/http/__init__.py", line 312, in __init__
Sep 20 15:45:30 VM-Buster homeassistant[32638]:     setup_cors(app, cors_origins)
Sep 20 15:45:30 VM-Buster homeassistant[32638]:   File "/home/homeassistant/.pyenv/versions/3.8.5/lib/python3.8/site-packages/homeassistant/components/http/cors.py", line 26, in setup_cors
Sep 20 15:45:30 VM-Buster homeassistant[32638]:     import aiohttp_cors
Sep 20 15:45:30 VM-Buster homeassistant[32638]: ModuleNotFoundError: No module named 'aiohttp_cors'
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_log. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for system_log: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of auth. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for auth: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of config. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of webhook. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for webhook: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of api. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for api: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of websocket_api. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for websocket_api: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of image. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for image: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of alexa. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for alexa: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of search. Setup failed for dependencies: websocket_api
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for search: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of person. Setup failed for dependencies: image
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for person: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of cloud. Setup failed for dependencies: http, webhook, alexa
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of onboarding. Setup failed for dependencies: auth, http, person
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for onboarding: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, config, http, onboarding, search, system_log, websocket_api
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of media_source. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for media_source: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of map. Setup failed for dependencies: frontend
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for map: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of system_health. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for system_health: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of tts. Setup failed for dependencies: http
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of logbook. Setup failed for dependencies: frontend, http, recorder
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of history. Setup failed for dependencies: http, recorder
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Could not set up all dependencies.
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of zeroconf. Setup failed for dependencies: api
Sep 20 15:45:30 VM-Buster homeassistant[32638]: 2020-09-20 15:45:30 ERROR (MainThread) [homeassistant.setup] Setup failed for zeroconf: Could not set up all dependencies.
Sep 20 15:45:33 VM-Buster homeassistant[32638]: 2020-09-20 15:45:33 ERROR (MainThread) [homeassistant.setup] Setup failed for updater: Unable to import component: No module named 'distro'
Sep 20 15:45:40 VM-Buster homeassistant[32638]: 2020-09-20 15:45:40 ERROR (MainThread) [homeassistant.setup] Setup failed for ssdp: Unable to import component: No module named 'defusedxml'
Sep 20 15:51:30 VM-Buster homeassistant[32638]: 2020-09-20 15:51:30 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward

Strange is that of course sqlalchemy and aiohttp_cors is available for pip, a service restart leads to HA finds them just fine and the web UI is available after it has finished its firstrun steps without any other manual step required. This is a setup using https://github.com/pyenv/pyenv to have latest Python and a completely independent + reproducible + portable environment, as well on older distro versions (which do not natively ship the minimum required Python 3.7. The issue has been the same for a long time, as well with Python 3.8.0 and Python 3.7.5 previously.

@stale stale bot removed the stale label Sep 20, 2020
@github-actions
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@trebolcinco
Copy link

Am seeing the same on 2021.2.3:

2021-02-17 08:56:09 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: ssdp
2021-02-17 08:56:09 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.

Along with:

2021-02-17 08:56:08 ERROR (MainThread) [homeassistant.config_entries] Error importing platform config_flow from integration upnp to set up upnp configuration entry: No module named 'netdisco.discovery'; 'netdisco' is not a package

This is running in container image: homeassistant/home-assistant:latest

@MichaIng
Copy link

Same here, on first HA start:

Feb 18 19:36:01 VM-Buster homeassistant[20859]: 2021-02-18 19:36:01 ERROR (MainThread) [homeassistant.setup] Setup failed for recorder: Unable to import component: No module named 'sqlalchemy'
Feb 18 19:36:05 VM-Buster homeassistant[20859]: 2021-02-18 19:36:05 ERROR (MainThread) [homeassistant.setup] Error during setup of component http
Feb 18 19:36:05 VM-Buster homeassistant[20859]: Traceback (most recent call last):
Feb 18 19:36:05 VM-Buster homeassistant[20859]:   File "/home/homeassistant/.pyenv/versions/3.8.7/lib/python3.8/site-packages/homeassistant/setup.py", line 213, in _async_setup_component
Feb 18 19:36:05 VM-Buster homeassistant[20859]:     result = await task
Feb 18 19:36:05 VM-Buster homeassistant[20859]:   File "/home/homeassistant/.pyenv/versions/3.8.7/lib/python3.8/site-packages/homeassistant/components/http/__init__.py", line 210, in async_setup
Feb 18 19:36:05 VM-Buster homeassistant[20859]:     server = HomeAssistantHTTP(
Feb 18 19:36:05 VM-Buster homeassistant[20859]:   File "/home/homeassistant/.pyenv/versions/3.8.7/lib/python3.8/site-packages/homeassistant/components/http/__init__.py", line 316, in __init__
Feb 18 19:36:05 VM-Buster homeassistant[20859]:     setup_cors(app, cors_origins)
Feb 18 19:36:05 VM-Buster homeassistant[20859]:   File "/home/homeassistant/.pyenv/versions/3.8.7/lib/python3.8/site-packages/homeassistant/components/http/cors.py", line 26, in setup_cors
Feb 18 19:36:05 VM-Buster homeassistant[20859]:     import aiohttp_cors
Feb 18 19:36:05 VM-Buster homeassistant[20859]: ModuleNotFoundError: No module named 'aiohttp_cors'

... a lot more such errors

Feb 18 19:36:32 VM-Buster homeassistant[20859]: 2021-02-18 19:36:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of frontend. Setup failed for dependencies: api, auth, config, http, onboarding, search, system_lo
g, websocket_api
Feb 18 19:36:32 VM-Buster homeassistant[20859]: 2021-02-18 19:36:32 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Could not set up all dependencies.
Feb 18 19:36:32 VM-Buster homeassistant[20859]: 2021-02-18 19:36:32 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of safe_mode. Setup failed for dependencies: frontend, cloud
Feb 18 19:36:32 VM-Buster homeassistant[20859]: 2021-02-18 19:36:32 ERROR (MainThread) [homeassistant.setup] Setup failed for safe_mode: Could not set up all dependencies.

But a simple service restart/process termination + restart and it does the exact same module installs successfully and starts up fine. Still wondering what goes wrong with the environment on first attempt 🤔.

@krzyk
Copy link

krzyk commented Oct 1, 2021

And same on fresh install on core-2021.9.7

@interbiznw
Copy link

same here on 2021.10.0

image

@Electronlibre2012
Copy link

same here on 2021.10.0

image

Same problem for me, have you find the solution please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests