Help with install on Ubuntu16.04

Hi
I have been trying for a few days to install Home Assistant on an Ubuntu Server 16.04 but no success, apparently the version of pip is outdated on Ubuntu 16.04 and i don’t really want to upgrade yet to 18.04 or 16.10.

Does anyone have a straight forward guide? or should I just buy a raspberry pi?
I have seen guides to install it in Docker but I haven’t used Docker before.

Thanks

Ubuntu 16.04 has too low a version of python unless I am mistaken. I upgraded to Ubuntu 17.10 to pick up python 3.6.3 which is fine.

yep. i use 16 but upgrade python to 3.6.3

Thanks for replying.

Ok well Im upgrading now even though I wasn’t that keen to do it, hopefully i get it to work.

Ubuntu 17.10 EOL’s in July 2018, so I’d suggest upgrading to 18.04

1 Like

I used this approach and it works great on Ubuntu 16.04 on a Raspberry Pi 3:

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6 python3.6-pip python3.6-venv python3.6-dev

After the installation finished you have to rebuild the virtual environment (in case you use that).

Thanks, i have read it is best to use a virtual environment, have you found this to be the case?

Yea, use virtual. I just setup a system on Ubuntu 18 server and aside from having trouble with the MySQL install it is running great.

1 Like

Yes I have done that also. Ubuntu 18.04 in a virtual environment, and now have it working!

1 Like

Hello guys,
I’m new of Home Assistant. I’m trying to install HA on Ubuntu 18.04, and beaglebone black. The installation stopped at the web page “Preparing Home Assistant” from yesterday. Clicking on the blue button:

21-01-08 20:48:22 ERROR (SyncWorker_2) [supervisor.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:2021.1.0 -> 404 Client Error for http+docker://localhost/v1.41/images/homeassistant/raspberrypi3-homeassistant:2021.1.0/json: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:2021.1.0: No such image: homeassistant/raspberrypi3-homeassistant:2021.1.0").
21-01-08 20:48:22 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
21-01-08 20:48:52 INFO (SyncWorker_3) [supervisor.docker.interface] Updating image homeassistant/raspberrypi3-homeassistant:landingpage to homeassistant/raspberrypi3-homeassistant:2021.1.0
21-01-08 20:48:52 INFO (SyncWorker_3) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi3-homeassistant with tag 2021.1.0.
21-01-08 21:04:20 ERROR (SyncWorker_3) [supervisor.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:2021.1.0 -> 404 Client Error for http+docker://localhost/v1.41/images/homeassistant/raspberrypi3-homeassistant:2021.1.0/json: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:2021.1.0: No such image: homeassistant/raspberrypi3-homeassistant:2021.1.0").
21-01-08 21:04:20 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
21-01-08 21:04:50 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image homeassistant/raspberrypi3-homeassistant:landingpage to homeassistant/raspberrypi3-homeassistant:2021.1.0
21-01-08 21:04:50 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi3-homeassistant with tag 2021.1.0.
21-01-08 21:06:03 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-01-08 21:06:03 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-01-08 21:06:03 ERROR (MainThread) [supervisor.homeassistant.api] Can't update Home Assistant access token!
21-01-08 21:06:04 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-01-08 21:12:43 INFO (MainThread) [supervisor.host.info] Updating local host information
21-01-08 21:12:44 INFO (MainThread) [supervisor.host.services] Updating service information
21-01-08 21:12:46 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-01-08 21:12:46 INFO (MainThread) [supervisor.host] Host information reload completed
21-01-08 21:19:40 ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:2021.1.0 -> 404 Client Error for http+docker://localhost/v1.41/images/homeassistant/raspberrypi3-homeassistant:2021.1.0/json: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:2021.1.0: No such image: homeassistant/raspberrypi3-homeassistant:2021.1.0").
21-01-08 21:19:40 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
21-01-08 21:20:10 INFO (SyncWorker_2) [supervisor.docker.interface] Updating image homeassistant/raspberrypi3-homeassistant:landingpage to homeassistant/raspberrypi3-homeassistant:2021.1.0
21-01-08 21:20:10 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi3-homeassistant with tag 2021.1.0.

What can I do?