I updated Dietpi to V136 and, as I have done in the past, I un-installed, then re-installed pi-hole to ensure I have all the latest lists.
Pi-hole installs and runs fine, however when I went to check it through the web interface, it reports back:
"Pi-hole needs to be updated to at least 2.7 before you can use features like whitelisting/blacklisting from this web interface!"
Checking at the bottom of the web interface page it shows:
"Pi-hole Version (Update available!) Web Interface Version v1.4.4.2"
The latest version of Pi-hole is:
Pi-Hole V2.9.5
Edit: Gah.... I forgot to add it's is the Raspberry Pi image I'm using on a RPi 2.
[Solved] Pi-hole version on the fritz after lastupdate
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
[Solved] Pi-hole version on the fritz after lastupdate
Last edited by kaptain_zero on Thu Nov 17, 2016 2:40 am, edited 1 time in total.
Updating DietPi fork PiHole to official issues
Hi,
We've had a few users report this.
Possibly some files left over from the existing installation that we missed during the uninstall.
Please can you paste the results of the following commands:
We've had a few users report this.
Possibly some files left over from the existing installation that we missed during the uninstall.
Please can you paste the results of the following commands:
Code: Select all
ls -lha /var/www
ls -lha /var/www/pihole
ls -lha /var/www/html
ls -lha /etc/.pihole
ls -lha /etc/pihole
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Pi-hole version on the fritz after last Diet-pi update
Code: Select all
root@DietPi:~# ls -lha /var/www
total 88K
drwxrwxr-x 3 www-data www-data 4.0K Nov 8 18:40 .
drwxr-xr-x 12 root root 4.0K Apr 6 2016 ..
-rwxrwxr-x 1 www-data www-data 38K Apr 6 2016 apc.php
drwxrwxr-x 3 www-data www-data 4.0K Nov 7 17:15 html
-rwxrwxr-x 1 www-data www-data 68 Nov 8 18:40 index.html
-rwxrwxr-x 1 www-data www-data 3.3K Apr 6 2016 index.lighttpd.html
-rwxrwxr-x 1 www-data www-data 23K Apr 6 2016 opcache.php
-rwxrwxr-x 1 www-data www-data 20 Apr 6 2016 phpinfo.php
lrwxrwxrwx 1 www-data www-data 19 Nov 8 18:40 pihole -> /var/www/html/admin
root@DietPi:~# ls -lha /var/www/pihole
lrwxrwxrwx 1 www-data www-data 19 Nov 8 18:40 /var/www/pihole -> /var/www/html/admin
root@DietPi:~# ls -lha /var/www/html
total 16K
drwxrwxr-x 3 www-data www-data 4.0K Nov 7 17:15 .
drwxrwxr-x 3 www-data www-data 4.0K Nov 8 18:40 ..
drwxrwxr-x 9 www-data www-data 4.0K Nov 7 17:15 admin
-rwxrwxr-x 1 www-data www-data 3.3K Aug 6 16:43 index.lighttpd.html
root@DietPi:~# ls -lha /etc/.pihole
total 12K
drwxr-xr-x 2 root root 4.0K Sep 8 01:07 .
drwxr-xr-x 86 root root 4.0K Nov 8 18:39 ..
-rw-r--r-- 1 root root 3.2K Sep 8 01:07 adlists.default
root@DietPi:~# ls -lha /etc/pihole
total 7.5M
drwxrwxrwx 2 root root 4.0K Nov 6 01:48 .
drwxr-xr-x 86 root root 4.0K Nov 8 18:39 ..
-rw-rw-rw- 1 root root 3.2K Nov 6 01:47 adlists.default
-rw-rw-rw- 1 root root 0 Sep 8 01:09 blacklist.txt
-rw-rw-rw- 1 root root 3.6M Nov 6 01:48 gravity.list
-rw-rw-rw- 1 root root 921K Nov 6 01:47 list.0.raw.githubusercontent.com.domains
-rw-rw-rw- 1 root root 12K Nov 6 01:47 list.1.adblock.gjtech.net.domains
-rw-rw-rw- 1 root root 267K Nov 6 01:47 list.2.mirror1.malwaredomains.com.domains
-rw-rw-rw- 1 root root 641K Sep 8 01:08 list.3.sysctl.org.domains
-rw-rw-rw- 1 root root 8.0K Nov 6 01:47 list.4.zeustracker.abuse.ch.domains
-rw-rw-rw- 1 root root 613 Sep 8 01:08 list.5.s3.amazonaws.com.domains
-rw-rw-rw- 1 root root 43K Sep 8 01:08 list.6.s3.amazonaws.com.domains
-rw-rw-rw- 1 root root 1.8M Nov 6 01:47 list.7.hosts-file.net.domains
-rw-rw-rw- 1 root root 274K Nov 6 01:48 list.8.raw.githubusercontent.com.domains
-rw-rw-rw- 1 root root 34K Nov 6 01:48 list.9.ransomwaretracker.abuse.ch.domains
-rw-rw-rw- 1 root root 193 Sep 8 01:19 whitelist.txt
Re: Pi-hole version on the fritz after last Diet-pi update
Hi,
Thanks. Please try the following to uninstall PiHole:
Reinstall by running dietpi-software and selecting PiHole for installation.
Thanks. Please try the following to uninstall PiHole:
Code: Select all
rm -R /etc/pihole
rm -R /etc/.pihole
rm -R /var/www/html/admin
# - symlink
rm -R /var/www/pihole
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Pi-hole version on the fritz after last Diet-pi update
copied and pasted all the commands as listed and ran them. Pi-hole still shows as installed and won't let me install as it thinks it's installed already.
Pi-hole is still running, but I no longer have the web consol. Should I reboot or should I attempt an uninstall from dietpi-software first or.....
Pi-hole is still running, but I no longer have the web consol. Should I reboot or should I attempt an uninstall from dietpi-software first or.....
Re: Pi-hole version on the fritz after last Diet-pi update
Hi,kaptain_zero wrote:copied and pasted all the commands as listed and ran them. Pi-hole still shows as installed and won't let me install as it thinks it's installed already.
Pi-hole is still running, but I no longer have the web consol. Should I reboot or should I attempt an uninstall from dietpi-software first or.....
Lets set the installation state back to 0. If PiHole asks questions to remove packages, say NO to all of them.
Code: Select all
dietpi-software uninstall 93
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Pi-hole version on the fritz after last Diet-pi update
[edit] I see I was typing while you answered.... I did essentially what you described. {Oops... I let it delete whatever it wanted to, but it didn't seem to harm anything]
Hi,
I have this sneaking suspicion that I was supposed to run the remove script first and then do the manual commands to clear anything else out.
I ran the remove script from dietpi-software and then I could re-install pi-hole. This time I got the lastest web consol and all appears to be well.
My only remaining problem is that I used to edit /etc/dsnmask.conf to switch from google's DNS servers to OpenDNS. That file has changed big time and I cannot find where to edit the DNS address anymore... perhaps SystemD looks at another file somewhere else for that information?
The DNS server change is not a big deal, it works fine as is.
Thanks for your help.
Regards
Christian
Hi,
I have this sneaking suspicion that I was supposed to run the remove script first and then do the manual commands to clear anything else out.
I ran the remove script from dietpi-software and then I could re-install pi-hole. This time I got the lastest web consol and all appears to be well.
My only remaining problem is that I used to edit /etc/dsnmask.conf to switch from google's DNS servers to OpenDNS. That file has changed big time and I cannot find where to edit the DNS address anymore... perhaps SystemD looks at another file somewhere else for that information?
The DNS server change is not a big deal, it works fine as is.
Thanks for your help.
Regards
Christian
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Pi-hole version on the fritz after last Diet-pi update
Ah... I see that my whitelist is completely empty.... fortunately, I have a screen shot of it, so I re-created it and added all the addresses via the web consol. I'm pretty sure the blacklist was empty as I never added anything there myself.
Re: Pi-hole version on the fritz after last Diet-pi update
Hi,kaptain_zero wrote:My only remaining problem is that I used to edit /etc/dsnmask.conf to switch from google's DNS servers to OpenDNS. That file has changed big time and I cannot find where to edit the DNS address anymore... perhaps SystemD looks at another file somewhere else for that information?
I believe pihole uses the following config file for dnsmasq:
Code: Select all
/etc/dnsmasq.d/01-pihole.conf
Code: Select all
server=
Code: Select all
/etc/dnsmasq.conf
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
- kaptain_zero
- Posts: 39
- Joined: Tue Apr 12, 2016 2:51 am
Re: Pi-hole version on the fritz after last Diet-pi update
I'll have a look later, however another issue has cropped up.
I am not getting any statistics showing in the web consol. Perhaps this is related to my allowing the un-install to delete things, but I would have thought that Pi-Hole has started to write new logs?
I did not notice this yesterday, as I am used to having zero stats when it first starts up.... but today, things are still at zero, including the number of domains being blocked which shows as zero, yet in use, ADs are being blocked, so Pi-Hole must be working.
I am not getting any statistics showing in the web consol. Perhaps this is related to my allowing the un-install to delete things, but I would have thought that Pi-Hole has started to write new logs?
I did not notice this yesterday, as I am used to having zero stats when it first starts up.... but today, things are still at zero, including the number of domains being blocked which shows as zero, yet in use, ADs are being blocked, so Pi-Hole must be working.