The brand new version of Pihole 5.0 has deleted the following files:
And has created for all these data a new SQLite3 database:
With this change, all the previous versions to 3.0 of the script that I made to block the YouTube Advertisement, has stopped working. So I have created a new version in order to handle that new SQLite database.
To install this new version you should follow the following steps:
- Unistall the version previous to 3.0, executing:
- Download the new version from my Github and install:
git clone https://github.com/deividgdt/ytadsblocker.git cd ytadsblocker chmod a+x ytadsblocker.sh ./ytadsblocker.sh install
I highly recommend you to take a look into the documentation of this new version here since there are a lot of new changes.
VERSION 3.0 YTADSBLOCKER
Now the script will generate a group called: YTADSBLOCKER. This name must not be deleted, since it could lead the script to fail. You can check this in ‘Group Management -> Groups’
In ‘Group Management -> Domains’ you can check the new subdomains added by the script:
Finally, in ‘Group Management -> Clients’ you should assign the group YTDASBLOCKER to the clients that we want to block the access to these subdomains. By example:
That’s all, folks!
If I have helped you, you could support me inviting me to a coffee! that’s the best way to support me.