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 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!
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
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.