Cannot upgrade to 65.5

Im trying to upgrade HA and the install seems to fail, I have also now lost my frontend.

My HA is installed on a Pi3 in a python virtual environment.
I upgrade as below:

sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant

here is the output in PasteBin

I also am unable to start home assistant from the command line?

The permissions are messed up, so try this:
sudo chown -R homeassistant /srv/homeassistant/

That’ll change the ownership of all files/directories under /srv/homeassistant to the homeassistant user again. After that, things should go better.

thanks very much.
that’s really bizzare…what could / would have changed permissions?

I also noticed that with /srv/homeassistant/bin there was no hass file, so I could not restart it.
having added the file from a previous backup it I was able to start home assistant again.

Possibly, last time you upgraded as root or such, causing the ownership to be changed.

Ok, so I upgraded and nnow have lost home assistant altogether…

2018-03-15 11:59:47 ERROR (MainThread) [homeassistant.components.http] Failed to create HTTP server at port 80: [Errno 13] error while attempting to bind on address ('192.168.0.50', 80): permission denied

A regular, non-root user may not start a TCP listener on ports < 1024. You must run HA as root, if you want it on port 80, however that is not recommend.

It’s better to run HA as dedicated user on port 8123 and use a proxy like nginx to expose HA on port 80/443.

thanks,
I think this was actually linked to emulated hue component though.
I ran the following command and have my HA back:

sudo setcap 'cap_net_bind_service=+ep' /srv/homeassistant/bin/python3