Błedy w logach AIS

W sumie nie wiem gdzie o takich rzeczach pisać ale pojawił się u mnie dziwny błąd

Logger: homeassistant
Source: components/dhcp/__init__.py:200
First occurred: 01:49:31 (15 occurrences)
Last logged: 15:49:31

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/dhcp/__init__.py", line 200, in async_discover
    for host in await self._discover_hosts.async_discover():
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/discovery.py", line 137, in async_discover
    await loop.run_in_executor(None, sys_network_data.setup)
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/network.py", line 138, in setup
    resolvers = load_resolv_conf()
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/network.py", line 39, in load_resolv_conf
    with open("/etc/resolv.conf", "r") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf'

ktos może mnie na coś naprowadzić
AIS było restartowane robiłem restart samego yaml configuration oraz automatyzacji

1 polubienie

Jak sprawdziłem u siebie to na pewno nie istnieje /etc/resolv.conf.

Tutaj coś podobnego w objawach:

ale niekoniecznie to samo co u Ciebie

Jakiś pomysł jeszcze bo denerwuje mnie ten wpis
na necie pisali aby zainstalować pakiet resolv ale nie znam się na tym

Logger: homeassistant
Source: components/dhcp/__init__.py:201
First occurred: 00:48:40 (9 occurrences)
Last logged: 08:48:40

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/dhcp/__init__.py", line 201, in async_discover
    for host in await self._discover_hosts.async_discover():
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/discovery.py", line 137, in async_discover
    await loop.run_in_executor(None, sys_network_data.setup)
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/network.py", line 138, in setup
    resolvers = load_resolv_conf()
  File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/network.py", line 39, in load_resolv_conf
    with open("/etc/resolv.conf", "r") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf'

1 polubienie