Please follow the below template, it will help us to help you!
Pi-hole version is v5.17.2 (Latest: v5.17.2)
web version is v5.21 (Latest: v5.21)
FTL version is v5.23 (Latest: v5.23)
Expected Behaviour:
Using pihole -g -f
or the via the web interface, should update Adlists that are already present. Should download new Adlists if never been downloaded before.
Actual Behaviour:
[Sat Dec 09] root@sandalpi: ~$ pihole -g -f
-- Loading resources from /root/.sqliterc
[✓] Deleting existing list cache
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[✓] Preparing new gravity database
[✓] Creating new gravity databases
[i] Using libz compression
[i] Target: adlist domainlist_by_group vw_gravity
[✗] Invalid Target
[i] Target: adlist_by_group gravity vw_regex_blacklist
[✗] Invalid Target
[i] Target: client group vw_regex_whitelist
[✗] Invalid Target
[i] Target: client_by_group info vw_whitelist
[✗] Invalid Target
[i] Target: domain_audit vw_adlist
[✗] Invalid Target
[i] Target: domainlist vw_blacklist
[✗] Invalid Target
[i] Target: address
[✗] Invalid Target
[i] Target: ------------------------------------------------------------
[i] Status: Pending...Invalid option: ------------------------------------------------------------
Usage: dig [@global-server] [domain] [q-type] [q-class] {q-opt}
{global-d-opt} host [@local-server] {local-d-opt}
[ host [@local-server] {local-d-opt} [...]]
Use "dig -h" (or "dig -h | more") for complete list of options
[✗] Status: ------------------------------------------------------------ ()
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/h
[✗] Status: Not found
[✗] List download failed: no cached list available
[i] Target: osts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts
[✗] Status: https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts (400)
[✗] List download failed: no cached list available
[i] Target: /master/KADhosts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast
[✗] Status: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast (400)
[✗] List download failed: no cached list available
[i] Target: er/add.Spam/hosts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://adaway.org/hosts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/anudeepND/blacklist/master
[✗] Status: https://raw.githubusercontent.com/anudeepND/blacklist/master (400)
[✗] List download failed: no cached list available
[i] Target: /adservers.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/bigdargon/hostsVN/master/h
[✗] Status: Not found
[✗] List download failed: no cached list available
[i] Target: osts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast
[✗] Status: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast (400)
[✗] List download failed: no cached list available
[i] Target: er/add.2o7Net/hosts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocke
[✗] Status: https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocke (400)
[✗] List download failed: no cached list available
[i] Target: r/master/data/hosts/spy.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://hostfiles.frogeye.fr/firstparty-trackers-hosts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/DandelionSprout/adfilt/mas
[✗] Status: https://raw.githubusercontent.com/DandelionSprout/adfilt/mas (400)
[✗] List download failed: no cached list available
[i] Target: ter/Alternate%20versions%20Anti-Malware%20List/AntiMalwareHo
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: sts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast
[✗] Status: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast (400)
[✗] List download failed: no cached list available
[i] Target: er/add.Risk/hosts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://urlhaus.abuse.ch/downloads/hostfile/
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://big.oisd.nl
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://nsfw.oisd.nl
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://video.orea.ph/oisd_big_abp.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://video.orea.ph/oisd_nsfw_abp.txt
[✗] Invalid Target
[✓] Building tree
[✓] Swapping databases
[✓] The old database remains available
-- Loading resources from /root/.sqliterc
-- Loading resources from /root/.sqliterc
[i] Number of gravity domains: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
0 (adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
0 unique domains)
-- Loading resources from /root/.sqliterc
adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
Error: in prepare, near "domainlist_by_group": syntax error
lue) VALUES ('gravity_count',adlist domainlist_by_group vw_grav
error here ---^
-- Loading resources from /root/.sqliterc
[i] Number of exact blacklisted domains: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
0
-- Loading resources from /root/.sqliterc
[i] Number of regex blacklist filters: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
2
-- Loading resources from /root/.sqliterc
[i] Number of exact whitelisted domains: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
1
-- Loading resources from /root/.sqliterc
[i] Number of regex whitelist filters: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
2
[✓] Flushing DNS cache
[✓] Cleaning up stray matter
[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[✓] Pi-hole blocking is enabled
[Sat Dec 09] root@sandalpi: ~$ pihole -v
Pi-hole version is v5.17.2 (Latest: v5.17.2)
web version is v5.21 (Latest: v5.21)
FTL version is v5.23 (Latest: v5.23)
[Sat Dec 09] root@sandalpi: ~$ pihole -g -f
-- Loading resources from /root/.sqliterc
[✓] Deleting existing list cache
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range
[✓] Preparing new gravity database
[✓] Creating new gravity databases
[i] Using libz compression
[i] Target: adlist domainlist_by_group vw_gravity
[✗] Invalid Target
[i] Target: adlist_by_group gravity vw_regex_blacklist
[✗] Invalid Target
[i] Target: client group vw_regex_whitelist
[✗] Invalid Target
[i] Target: client_by_group info vw_whitelist
[✗] Invalid Target
[i] Target: domain_audit vw_adlist
[✗] Invalid Target
[i] Target: domainlist vw_blacklist
[✗] Invalid Target
[i] Target: address
[✗] Invalid Target
[i] Target: ------------------------------------------------------------
[i] Status: Pending...Invalid option: ------------------------------------------------------------
Usage: dig [@global-server] [domain] [q-type] [q-class] {q-opt}
{global-d-opt} host [@local-server] {local-d-opt}
[ host [@local-server] {local-d-opt} [...]]
Use "dig -h" (or "dig -h | more") for complete list of options
[✗] Status: ------------------------------------------------------------ ()
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/h
[✗] Status: Not found
[✗] List download failed: no cached list available
[i] Target: osts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts
[✗] Status: https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts (400)
[✗] List download failed: no cached list available
[i] Target: /master/KADhosts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast
[✗] Status: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast (400)
[✗] List download failed: no cached list available
[i] Target: er/add.Spam/hosts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://adaway.org/hosts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/anudeepND/blacklist/master
[✗] Status: https://raw.githubusercontent.com/anudeepND/blacklist/master (400)
[✗] List download failed: no cached list available
[i] Target: /adservers.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/bigdargon/hostsVN/master/h
[✗] Status: Not found
[✗] List download failed: no cached list available
[i] Target: osts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast
[✗] Status: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast (400)
[✗] List download failed: no cached list available
[i] Target: er/add.2o7Net/hosts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocke
[✗] Status: https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocke (400)
[✗] List download failed: no cached list available
[i] Target: r/master/data/hosts/spy.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://hostfiles.frogeye.fr/firstparty-trackers-hosts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/DandelionSprout/adfilt/mas
[✗] Status: https://raw.githubusercontent.com/DandelionSprout/adfilt/mas (400)
[✗] List download failed: no cached list available
[i] Target: ter/Alternate%20versions%20Anti-Malware%20List/AntiMalwareHo
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: sts.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast
[✗] Status: https://raw.githubusercontent.com/FadeMind/hosts.extras/mast (400)
[✗] List download failed: no cached list available
[i] Target: er/add.Risk/hosts
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://urlhaus.abuse.ch/downloads/hostfile/
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://big.oisd.nl
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://nsfw.oisd.nl
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://video.orea.ph/oisd_big_abp.txt
[✗] Invalid Target
[i] Target:
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
[i] Target: https://video.orea.ph/oisd_nsfw_abp.txt
[✗] Invalid Target
[✓] Building tree
[✓] Swapping databases
[✓] The old database remains available
-- Loading resources from /root/.sqliterc
-- Loading resources from /root/.sqliterc
[i] Number of gravity domains: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
0 (adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
0 unique domains)
-- Loading resources from /root/.sqliterc
adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
Error: in prepare, near "domainlist_by_group": syntax error
lue) VALUES ('gravity_count',adlist domainlist_by_group vw_grav
error here ---^
-- Loading resources from /root/.sqliterc
[i] Number of exact blacklisted domains: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
0
-- Loading resources from /root/.sqliterc
[i] Number of regex blacklist filters: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
2
-- Loading resources from /root/.sqliterc
[i] Number of exact whitelisted domains: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
1
-- Loading resources from /root/.sqliterc
[i] Number of regex whitelist filters: adlist domainlist_by_group vw_gravity
adlist_by_group gravity vw_regex_blacklist
client group vw_regex_whitelist
client_by_group info vw_whitelist
domain_audit vw_adlist
domainlist vw_blacklist
COUNT(*)
--------
2
[✓] Flushing DNS cache
[✓] Cleaning up stray matter
[✓] FTL is listening on port 53
[✓] UDP (IPv4)
[✓] TCP (IPv4)
[✓] UDP (IPv6)
[✓] TCP (IPv6)
[✓] Pi-hole blocking is enabled
[Sat Dec 09] root@sandalpi: ~$
Similar to this ticket: Adlist connections refused, no cached list downloaded - #7 by dgani
curl --connect-timeout 10 -s -L --compressed -w '%{http_code}\n' https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Gives a 200
, all the other lists can be also be accessed cleanly via curl