Can't install Node Red (Hass.io + Ubuntu 18.04)

I am trying to install Node Red using Hass.io on Ubuntu 18.04. I have added the repository and when I click the Install button for Node Red, nothing happens. It didn’t work under .68, so I updated to .69 and I was able to install the DuckDNS addon.

The log shows:

build_env.get_docker_args(tag))
File “/usr/lib/python3.6/site-packages/docker/models/images.py”, line 258, in build
resp = self.client.api.build(**kwargs)
File “/usr/lib/python3.6/site-packages/docker/api/build.py”, line 162, in build
path, exclude=exclude, dockerfile=dockerfile, gzip=gzip
File “/usr/lib/python3.6/site-packages/docker/utils/build.py”, line 31, in tar
root=root, fileobj=fileobj, gzip=gzip, extra_files=extra_files
File “/usr/lib/python3.6/site-packages/docker/utils/build.py”, line 151, in create_archive
fileobj = tempfile.NamedTemporaryFile()
File “/usr/lib/python3.6/tempfile.py”, line 540, in NamedTemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File “/usr/lib/python3.6/tempfile.py”, line 130, in _sanitize_params
dir = gettempdir()
File “/usr/lib/python3.6/tempfile.py”, line 296, in gettempdir
tempdir = _get_default_tempdir()
File “/usr/lib/python3.6/tempfile.py”, line 231, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in [’/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/’]

That’s a known issue with the hassio installer (https://github.com/notoriousbdg/hassio-addons/issues/37) that’s been fixed with https://github.com/home-assistant/hassio-build/commit/52dda9cd818297dfe6e708b19562f0136c9b6d80. Re-running the hassio installer should fix it.

That did the trick. Thanks!

1 Like