ran pihole -up
pihole -up reported 3 updates available (core, web, FTL)
pihole -up than automatically runs pihole -g (or the equivalent)
I've been using the same lists since the beginning of the beta5 tests (remember disappointing performance of pihole -g)
got the following error (never seen this before):
Encountered non-critical SQL warnings. Please check the suitability of the list you're using!
SQL warnings: /tmp/tmp.yrjMjpYGzI.gravity:1866856: expected 2 columns but found 3 - extras ignored
I've seen the discussion about bad lists, that is NOT something I want to bring to your attention.
I think there should be a command line tool that checks a list for use, this to eliminate these discussions, e.g. something like pihole checklist <list>; this to enable a user to identify the culprit, without opening a topic.
The current error message doesn't help me.
Ah, yes. The file is deleted as there were no (fatal) errors. This file is probably rather large, especially for those having many blocking lists. Should we really keep this file?
I think the onus should be on the user to use properly formatted lists, and not on the Pi-Hole developers to warn you of any potential problems that you can see with your own eyes when you open a potential block list on the internet.
Why not print the actual faulty line together with the warning? No need to keep the whole file but gives the user the ability to see the actual content.
You are the developer, open to all suggestions, but I stand by my statement: an error message, referring a file that doesn't exist is pointless (and confusing), and will only lead to more support questions.
I do support a tool that takes a list URL and outputs "Yes" or "No" (or retvals 0/1). That's it. Going down the rabbit hole of trying to fix a bad list is not our goal nor our priority.
I agree on points 1 and 2, not necessarily point 3. The issue is just that this requires a bit of coordinated coding and provision of faulty lists to check everything is working. I don't have the resources to do such an endeavor over the next few days to weeks, but if someone wants to contribute this, I'm willing to review this code!