I followed the instructions to run the whitelist script, but everytime I run it, none of the 191 items are added to the database. What could be wrong? Ive tried running with sudo and without. Does my pihole whitelist need to be completely empty? See output below.
sudo python3 whitelist/scripts/whitelist.py
[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] 0 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] 191 domain(s) NOT in Gravity that are in new script.
[i] All 191 new domain(s) have not been added to Gravity.
[i] There are a total of 231 domains in your whitelist (regex(0) & exact(231))
[i] The database connection is closed
[i] Restarting Pi-hole. This could take a few seconds
Using Pi-hole v5.2.4 Web Interface v5.4 FTL v5.7
I followed the instructions to run the whitelist script, but everytime I run it, none of the 191 items are added to the database. What could be wrong? Ive tried running with sudo and without. Does my pihole whitelist need to be completely empty? See output below.
sudo python3 whitelist/scripts/whitelist.py
[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] 0 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] 191 domain(s) NOT in Gravity that are in new script.
[i] Checking Gravity for newly added domains.
[i] All 191 new domain(s) have not been added to Gravity. [i] There are a total of 231 domains in your whitelist (regex(0) & exact(231)) [i] The database connection is closed [i] Restarting Pi-hole. This could take a few seconds