Gravity List Zero

Hi,
Noticed that the dashboard only showed 2 Domains on blocklist - the only 2 that I have listed in Exact blocking, rather than the many that should be blocked by lists/regex.
Dug a bit deeper and saw Gravity List was empty.
I have the standard 7 URLS in adlist.list and some basic regex filters, too.
date command has proper date/time and i did a power cycle on my pi.
Thanks very much for any help!

Expected Behaviour:

pihole -g should update with the URLs in adlist.list and the regex entries

Actual Behaviour:

[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[✓] Consolidating blocklists
[✓] Extracting domains from blocklists
[i] Number of domains being pulled in by gravity: 0
[✓] Removing duplicate domains
[i] Number of unique domains trapped in the Event Horizon: 0
[i] Number of whitelisted domains: 12
[i] Number of blacklisted domains: 2
[i] Number of regex filters: 0
[✓] Parsing domains into hosts format
[✓] Cleaning up stray matter

[✓] Force-reloading DNS service
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled

Debug Token:

https://tricorder.pi-hole.net/vdqj4ofof0

Is there a reason you are using a very outdated version of Pi-hole?

*** [ DIAGNOSING ]: Core version
[i] Core: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.0-0-gddbdb51

*** [ DIAGNOSING ]: Web version
[i] Web: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.0-0-gaf8c926

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
1 Like

Nope. Just the current version when I made it. Wasn’t broken (until now) so no reason to upgrade/fix it.

Will upgrading fix the block list issue?

Is upgrading straight-forward/ what settings will I have to re-do?

Thanks!

Upgrading is simple, a one line command. As part of this process, gravity will be rebuilt from your existing blocklists. Since your installation may not be working properly, you can temporarily reset the Pi nameserver then run the update command.

sudo nano /etc/resolv.conf

edit nameserver 127.0.0.1 to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit

pihole -up

Thanks @jfb
I am going to do that now...

well, the upgrade didn't fix it.
got the same results:

[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[✓] Consolidating blocklists
[✓] Extracting domains from blocklists
[i] Number of domains being pulled in by gravity: 0
[✓] Removing duplicate domains
[i] Number of unique domains trapped in the Event Horizon: 0
[i] Number of whitelisted domains: 12
[i] Number of blacklisted domains: 2
[i] Number of regex filters: 0

so i looked at the upgrade log and noticed it said
It is recommended to update your OS after installing the Pi-hole

so i searched that and updated the OS:
sudo apt-get update and then sudo apt-get upgrade

then
pihole -g
same problems.

[✗] Status: Connection Refused
[✗] List download failed: no cached list available

any thoughts?
otherwise i'm thinking it is maybe time for

git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole
cd "Pi-hole/automated install/"
sudo bash basic-install.sh

sorry for double-post, but also noticed that
pihole -up
got me

 [i] Checking for updates...
fatal: unable to access 'https://github.com/pi-hole/pi-hole.git/': Couldn't connect to server
  [i] Pi-hole Core:	up to date
fatal: unable to access 'https://github.com/pi-hole/AdminLTE.git/': Couldn't connect to server
  [i] Web Interface:	up to date
  [i] FTL:		update available

  [i] FTL out of date, it will be updated by the installer.

  [✓] Root user check

This was after you reset the name server?

yes.
edited resolv.conf file so it read
nameserver 9.9.9.9

i noticed there was one additional line in the resolv.conf file:
search san.rr.com

FWIW, my ISP is Spectrum, which used to be Time Warner/Road Runner.
maybe that could be part of the problem?

thanks again!

I would delete that line, keep the name server at Quad9 and run the updater again. If no success, then post the output of dig github.com in that configuration.

bummer for me.

edited so file had one line, nameserver 9.9.9.9
saved and exited then
pihole -up

then got:

[i] Checking for updates...
fatal: unable to access 'GitHub - pi-hole/pi-hole: A black hole for Internet advertisements': Could not resolve host: github.com
[i] Pi-hole Core: up to date
fatal: unable to access 'GitHub - pi-hole/web: Pi-hole Dashboard for stats and more': Could not resolve host: github.com
[i] Web Interface: up to date
[i] FTL: update available

[i] FTL out of date, it will be updated by the installer.

[✓] Root user check

[i] Installing configs from /etc/.pihole...
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!
[✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf

[i] Installing blocking page...
[✓] Creating directory for blocking page, and copying files
[✗] Backing up index.lighttpd.html
No default index.lighttpd.html file found... not backing up

[✓] Installing sudoer file

[✓] Installing latest Cron script

[✓] Installing latest logrotate script

[i] FTL Checks...
[✓] Detected ARM-hf architecture (armv7+)
[i] Checking for existing FTL binary...
[✗] Downloading and Installing FTL
Error: Unable to get latest release location from GitHub
[✗] FTL Engine not installed
[✓] man pages installed and database updated
[i] Systemd-resolved is not enabled
[✓] Starting lighttpd service
[✓] Enabling lighttpd service to start on reboot
[i] Restarting services...
[✓] Starting pihole-FTL service
[✓] Enabling pihole-FTL service to start on reboot
[✓] Deleting existing list cache
[i] Neutrino emissions detected...
[✓] Pulling blocklist source list into range

[i] Target: raw.githubusercontent.com (hosts)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: mirror1.malwaredomains.com (justdomains)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: sysctl.org (hosts)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: s3.amazonaws.com (simple_tracking.txt)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: s3.amazonaws.com (simple_ad.txt)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: hosts-file.net (ad_servers.txt)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[i] Target: github.com (SmartTV.txt)
[✗] Status: Connection Refused
[✗] List download failed: no cached list available

[✓] Consolidating blocklists
[✓] Extracting domains from blocklists
[i] Number of domains being pulled in by gravity: 0
[✓] Removing duplicate domains
[i] Number of unique domains trapped in the Event Horizon: 0
[i] Number of whitelisted domains: 12
[i] Number of blacklisted domains: 2
[i] Number of regex filters: 0
[✓] Parsing domains into hosts format
[✓] Cleaning up stray matter

[✓] Force-reloading DNS service
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled

[i] The install log is located at: /etc/pihole/install.log
Update Complete!

Current Pi-hole version is v4.0
Current AdminLTE version is v4.0
Current FTL version is v4.0

went back and re-edited so file had one line again, nameserver 9.9.9.9
saved and exited then
dig github.com

; <<>> DiG 9.10.3-P4-Raspbian <<>> github.com
;; global options: +cmd
;; connection timed out; no servers could be reached

that dont sound too good...?

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