List download failed: no cached list available

Please follow the below template, it will help us to help you!

Expected Behaviour:

[When I run pihole -g it should update my gravity blacklist with entries from my block list]

Actual Behaviour:

[Connection refused List download failed: no cached list available.]

Debug Token:

[https://tricorder.pi-hole.net/ofiuhtyspc
]

Your debug log shows a number of improperly formatted entries in your blocklist - /etc/pihole/adlists.list As a result, Pi-Hole cannot load these into gravity.

The blocklists file should contain only URLs that lead to text files that consist of HOSTS formatted entries. It appears you may have tried to add whitelist or blacklist entries in the blocklist file.

Some examples:

-rw-r--r-- 1 pi pi 2558550 Sep 14 19:54 /etc/pihole/adlists.list
   softbank126081240008.bbtec.net
   https://propellerads.com/?utm_medium=widget&utm_source=propellerads&utm_campaign=branding
   //my.rtmark.net/img.gif?f=merge&userId=fc9b84244f0d461fbd0f98d6883a4755
   myfastcdn.com/www/images/
   myfastcdn.com/www/images
   r6---sn-a5mlrn7k.googlevideo.com
   googlevideo.com
   r3.sn-a5mekned.googlevideo.com
   74.125.170.73
   r1.sn-a5mekn7r.googlevideo.com
   74.125.103.103
   manifest.googlevideo.com
   r2.sn-a5meknl7.googlevideo.com
   googlevideo.com

In addition to improper URLs in the blocklist, you also have a large number of IP's in the blocklist file and some in your blacklist file. IP's are of no use in any of your Pi-Hole lists (black, white or block lists). Pi-Hole should never get an IP as a query, because if the client already has the IP, it would not request the IP. Pi-Hole only deals with domain names, which are then either blocked or sent to the upstream server for resolution to an IP.

Hello! Thank you for the clarification on what the issue here is. Do you think you could spare the time to educate me on what you mean about URLs that lead to text files that consist of HOSTS formatted entries? Do you mean like a directory path? Or something else? I really appreciate your fast feedback.

This is an example. Open the URL in a browser and you will see a list of domains in text format. Pi-Hole reads the domains from all your blocklists and constructs a master blocklist (gravity).

https://hosts-file.net/ad_servers.txt

so what you're telling me is that the IPs I've added are useless?

Most of them are. I would clear out all the entries in your adlists file, and put back the original 6 blocklists. Then rebuild gravity.

https://discourse.pi-hole.net/t/how-can-i-restore-pi-holes-default-ad-lists/4683/3?u=ramset

This is how to add blocklists.

thank you for all your help

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.