Hi All,
I am having trouble installing the add-on
When I click on Install it looks like nothing is happening.
When I check my Log File I see this:
18-11-09 15:06:07 INFO (SyncWorker_13) [hassio.docker.addon] Start build 13861ffc/amd64-addon-ozwcp:1.0.4
18-11-09 15:06:07 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 390, in start
resp = await self._request_handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 366, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 106, in impl
return await handler(request)
File "/usr/local/lib/python3.7/site-packages/hassio/api/security.py", line 137, in token_validation
return await handler(request)
File "/usr/local/lib/python3.7/site-packages/hassio/api/utils.py", line 32, in wrap_api
answer = await method(api, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/hassio/addons/addon.py", line 693, in install
if not await self.instance.install(self.last_version):
File "/usr/local/lib/python3.7/site-packages/hassio/utils/__init__.py", line 33, in wrap_api
return await method(api, *args, **kwargs)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/hassio/docker/addon.py", line 307, in _install
return self._build(tag)
File "/usr/local/lib/python3.7/site-packages/hassio/docker/addon.py", line 321, in _build
**build_env.get_docker_args(tag))
File "/usr/local/lib/python3.7/site-packages/docker/models/images.py", line 258, in build
resp = self.client.api.build(**kwargs)
File "/usr/local/lib/python3.7/site-packages/docker/api/build.py", line 154, in build
path, exclude=exclude, dockerfile=dockerfile, gzip=gzip
File "/usr/local/lib/python3.7/site-packages/docker/utils/build.py", line 31, in tar
root=root, fileobj=fileobj, gzip=gzip, extra_files=extra_files
File "/usr/local/lib/python3.7/site-packages/docker/utils/build.py", line 68, in create_archive
fileobj = tempfile.NamedTemporaryFile()
File "/usr/local/lib/python3.7/tempfile.py", line 538, in NamedTemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/local/lib/python3.7/tempfile.py", line 126, in _sanitize_params
dir = gettempdir()
File "/usr/local/lib/python3.7/tempfile.py", line 294, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/local/lib/python3.7/tempfile.py", line 229, in _get_default_tempdir
dirlist)
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
I’ve tried to install other Add-Ons to be certain it wasn’t happening to all Add-ons, but they were installing fine.