Still old version after update

Hi,

I updated from 0.36.1 to 0.38.2 in Virtualenv. But when I do a reboot the old version is still launched. So I stopped 0.36.1 and started hass in the Virtualenv, it starts 0.38.2. Very strange. So it seems that when I start it with sudo systemctl start home-assistant.service, it start the old version. Can I change this to start the new version?

Okay, I fixed it.

I added this to /etc/systemd/system/home-assistant.service:

ExecStartPre=source /srv/homeassistant/homeassistant_venv/bin
ExecStart=/srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant"
1 Like

Hi,
I am having the same issue while upgrading to 0.53 from 0.45.
It seems like my upgrade worked and I have 0.53 installed in my virtualenv ,
but when I start HA, it still shows 0.45

However, your solution does not seem to work.
Also the directory: /srv/homeassistant/homeassistant_venv/bin does not exist.

Can you explain what this line: ExecStartPre=source /srv/homeassistant/homeassistant_venv/bin
supposed to do and if you know what need to change now for version 0.53
Thank you very much for helping…

Hi,

You probably have more thant one installation of HASS now and referring to the old version. Can you tell me which terminal commands you used?

Indeed, I found two different versions: one in virtualenv and one outside. I will be upgrading to HAAS.IO soon, so I just used the one outside of virtualenv and that worked for me.