Pi-hole 2.6 – making things (slightly) easier!

This one’s been a little while coming.. sorry!

The Changelog can be found here

A notable change in this release is the handling of pihole’s commands.
Rather than each script being stored in /usr/local/bin there is now a controller script simply called pihole,  details on the usage of this command can be found here.

As usual, update by re-running the install script curl -L install.pi-hole.net | bash
(or if you don’t feel comfortable piping scripts to bash, you can review and download the install script on the github page here)

Let us know if you run into any issues, we’re always here to help!

The dev-team *

*picture may not be representative of the actual dev team.

19 Replies to “Pi-hole 2.6 – making things (slightly) easier!”

  1. Just did a clean install on a clean NOOBS_v1_9_0 system
    Couldn’t get web console to start – Connection Refused
    noticed the following errors …

    ::: Checking dependencies:
    ::: Checking for dnsutils… already installed!
    ::: Checking for bc… already installed!
    ::: Checking for toilet… already installed!
    ::: Checking for figlet… already installed!
    ::: Checking for dnsmasq… already installed!
    ::: Checking for lighttpd… already installed!
    ::: Checking for php5-common… Not found! Installing…. [-] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-common_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? done!
    ::: Checking for php5-cgi… Not found! Installing…. [-] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-common_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-cli_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-cgi_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-readline_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? done!
    ::: Checking for php5… Not found! Installing…. [-] E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-common_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-cli_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/libapache2-mod-php5_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5_5.6.17+dfsg-0+deb8u1_all.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/php5/php5-readline_5.6.17+dfsg-0+deb8u1_armhf.deb 404 Not Found [IP: 5.153.225.207 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? done!

    ::: Checking for git… already installed!
    ::: Checking for curl… already installed!
    ::: Checking for unzip… already installed!
    ::: Checking for wget… already installed!

    1. It looks like a problem with apt-get or your connection to download updates. Have you tried it with an installation of Raspbian? That is the probably best OS to install it on.

      1. I have installed Pi-Hole on the version of Raspbian, that gets installed by Noobs 1.8 – this has worked every time for me – but every time I installed Pi-Hole on Raspbian, installed by Noobs 1.9, the Php5 stuff failed

        As to my “connection to download updates” – Externally, I’m on 200Mbps Cable (Virginmedia), Internally, everything’s Gigabit on Cat6

        I will try a Pi-Hole install on a vanilla Raspbian …

        *UPDATE* I installed Raspbian 2016-03-18 to another sd (64Gig) card, but when I did the Pi-Hole Install, I got the same errors – unfortunately, I was running it on the real console, not from windows/via ssh, so the logs don’t show the errors

        I will run the apt-get cache fixup suggested by https://github.com/PromoFaux, and wait & see what happens in the next release of Raspbian

      1. Is it possible to add a cron job to run the pihole command at like 2am or something?

          1. I guess my real question is, can i submit this as a feature request?

          2. Dude, your paypal link doesn’t direct like it does on the actual portal page. Fix that link yo.

          3. Dude, your paypal link doesn’t direct like it does on the actual portal page. Fix that link yo.

          4. You mean on the sidebar? That goes direct to PayPal and the one on the main page goes to the donate page, which has a little more information.

          5. The donate button (specifically paypal) works from the portal – however the paypal button on your blog seems to link to paypal.com, rather than your actual customized URL

  2. The link is still an empty page for the “details on how to usage of the commands” link. Trying to find the command usage so that I can automate some of the daily actions.

Leave a Reply