Last update date for gravity doesn't change

Problem with Beta 5.0:
When updating gravity with pihole -g (and other methods), the last update date you see in the web interface when mousing over the "Domains on Blocklist" icon on the web interface doesn't change.

I've updated gravity several times in the past 8 days.

Debug Token:
https://tricorder.pi-hole.net/jsq1jjat58

I concur, am seeing the same thing on two pis with latest version in Chrome, after Ctrl-F5.

I see 12 days since last gravity update when mousing over the "Domain Block List"

I tried:
Update Gravity from GUI
The command > pihole updateGravity
The command pihole -g

Each time the command stat /etc/pihole/.gravity.list shows:

File: /etc/pihole/gravity.list
Size: 2743593 Blocks: 5360 IO Block: 4096 regular file
Device: b302h/45826d Inode: 130518 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-01-26 20:13:53.512987087 +0000
Modify: 2020-01-26 20:13:53.522987058 +0000
Change: 2020-01-26 20:13:53.532987028 +0000
Birth: -

Not sure why 'Birth:' should show '-'

The 12 days mentioned in the popup is the 2020-26-01

Steen

Mine says 16 days ago, but I've definitely seen the number change, so I think it's just a cosmetic issue.

This bug will be fixed by

Thanks for reporting this issue!

2 Likes

Hi
I still see it is not being updated, I have done pihole -up and pihole -g and pihole -v (result below)
Steen

pi@hanlopdns:/etc/pihole $ stat gravity.list
File: gravity.list
Size: 2743593 Blocks: 5360 IO Block: 4096 regular file
Device: b302h/45826d Inode: 130518 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-01-26 20:13:53.512987087 +0000
Modify: 2020-01-26 20:13:53.522987058 +0000
Change: 2020-01-26 20:13:53.532987028 +0000
Birth: -

pi@hanlopdns:/etc/pihole $ pihole -v
Pi-hole version is v4.3.2-401-g082cfb2 (Latest: v4.3.2)
AdminLTE version is v4.3.2-412-g1dc359d (Latest: v4.3.2)
FTL version is vDev-ff840d0 (Latest: v4.3.1)

Sorry -my bad...

Merged. Please update your Pi-hole.

2 Likes

Hi,

It looks like this is now working.

Will do a few more tests as I am not 110% sure...

30 min after update gravity, then when hovering over 'Domains on Blocklist' the time is not updating...

The command "stat gravity.list" still shows the 26 of January as previous posting.

File: gravity.list
Size: 2743593 Blocks: 5360 IO Block: 4096 regular file
Device: b302h/45826d Inode: 130518 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-01-26 20:13:53.512987087 +0000
Modify: 2020-01-26 20:13:53.522987058 +0000
Change: 2020-01-26 20:13:53.532987028 +0000
Birth: -

So I think this is not working 100%

Steen

This is the wrong file. Check /etc/pihole/gravity.db.

Sorry - here the right stat
stat gravity.db

File: gravity.db
Size: 9502720 Blocks: 18560 IO Block: 4096 regular file
Device: b302h/45826d Inode: 134340 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 999/ pihole) Gid: ( 995/ pihole)
Access: 2020-02-17 19:03:25.582319635 +0000
Modify: 2020-02-17 19:03:34.712455549 +0000
Change: 2020-02-17 19:09:39.319999998 +0000
Birth: -

and

Thanks the fix :slight_smile:

Steen