New images HASSbian 1.21

1.Download the Hassbian image (364 MB)
2.Use Etcher to flash the image to your SD card
3.Ensure your Raspberry Pi has wired access to the internet.
4.Insert SD card to Raspberry Pi and turn it on.

need type the following two commands into the SSH console?

$ sudo systemctl enable install_homeassistant.service
$ sudo systemctl start install_homeassistant.service

Will not be installed automatically?

sudo systemctl start install_homeassistant.service this did nothing when I ran, posted a comment on the blog article

ok,i’ll see it.

Not using hassbian, but “install_homeassistant.service” feels wrong. I would try typing
sudo systemctl enable (without enter after) and press the tab key twice to expand the list of services.

1 Like

Done this, and do see install_homeassistant.service - how to check what it should be doing?

If I try to manually launch HASS with

sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
hass

I get ImportError: No module name 'markupsafe'

I have installed a new fresh HASSbian 1.21

Logging in with Putty
Perform the following:
$ Sudo systemctl enable install_homeassistant.service
_$ Sudo systemctl start install_homeassistant.servic_e

Sudo su -s / bin / bash home assistant
Source / srv / homeassistant / bin / activate
Hass

Now I can access the Home Assistant at my ip address: 192.168.1.154

Configure HUE and it works perfectly.

My problem is that I can not move on with hassbian-config

Hassbian-config show works
Hassbian-config install samba gives the following errors:

Pi @ hassbian: ~ $ hassbian-config install samba
/ Usr / local / bin / hassbian-config: line 47: /srv/homeassistant/hassbian/suite-states.lock: Permission denied
Flock: 300: Bad file descriptor
Pi @ hassbian: ~ $

Same with
Hassbian-config install mosquitto

Am I doing something wrong or is there any error in HASSbian 1.21?

Did you get any output from sudo systemctl start install_homeassistant.service ?
I would try sudo before those commands if you didn’t already

Did you figure it out?

sadly not…

1.Download the Hassbian image (364 MB)
2.Use Etcher to flash the image to your SD card
3.Ensure your Raspberry Pi has wired access to the internet.
4.Insert SD card to Raspberry Pi and turn it on.

… but nothing happend? and this with 2 SD cards.

the old Hassbian image run normal.

is the hasbian 1.22 Image bad?

Varying levels of success reported…

after the enable and start commands, what’s the full output of the status command?

I checked the status of install and it was complete, and I check ip:8123 for the hass instance but it is not up. So now I run: sudo journalctl -fu [email protected] and see:

-- Logs begin at Fri 2017-05-05 18:30:24 UTC. --
May 05 18:32:42 hassbian hass[799]: from jinja2.environment import Environment, Template
May 05 18:32:42 hassbian hass[799]: File "/srv/homeassistant/lib/python3.4/site-packages/jinja2/environment.py", line 15, in <module>
May 05 18:32:42 hassbian hass[799]: from jinja2 import nodes
May 05 18:32:42 hassbian hass[799]: File "/srv/homeassistant/lib/python3.4/site-packages/jinja2/nodes.py", line 19, in <module>
May 05 18:32:42 hassbian hass[799]: from jinja2.utils import Markup
May 05 18:32:42 hassbian hass[799]: File "/srv/homeassistant/lib/python3.4/site-packages/jinja2/utils.py", line 624, in <module>
May 05 18:32:42 hassbian hass[799]: from markupsafe import Markup, escape, soft_unicode
May 05 18:32:42 hassbian hass[799]: ImportError: No module named 'markupsafe'
May 05 18:32:42 hassbian systemd[1]: [email protected]: main process exited, code=exited, status=1/FAILURE
May 05 18:32:42 hassbian systemd[1]: Unit [email protected] entered failed state.

You have it plugged into the internet, right?

Yep :+1: Connecting via SSH

1 Like

Please try hassbian 1.1 https://github.com/home-assistant/pi-gen/releases/tag/v1.1

That is the last one that I tried that worked. Of course, make sure it is plugged in wired to an internet connection the whole time…

Thanks, I have the earlier hassbian on my pi 3 but am after it on my pi zero which is the main appeal of 1.21

Have you figure it out?

Try HASS.io that worked fine on pi zero w

1 Like

I also get this error runinng hassbian-config

(homeassistant) homeassistant@hassbian:~/.homeassistant $ hassbian-config install mosquitto
/usr/local/bin/hassbian-config: line 47: /srv/homeassistant/hassbian/suite-states.lock: Permission denied
flock: 300: Bad file descriptor
(homeassistant) homeassistant@hassbian:~/.homeassistant $