Query Log empty

Happens to me too. Console shows no errors.

  • Pi-hole Version vDev (FTLDNS, v3.3-75-g82d5afe)
  • Web Interface Version vDev (FTLDNS, v3.3-58-g8909026)
  • FTL Version vDev (FTLDNS, vDev-e0ef3af)

Debug Token: 1t0m03uu9r

the console showed no errors while the spinner was shown.

This URL only shows me:

{"top_queries":,"top_ads":}

You have to be logged in on your dashboard in the same browser.

I was logged in.

Odd, what's the output of

echo ">top-ads" | nc 127.0.0.1 4711

on your Pi-hole?

root@raspberrypi:/home/pi# echo ">top-ads" | nc 127.0.0.1 4711
---EOM---

root@raspberrypi:/home/pi#

This means your Pi-hole is not aware of any queries. Am I correct that your Query Log is empty as well?...

yes the query log is also empty, but the adblocking is working.

I split your posts to a new discussion as your problem is clearly different. Do you have logging disabled on your Pi-hole or set the privacy level to a very high value?

Does pihole -t show queries after some time?

pihole -t shows queries and i have set the privacy setting to show everything
i also tried pihole -r already

How about

echo ">top-domains" | nc 127.0.0.1 4711

or

echo ">getallqueries (10)" | nc 127.0.0.1 4711

root@raspberrypi:/home/pi# echo ">top-domains" | nc 127.0.0.1 4711
---EOM---

root@raspberrypi:/home/pi# echo ">getallqueries (10)" | nc 127.0.0.1 4711
---EOM---

root@raspberrypi:/home/pi#

Do you have dnsmasq running beside pihole-FTL?

Its disabled by the ftldns Update.

root@raspberrypi:/home/pi# service dnsmasq status
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; disabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: inactive (dead)
root@raspberrypi:/home/pi#

Okay, so why do you see queries in pihole -f but not in your Query Log?... Could you post the content of your /etc/pihole/setupVars.conf and /etc/pihole/pihole-FTL.conf, please?

setupVars.conf:

TEMPERATUREUNIT=C
WEBUIBOXEDLAYOUT=traditional
SPEEDTESTSCHEDULE=6
SPEEDTEST_SERVER=3932
SPEEDTEST_CHART_DAYS=7
DHCP_ACTIVE=true
DHCP_START=192.168.1.50
DHCP_END=192.168.1.251
DHCP_ROUTER=192.168.1.1
DHCP_LEASETIME=24
PIHOLE_DOMAIN=lan
DHCP_IPv6=true
DNSMASQ_LISTENING=local
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
CONDITIONAL_FORWARDING=false
API_EXCLUDE_DOMAINS=speedtest.internetx.de,speedtest.muc.anuragbhatia.com,ping-as.nodequery.com,ping-us.nodequery.com,ping-eu.nodequery.com,nodequery.com,www.baidu.com,wpad.lan,www.speedtest.net,speedtest01.muc01.lwlcom.net,icanhazip.co$
API_EXCLUDE_CLIENTS=192.168.1.115
API_QUERY_LOG_SHOW=nothing
API_PRIVACY_MODE=false
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.1.145/24
IPV6_ADDRESS=
PIHOLE_DNS_1=9.9.9.9
PIHOLE_DNS_2=149.112.112.112
QUERY_LOGGING=true
INSTALL_WEB=true
LIGHTTPD_ENABLED=1

pihole-FTL.conf:

PRIVACYLEVEL=0

1 Like

There we go ... please remove this line.

2 Likes

seems to work fine again thank you for your fast help :slight_smile:

Would be interessting to know why this was suddenly in my config.

I don't know ... we used to have a setting for this on the Settings page but it was accidentally be removed. I guess it could have been triggered by the lack of these settings.

It's already back on the FTLDNS web branch:

1 Like