Cant access frontend after upgrade to 0.65.5

I followed steps on https://home-assistant.io/hassio/

  1. Used the update link in hass.io
    Result was the system restarted and was on the latest version.
    The homepage status screen still said an update was available for homeassistant, so I followed the second step
  2. Ran the command hassio ha update
    After this the frontend is no longer available.
    Supervisor logs show:
   18-03-17 15:47:22 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home-Assistant startup!
   18-03-17 15:52:06 WARNING (MainThread) [hassio.tasks] Watchdog miss API response from Home-Assistant
   18-03-17 15:57:06 ERROR (MainThread) [hassio.tasks] Watchdog found a problem with Home-Assistant API!

and the Homeassistant log has what other people have described as dependency errors:

  File "/usr/lib/python3.6/site-packages/homeassistant/loader.py", line 142, in get_component
    module = importlib.import_module(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 "/usr/lib/python3.6/site-packages/homeassistant/components/hue.py", line 21, in <module>
    from homeassistant.helpers import discovery, aiohttp_client
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 8, in <module>
    from aiohttp import web
  File "/config/deps/lib/python3.6/site-packages/aiohttp/web.py", line 15, in <module>
    from . import (hdrs, web_exceptions, web_fileresponse, web_middlewares,
  File "/config/deps/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 5, in <module>
    from aiohttp.web_urldispatcher import SystemRoute
  File "/config/deps/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 21, in <module>
    from yarl import URL, unquote
ImportError: cannot import name 'unquote'
2018-03-17 16:38:19 ERROR (MainThread) [homeassistant.loader] Unable to find component hue
2018-03-17 16:38:19 ERROR (MainThread) [homeassistant.setup] Setup failed for hue: Component not found.

Any suggestions for how to resolve much appreciated. I can’t run apt-get or pip so I don’t know how to resolve this.

UPDATE
I’ve resolved this by connecting to the host and deleting the contents of the dependency folder.
I followed the steps here https://home-assistant.io/developers/hassio/debugging/ to get login to the host.
I use the command to view the logfile
docker logs homeassistant
And the results of this looked like the frozen dependency problem.
I located the homeassistant deps folder here /resin-data/homeassistant/deps and did rm -r in order to removed all contents (which consisted of libs/python3.x
Following a shutdown -r now the system came back up.

1 Like

Had the same problem using homeassistant/raspberrypi2-homeassistant docker image.
Removing …/deps solved this issue.