Home Assistant not loading

I’ve used Home Assistant for months, running on docker, with only minor issues. I was on version 99.2 which had been running fine for at least the last week. This morning I was doing some changes (removing fully-kiosk so I could replace with browser-mod, and updating hacs from 13.2).

I went to restart after those updates, the system would not stop via the UI. This is not all that uncommon for me…the front end stops responding, but the log never resets. So I went into docker to restart.

Except now, it won’t come back up. At all. I get hundreds of lines of errors, starting as below, but repeating similarly for just about every component I use. I’ve about exhausted what I know to fix, including:

  1. Updating the image to 99.3
  2. Restoring my entire home assistant folder from a last known good copy from 10/1
  3. Restarted my Synology host NAS
  4. Tried doing the ecobee pin deal as from the log below (it keeps showing different pin)

Nothing has made a difference…it just will not start. I cannot think of any system changes other than the above.

Any ideas?

2019-10-05 15:08:16 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=395 from 2019-10-05 15:04:09)
2019-10-05 15:08:22 ERROR (SyncWorker_19) [pyecobee] Please authorize your ecobee developer app with PIN code ----
Goto https://www.ecobee.com/consumerportal/index.html, click
My Apps, Add application, Enter Pin and click Authorize.
After authorizing, call request_tokens() method.
2019-10-05 15:08:25 ERROR (SyncWorker_9) [roomba.roomba.Roomba] Error: [Errno 104] Connection reset by peer 
2019-10-05 15:08:25 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform template
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 435, in wait_for
    await waiter
concurrent.futures._base.CancelledError
2019-10-05 15:08:25 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall group.set (c:...obfuscated...): object_id=all_devices, visible=False, name=all devices, entities=[]>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1242, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1259, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 233, in locked_service_handler
    await groups_service_handler(service)
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 262, in groups_service_handler
    **extra_arg,
  File "/usr/src/homeassistant/homeassistant/components/group/__init__.py", line 483, in async_create_group
    await component.async_add_entities([group], True)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 252, in async_add_entities
    await asyncio.wait(tasks)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 389, in wait
    return await _wait(fs, timeout, return_when, loop)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 482, in _wait
    await waiter
concurrent.futures._base.CancelledError
2019-10-05 15:08:25 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform template
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 566, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 534, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1771, in _run_once
    handle._run()
  File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/components/roomba/vacuum.py", line 108, in async_setup_platform
    await hass.async_add_job(roomba.connect)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/roomba/roomba.py", line 283, in connect
    sys.exit(1)
SystemExit: 1

During handling of the above exception, another exception occurred:
<different component but similar to above>

Hrm, first thing it complains about is the Roomba, and when I removed it from the config it starts OK. Is there some problem with the Roomba component?

Did you ever find the source of your problems? I have the exact same issue, and I am all lost in a house that doesn’t work :-o

Thanks,
Thomas

Yes. It was the Roomba integration. I believe it has been resolved in latest versions of HA, but if not there is a workaround. I did have to redo the setup steps as the password has changed.

Workaround:

More details:

1 Like