Supervisor on QNAP without Virtualization Station (--> no VM)

Hi everybody,

I just started using Home Assistant and see a lot of people in tutorials using a version of Home Assistant that comes with the Supervisor menu / the Add-on store. Unfortunately, this isn’t working for me and I hope you can help me out.

My set-up:

After realizing that I was missing the supervisor menu, I followed the steps again, this time using armhf-hassio-supervisor rather than armhf-homeassistant, hoping this would get me the supervisor menu. Unfortunately, whenever I want to start the docker in the QNAP Container Station, it gets stopped again soon after, throwing the following log/error:

Traceback (most recent call last):                                                                                                                                                                                                                          
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main                                                                                                                                                                                
    return _run_code(code, main_globals, None,                                                                                                                                                                                                              
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code                                                                                                                                                                                           
    exec(code, run_globals)                                                                                                                                                                                                                                 
  File "/usr/src/supervisor/supervisor/__main__.py", line 41, in <module>                                                                                                                                                                                   
    coresys = loop.run_until_complete(bootstrap.initialize_coresys())                                                                                                                                                                                       
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete                                                                                                                                                                   
    return future.result()                                                                                                                                                                                                                                  
  File "/usr/src/supervisor/supervisor/bootstrap.py", line 60, in initialize_coresys                                                                                                                                                                        
    coresys = CoreSys()                                                                                                                                                                                                                                     
  File "/usr/src/supervisor/supervisor/coresys.py", line 61, in __init__                                                                                                                                                                                    
    self._docker: DockerAPI = DockerAPI()                                                                                                                                                                                                                   
  File "/usr/src/supervisor/supervisor/docker/__init__.py", line 90, in __init__                                                                                                                                                                            
    self.docker: docker.DockerClient = docker.DockerClient(                                                                                                                                                                                                 
  File "/usr/local/lib/python3.8/site-packages/docker/client.py", line 45, in __init__                                                                                                                                                                      
    self.api = APIClient(*args, **kwargs)                                                                                                                                                                                                                   
  File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 197, in __init__                                                                                                                                                                 
    self._version = self._retrieve_server_version()                                                                                                                                                                                                         
  File "/usr/local/lib/python3.8/site-packages/docker/api/client.py", line 221, in _retrieve_server_version                                                                                                                                                 
    raise DockerException(                                                                                                                                                                                                                                  
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))                                                                                                          
21-03-08 08:02:20 ERROR (MainThread) [asyncio] Unclosed client session                                                                                                                                                                                      
client_session: <aiohttp.client.ClientSession object at 0x7334c028>                                                                                                                                                                                         
21-03-08 08:02:20 ERROR (MainThread) [asyncio] Unclosed client session                                                                                                                                                                                      
client_session: <aiohttp.client.ClientSession object at 0x7334c130>                                                                                                                                                                                         
[cont-finish.d] executing container finish scripts...                                                                                                                                                                                                       
[cont-finish.d] done.                                                                                                                                                                                                                                       
[s6-finish] waiting for services.                                                                                                                                                                                                                           
[s6-finish] sending all processes the TERM signal.                                                                                                                                                                                                          
[s6-finish] sending all processes the KILL signal and exiting.

All tutorials I have found so far require running linux in a VM and then installing the full Home Assistant image. As I don’t have a VirtualizationStation in my QNAP (guessing that 1GB ist not enough memory for that), that doesn’t really work for me.

Any chance you could help me figure out how to get this to work?

I appreciate your help, please let me know if you need any other info!

If you can’t run a VM on your QNAP then you are out of luck. Supervisor is only included in Home Assistant OS (the VM) and Home Assistant Supervised. Home Assistant Supervised has strict requirements (Debian 10, no other apps installed etc.) to be supported and healthy, which your QNAP Nas probably doesn’t fulfill.

1 Like

Well that’s a pity :frowning: Would have loved to gt those additional features! Thank you for your reply!