pihole -v
Pi-hole version is v3.2.1 (Latest: v3.3.1)
AdminLTE version is v3.2.1 (Latest: v3.3)
FTL version is v3.0 (Latest: v3.0)
Dnsmasq version 2.72 Copyright (c) 2000-2014 Simon Kelley
Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.
RamSet
May 22, 2018, 12:20am
13
what about curl http://192.168.7.15/admin/api.php
{"domains_being_blocked":122096,"dns_queries_today":0,"ads_blocked_today":0,"ads_percentage_today":0,"unique_domains":0,"queries_forwarded":0,"queries_cached":0,"clients_ever_seen":0,"unique_clients":0,"status":"enabled"}
RamSet
May 22, 2018, 12:25am
15
what happens when you try to open flurry.com on the device? Do you get a Pi-hole splash page like this:
Interesting, i receive a blocked message just as you show, however the dashboard still shows 0.
Tried this via gui on the pi, and a windows client with the same result.
RamSet
May 22, 2018, 12:33am
17
Ok. I think this will fix your issue:
Aha! This sounds like your long term database might have been corrupted at some point. Try
sudo service pihole-FTL stop
mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL.db.old
sudo service pihole-FTL start
Also, are you using the Chrome browser? It has some performance problems since the Spectre/Meltdown fixes beginning of this year. Please try some other browser, e.g. Firefox Quantum
RamSet
May 22, 2018, 12:37am
19
Try it in one line:
sudo service pihole-FTL stop && sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL.db.old && sudo service pihole-FTL start
Back online, but still 0's in the dashboard.
I thought we had it that time =)
RamSet
May 22, 2018, 12:41am
21
The database was reset. Try the same website (blocked above) and see if it registers.
Check out the query log. See if you have entries there.
RamSet
May 22, 2018, 12:46am
23
Run a pihole -r
and repair. I think there are some permission issues there and hopefuly a repair will fix that
RamSet
May 22, 2018, 1:14am
25
sudo ls -l /etc/pihole/
and uname -a
?
I wish i had good news with that.
RamSet
May 22, 2018, 1:59am
27
Whats the output of those commands?
sudo ls -l /etc/pihole/ and uname -a
ls: cannot access and: No such file or directory
ls: cannot access uname: No such file or directory
/etc/pihole/:
total 11452
drwxr-xr-x 2 pihole pihole 4096 May 21 19:49 .
drwxr-xr-x 121 root root 12288 May 21 18:50 ..
-rw-r--r-- 1 root root 633 May 18 16:40 adlists.list
-rw-r--r-- 1 root root 17 May 21 16:37 GitHubVersions
-rw-r--r-- 1 root root 4353705 May 21 18:50 gravity.list
-rw-r--r-- 1 root root 1321 May 21 18:50 install.log
-rw------- 1 root root 1552348 May 21 18:50 list.0.raw.githubusercontent.com.domains
-rw------- 1 root root 480388 May 21 18:50 list.1.mirror1.malwaredomains.com.domains
-rw------- 1 root root 638705 May 21 18:50 list.2.sysctl.org.domains
-rw------- 1 root root 7128 May 21 18:50 list.3.zeustracker.abuse.ch.domains
-rw------- 1 root root 613 May 21 18:50 list.4.s3.amazonaws.com.domains
-rw------- 1 root root 43642 May 21 18:50 list.5.s3.amazonaws.com.domains
-rw------- 1 root root 1772023 May 21 18:50 list.6.hosts-file.net.domains
-rw-r--r-- 1 root root 2766470 May 21 18:50 list.preEventHorizon
-rw-r--r-- 1 root root 15 May 21 19:40 localbranches
-rw-r--r-- 1 root root 46 May 21 18:50 local.list
-rw-r--r-- 1 root root 41 May 21 19:40 localversions
-rw-r--r-- 1 root root 234 May 21 18:50 logrotate
-rw-r--r-- 1 pihole pihole 20480 May 21 19:49 pihole-FTL.db
-rw-r--r-- 1 pihole pihole 20480 May 21 18:34 pihole-FTL.db.old
-rw-r--r-- 1 root root 239 May 21 18:50 setupVars.conf
-rw-r--r-- 1 root root 239 May 21 18:50 setupVars.conf.update.bak
-rw-r--r-- 1 root root 117 May 18 16:40 whitelist.txt
RamSet
May 22, 2018, 1:31pm
32
What is the output of /var/log/pihole.log
?
File output is quite huge, is there a way to attach the file to you here?
RamSet
May 22, 2018, 2:59pm
34
I'd say the last 5-6 lines will be enough ...