Hello, not using docker just the python script. The script appears to work but it seems to not be extracting gravity properly to check that the items are previously added, as it seems to re-add every time its run. Raspberry pi 3, raspbian bullseye 9-6-22 update and pihole PI-HOLE V5.12 FTL V5.17 WEB INTERFACE V5.14.2.
---------------script run----------------------
This script will download and add domains from the repo to whitelist.
All the domains in this list are safe to add and does not contain any tracking or adserving domains.
[i] Pi-hole path exists
[i] Write access to /etc/pihole verified
[i] Pi-Hole Gravity database found
[i] 191 domains and 191 SQL queries discovered
[i] Connecting to Gravity.
[i] Successfully Connected to Gravity.
[i] Checking Gravity for domains added by script.
[i] 96 Domains from script in whitelist already.
[i] Checking Gravity for domains added by user that are also in script.
[i] Found 0 domains added by the user that would be added by script.
[i] Checking Gravity for domains previously added by script that are NOT in new script.
[i] Found 0 domain(s) added previously by script that are not in script.
[i] Checking script for domains not in Gravity.
[i] 95 domain(s) NOT in Gravity that are in new script.
[i] All 95 new domain(s) have not been added to Gravity.
[i] There are a total of 468 domains in your whitelist (regex(6) & exact(462))
[i] The database connection is closed
[i] Restarting Pi-hole. This could take a few seconds
Hello, not using docker just the python script. The script appears to work but it seems to not be extracting gravity properly to check that the items are previously added, as it seems to re-add every time its run. Raspberry pi 3, raspbian bullseye 9-6-22 update and pihole PI-HOLE V5.12 FTL V5.17 WEB INTERFACE V5.14.2. ---------------script run---------------------- This script will download and add domains from the repo to whitelist. All the domains in this list are safe to add and does not contain any tracking or adserving domains.
[i] Pi-hole path exists [i] Write access to /etc/pihole verified [i] Pi-Hole Gravity database found [i] 191 domains and 191 SQL queries discovered [i] Connecting to Gravity. [i] Successfully Connected to Gravity. [i] Checking Gravity for domains added by script. [i] 96 Domains from script in whitelist already. [i] Checking Gravity for domains added by user that are also in script. [i] Found 0 domains added by the user that would be added by script. [i] Checking Gravity for domains previously added by script that are NOT in new script. [i] Found 0 domain(s) added previously by script that are not in script. [i] Checking script for domains not in Gravity. [i] 95 domain(s) NOT in Gravity that are in new script.
[i] Checking Gravity for newly added domains.
[i] All 95 new domain(s) have not been added to Gravity. [i] There are a total of 468 domains in your whitelist (regex(6) & exact(462)) [i] The database connection is closed [i] Restarting Pi-hole. This could take a few seconds
Done. Happy ad-blocking :)
Star me on GitHub: https://github.com/anudeepND/whitelist Buy me a coffee: https://paypal.me/anudeepND ---------------run end----------------