I keep getting this error, even after clean install.
What to do?
Can you generate a debug token for us as a first step: pihole -d
Hey I got the exact same error.
pihole -d stating the following:
" There was an error uploading your debug log.
- Please try again or contact the Pi-hole team for assistance.
"
I already changed DNS settings to default (using router as DNS server) in my router and re-booted the pi - same picture as above.
The log should be saved locally; could you PM it to me?
pihole_debug-sanitized.log
would love to, but the forum tells me that I can't sent a message to this user.
Well, then. Something is wrong with our config. Let me check. In the meantime, can you verify if you can ping google.com
and/or 8.8.8.8
from your Pi-hole device?
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=59 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=59 time=16.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=59 time=15.2 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=59 time=15.6 ms
ping: unknown host google.com
now that's interesting...
What's in /etc/resolv.conf
and systemctl status dnsmasq
?
systemctl status dnsmasq
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: failed (Result: exit-code) since Sa 2018-02-17 23:48:34 CET; 22min ago
Process: 449 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=1/FAILURE)
/etc/resolv.conf
[details="Summary"]
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 127.0.0.1
# /etc/resolv.conf.tail can replace this line
[/details]
just for the fun of it: Changed the nameserver to the routers IP and am testing pihole -r now
It will likely work then. What's dnsmasq -v
and what version of Raspbian are you running?
dnsmasq -v
Dnsmasq Version 2.72
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
uname -a
Linux n3tb0x 4.9.78+ #1084 Thu Jan 25 17:40:10 GMT 2018 armv6l GNU/Linux
I managed to run pihole -d the token is: xm5ovq1tnm
dnsmasq still not running.
Ahh yep. The version of dnsmasq
in Jessie doesn't support the --extra
flag in this release. We're working on a fix. You can revert to the previous version of Pi-hole for now. Not the most glamorous, but we're also looking at getting a later version of dnsmasq
installed but it's still in the works.
This fixed the issue.
Thank you so very much, for the quick and high quality, late night, replies! :-)
There's only one question left: How can I get back to current branch, after reverting to the previous version?
Just in case I am going wild and upgrade raspbian to stretch in the near future.
/tldr: sudo nano /etc/resolv.conf (change the nameserver to your router's IP) and then apply the fix as described here.
You can replace the versions in those commands with master
, and you will be on the latest versions.
I have the same question; my issue was exactly the same as described above. Pihole just wouldn't work and my Pi was not resolving DNS queries. I reverted to the 3.21 Version a described above (very slick Jacob) and it now works, but I have two questions now:
- How do I know when the dnsmasq issue is resolved
2, How do I get the Pihole system back to where it is current and checking for updates?
Please keep in mind I am a complete noob when it comes to this. COMPLETE. Please take a look at the attached screenshot from the Web UI. I hate to admit it, but I am one of those folks that need the step by step. Thank you all for your help!
We've come up with a way for users on Jessie to use the required version of dnsmasq. This will also fix the version issues you see and will let you easily update:
https://pi-hole.net/2018/02/14/pi-hole-v3-3-released-its-extra-special/
Awesome, thank you. That seems simple enough, but I did downgrade to the previous version so my pihole would work. How do I revert it back so I can update?
pihole checkout master
might do the trick. Run that after updating dnsmasq though.