Hi - I’m having an issue (maybe related to Updating All in One Raspberry now kills Webpage?) on my pi trying to update to 20.3. My issue is that I am unable to update at all. I am not in a virtual environment, however. When I run the update commands, I get messages stating “Requirement already up-to-date”. I restart my pi, but I’m still on 20.2 and the Update Available icon still persists.
I found this thread and tried switching to the hass user before running it and got the same messages. I thought maybe I should try sudo pip3 install --upgrade homeassistant but it prompts me for the sudo password and I don’t know what it is for hass, (is this set during the all in one setup?).
That is the critical part - you are installing home assistant to the global environment so when you run it under its virtual environment it doesn’t see the upgrade.
To upgrade the All-In-One setup:
Login to Raspberry Pi ssh pi@your_raspberry_pi_ip
Change to hass user sudo su -s /bin/bash hass
Change to virtual enviroment source /srv/hass/hass_venv/bin/activate
Update HA pip3 install --upgrade homeassistant
Just in case you weren’t aware of the benefit of the virtual environment, you can install other packages on your Pi for other tasks or third party integration and when you upgrade any of those libraries, your HA install remains untouched even if they share some libs in common. This was one of the other things that made me move to the Pi from a Windows machine.
Yes, if you execute it in the order shown in Andrew’s post. Once you log into the virtual environment (1st step) and then make it active for changes (2nd step) the last command updates the HASS installation ONLY along with any dependencies.
Not sure; I would just start with a new image and reinstall as it seems you missed something along the way, but maybe someone here can come up with a better idea.