currently running
Pi-hole v5.6 FTL v5.11 Web Interface v5.8
on a raspberry pi 4b with raspberry pi os
Actual Behaviour:
tried updating gravity but showed error with no domains on blocklist. ran pihole -r and some blocklist came back. realized whitelist, blacklist were all missing. cleared browser cache, didn't help.
i read somewhere to try this but i have no idea what this is.. i think it is gravity database:
sqlite3 /etc/pihole/gravity.db --header --column "Select *from domainlist"
i also read that the database for whitelist and blacklist should be stored somewhere but i don't know how to retrieve or access them.
This is an SQL command to display your domain list from the gravity (domain) database located at /etc/pihole/gravity.db. Details of the database are discussed in our documentation:
Here is an example of what you will see as the output from this command - taken from one of my Pi-holes.
sqlite3 /etc/pihole/gravity.db --header --column "Select *from domainlist"
id type domain enabled date_added date_modified comment
--- ---- ----------------------------------------- ------- ---------- ------------- --------------------------------------------------------------------------
1 0 freegeoip.app 1 1625858549 1625858549 Used by dietpi-banner and dietpi-vpn to obtain your public IP and location
39 0 click.email.rdaenthusiast.com 1 1582661625 1625868681 email linker
This output is similar to what you will see if you look in your debug log. In your case, you have no domain entries and have two adlists: