Installation fails no matter what

I’ve tried installing HASS in about every imaginable way but I just can’t get it to work. I’ve tried HASSbian, I’ve tried AIO, I’ve tried VENV on my RPi and Ubuntu, I’ve tried CLI installation on bare Raspbian and bare Ubuntu 16.04, all to no avail.

The only thing that has worked is VENV on Ubuntu but since I run virtual servers I was hoping to get rid of a layer of encapsulation that I don’t need, should something crash I can just throw the VM away and restore it from a backup.

This Youtube movie is linked from the HA installation pages and seems simple enough, just run three commands and Bob’s your uncle. Or is he? When I try this on a brand new Ubuntu 16.04 VM it does install but then I get the update pip warning. When trying to update pip according to the instructions I get the message that pip isn’t installed (of course not, the guide calls for pip3 to be installed!).

I then tried running “hass --open-ui” and get about a thousand red errors about python modules not working etc etc (and no web UI is available). When all red errors have disappeared I’m left with a long list of config errors for just about every component installed: sensor.yr, conversation, updater, discovery, sun, http, recorder.

When running RPi VENV I could only make it work until I restarted my RPi, after that there are no traces of HASS (the /srv directory is empty, the homeassistant user does not exist etc). It’s like my SD-card is write-protected (which it isn’t, I can run other things) and I’m writing files into the air.

What am I doing wrong??? I just want HASS to run on a bare Ubuntu installation without using Docker, VENV, Vagrant or similar.

Change SD card?

I guess I could do that, although it doesn’t explain the troubles I had using Ubuntu on my server.

I’ll give it another go later tonight, if nothing else works I’ll have to go with VENV.

I just installed HA on an Ubuntu virtual machine cloned from the disk image and upgraded.

The commands I had to type were

$ sudo apt install python3-pip
$ pip3 install homeassistant
$ hass --open-ui

Yes, that’s what I thought I did too.

I created a brand new VM using a Ubuntu 16.04 ISO, ran only apt update && apt upgrade before installing pip3 and homeassistant. When starting HASS I got a truckload of error messages in red about components not being configured correctly.

I’ll give it another go tonight.

Well, it seems it was the SD card that was at fault the other night. I replaced it with another one and now HASS works fine on my RPi.

my first thought :wink: