Hi!
After struggeling with getting sun command up and running HA stopped working after a few weeks.
I have been away from HA for a while because I lost interest and I realise i run an old version. Maybe this is why it stoped working? Anyway. Now I can not figure out how to upgrade.
I run:
Blockquote $ sudo systemctl stop [email protected]
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start [email protected]
Blockquote
after third line I get an error:
Blockquote
Exception:
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 307, in run
delete=build_delete) as build_dir:
File “/srv/homeassistant/lib/python3.5/site-packages/pip/utils/build.py”, line 22, in init
name = os.path.realpath(tempfile.mkdtemp(prefix=“pip-build-”))
File “/usr/lib/python3.5/tempfile.py”, line 497, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File “/usr/lib/python3.5/tempfile.py”, line 269, in _sanitize_params
dir = gettempdir()
File “/usr/lib/python3.5/tempfile.py”, line 435, in gettempdir
tempdir = _get_default_tempdir()
File “/usr/lib/python3.5/tempfile.py”, line 370, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/home/pi’]
Blockquote
This is getting real frurstrating!
I currently run 0.55.0.
Thank you, kind people!