if you usa 'flush logs' and 'flush network table' in the webinterface long term data isn't fully deleted.
so how/where/why?
thanx
tom
if you usa 'flush logs' and 'flush network table' in the webinterface long term data isn't fully deleted.
so how/where/why?
thanx
tom
ok:
cd /etc/pihole
sudo service pihole-FTL stop
sudo rm pihole-FTL.db
sudo service pihole-FTL start
remains: why?
ok. thanx. not really straight forward as the developer admits too ...
Note that the commands for the long term database delete the old one and then immediately creates a new one.
What is it you want to accomplish? A one time clearing of old data?
the most clear method were to provide the info that the webinterface clears only 24h logs. in addition i'd add an option box where one can check 'clear entire history/database' and if checked does claer all entries.
of course you could also add a dropdown with from/to dates and translate this in a sql-statement to erase the choosen data/time-frame. but i'd see this as a little 'over-engenieerd ...
Done.
wow. that was fast
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.