After doing a pihole -up the number of Domains on adlist are always showing '-2' at Webpage.
Doing a restart DNS solves the problem and the correct numbers shown again
1 Like
I'm already investigating this.
I've been noticing this as well; however, in my case I've observed it primarily after a Gravity update runs. The block counter within the web UI appears to increment, but the adlist domain count remains at '-2.'
I think the issue is here
We perform a restart and immediately start gravity which updates the database. FTL is likely not fully ready and tries to access the database while it's locked by FZL (via gravity)
Should be fixed by
https://github.com/pi-hole/pi-hole/pull/5455