No data in web interface

Raspberry Pi v3.
Rasbian stretch 2018-04-18
Pihole working, but no info in web interface (all zero)
Debug log:

*** [ INITIALIZING ]
[i] 2018-07-10:14:13:47 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v3.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3.1-0-gfbee18e

*** [ DIAGNOSING ]: Web version
[i] Web: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v3.3-0-ge48aa29

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v3.0

*** [ DIAGNOSING ]: dnsmasq version
[i] 2.76

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.45

*** [ DIAGNOSING ]: php version
[i] 7.0.30

*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 9 (stretch)

*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Disabled

*** [ DIAGNOSING ]: Processor

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
   192.168.1.20/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the eth0 interface:
   fe80::9a3b:24f0:f9d6:eb6c does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

   ^ Please note that you may have more than one IP address listed.
   As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.

   The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
[10000] is in use by miniserv.
[139] is in use by smbd
[] is in use by 
[1883] is in use by mosquitto
[1885] is in use by mosquitto
[] is in use by 
[22] is in use by sshd
[445] is in use by smbd
[53] is in use by dnsmasq
[5900] is in use by vncserver
[80] is in use by lighttpd
[3306] is in use by mysqld
[4711] is in use by pihole-FTL
[953] is in use by named

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve anonymousproxy.tk via localhost (127.0.0.1)
[✓] anonymousproxy.tk is 89.108.104.205 via Pi-hole (192.168.1.20)
[✓] doubleclick.com is 216.58.201.142 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Pi-hole processes
[✓] dnsmasq daemon is active
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=eth0
    IPV4_ADDRESS=192.168.1.20/24
    IPV6_ADDRESS=
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    QUERY_LOGGING=true
    INSTALL_WEB=true
    LIGHTTPD_ENABLED=1

*** [ DIAGNOSING ]: Dashboard and block page
[✗] X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Content-type: text/html; charset=UTF-8
Date: Tue, 10 Jul 2018 14:14:04 GMT
Server: lighttpd/1.4.45

[✓] X-Pi-hole: The Pi-hole Web interface is working!

*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 4741692 Jul 10 13:56 /etc/pihole/gravity.list
   -----head of gravity.list------
   192.168.1.20 0.0.0.0
   192.168.1.20 0.r.msn.com
   192.168.1.20 0.start.bz
   192.168.1.20 000.0x1f4b0.com

   -----tail of gravity.list------
   192.168.1.20 zzz.clickbank.net
   192.168.1.20 zzzezeroe.fr
   192.168.1.20 zzzpooeaz-france.com
   192.168.1.20 zzzrtrcm2.com

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 633 Jul  7 16:27 /etc/pihole/adlists.list
   https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
   https://mirror1.malwaredomains.com/files/justdomains
   http://sysctl.org/cameleon/hosts
   https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
   https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
   https://hosts-file.net/ad_servers.txt

-rw-r--r-- 1 root root 46 Jul 10 13:56 /etc/pihole/local.list
   192.168.1.20 raspberrypi
   192.168.1.20 pi.hole

-rw-r--r-- 1 root root 234 Jul  8 08:42 /etc/pihole/logrotate
   /var/log/pihole.log {
   	su root root
   	daily
   	copytruncate
   	rotate 5
   	compress
   	delaycompress
   	notifempty
   	nomail
   }
   /var/log/pihole-FTL.log {
   	su root root
   	weekly
   	copytruncate
   	rotate 3
   	compress
   	delaycompress
   	notifempty
   	nomail
   }

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1508 Jul 10 13:46 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/gravity.list
   addn-hosts=/etc/pihole/black.list
   addn-hosts=/etc/pihole/local.list
   localise-queries
   no-resolv
   cache-size=10000
   log-queries=extra
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=8.8.8.8
   server=8.8.4.4
   interface=eth0

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 3027 Jul  8 08:42 /etc/lighttpd/lighttpd.conf
   server.modules = (
   	"mod_access",
   	"mod_accesslog",
   	"mod_auth",
   	"mod_expire",
   	"mod_compress",
   	"mod_redirect",
   	"mod_setenv",
   	"mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "pihole/index.php"
   server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
   server.errorlog             = "/var/log/lighttpd/error.log"
   server.pid-file             = "/var/run/lighttpd.pid"
   server.username             = "www-data"
   server.groupname            = "www-data"
   server.port                 = 80
   accesslog.filename          = "/var/log/lighttpd/access.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.assign.pl"
   include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
   $HTTP["url"] =~ "^/admin/" {
       
       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY"
       )
       $HTTP["url"] =~ ".ttf$" {
           
           setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
       }
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
        url.access-deny = ("")
   }
   include_shell "cat external.conf 2>/dev/null"

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1496 Jul  8 08:42 /etc/cron.d/pihole
   54 4   * * 7   root    PATH="$PATH:/usr/local/bin/" pihole updateGravity
   00 00   * * *   root    PATH="$PATH:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
   */10 *  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker local
   35 19  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

-rw-r--r-- 1 www-data www-data 555 Jul 10 14:08 /var/log/lighttpd/error.log
   2018-07-07 17:03:28: (log.c.217) server started 
   2018-07-07 17:03:28: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2018-07-08 08:41:58: (server.c.1828) server stopped by UID = 0 PID = 1 
   2018-07-08 08:42:28: (log.c.217) server started 
   2018-07-08 08:42:28: (server.c.1295) WARNING: unknown config-key: alias.url (ignored) 
   2018-07-10 14:08:47: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  parse_ini_file(/etc/pihole/pihole-FTL.conf): failed to open stream: No such file or directory in /var/www/html/admin/api_db.php on line 21

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 3739 Jul 10 13:56 /var/log/pihole-FTL.log
   [2018-07-10 13:47:54.574] FATAL: FTL received SIGTERM from PID/UID 11681/0, exiting gracefully
   [2018-07-10 13:47:54.574] Shutting down...
   [2018-07-10 13:47:54.592] Finished final database update
   [2018-07-10 13:47:54.592] 
   [2018-07-10 13:48:39.183] 
   [2018-07-10 13:48:39.183] FTL branch: v3.0
   [2018-07-10 13:48:39.183] FTL version: v3.0
   [2018-07-10 13:48:39.183] FTL commit: a1b2fa03f8f3e3713b57a26a4e9a062fec0573d7
   [2018-07-10 13:48:39.183] FTL date: 2018-02-14 12:45:47 -0800
   [2018-07-10 13:48:39.183] FTL user: pihole
   [2018-07-10 13:48:39.183] Notice: Found no readable FTL config file
   [2018-07-10 13:48:39.183]         Using default settings
   [2018-07-10 13:48:39.183] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2018-07-10 13:48:39.183]    SOCKET_LISTENING: only local
   [2018-07-10 13:48:39.183]    QUERY_DISPLAY: Show queries
   [2018-07-10 13:48:39.183]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2018-07-10 13:48:39.183]    MAXDBDAYS: max age for stored queries is 365 days
   [2018-07-10 13:48:39.184]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2018-07-10 13:48:39.184]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2018-07-10 13:48:39.184]    DBINTERVAL: saving to DB file every minute
   [2018-07-10 13:48:39.184]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2018-07-10 13:48:39.184]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2018-07-10 13:48:39.184] Finished config file parsing
   [2018-07-10 13:48:39.189] Found no other running pihole-FTL process
   [2018-07-10 13:48:39.190] PID of FTL process: 11769

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 dnsmasq root 325 Jul 10 13:56 /var/log/pihole.log
   -----head of pihole.log------
   Jul 10 13:56:33 dnsmasq[21190]: read /etc/hosts - 5 addresses
   Jul 10 13:56:33 dnsmasq[21190]: read /etc/pihole/local.list - 2 addresses
   Jul 10 13:56:33 dnsmasq[21190]: failed to load names from /etc/pihole/black.list: No such file or directory
   Jul 10 13:56:35 dnsmasq[21190]: read /etc/pihole/gravity.list - 132702 addresses


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

What is the output of echo ">stats" | nc localhost 4711

domains_being_blocked 132702
dns_queries_today 0
ads_blocked_today 0
ads_percentage_today 0.000000
unique_domains 0
queries_forwarded 0
queries_cached 0
clients_ever_seen 0
unique_clients 0
status enabled

apologies - looks like my load balancer is over-riding my PC DNS settings.
By-pass the load balancer and all ok!
Will change settings in load balancer

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.