Unable to restart Homeassistant, Error executing service <ServiceCall homeassistant.restart


Same problem here, same error in log. If I keep hitting restart, after a few errors it picks up and restarts. But it takes a very long time before I can call the UI again.

Also get this in the log after restart:
2018-12-23 15:03:28 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=4 from 2018-12-22 17:30:55.496863)
Don’t know if it’s related.


Logged an issue in git.


Just an FYI. I ended up clearing my db file (it was over 1gb in size), and now my restart button works.


THat’s not really a fix. Why was the bug closed?


I believe I’m seeing the same thing in my HA in Docker on Synology. I basically have to start/stop the container for reboots. My db is in MySQL, so I don’t think the db size is my issue.