First:
I installed this rpi2 at my home, it was working fine and doing two jobs:
updating ddns on my "own" server and running pi.hole
I made just one modification, moving logs to a connected USB-Stick.
I tried it at home, with several times rebooting and everything was fine.
Yesterday I installed it to my mums network and now it's not working anymore. (just the pi.hole)
Everything I've found to this error didn't help! That's why I'm writing here now.
THNX for helping!
Greets Ralf aka synth
Debug Token:
[Replace this text with the debug token provided from running pihole -d
(or running the debug script through the web interface]
Here it is:
=====================================================
This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
The intent of this script is to allow users to self-diagnose their installations. This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected. Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.
NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.
*** [ INITIALIZING ]
[i] 2018-02-17:12:38:19 debug log has been initiated.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v3.2.1 (How do I update Pi-hole?)
[i] Branch: master
[i] Commit: v3.2.1-0-ge602008
*** [ DIAGNOSING ]: Web version
[i] Web: v3.2.1 (How do I update Pi-hole?)
[i] Branch: master
[i] Commit: v3.2.1-0-g31dddd8
*** [ 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.27
*** [ DIAGNOSING ]: Operating system
[β] Raspbian GNU/Linux 9 (stretch)
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: Processor
/opt/pihole/piholeDebug.sh: Zeile 474: $'[\E[32mβ\E[0m] \E[32marmv7l\E[0m': Kommando nicht gefunden.
*** [ DIAGNOSING ]: Networking
[β] IPv4 address(es) bound to the eth0 interface:
192.168.131.15/24 matches the IP found in /etc/pihole/setupVars.conf
[β] IPv6 address(es) bound to the eth0 interface:
fe80::c2b2:f886:cd1c:3b60 does not match the IP found in /etc/pihole/setupVars.conf (Use IPv6 ULA addresses for Pi-hole)
^ 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.131.1
- Pinging 192.168.131.1...
[β] Gateway responded.
*** [ DIAGNOSING ]: Ports in use
[22] is in use by sshd
[53] is in use by dnsmasq
[80] is in use by lighttpd
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[β] ad.doubleclick.net.37380.9294.302br.net is 192.168.131.15 via localhost (127.0.0.1)
[β] ad.doubleclick.net.37380.9294.302br.net is 192.168.131.15 via Pi-hole (192.168.131.15)
[β] doubleclick.com is 172.217.17.46 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
DNSMASQ_LISTENING=single
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
TEMPERATUREUNIT=C
WEBUIBOXEDLAYOUT=traditional
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.131.15/24
IPV6_ADDRESS=
PIHOLE_DNS_1=85.214.20.141
PIHOLE_DNS_2=213.73.91.35
QUERY_LOGGING=true
INSTALL_WEB=true
LIGHTTPD_ENABLED=1
*** [ DIAGNOSING ]: Dashboard and block page
[β] X-Pi-hole: A black hole for Internet advertisements.
[β] X-Pi-hole: The Pi-hole Web interface is working!
*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 4438979 Feb 17 12:23 /etc/pihole/gravity.list
-----head of gravity.list------
192.168.131.15 0.0.0.0
192.168.131.15 0000mps.webpreview.dsl.net
192.168.131.15 0001.2waky.com
192.168.131.15 000dom.revenuedirect.com
-----tail of gravity.list------
192.168.131.15 zzsyw.com
192.168.131.15 zztxdown.com
192.168.131.15 zzz.clickbank.net
192.168.131.15 zz.zeroredirect1.com
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r-- 1 root root 633 Feb 10 16:29 /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 Feb 17 12:23 /etc/pihole/local.list
192.168.131.15 pi-hole
192.168.131.15 pi.hole
-rw-r--r-- 1 root root 234 Feb 17 12:23 /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
}
-rw-r--r-- 1 root root 223 Feb 10 16:34 /etc/pihole/whitelist.txt
raw.githubusercontent.com
mirror1.malwaredomains.com
sysctl.org
zeustracker.abuse.ch
s3.amazonaws.com
hosts-file.net
foto-legler.com
foto-legler.de
kasserver.com
schwiethal.homeserver.com
wired.com
www.googleadservices.com
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r-- 1 root root 1538 Feb 17 12:23 /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
log-facility=/var/log/pihole.log
local-ttl=2
log-async
server=85.214.20.141
server=213.73.91.35
domain-needed
bogus-priv
interface=eth0
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r-- 1 root root 3027 Feb 17 12:23 /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 1629 Feb 17 12:23 /etc/cron.d/pihole
4 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
37 12 * * * 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 4432 Feb 17 12:26 /var/log/lighttpd/error.log
2018-02-10 16:28:12: (log.c.217) server started
2018-02-10 16:29:53: (server.c.1828) server stopped by UID = 0 PID = 1
2018-02-10 16:29:54: (log.c.217) server started
2018-02-10 16:33:09: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:33:09: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:33:14: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:33:14: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:33:28: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:33:28: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:33:40: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:33:40: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:33:50: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:33:50: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:34:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:34:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:34:22: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:34:22: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:34:28: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:34:28: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 16:34:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: preg_split(): Delimiter must not be alphanumeric or backslash in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 122
2018-02-10 16:34:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/scripts/pi-hole/php/auth.php on line 123
2018-02-10 18:00:41: (server.c.1828) server stopped by UID = 0 PID = 1
2018-02-10 18:00:58: (log.c.217) server started
2018-02-11 14:06:41: (server.c.1828) server stopped by UID = 0 PID = 1
2018-02-11 14:06:57: (log.c.217) server started
*** [ DIAGNOSING ]: contents of /var/log
lrwxrwxrwx 1 root root 42 Feb 11 14:22 /var/log/pihole-FTL.log -> /media/4GB-PI-HOLE/logfiles/pihole-FTL.log
*** [ DIAGNOSING ]: Pi-hole log
lrwxrwxrwx 1 root root 38 Feb 11 14:15 /var/log/pihole.log -> /media/4GB-PI-HOLE/logfiles/pihole.log
-----head of pihole.log------
Feb 17 00:00:18 dnsmasq[494]: query[A] ip1.dynupdate.no-ip.com from 192.168.131.1
Feb 17 00:00:18 dnsmasq[494]: cached ip1.dynupdate.no-ip.com is
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 34.196.162.199
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 52.203.111.135
Feb 17 00:00:18 dnsmasq[494]: query[A] xip.aws.noip.net from 192.168.131.1
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 52.203.111.135
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 34.196.162.199
Feb 17 00:00:18 dnsmasq[494]: query[A] ip1.dynupdate.no-ip.com from 192.168.131.1
Feb 17 00:00:18 dnsmasq[494]: cached ip1.dynupdate.no-ip.com is
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 34.196.162.199
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 52.203.111.135
Feb 17 00:00:18 dnsmasq[494]: query[A] xip.aws.noip.net from 192.168.131.1
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 52.203.111.135
Feb 17 00:00:18 dnsmasq[494]: cached xip.aws.noip.net is 34.196.162.199
Feb 17 00:00:18 dnsmasq[494]: query[A] netgear.api.oemdns.com from 192.168.131.1
Feb 17 00:00:18 dnsmasq[494]: forwarded netgear.api.oemdns.com to 213.73.91.35
Feb 17 00:00:18 dnsmasq[494]: forwarded netgear.api.oemdns.com to 85.214.20.141
Feb 17 00:00:18 dnsmasq[494]: reply netgear.api.oemdns.com is 8.23.224.110
Feb 17 00:00:49 dnsmasq[494]: query[A] ip1.dynupdate.no-ip.com from 192.168.131.1
Feb 17 00:00:49 dnsmasq[494]: cached ip1.dynupdate.no-ip.com is
[β] ** FINISHED DEBUGGING! **
* The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
* For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
* If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
[?] Would you like to upload the log? [y/N] n
* Log will NOT be uploaded to tricorder.