Cannot restart hass-daemon

Hi,

Let me start by saying that I am quite new to home assistant and linux-dists in general. I found this to be a fun way of learning.

Anyhow I seem to have encountered a very basic problem with my home assistant installation. Basically I am unable to restart the hass-daemon service as it cannot find it, see below error(run with sudo):

Failed to restart hass-daemon.service: Unit hass-daemon.service failed to load: No such file or directory.

My installation is pretty fresh and I’ve only added on thing to the configuration in order to test. Any idea that might be helpfull?

I appreciate all feedback and assistance!

Hi there -

We’ll probably need some more information to narrow it down -

  • what flavor of Linux are you using?
  • what command are you using to start HA?

How did you install HASS? How did you get/install the restart script? Did you put it where directed?

Hi,

I realize that I might have given you a bit to little information. I’ll try to answer as good as I can but bare with me that my understanding of the application is so far on a low level.

Im running Raspbian Jessie(not lite). I installed HA using the all in one installer and poof I had access to the web gui. I was not aware of that I manually needed to start HA.

Hmm, could you refer me to some information regarding the restart script, I was not aware of this. THanks!

Solved this. Since I am running the all in one installer. The correct command is: sudo service home-assistant restart

Hi,

I’m facing the same error, I have hassbian installed on raspberry pi , I can open home assistant from the chrome, but I can’t restart neither from the web nor from the command line (connected via PuTTY), this is what I got:

pi@raspberrypi:~ $ sudo service hass-daemon restart
Failed to restart hass-daemon.service: Unit hass-daemon.service failed to load: No such file or directory.

pi@raspberrypi:~ $ sudo service home-assistant restart
Failed to restart home-assistant.service: Unit home-assistant.service failed to load: No such file or directory.

this is the log file content:
sudo cat /home/homeassistant/.homeassistant/home-assistant.log
16-10-05 19:16:03 homeassistant.components.recorder: Ended unfinished session (id=6 from 2016-10-05 18:56:51.510824)
16-10-05 19:16:03 homeassistant.components.recorder: Found unfinished sessions

any idea ?

Thanks,
Simaan

HI,

Having the same problem Simaan,
Did you resolve the restart, I’ve also used the all in one installer

if you used the hassbian image the correct command is: “sudo service home-assistant@homeassistant restart”.
Anyway i suggest you to type "sudo service " press 2 times tab and display all possibilities to select the correct one.

Marco