I tried installing the hass.io container on my RHEL 7 server but keep getting the following error from the supervisor container:
Dec 1 14:49:44 tsrv01-rhel journal: starting version 3.2.2
Dec 1 14:49:44 tsrv01-rhel hassio-start: starting version 3.2.2
Dec 1 14:49:45 tsrv01-rhel hassio-start: #033[32m17-12-01 19:49:45 INFO (MainThread) [__main__] Initialize Hassio setup#033[0m
Dec 1 14:49:45 tsrv01-rhel journal: #033[32m17-12-01 19:49:45 INFO (MainThread) [__main__] Initialize Hassio setup#033[0m
Dec 1 14:49:45 tsrv01-rhel hassio-start: #033[32m17-12-01 19:49:45 INFO (MainThread) [hassio.bootstrap] Create Home-Assistant config folder /data/homeassistant#033[0m
Dec 1 14:49:45 tsrv01-rhel hassio-start: Traceback (most recent call last):
Dec 1 14:49:45 tsrv01-rhel hassio-start: File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
Dec 1 14:49:45 tsrv01-rhel hassio-start: "__main__", mod_spec)
Dec 1 14:49:45 tsrv01-rhel hassio-start: File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
Dec 1 14:49:45 tsrv01-rhel hassio-start: exec(code, run_globals)
Dec 1 14:49:45 tsrv01-rhel hassio-start: File "/usr/lib/python3.6/site-packages/hassio/__main__.py", line 26, in <module>
Dec 1 14:49:45 tsrv01-rhel hassio-start: config = bootstrap.initialize_system_data()
Dec 1 14:49:45 tsrv01-rhel hassio-start: File "/usr/lib/python3.6/site-packages/hassio/bootstrap.py", line 24, in initialize_system_data
Dec 1 14:49:45 tsrv01-rhel hassio-start: config.path_config.mkdir()
Dec 1 14:49:45 tsrv01-rhel hassio-start: File "/usr/lib/python3.6/pathlib.py", line 1227, in mkdir
Dec 1 14:49:45 tsrv01-rhel hassio-start: self._accessor.mkdir(self, mode)
Dec 1 14:49:45 tsrv01-rhel hassio-start: File "/usr/lib/python3.6/pathlib.py", line 390, in wrapped
Dec 1 14:49:45 tsrv01-rhel hassio-start: return strfunc(str(pathobj), *args)
Dec 1 14:49:45 tsrv01-rhel hassio-start: PermissionError: [Errno 13] Permission denied: '/data/homeassistant'
What could be causing this? Do I need any special packages to get this working? I’ve taken a look at the install script but can’t really find anything that would cause this.