diladele / dnssafety

DNS Safety is simple and fast DNS filtering server for your local network
https://www.diladele.com/dnssafety/
29 stars 8 forks source link

dashboard / tab dns server - does not work #496

Closed ra-at-diladele-com closed 11 months ago

ra-at-diladele-com commented 11 months ago
Traceback (most recent call last):
  File "/opt/dnssafety-ui/var/console/node/views/dash.py", line 105, in get
    df = NowData().dataframe()
         ^^^^^^^^^
  File "/opt/dnssafety-ui/var/console/_domain/traffic/dash/dns.py", line 25, in __init__
    c.collect()
  File "/opt/dnssafety-ui/var/console/_domain/traffic/collect/collector_now.py", line 36, in collect
    entries = self.read_entries(where, lines_limit)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dnssafety-ui/var/console/_domain/traffic/collect/collector_now.py", line 70, in read_entries
    raise Exception("Access log '%s' does not exist, please ensure the dsdnsd daemon is up and running!" % self.access_log)
Exception: Access log '/opt/dnssafety/var/log/access.log' does not exist, please ensure the dsdnsd daemon is up and running!
ra-at-diladele-com commented 11 months ago

Rephrased the error message to tell that if no one is using the DNS server then nothing will be shown in the statistics.