Home Assistant Supervised (previously known as Hass.io) on Synology DSM as native package (not supported or working atm)

Hi!
Thanks for coming back so quickly. The supervisor container goes on and of. Only home assistant and supervisor are running as container in the docker. the other containers do not run.
This is the log file from the supervisor container:
Can you help me please? Also I cannot connect to host via Home assistant cloud inside Home assistant page, I have Nabucasa trial subscription.

date stream content
2020-05-18 08:33:44 stdout [s6-finish] sending all processes the KILL signal and exiting.
2020-05-18 08:33:41 stdout [s6-finish] sending all processes the TERM signal.
2020-05-18 08:33:40 stdout [s6-finish] waiting for services.
2020-05-18 08:33:40 stdout [cont-finish.d] done.
2020-05-18 08:33:40 stdout [cont-finish.d] executing container finish scripts…
2020-05-18 08:33:38 stdout client_session: <aiohttp.client.ClientSession object at 0x7f714f4cc610>e[0m
2020-05-18 08:33:38 stdout e[31m20-05-18 08:33:38 ERROR (MainThread) [asyncio] Unclosed client session
2020-05-18 08:33:38 stdout client_session: <aiohttp.client.ClientSession object at 0x7f714f71a350>e[0m
2020-05-18 08:33:38 stdout e[31m20-05-18 08:33:38 ERROR (MainThread) [asyncio] Unclosed client session
2020-05-18 08:33:38 stdout docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:33:38 stdout ‘Error while fetching server API version: {0}’.format(e)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 215, in _retrieve_server_version
2020-05-18 08:33:38 stdout self._version = self._retrieve_server_version()
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 190, in init
2020-05-18 08:33:38 stdout self.api = APIClient(*args, **kwargs)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/client.py”, line 40, in init
2020-05-18 08:33:38 stdout base_url=“unix:/{}”.format(str(SOCKET_DOCKER)), version=“auto”, timeout=900
2020-05-18 08:33:38 stdout File “/usr/src/supervisor/supervisor/docker/init.py”, line 34, in init
2020-05-18 08:33:38 stdout self._docker: DockerAPI = DockerAPI()
2020-05-18 08:33:38 stdout File “/usr/src/supervisor/supervisor/coresys.py”, line 56, in init
2020-05-18 08:33:38 stdout coresys = CoreSys()
2020-05-18 08:33:38 stdout File “/usr/src/supervisor/supervisor/bootstrap.py”, line 50, in initialize_coresys
2020-05-18 08:33:38 stdout File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete
2020-05-18 08:33:38 stdout coresys = loop.run_until_complete(bootstrap.initialize_coresys())
2020-05-18 08:33:38 stdout File “/usr/src/supervisor/supervisor/main.py”, line 40, in
2020-05-18 08:33:38 stdout exec(code, run_globals)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/runpy.py”, line 85, in _run_code
2020-05-18 08:33:38 stdout main”, mod_spec)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
2020-05-18 08:33:38 stdout Traceback (most recent call last):
2020-05-18 08:33:38 stdout
2020-05-18 08:33:38 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:33:38 stdout
2020-05-18 08:33:38 stdout requests.exceptions.ConnectionError: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:33:38 stdout raise ConnectionError(err, request=request)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 498, in send
2020-05-18 08:33:38 stdout r = adapter.send(request, **kwargs)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 643, in send
2020-05-18 08:33:38 stdout resp = self.send(prep, **send_kwargs)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 530, in request
2020-05-18 08:33:38 stdout return self.request(‘GET’, url, **kwargs)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 543, in get
2020-05-18 08:33:38 stdout return self.get(url, **self._set_request_timeout(kwargs))
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 230, in _get
2020-05-18 08:33:38 stdout return f(self, *args, **kwargs)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/utils/decorators.py”, line 46, in inner
2020-05-18 08:33:38 stdout return self._result(self._get(url), json=True)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/daemon.py”, line 181, in version
2020-05-18 08:33:38 stdout return self.version(api_version=False)[“ApiVersion”]
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 207, in _retrieve_server_version
2020-05-18 08:33:38 stdout Traceback (most recent call last):
2020-05-18 08:33:38 stdout
2020-05-18 08:33:38 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:33:38 stdout
2020-05-18 08:33:38 stdout urllib3.exceptions.ProtocolError: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:33:38 stdout sock.connect(self.unix_socket)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/docker/transport/unixconn.py”, line 43, in connect
2020-05-18 08:33:38 stdout self.connect()
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
2020-05-18 08:33:38 stdout self.send(msg)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
2020-05-18 08:33:38 stdout self._send_output(message_body, encode_chunked=encode_chunked)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
2020-05-18 08:33:38 stdout self.endheaders(body, encode_chunked=encode_chunked)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
2020-05-18 08:33:38 stdout self._send_request(method, url, body, headers, encode_chunked)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
2020-05-18 08:33:38 stdout conn.request(method, url, **httplib_request_kw)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
2020-05-18 08:33:38 stdout chunked=chunked,
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
2020-05-18 08:33:38 stdout raise value.with_traceback(tb)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py”, line 734, in reraise
2020-05-18 08:33:38 stdout raise six.reraise(type(error), error, _stacktrace)
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 403, in increment
2020-05-18 08:33:38 stdout method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
2020-05-18 08:33:38 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 725, in urlopen
2020-05-18 08:33:38 stdout timeout=timeout
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
2020-05-18 08:33:37 stdout Traceback (most recent call last):
2020-05-18 08:33:37 stdout
2020-05-18 08:33:37 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:33:37 stdout
2020-05-18 08:33:37 stdout FileNotFoundError: [Errno 2] No such file or directory
2020-05-18 08:33:37 stdout sock.connect(self.unix_socket)
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/site-packages/docker/transport/unixconn.py”, line 43, in connect
2020-05-18 08:33:37 stdout self.connect()
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
2020-05-18 08:33:37 stdout self.send(msg)
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
2020-05-18 08:33:37 stdout self._send_output(message_body, encode_chunked=encode_chunked)
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
2020-05-18 08:33:37 stdout self.endheaders(body, encode_chunked=encode_chunked)
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
2020-05-18 08:33:37 stdout self._send_request(method, url, body, headers, encode_chunked)
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
2020-05-18 08:33:37 stdout conn.request(method, url, **httplib_request_kw)
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
2020-05-18 08:33:37 stdout chunked=chunked,
2020-05-18 08:33:37 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
2020-05-18 08:33:37 stdout Traceback (most recent call last):
2020-05-18 08:33:36 stdout e[32m20-05-18 08:33:36 INFO (MainThread) [main] Initialize Supervisor setupe[0m
2020-05-18 08:33:36 stdout e[31m20-05-18 08:33:36 CRITICAL (MainThread) [supervisor.bootstrap] Can’t find Docker socket!e[0m
2020-05-18 08:33:36 stdout e[32m20-05-18 08:33:36 INFO (MainThread) [supervisor.bootstrap] Use the old homeassistant repository for machine extractione[0m
2020-05-18 08:33:08 stdout [services.d] done.
2020-05-18 08:33:08 stdout [services.d] starting services
2020-05-18 08:33:08 stdout [cont-init.d] done.
2020-05-18 08:33:08 stdout [cont-init.d] udev.sh: exited 0.
2020-05-18 08:33:00 stdout [08:33:00] INFO: e[32mUpdate udev informationse[0m
2020-05-18 08:32:57 stdout [cont-init.d] udev.sh: executing…
2020-05-18 08:32:57 stdout [cont-init.d] executing container initialization scripts…
2020-05-18 08:32:57 stdout [fix-attrs.d] done.
2020-05-18 08:32:57 stdout [fix-attrs.d] applying ownership & permissions fixes…
2020-05-18 08:32:57 stdout [s6-init] ensuring user provided files have correct perms…exited 0.
2020-05-18 08:32:54 stdout [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
2020-05-18 08:32:22 stdout [s6-finish] sending all processes the KILL signal and exiting.
2020-05-18 08:32:19 stdout [s6-finish] sending all processes the TERM signal.
2020-05-18 08:32:19 stdout [s6-finish] waiting for services.
2020-05-18 08:32:19 stdout [cont-finish.d] done.
2020-05-18 08:32:19 stdout [cont-finish.d] executing container finish scripts…
2020-05-18 08:32:18 stdout client_session: <aiohttp.client.ClientSession object at 0x7f0affaaf7d0>e[0m
2020-05-18 08:32:18 stdout e[31m20-05-18 08:32:18 ERROR (MainThread) [asyncio] Unclosed client session
2020-05-18 08:32:18 stdout client_session: <aiohttp.client.ClientSession object at 0x7f0affcfe4d0>e[0m
2020-05-18 08:32:18 stdout e[31m20-05-18 08:32:18 ERROR (MainThread) [asyncio] Unclosed client session
2020-05-18 08:32:18 stdout docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:32:18 stdout ‘Error while fetching server API version: {0}’.format(e)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 215, in _retrieve_server_version
2020-05-18 08:32:18 stdout self._version = self._retrieve_server_version()
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 190, in init
2020-05-18 08:32:18 stdout self.api = APIClient(*args, **kwargs)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/client.py”, line 40, in init
2020-05-18 08:32:18 stdout base_url=“unix:/{}”.format(str(SOCKET_DOCKER)), version=“auto”, timeout=900
2020-05-18 08:32:18 stdout File “/usr/src/supervisor/supervisor/docker/init.py”, line 34, in init
2020-05-18 08:32:18 stdout self._docker: DockerAPI = DockerAPI()
2020-05-18 08:32:18 stdout File “/usr/src/supervisor/supervisor/coresys.py”, line 56, in init
2020-05-18 08:32:18 stdout coresys = CoreSys()
2020-05-18 08:32:18 stdout File “/usr/src/supervisor/supervisor/bootstrap.py”, line 50, in initialize_coresys
2020-05-18 08:32:18 stdout File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete
2020-05-18 08:32:18 stdout coresys = loop.run_until_complete(bootstrap.initialize_coresys())
2020-05-18 08:32:18 stdout File “/usr/src/supervisor/supervisor/main.py”, line 40, in
2020-05-18 08:32:18 stdout exec(code, run_globals)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/runpy.py”, line 85, in _run_code
2020-05-18 08:32:18 stdout main”, mod_spec)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
2020-05-18 08:32:18 stdout Traceback (most recent call last):
2020-05-18 08:32:18 stdout
2020-05-18 08:32:18 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:32:18 stdout
2020-05-18 08:32:18 stdout requests.exceptions.ConnectionError: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:32:18 stdout raise ConnectionError(err, request=request)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 498, in send
2020-05-18 08:32:18 stdout r = adapter.send(request, **kwargs)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 643, in send
2020-05-18 08:32:18 stdout resp = self.send(prep, **send_kwargs)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 530, in request
2020-05-18 08:32:18 stdout return self.request(‘GET’, url, **kwargs)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 543, in get
2020-05-18 08:32:18 stdout return self.get(url, **self._set_request_timeout(kwargs))
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 230, in _get
2020-05-18 08:32:18 stdout return f(self, *args, **kwargs)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/utils/decorators.py”, line 46, in inner
2020-05-18 08:32:18 stdout return self._result(self._get(url), json=True)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/daemon.py”, line 181, in version
2020-05-18 08:32:18 stdout return self.version(api_version=False)[“ApiVersion”]
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 207, in _retrieve_server_version
2020-05-18 08:32:18 stdout Traceback (most recent call last):
2020-05-18 08:32:18 stdout
2020-05-18 08:32:18 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:32:18 stdout
2020-05-18 08:32:18 stdout urllib3.exceptions.ProtocolError: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:32:18 stdout sock.connect(self.unix_socket)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/transport/unixconn.py”, line 43, in connect
2020-05-18 08:32:18 stdout self.connect()
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
2020-05-18 08:32:18 stdout self.send(msg)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
2020-05-18 08:32:18 stdout self._send_output(message_body, encode_chunked=encode_chunked)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
2020-05-18 08:32:18 stdout self.endheaders(body, encode_chunked=encode_chunked)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
2020-05-18 08:32:18 stdout self._send_request(method, url, body, headers, encode_chunked)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
2020-05-18 08:32:18 stdout conn.request(method, url, **httplib_request_kw)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
2020-05-18 08:32:18 stdout chunked=chunked,
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
2020-05-18 08:32:18 stdout raise value.with_traceback(tb)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py”, line 734, in reraise
2020-05-18 08:32:18 stdout raise six.reraise(type(error), error, _stacktrace)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 403, in increment
2020-05-18 08:32:18 stdout method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 725, in urlopen
2020-05-18 08:32:18 stdout timeout=timeout
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
2020-05-18 08:32:18 stdout Traceback (most recent call last):
2020-05-18 08:32:18 stdout
2020-05-18 08:32:18 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:32:18 stdout
2020-05-18 08:32:18 stdout FileNotFoundError: [Errno 2] No such file or directory
2020-05-18 08:32:18 stdout sock.connect(self.unix_socket)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/docker/transport/unixconn.py”, line 43, in connect
2020-05-18 08:32:18 stdout self.connect()
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
2020-05-18 08:32:18 stdout self.send(msg)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
2020-05-18 08:32:18 stdout self._send_output(message_body, encode_chunked=encode_chunked)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
2020-05-18 08:32:18 stdout self.endheaders(body, encode_chunked=encode_chunked)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
2020-05-18 08:32:18 stdout self._send_request(method, url, body, headers, encode_chunked)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
2020-05-18 08:32:18 stdout conn.request(method, url, **httplib_request_kw)
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
2020-05-18 08:32:18 stdout chunked=chunked,
2020-05-18 08:32:18 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
2020-05-18 08:32:18 stdout Traceback (most recent call last):
2020-05-18 08:32:17 stdout e[32m20-05-18 08:32:17 INFO (MainThread) [main] Initialize Supervisor setupe[0m
2020-05-18 08:32:17 stdout e[31m20-05-18 08:32:17 CRITICAL (MainThread) [supervisor.bootstrap] Can’t find Docker socket!e[0m
2020-05-18 08:32:17 stdout e[32m20-05-18 08:32:17 INFO (MainThread) [supervisor.bootstrap] Use the old homeassistant repository for machine extractione[0m
2020-05-18 08:32:01 stdout [services.d] done.
2020-05-18 08:32:01 stdout [services.d] starting services
2020-05-18 08:32:01 stdout [cont-init.d] done.
2020-05-18 08:32:01 stdout [cont-init.d] udev.sh: exited 0.
2020-05-18 08:31:52 stdout [08:31:52] INFO: e[32mUpdate udev informationse[0m
2020-05-18 08:31:50 stdout [cont-init.d] udev.sh: executing…
2020-05-18 08:31:50 stdout [cont-init.d] executing container initialization scripts…
2020-05-18 08:31:50 stdout [fix-attrs.d] done.
2020-05-18 08:31:50 stdout [fix-attrs.d] applying ownership & permissions fixes…
2020-05-18 08:31:50 stdout [s6-init] ensuring user provided files have correct perms…exited 0.
2020-05-18 08:31:48 stdout [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
2020-05-18 08:31:13 stdout [s6-finish] sending all processes the KILL signal and exiting.
2020-05-18 08:31:10 stdout [s6-finish] sending all processes the TERM signal.
2020-05-18 08:31:10 stdout [s6-finish] waiting for services.
2020-05-18 08:31:10 stdout [cont-finish.d] done.
2020-05-18 08:31:10 stdout [cont-finish.d] executing container finish scripts…
2020-05-18 08:31:08 stdout client_session: <aiohttp.client.ClientSession object at 0x7f64f37fe690>e[0m
2020-05-18 08:31:08 stdout e[31m20-05-18 08:31:08 ERROR (MainThread) [asyncio] Unclosed client session
2020-05-18 08:31:08 stdout client_session: <aiohttp.client.ClientSession object at 0x7f64f3a4db10>e[0m
2020-05-18 08:31:08 stdout e[31m20-05-18 08:31:08 ERROR (MainThread) [asyncio] Unclosed client session
2020-05-18 08:31:08 stdout docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:31:08 stdout ‘Error while fetching server API version: {0}’.format(e)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 215, in _retrieve_server_version
2020-05-18 08:31:08 stdout self._version = self._retrieve_server_version()
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 190, in init
2020-05-18 08:31:08 stdout self.api = APIClient(*args, **kwargs)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/client.py”, line 40, in init
2020-05-18 08:31:08 stdout base_url=“unix:/{}”.format(str(SOCKET_DOCKER)), version=“auto”, timeout=900
2020-05-18 08:31:08 stdout File “/usr/src/supervisor/supervisor/docker/init.py”, line 34, in init
2020-05-18 08:31:08 stdout self._docker: DockerAPI = DockerAPI()
2020-05-18 08:31:08 stdout File “/usr/src/supervisor/supervisor/coresys.py”, line 56, in init
2020-05-18 08:31:08 stdout coresys = CoreSys()
2020-05-18 08:31:08 stdout File “/usr/src/supervisor/supervisor/bootstrap.py”, line 50, in initialize_coresys
2020-05-18 08:31:08 stdout File “uvloop/loop.pyx”, line 1456, in uvloop.loop.Loop.run_until_complete
2020-05-18 08:31:08 stdout coresys = loop.run_until_complete(bootstrap.initialize_coresys())
2020-05-18 08:31:08 stdout File “/usr/src/supervisor/supervisor/main.py”, line 40, in
2020-05-18 08:31:08 stdout exec(code, run_globals)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/runpy.py”, line 85, in _run_code
2020-05-18 08:31:08 stdout main”, mod_spec)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
2020-05-18 08:31:08 stdout Traceback (most recent call last):
2020-05-18 08:31:08 stdout
2020-05-18 08:31:08 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:31:08 stdout
2020-05-18 08:31:08 stdout requests.exceptions.ConnectionError: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:31:08 stdout raise ConnectionError(err, request=request)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 498, in send
2020-05-18 08:31:08 stdout r = adapter.send(request, **kwargs)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 643, in send
2020-05-18 08:31:08 stdout resp = self.send(prep, **send_kwargs)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 530, in request
2020-05-18 08:31:08 stdout return self.request(‘GET’, url, **kwargs)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 543, in get
2020-05-18 08:31:08 stdout return self.get(url, **self._set_request_timeout(kwargs))
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 230, in _get
2020-05-18 08:31:08 stdout return f(self, *args, **kwargs)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/utils/decorators.py”, line 46, in inner
2020-05-18 08:31:08 stdout return self._result(self._get(url), json=True)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/daemon.py”, line 181, in version
2020-05-18 08:31:08 stdout return self.version(api_version=False)[“ApiVersion”]
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/api/client.py”, line 207, in _retrieve_server_version
2020-05-18 08:31:08 stdout Traceback (most recent call last):
2020-05-18 08:31:08 stdout
2020-05-18 08:31:08 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:31:08 stdout
2020-05-18 08:31:08 stdout urllib3.exceptions.ProtocolError: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))
2020-05-18 08:31:08 stdout sock.connect(self.unix_socket)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/transport/unixconn.py”, line 43, in connect
2020-05-18 08:31:08 stdout self.connect()
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
2020-05-18 08:31:08 stdout self.send(msg)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
2020-05-18 08:31:08 stdout self._send_output(message_body, encode_chunked=encode_chunked)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
2020-05-18 08:31:08 stdout self.endheaders(body, encode_chunked=encode_chunked)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
2020-05-18 08:31:08 stdout self._send_request(method, url, body, headers, encode_chunked)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
2020-05-18 08:31:08 stdout conn.request(method, url, **httplib_request_kw)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
2020-05-18 08:31:08 stdout chunked=chunked,
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
2020-05-18 08:31:08 stdout raise value.with_traceback(tb)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py”, line 734, in reraise
2020-05-18 08:31:08 stdout raise six.reraise(type(error), error, _stacktrace)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 403, in increment
2020-05-18 08:31:08 stdout method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 725, in urlopen
2020-05-18 08:31:08 stdout timeout=timeout
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
2020-05-18 08:31:08 stdout Traceback (most recent call last):
2020-05-18 08:31:08 stdout
2020-05-18 08:31:08 stdout During handling of the above exception, another exception occurred:
2020-05-18 08:31:08 stdout
2020-05-18 08:31:08 stdout FileNotFoundError: [Errno 2] No such file or directory
2020-05-18 08:31:08 stdout sock.connect(self.unix_socket)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/docker/transport/unixconn.py”, line 43, in connect
2020-05-18 08:31:08 stdout self.connect()
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 966, in send
2020-05-18 08:31:08 stdout self.send(msg)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1026, in _send_output
2020-05-18 08:31:08 stdout self._send_output(message_body, encode_chunked=encode_chunked)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1247, in endheaders
2020-05-18 08:31:08 stdout self.endheaders(body, encode_chunked=encode_chunked)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1298, in _send_request
2020-05-18 08:31:08 stdout self._send_request(method, url, body, headers, encode_chunked)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/http/client.py”, line 1252, in request
2020-05-18 08:31:08 stdout conn.request(method, url, **httplib_request_kw)
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 392, in _make_request
2020-05-18 08:31:08 stdout chunked=chunked,
2020-05-18 08:31:08 stdout File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
2020-05-18 08:31:08 stdout Traceback (most recent call last):
2020-05-18 08:31:07 stdout e[32m20-05-18 08:31:07 INFO (MainThread) [main] Initialize Supervisor setupe[0m
2020-05-18 08:31:07 stdout e[31m20-05-18 08:31:07 CRITICAL (MainThread) [supervisor.bootstrap] Can’t find Docker socket!e[0m
2020-05-18 08:31:07 stdout e[32m20-05-18 08:31:07 INFO (MainThread) [supervisor.bootstrap] Use the old homeassistant repository for machine extractione[0m
2020-05-18 08:30:46 stdout [services.d] done.
2020-05-18 08:30:46 stdout [services.d] starting services
2020-05-18 08:30:46 stdout [cont-init.d] done.
2020-05-18 08:30:46 stdout [cont-init.d] udev.sh: exited 0.
2020-05-18 08:30:33 stdout [08:30:33] INFO: e[32mUpdate udev informationse[0m
2020-05-18 08:30:31 stdout [cont-init.d] udev.sh: executing…
2020-05-18 08:30:31 stdout [cont-init.d] executing container initialization scripts…
2020-05-18 08:30:31 stdout [fix-attrs.d] done.
2020-05-18 08:30:31 stdout [fix-attrs.d] applying ownership & permissions fixes…
2020-05-18 08:30:31 stdout [s6-init] ensuring user provided files have correct perms…exited 0.
2020-05-18 08:30:31 stdout [s6-init] making user provided files available at /var/run/s6/etc…exited 0.

Thanks for posting this - first thing I have to say that I’m no developer.
But by locking at the logs, there looks like there is an error with API and sockets while trying to communicate with Docker.
Can you please check what version of Synology Docker are you running because I know that at one point there was an issue with this. Also, check if there is an update for Docker available.
I’m currently running on version 18.09.0-0513
If everything is OK, you need to see following containers running, after Supervisor restarts:

  • hassio_audio
  • hassio_cli
  • hassio_dns
  • hassio_multicast

Those containers are directly controlled by hassio_supervisor.
Plus of course homeassistant and any addon_* containers you have

Hi there, I am using the same Docker version as you.
the 4 dockers you mention are not running.
home assistant version is 109.6

when I start those manually, I get this message:
Start container hassio_audio failed: {“message”:"Bind mount failed: ‘/dev/snd’ does not exists

Do you have Audio Station installed?
I still think there is an issue with Docker sockets/API - but it’s above my knowledge on how to debug further.

You can try this one to fix audio

And this too:

7 posts were split to a new topic: Synology Docker and Cast problems

Hi @Tina_De_Feyter. @ashscott and I had a similar issue with the supervisor restarting after about a minute and we found that we needed to uninstall and reinstall the docker package and then the hassio package. We both (hopefully) are running well since, our instructions are up above if you would like to try that as option.

Hi Ezekiel thanks for replying… I have done that several times already… and I keep getting the same message that supervisor is unable to open the page.

Did you try installing Audio Station? HASSIO will not work without this issue solved.

1 Like

I’m running the container without any issues. Must say here that prior installing your package I setup the dedicated hassio docker network via Docker GUI in DSM as per instructions in the community forum. It starts and I really forgot that it exists. I’m running DSM 6.2 on DS216+II

That’s a big relief :slight_smile:

2 Likes

Hi there,

I have a huge smile on my face… I got my supervisor finally running… I do’t know how I did it exactly . All of a sudden it worked. the audiostation was already installed but stopped even after restarting it again the supervisor did not work. then you posted something on the google devices in the meantime and you made reference to firewall! This got me thinking… I added some extra ports and bam all of a sudden this thing worked on a duckdns + let’s encrypt, following your instructions on your youtube. So proud of myself, as I am not an IT-er. Thanks Frederike for this packageand thanks Bearded Thinker for your clear and conscise youtube videos and assistanc on this community platform. Have a great day and Stay Safe!

3 Likes

@BeardedConti Is there something that you want me to add to post #2? Have you managed to find the magics that just fix things (was the red or blue pill)?

Sorry to say, but no.
Most of the things I couldn’t replicate. And all posts and recommendations that you mentioned worked.

1 Like

I’ve managed to get this working on Synology as suggested in the instruction above, Thank you. Do you know where I would put a www folder to add TileBoard files? I cant find the default config folder as suggested by most sites in hassio?

You should put it in …/hass.io/homeassistant folder.

If you used default values, it should be something like:
/docker/hass.io/homeassistant/www

I have since moved to raspberry pi 4 booting from ssd and I couldn’t be happier. It is much more stable and super fast. I assume the slowdowns I was experiencing on synology was due to the hdd array. My other docker programs running on the synology are much happier now

2 Likes

Thanks, this worked, had to put it in:
home-assistant/hass.io/homeassistant/

1 Like

A post was split to a new topic: USB Booting Rasperry Pi

Is there a direct download link for the SPK? Synocommunity is down for days now… Cheers.

Did you check one of the first posts? There was link to dropbox.
EDIT: Can’t find it - looks like it was removed.

SynoCommunity is upgrading HW and should be up by the end of the weekend if everything goes as planned. There was a post somewhere on Reddit about this.