Hass.io Install Failure

Newbie - trying g to migrate over from Stringify (RIP). Using Raspberry Pi 3 B+ 64 bit - had Raspian OS on the unit and it ran fine. So I tempted the gods and am trying to load Hass.io. Followed on screen instructions to flash the image to a SD card and included a directory for config\network and had a my-network file created with notepad with default connection as advised during the install. Tried having this file also on a USB stick. I did remove the TXT extension from the file. Booted the Pi and it started loading. Got to
‘udevd [7]: starting version 3.2.7
udevd [0]: starting cudev-3.2.7
IPv6: ADDRCONF (NETDEV_UP): wlan0: link is not ready
brcmfmac: power management diasabled’
it the waits for a while and repeats this over. Waited an hour just in case I was a little over anxious - no luck!
Any ideas and/or words of wisdom to the freshman?

My personal suggestion, based on a VM experience is to no use the HassOS based image but to install Raspbian Lite on your card and then install Hassio.

When reusing a card I have had good experience using SD Formatter to wipe the card & using NOOBS Lite to install Raspbian Lite. That is the process recommended by the Pi manufacturer.

After that, assuming you get your network operating, I follow the instructions at https://github.com/home-assistant/hassio-installer/blob/master/README.md

Install

docker-ce
bash
jq
curl
avahi-daemon
dbus

Then run

curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s -- -m raspberrypi3

That is my advice and what I am running.

Well here I am getting closer. Had to also install AppArmor and network-manager. Now I get:
mkdir: cannot create directory ‘/usr/share/hassio’: Permission denied
I am using the cmd sudo curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s – -m raspberrypi3-64
Thoughts on why permission is denied if I am user pi?

add sudo before bash too ? Or run as root. sudo -i or sudo su - gets you the root prompt #

I really hate being a PITA. Haven’t used Linux in about 15 years and most of this is really not familiar.
This is the latest, ran it from a cmd window:

pi@raspberrypi:~ $ sudo curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | sudo bash -s – -m raspberrypi3-64

[Info] Install supervisor Docker container

[Info] Install supervisor startup scripts

Created symlink /etc/systemd/system/multi-user.target.wants/hassio-supervisor.service → /etc/systemd/system/hassio-supervisor.service.

[Info] Install AppArmor scripts

Created symlink /etc/systemd/system/multi-user.target.wants/hassio-apparmor.service → /etc/systemd/system/hassio-apparmor.service.

[Info] Run Hass.io

Now what should I do next? Hassio does not appear to be installed.

Are you running a 64 bit OS? Raspbian is 32 bit.
The first startup takes a while (20 minutes or longer) as it downloads & installs Home Assistant.

Well - I figured that since the Pi 3+ arrived and said it was 64 bit, that it would be the one to download. Did not know that the Rasbian OS is 32 bit. I guess I’ll start over and see what happens next in my adventure. Thanks!

I have it running specifying raspberrypi3 I believe the uname-a command says the architecture is armv7 which is 32 bit.
Raspian was designed back when the Pi was 32 bit.

Absolutely correct - I have armV71 - 32bit. So I reloaded everything and tried it again. Gosh! something different:
pi@raspberrypi:~ $ sudo curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | sudo bash -s – -m raspberrypi3

[Error] Please install docker first

pi@raspberrypi:~ $ sudo apt-get install docker

Reading package lists… Done

Building dependency tree

Reading state information… Done

docker is already the newest version (1.5-1).

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pi@raspberrypi:~ $

It now says that Docker needs to be installed However it IS installed. Reloaded everything from scratch, and again the same issue. So I started looking on line and as the Hass page says you need Docker-ce. The CE version is for 64 bit OS. When I tried loading the other day, it did not give me the Docker not loaded error.

It requires docker community edition. from the Hassio installation page:

sudo -i

apt-get install software-properties-common

apt-get update

apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat

curl -fsSL get.docker.com | sh

Eureka! Thanks so much for your patience and help. Now to continue my journey…

1 Like