Introduction
The Pi-hole team just done a wonderful job by releasing the new version of their ad blocking software.
Say Hello to 5.0.0 with a long list of features like:
- Per-client blocking
- Deep CNAME inspection
- And more
Update Pi-hole
The best part ? They made it supper easy, you’ll just have to run:
sudo pihole -up
Second step
If you have followed my guide to install pihole on your machine, you have a slightly different setup than the normal one.
You need to update a couple of files for PHP-FPM.
Group
In case it’s not already done, you want the user www-data
to be added to the list of group pihole
.
sudo usermod -a -G pihole www-data
sudo systemctl restart pihole-FTL
PHP-FPM config
Then you want to update the php-fpm config to be sure it’s using the right group.
sudo sed -i 's/group = www-data/group = pihole/g' /etc/php/7.*/fpm/pool.d/www.conf
sudo systemctl restart php7.4-fpm php7.2-fpm
# You might see an error telling you one of the service isn't found
# It's normal, you have only one of those 2 services and it's expected.
Conclusion
Here you go, you have successfully updated your installation of Pi-hole to v5.0.0. Enjoy the group feature and other goodies.
14th May 2020 at 12:17
Is that why Facebook stopped working? š¼Can’t do a new login (after logging out), search, load language packs, view comments, etc. Problem goes away turning Private DNS off.
14th May 2020 at 15:45
Hello,
I’ve used too restrictive blocklist when updating.
I’ve rollback that change to only have the ones that shouldn’t impact normal browsing.
17th May 2020 at 04:50
Thank you. It does seem to be working better now. Though I can understand the goals of some blocklists to control all that Facebook does, as it has its tentacles everywhere. š
I never installed their API on my sites because I could see it brought far too much with it…