Pi-Hole: Update to 2.10 Core / 2.0 Web Interface

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Pi-Hole: Update to 2.10 Core / 2.0 Web Interface

Post by k-plan »

Hi,

a new version of Pi-Hole (v.2.10) and web interface (AdminLTE) (v.2.0) is out.
If you have running Pi-Hole v.2.x, you will see a hint at the bottom line in your web interface.
Pi-Hole Update hint
Pi-Hole Update hint
161221-0004.gif (6.05 KiB) Viewed 3025 times
Or you can do:

Code: Select all

pihole -v


Whats new? Please check their changelogs: AdminLTE and pi-hole
Many thanks to DL6ER for the new functions in AdminLTE!



How does it looks?
Pi-Hole v.2.10 / Web Interface 2.0 -  Start-Page
Pi-Hole v.2.10 / Web Interface 2.0 - Start-Page

Only for comparison some older versions screen-shots:
Pi-Hole v.2.95 / Web Interface 1.4.4.2  (previous Version)
Pi-Hole v.2.95 / Web Interface 1.4.4.2 (previous Version)
Pi-Hole v.1.x.x (old Version)
Pi-Hole v.1.x.x (old Version)

How can I update Pi-Hole on DietPi?

Have tested to update using the build-in update function from Pi-Hole on serval devices, but it will not work for me (especially Web Interface update)
So I have done a reinstall. This will work for me.

Reinstall process:

Code: Select all

## backup your installation
dietpi-backup

## backup your pi-hole lists, if you wanted to hold
cp /etc/pihole/adlists.list /root/adlists.list
cp /etc/pihole/whitelist.txt /root/whitelist.txt
cp /etc/pihole/blacklist.txt  /root/blacklist.txt

## dietpi update
dietpi-update

## git client uninstall
dietpi-software uninstall 12

## php uninstall
dietpi-software uninstall 89

## lighttpd uninstall
dietpi-software uninstall 84

## pi-hole uninstall
#### * HINT: *
#### - If PiHole asks questions to remove packages, 
####   say NO to all of them.
dietpi-software uninstall 93

reboot

## pi-hole install
dietpi-software install 93

## set new Web Login passord "dietpi"
pihole -a -p dietpi

## set your adlists
cp /etc/pihole/adlists.default /etc/pihole/adlists.list

## Uncomment or comment any of the below lists
nano /etc/pihole/adlists.list

## Update your adlists
pihole -g

## restart services and watch for errors
dietpi-services restart

After restarting services, you can access Pi-Hole web interface via browser by "ip-address-of-your-device":
e.g.: url = http://192.168.0.100/pihole
Pi-Hole v.2.10 / Web Interface 2.0 -  Start-Page
Pi-Hole v.2.10 / Web Interface 2.0 - Start-Page

To get access to all the new feature, you now have to "Login":
Pi-Hole Login
Pi-Hole Login

Login password is the one which will be show during installation or it will be " dietpi "
if you set it via pihole -a -p dietpi.
But where will be as well a hint, how you can do this or change the password.
Change Login password
Change Login password

By clicking the top right logo after successfully login, you can see, how long your session is valid.
And on top of the left column, you see some nice status infos from your running device.
Status and Session
Status and Session

On left site menu, we can edit Blacklist, Whitelist and run a Adlists update (new), query for block domains (new) or disable DNS filtering.
Updating adserver domains
Updating adserver domains

Now it is possible, to change a bunch of Pi-Hole setting via web interface.
New is the buid-in DHCP Server in Pi-hole, which can configure here.
Pi-Hole settings (incl. DHCP Server)
Pi-Hole settings (incl. DHCP Server)

A offline Help Center is now build-in with many information, how to use Pi-Hole.
I wiould recommend to take a look in here.
Pi-Hole Help Center
Pi-Hole Help Center


To read more of the new feature, please look at: Pi-Hole amazing new features

cu
k-plan
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 and Bitcoin.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Pi-Hole: Update to 2.10 Core / 2.0 Web Interface

Post by Fourdee »

Thanks k-plan, great review and write up of the latest PiHole update!
To get access to all the new feature, you now have to "Login":
Login password is the one which will be show during installation or it will be " dietpi "
if you set it via pihole -a -p dietpi.
As per your suggestion, i'll get this automated in v141 install: https://github.com/Fourdee/DietPi/issues/662

Also added to online doc: http://dietpi.com/phpbb/viewtopic.php?f ... p=174#p174
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.
Zone

Re: Pi-Hole: Update to 2.10 Core / 2.0 Web Interface

Post by Zone »

Look like there's been a slight version bump Pi-hole v2.10.1 with some fixes. I assume I'll have to wait for the next version of Dietpi.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Pi-Hole: Update to 2.10 Core / 2.0 Web Interface

Post by Fourdee »

Zone wrote:I assume I'll have to wait for the next version of Dietpi.
Nope. PiHole has its own update system.

See: How can I update Pi-Hole on DietPi?
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.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Pi-Hole: Update to 2.10 Core / 2.0 Web Interface

Post by k-plan »

Hi,
Zone wrote:Look like there's been a slight version bump Pi-hole v2.10.1 with some fixes. I assume I'll have to wait for the next version of Dietpi.
yes, correct. Brand new and quicker as I can write postings. :oops:
Web Interface - Update avalible
Web Interface - Update avalible
161224-0003.gif (6.53 KiB) Viewed 3006 times
Whats new?
Please check their changelogs: AdminLTE and pi-hole

Don't tested, if their build-in uninstall now works. Done the update as described above. Works.
New Version
New Version
161224-0001.gif (4.69 KiB) Viewed 3006 times


After Login, now there are some sub menus, which recap former single menu points.
New is pihole.log live viewing (tail) and cron based disabling in web interface.
Pi-hole Version v2.10.1 -  Web Interface Version v2.2
Pi-hole Version v2.10.1 - Web Interface Version v2.2

Zone wrote: I assume I'll have to wait for the next version of Dietpi.
Since version v135 of DietPi, dietpi-software it will use the pi-hole installer scripts, but mod all webserver stuff to work with it.

Please see: DietPi-Software | PiHole to use official installer

Fourdee wrote:As per your suggestion, i'll get this automated in v141 install: https://github.com/Fourdee/DietPi/issues/662
Thanks, very nice so unattended automated installation will work for pihole.
Cool, how quick you have updated your online doc! Smart! :D


cu
k-plan
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 and Bitcoin.
Post Reply