Moin ,
vielleicht kannst du mir helfen. Ich bekomme den Docker Container nicht ans fliegen. Vielleicht kannst Du mir einen Tip geben woran es liegen kann.
Ich habe Docker und Docker-Compose auf dem Edomi Server installiert, sonst nichts weiter.
Die cfg Datei habe ich konfiguriert auf /tmp/ abgelegt.
Die compose.yml sieht so aus:
Anbei die Fehlermeldung
vielleicht kannst du mir helfen. Ich bekomme den Docker Container nicht ans fliegen. Vielleicht kannst Du mir einen Tip geben woran es liegen kann.
Ich habe Docker und Docker-Compose auf dem Edomi Server installiert, sonst nichts weiter.
Die cfg Datei habe ich konfiguriert auf /tmp/ abgelegt.
Die compose.yml sieht so aus:
PHP-Code:
version: '3'
services:
velux:
image: phpmonkeys/vlx2mqtt:latest
restart: always
volumes:
- /tmp/vlx2mqtt.cfg:/tmp/vlx2mqtt.cfg
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 21, in do_api_call
bba36c284e21_tmp_velux_1 | await self.send_frame()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 33, in send_frame
bba36c284e21_tmp_velux_1 | await self.pyvlx.send_frame(self.request_frame())
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 72, in send_frame
bba36c284e21_tmp_velux_1 | await self.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 45, in connect
bba36c284e21_tmp_velux_1 | await self.connection.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 85, in connect
bba36c284e21_tmp_velux_1 | self.transport, _ = await self.loop.create_connection(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 986, in create_connection
bba36c284e21_tmp_velux_1 | infos = await self._ensure_resolved(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1365, in _ensure_resolved
bba36c284e21_tmp_velux_1 | return await loop.getaddrinfo(host, port, family=family, type=type,
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 825, in getaddrinfo
bba36c284e21_tmp_velux_1 | return await self.run_in_executor(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
bba36c284e21_tmp_velux_1 | result = self.fn(*self.args, **self.kwargs)
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
bba36c284e21_tmp_velux_1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
bba36c284e21_tmp_velux_1 | socket.gaierror: [Errno -2] Name does not resolve
bba36c284e21_tmp_velux_1 | Traceback (most recent call last):
bba36c284e21_tmp_velux_1 | File "/vlx2mqtt.py", line 247, in <module>
bba36c284e21_tmp_velux_1 | LOOP.run_until_complete(main(LOOP))
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
bba36c284e21_tmp_velux_1 | return future.result()
bba36c284e21_tmp_velux_1 | File "/vlx2mqtt.py", line 163, in main
bba36c284e21_tmp_velux_1 | await pyvlx.load_nodes()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 85, in load_nodes
bba36c284e21_tmp_velux_1 | await self.nodes.load(node_id)
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/nodes.py", line 70, in load
bba36c284e21_tmp_velux_1 | await self._load_all_nodes()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/nodes.py", line 86, in _load_all_nodes
bba36c284e21_tmp_velux_1 | await get_all_nodes_information.do_api_call()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 21, in do_api_call
bba36c284e21_tmp_velux_1 | await self.send_frame()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 33, in send_frame
bba36c284e21_tmp_velux_1 | await self.pyvlx.send_frame(self.request_frame())
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 72, in send_frame
bba36c284e21_tmp_velux_1 | await self.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 45, in connect
bba36c284e21_tmp_velux_1 | await self.connection.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 85, in connect
bba36c284e21_tmp_velux_1 | self.transport, _ = await self.loop.create_connection(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 986, in create_connection
bba36c284e21_tmp_velux_1 | infos = await self._ensure_resolved(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1365, in _ensure_resolved
bba36c284e21_tmp_velux_1 | return await loop.getaddrinfo(host, port, family=family, type=type,
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 825, in getaddrinfo
bba36c284e21_tmp_velux_1 | return await self.run_in_executor(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
bba36c284e21_tmp_velux_1 | result = self.fn(*self.args, **self.kwargs)
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
bba36c284e21_tmp_velux_1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
bba36c284e21_tmp_velux_1 | socket.gaierror: [Errno -2] Name does not resolve
bba36c284e21_tmp_velux_1 | await self.send_frame()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 33, in send_frame
bba36c284e21_tmp_velux_1 | await self.pyvlx.send_frame(self.request_frame())
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 72, in send_frame
bba36c284e21_tmp_velux_1 | await self.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 45, in connect
bba36c284e21_tmp_velux_1 | await self.connection.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 85, in connect
bba36c284e21_tmp_velux_1 | self.transport, _ = await self.loop.create_connection(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 986, in create_connection
bba36c284e21_tmp_velux_1 | infos = await self._ensure_resolved(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1365, in _ensure_resolved
bba36c284e21_tmp_velux_1 | return await loop.getaddrinfo(host, port, family=family, type=type,
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 825, in getaddrinfo
bba36c284e21_tmp_velux_1 | return await self.run_in_executor(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
bba36c284e21_tmp_velux_1 | result = self.fn(*self.args, **self.kwargs)
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
bba36c284e21_tmp_velux_1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
bba36c284e21_tmp_velux_1 | socket.gaierror: [Errno -2] Name does not resolve
bba36c284e21_tmp_velux_1 | Traceback (most recent call last):
bba36c284e21_tmp_velux_1 | File "/vlx2mqtt.py", line 247, in <module>
bba36c284e21_tmp_velux_1 | LOOP.run_until_complete(main(LOOP))
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
bba36c284e21_tmp_velux_1 | return future.result()
bba36c284e21_tmp_velux_1 | File "/vlx2mqtt.py", line 163, in main
bba36c284e21_tmp_velux_1 | await pyvlx.load_nodes()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 85, in load_nodes
bba36c284e21_tmp_velux_1 | await self.nodes.load(node_id)
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/nodes.py", line 70, in load
bba36c284e21_tmp_velux_1 | await self._load_all_nodes()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/nodes.py", line 86, in _load_all_nodes
bba36c284e21_tmp_velux_1 | await get_all_nodes_information.do_api_call()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 21, in do_api_call
bba36c284e21_tmp_velux_1 | await self.send_frame()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/api_event.py", line 33, in send_frame
bba36c284e21_tmp_velux_1 | await self.pyvlx.send_frame(self.request_frame())
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 72, in send_frame
bba36c284e21_tmp_velux_1 | await self.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/pyvlx.py", line 45, in connect
bba36c284e21_tmp_velux_1 | await self.connection.connect()
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/site-packages/pyvlx/connection.py", line 85, in connect
bba36c284e21_tmp_velux_1 | self.transport, _ = await self.loop.create_connection(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 986, in create_connection
bba36c284e21_tmp_velux_1 | infos = await self._ensure_resolved(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1365, in _ensure_resolved
bba36c284e21_tmp_velux_1 | return await loop.getaddrinfo(host, port, family=family, type=type,
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/asyncio/base_events.py", line 825, in getaddrinfo
bba36c284e21_tmp_velux_1 | return await self.run_in_executor(
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
bba36c284e21_tmp_velux_1 | result = self.fn(*self.args, **self.kwargs)
bba36c284e21_tmp_velux_1 | File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
bba36c284e21_tmp_velux_1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
bba36c284e21_tmp_velux_1 | socket.gaierror: [Errno -2] Name does not resolve
Kommentar