I’m running a Debian server with HA in a Python Virtual Env
I used the old documentation to install HA
And I have been updating my server several times befor. And I used the same method this time
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant
But this update give me a lot of red messages.
Found existing installation: certifi 2017.7.27.1
Uninstalling certifi-2017.7.27.1:
Exception:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/shutil.py”, line 544, in move
os.rename(src, real_dst)
PermissionError: [Errno 13] Åtkomst nekas: ‘/srv/homeassistant/lib/python3.5/site-packages/certifi-2017.7.27.1.dist-info/DESCRIPTION.rst’ -> ‘/tmp/pip-g1vo1yji-uninstall/srv/homeassistant/lib/python3.5/site-packages/certifi-2017.7.27.1.dist-info/DESCRIPTION.rst’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/commands/install.py”, line 342, in run
prefix=options.prefix_path,
File “/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_set.py”, line 778, in install
requirement.uninstall(auto_confirm=True)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_install.py”, line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/req/req_uninstall.py”, line 115, in remove
renames(path, new_path)
File “/srv/homeassistant/lib/python3.5/site-packages/pip/utils/init.py”, line 267, in renames
shutil.move(old, new)
File “/srv/homeassistant/lib/python3.5/shutil.py”, line 559, in move
os.unlink(src)
PermissionError: [Errno 13] Åtkomst nekas: ‘/srv/homeassistant/lib/python3.5/site-packages/certifi-2017.7.27.1.dist-info/DESCRIPTION.rst’
Anyone have any idea what could be wrong?
I reverted back to 0.57.3 cause HA never started after the upgrade…
Regards Peter!