Merry Christmas to all!
I was running a bit old version but when my iPhone got the latest version I tried to update the Home Assistant version also.
I am running HA on rasberry pi3.
I used the following in order to update:
sudo -u homeassistant -H -s source /srv/homeassistant/bin/activate pip3 install --upgrade homeassistant
I got an error that I am running an old python version so I did the following to update python:
sudo apt-get install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev wget -O /tmp/Python-3.7.3.tar.xz https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz cd /tmp tar xf Python-3.7.3.tar.xz cd Python-3.7.3 ./configure sudo make altinstall sudo apt -y autoremove cd rm -r /tmp/Python-3.7.3 rm /tmp/Python-3.7.3.tar.xz sudo systemctl stop [email protected] sudo mv /srv/homeassistant /srv/homeassistant_old sudo mkdir /srv/homeassistant sudo chown homeassistant:homeassistant -R /srv/homeassistant cd /srv/homeassistant /usr/local/bin/python3.7 -m venv . source bin/activate pip install wheel homeassistant
And then I run the upgrade again, rebooted but now the service cannot start.
[email protected] - Home Assistant
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-12-27 13:54:51 EET; 10min ago
Process: 910 ExecStart=/srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant (code=exited, status=203/EXEC)
Main PID: 910 (code=exited, status=203/EXEC)
I am realy confused… I dont’t even know how to check my current versions to see if HA is updated or not.