I first thought I was going crazy, these are fresh install from scratch, primary and secondary Pihole V6 + Unbound instances. The previous ones were upgrade from V5 which worked amazingly well.
The logs are just disappearing making impossible to see the network traffic to block/allow stuff as needed.
It is deleting anything older than 2 days even tho database.maxDBdays=91
I tried to look around, check pihole.tom or pihole.log which confirms no older log than 2 days which is insane, but there is no much I can find to stop this mess from happening.
I crossed a post saying that there is a bug with V6 and that I should have database.DBimport enabled which it is.
I checked the official documentation, I could not find a “here, there are all the parameters you can use” like with V5 I could use parameters such as:
With V6, it feels like the “power” to change things was taken away, the official documentation no longer reflects V6 way of doing things or I am very blind.
I reviewed everything again, did I restart DNS and just like that everything disappeared.
idk wtf is going and right now I am being forced to shut them down, and bring the old ones running from a server a wanted to decommission back online coz the way things are is insane.
I did a flush log and network table hopping this will clean whatever is broken.
After flushing the logs and the network table, everything is broken now.
Clients list is empty, logs are empty.
I can see the pihole -t processing data and the internet works fine but something is broken.
I will try to run the repair and hope that fix it.
Something very wrong is going on with Pihole V6, I have installed Pihole V5 countless time and never had half of the headache Pihole V6 is giving
I am using the secondary server to see wtf is going on:
Backup
Perform a clean install
Restore the backup
It crashes, DNS works but the dashboard is kill
Repeat the process again with smaller change:
Clean install
Do not restore the full backup, lists and domains only
Unfortunatelly, V6 no longer has a dedicated file for the local DNS so you must edit pihole.tom to add them, meaning, if you are doing a restore and the configuration might be the problem, you have to manually edit that file. It just makes no sense at all.
Everything is working, the dashboard is working again but if I hit flush logs, pihole -t freezes and the dashboard no longer shows activity.
I had to restart the service for the dashboard to start showing again.
sudo service pihole-FTL stop
sudo service pihole-FTL start
Fixing the logs permissions didn’t fix that btw
chmod 644 pihole.log*
I have been running Debian since forever, with these new servers tho I am trying Denuvan which is Debian without systemd so idk if Pihole is having a hard time dealing with that.
Deleting that automatically shows the dashboard that disappeared on its own.
I swear, I have not changed that even tho it says CHANGED.
This still didn’t solve the problem why the logs are self cleaning every two days which is the reason why I am asking for help until things went sideways.
pihole.toml contains those parameters.
It is fully documented, and beyond editing it, there are quite a few ways to change configurations options, as detailed in Introducing Pi-hole v6 :
You'd had the choice to manually edit files in either case.
With Pi-hole 5, there have been two files to edit, one for A/AAAA and for CNAME records, whereas you only have to edit one file (pihole.toml) in Pi-hole 6.
And just as Pi-hole 5, Pi-hole's UI has a panel for changing Local DNS records, via Settings | Local DNS records.
That could suggest that your teleporter backup contains those exclusions.
You could check your backup file yourself, or upload it and provide the token for us to take a look:
It has NOT been 2 days yet but I am still checking things around.
I redeployed the primary VM with Debian instead of Denuvan suspecting Pihole is not compatible with non-systemd system.
The log truncate is no longer working!
/admin/settings/system > Flush logs is killing the dashboard.
I must restart the service or the Total Queries and Client Activities no longer shows data, nothing at all.
Only after restarting the service, everything gets back to normal.
sudo service pihole-FTL stop
sudo service pihole-FTL start
Again, I was running V5 before and then the upgrade to V6.
This time I am installing V6 from scratch, clean, without any left over from V5 and that is when things are going sideways.
I will reply back on Monday, that will be plenty of time for the primary(Debian 13) and the secondary (Denuvan) Pihole VMs to do its thing and truncate the log on their own.