i updated my pi hole installation and once again it broke it (i used pihole -up) its installed on raspbian
Debug Token:
83rq3di1ib
i updated my pi hole installation and once again it broke it (i used pihole -up) its installed on raspbian
83rq3di1ib
Does you webui page work?
Run
sudo service pihole-FTL status
and let me know if it is running.
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL)
Active: inactive (dead)
when i installed the update it said something like dns service failed to start contact support or something. however since i made a restart after that i dont have the console output anymore
Run
sudo service dnsmasq status
and let me know it's full output.
also, do you have any custom configs in the /etc/dnsmasq.d/
directory?
● 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 Fri 2017-07-28 14:05:25 UTC; 31min ago
Process: 1310 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=1/FAILURE)
Jul 28 14:05:25 raspberrypi dnsmasq[1310]: dnsmasq: bad dhcp-range at line 6...f
Jul 28 14:05:25 raspberrypi systemd[1]: dnsmasq.service: control process exi...1
Jul 28 14:05:25 raspberrypi systemd[1]: Failed to start dnsmasq - A lightwei....
Jul 28 14:05:25 raspberrypi systemd[1]: Unit dnsmasq.service entered failed ....
i dont think that i made any modification in that folder unless i had to when i had an issue the last time which was a bug with whatever version which fucked up a config. can't remember my last login on here
Just for fun, can you give me a listing of that directory?
01-pihole.conf 02-pihole-dhcp.conf 03-pihole-wildcard.conf README
what are the contents of
nano 02-pihole-dhcp.conf
###############################################################################
# DHCP SERVER CONFIG FILE AUTOMATICALLY POPULATED BY PI-HOLE WEB INTERFACE. #
# ANY CHANGES MADE TO THIS FILE WILL BE LOST ON CHANGE #
###############################################################################
dhcp-authoritative
dhcp-range=192.168.2.201,192.168.2.251,24hh
dhcp-option=option:router,192.168.2.1
dhcp-leasefile=/etc/pihole/dhcp.leases
#quiet-dhcp
domain=pi.hole
again? is it that again? two h? why does it do that on every update for me?
Now that is odd.
reboot your pi, and let me know if things work again
well i removed the 2nd h restarted the dns and it now gives me still the error FTL offline in the webui. restarted the pi after that but the error is still there
but hey the other error is gone
Can you try a pihole -r
to attempt to repair/recofigure the installation?
just did and it added another h again so its back to that error before
OK, I've just found why that extra h is happening, and will be fixed in the next release. So that's something, at least.
In the mean time. Remove the extra h
, and try sudo service dnsmasq restart
and sudo pihole-FTL
thx its working again. but im kinda sure i reported a similar issue liek a year ago. i used to have 2 h before at one point. anyway keep up the good work and the very fast support <3
only problem i got now is that i have to run sudo pihole-FTL everytime i restart the pi
Could you please try changing the value in /etc/pihole/setupvars.conf
from 24h
to 24
, to see if that sorts it...?