I recently migrated my HA installation to new hardware and everything is running fairly well. However, I’m not able to install addons through the Hassio tab. I’ve tried the following addons - node-red, samba, and configurator. Clicking on the Install button causes it to turn red for a moment. Here’s the log:
18-11-12 17:25:52 INFO (SyncWorker_9) [hassio.docker] Run command ‘python3 -m homeassistant -c /config --script check_config’ on homeassistant/qemux86-64-homeassistant
18-11-12 17:26:42 INFO (MainThread) [hassio.homeassistant] Home Assistant config is valid
18-11-12 17:26:42 INFO (SyncWorker_1) [hassio.docker.interface] Stop homeassistant/qemux86-64-homeassistant Docker application
18-11-12 17:26:54 INFO (SyncWorker_1) [hassio.docker.interface] Clean homeassistant/qemux86-64-homeassistant Docker application
18-11-12 17:26:54 ERROR (MainThread) [hassio.utils.json] Can’t store configuration in /data/homeassistant.json: [Errno 2] No such file or directory: ‘/data/homeassistant.json’
18-11-12 17:26:58 INFO (SyncWorker_17) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.82.0
18-11-12 17:27:29 ERROR (MainThread) [hassio.utils.json] Can’t store configuration in /data/homeassistant.json: [Errno 2] No such file or directory: ‘/data/homeassistant.json’
18-11-12 17:27:29 ERROR (MainThread) [hassio.utils.json] Can’t store configuration in /data/updater.json: [Errno 2] No such file or directory: ‘/data/updater.json’
18-11-12 17:27:29 ERROR (MainThread) [hassio.utils.json] Can’t store configuration in /data/config.json: [Errno 2] No such file or directory: ‘/data/config.json’
18-11-12 17:27:38 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
18-11-12 17:35:00 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token
18-11-12 17:39:07 INFO (MainThread) [hassio.addons.addon] Create Home Assistant add-on data folder /data/addons/data/core_samba
18-11-12 17:39: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 688, in install
self.path_data.mkdir()
File “/usr/local/lib/python3.7/pathlib.py”, line 1230, in mkdir
self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: ‘/data/addons/data/core_samba’
So it looks like there’s a problem with the /data/ directory? I was able to install the DuckDNS add on earlier and it is working fine. The main home assistant log does not have any errors or warnings in it.
My configuration: Hassio is running on Ubuntu 18.04 on supermicro hardware, so everything is in docker containers.