Pihole updates?

When I go to the web interface for pi-hole, which is running just fine, I’m informed that there is an update available for pi-hole AND for the web interface. I un-installed and re-installed pi-hole in Dietpi, but it still reports there are updates available. I thought Dietpi would pull the latest versions off github?

Clearly I’m clueless…

Regards

Christian

Hi Christian,

Yes, their is a new version v.1.4 of AdminLTE (Pi-Hole web interface) and the annoying popup will be fixed.
https://github.com/Fourdee/DietPi/issues/478

Yes, where is a brand new pi-hole version 2.9.
This is at the moment not in testing branch: https://github.com/Fourdee/DietPi/blob/dev/CHANGELOG.txt


Modded AdminLTE is in the testing branch (v.130), so I think, it will be released in a few days.

So, you can wait a few days, until DietPi v130 is released, or you can comment out in /var/www/pihole/header.php :
https://github.com/pi-hole/AdminLTE/blob/master/header.php#L96

<!-- Update alerts  -->
              <!-- DISABLE UPDATE WARNING
                  <div id="alPiholeUpdate" class="alert alert-info alert-dismissible fade in" role="alert" hidden>
                     <a class="alert-link" href="https://github.com/pi-hole/pi-hole/releases">There's an update available for this Pi-hole!</a>
                     </div>
                        <div id="alWebUpdate" class="alert alert-info alert-dismissible fade in" role="alert" hidden>
                          <a class="alert-link" href="https://github.com/pi-hole/AdminLTE/releases">There's an update available for this Web Interface!</a>
                         </div>  
                -->



No, Fourdee make a fork of pi-hole and AdminLTE, because we want to get it run for all DietPi supported devices and with any supported web server stack.

Fixed! Now Pi-Hole v2.9 with AdminLTE v1.4 without update warning and Temp-readout-fix is check in testing branch.

Thanks to Fourdee for his quick reaction! :smiley:

After DietPi v130 is out, update your device to v130 and reboot. Backup your /etc/pihole/adlists.list if you needed.
You have to uninstall Pi-Hole via dietpi-software = > Uninstall
160904-0010.gif
After reinstall it via dietpi-software = > Software Optimized

The new Pi-Hole version has a new logo on web interface.

Thanks for the heads up and explanation, I think I will wait for the next update and then do as described regarding removing and then installing Pi-hole. It’s not that I’m afraid to get my hands dirty at the cl… its more of a “I’d have to get up off the sofa and drag myself down to the computer room in the basement, if it hangs” kind of thing.

A tip of the hat for the quick and detailed replies as well as FourDee’s hard work.

Regards

Christian

Rather you than me, i watched Conjuring 2 the other day, basement is now off limits lol.

I’ve updated to DietPi 130

Did uninstall and reinstall Pihole

Now getting an annoying message before seeing the pihole page:
pihole-dietpi130.jpeg
other than that pihole seems to be functional

any idea?

Strange, we manually apply the version code to the JS sourcecode: https://github.com/Fourdee/AdminLTE/commit/ee724fd271c929fe6fec3b3831f5630f5b623a03In other words, this should not occur.

Whats the results of?:

cat /var/www/pihole/js/pihole/footer.js | grep Version

I updated tonight and I have no issues… updated Dietpi, un-installed Pi Hole, reinstalled Pi Hole and added a couple of domains to the whitelist, edited /etc/dsnmask.conf so Pi Hole uses Opendns for DNS resolution and all appears as before, except for no more update reminders in the Pi Hole admin console.

I’m using a Raspberry Pi 2 in case it matters. I did have issues using a Banana Pro (crashed a lot) but using Lubuntu doing rsync tasks has the Pro running for days on end with no issues… perhaps a recent update of Dietpi has fixed the problem?


Regards

Christian

Hi,

root@NeoPi:~# cat /var/www/pihole/js/pihole/footer.js | grep Version
var piholeVersion = "2.9";
var webVersion = "2.9";
    if(piholeVersion !== "vDev" && versionCompare(piholeVersion, json.tag_name.slice(1)) < 0) {
    if(webVersion !== "vDev" && versionCompare(webVersion, json.tag_name.slice(1)) < 0) {
if(piholeVersion !== "vDev" && versionCompare(piholeVersion, "v2.7") < 0)

160908-0002.gif

root@NeoPi:~# pihole -v
/usr/local/bin/pihole: Zeile 92: /opt/pihole/version.sh: Datei oder Verzeichnis nicht gefunden

Hmm…

my output of the footer.js (footer screenshot and result of pihole -v identical to the one of k-plan:

root@odroid:~# cat /var/www/pihole/js/pihole/footer.js | grep Version
var piholeVersion = "2.9";
var webVersion = "2.9";
    if(piholeVersion !== "vDev" && versionCompare(piholeVersion, json.tag_name.slice(1)) < 0) {
    if(webVersion !== "vDev" && versionCompare(webVersion, json.tag_name.slice(1)) < 0) {
if(piholeVersion !== "vDev" && versionCompare(piholeVersion, "v2.7") < 0)
root@odroid:~#

strange enough, without further tinkering, the message is gone. some self-healing going on here? will check again next time after a fresh reboot.

I updated tonight from v128 and now notice that I don’t see the Pi-Hole logo at the Status screen. It just says “Status”. Also, it doesn’t show “Active” or “Temp”. Further searching on my end seems to show I only have this issue with Firefox.
Pi-hole -- Firefox.jpg
When I view the screen via Internet Explorer, everything shows fine.
Pi-hole -- IE.jpg
Is this an issue with my install or is there a browser incompatibility somewhere in the Pi-hole scripting? I notice when the logo was changed, some of the coding was as well – logo went from .img to .svg for example.

Thanks in advance for any assistance.

Steve

Logo format went from .jpg to .svg

Your browser shows a image if you enter:

http://ip-address-of-your-DietPi-device/pihole/img/logo.svg

:question:

Which web server stack use your Pi-Hole installation? apache2, ngnix, lighttp?

Yes, it does.

lighttp – initially selected when configuring the DietPi installation; chosen based on reading the options presented. I don’t recall being prompted for this once launching the Pi-Hole installation (if that matters).

Steve

Hi mindtrap,

tested by myself (PiHole 2.9 on DietPi v130 with lighttp)
PiHole.gif
It is a bug in pihole:

https://pi-hole.net/forums/topic/web-interface-different-output-between-firefoxchromium/

We have to watch for a while, what will happens on the github issue.