Can't get into WebUI after upgrade (may be unrelated though)

Evening,

I tried updating to .61 today and it seemd like nothing happened. Later in the day I wat adding a group and restarted my HASS.io. Now no matter what I do I can’t log into the WebUI (I’ve deleted the group).

The log shows the following:

2018-01-16 18:23:30 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=414 from 2018-01-16 17:46:27.354079)
2018-01-16 18:23:35 WARNING (MainThread) [homeassistant.components.updater] Running on 'dev', only analytics will be submitted
2018-01-16 18:23:38 WARNING (SyncWorker_1) [homeassistant.components.emulated_hue] Alexa type is deprecated and will be removed in a future version
2018-01-16 18:29:20 ERROR (MainThread) [homeassistant.loader] Unable to find component broadlink
2018-01-16 18:29:21 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/websocket_api.py", line 473, in get_services_helper
    descriptions = yield from async_get_all_descriptions(self.hass)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 153, in async_get_all_descriptions
    yaml_file = domain_yaml_file(domain)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 137, in domain_yaml_file
    component_path = path.dirname(get_component(domain).__file__)
AttributeError: 'NoneType' object has no attribute '__file__'
2018-01-16 18:29:36 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-01-16 18:29:46 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.204
2018-01-16 18:29:50 ERROR (MainThread) [homeassistant.loader] Unable to find component broadlink
2018-01-16 18:29:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/websocket_api.py", line 473, in get_services_helper
    descriptions = yield from async_get_all_descriptions(self.hass)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 153, in async_get_all_descriptions
    yaml_file = domain_yaml_file(domain)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 137, in domain_yaml_file
    component_path = path.dirname(get_component(domain).__file__)
AttributeError: 'NoneType' object has no attribute '__file__'

I can SSH in and I have tried to upgrade from there but it says it’s already in 0.61 so assume it may be unrelated to the upgrade.

core-ssh:~#  hassio homeassistant update
Error on homeassistant/update: Version 0.61 is already in use
core-ssh:~#

If you have a broadlink RM remove it for the time being as there is an error with it.

That did the trick but most my house runs off the broadlink (well lights).

Is it possible to revert back to 0.60.1?

Also should I be under “dev”?

2018-01-16 19:00:41 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=415 from 2018-01-16 18:23:27.774415)
2018-01-16 19:00:53 WARNING (SyncWorker_14) [homeassistant.components.emulated_hue] Alexa type is deprecated and will be removed in a future version
2018-01-16 19:00:57 WARNING (MainThread) [homeassistant.components.updater] Running on 'dev', only analytics will be submitted
2018-01-16 19:01:36 WARNING (SyncWorker_17) [netdisco.ssdp] Found malformed XML at http://192.168.1.244:9080: status=ok

SSH in and type

curl -d ‘{“version”: “0.60.1”}’ http://hassio/homeassistant/update

to downgrade.

2 Likes
debug1: permanently_set_uid: 0/0
core-ssh:~# curl -d ‘{“version”: “0.60.1”}’ http://hassio/homeassistant/update
curl: (3) [globbing] unmatched close brace/bracket in column 13
{"result": "error", "message": "Invalid json"}core-ssh:~#
core-ssh:~#

Clearly I’m doing something wrong but can’t see what. Does the above point out what I’m incorrectly typing?

If you copy and paste not from a code block, you have to edit the single and doublequotes.
curl -d '{"version": "0.60.1"}' http://hassio/homeassistant/update

1 Like

Thanks sorted.