New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logfiles under /etc/pihole #5631
Comments
Moving pihole-FTL.db (and other files) to a different location won't be easy with running docker installations: once it's changed/(pre)set in the config, there's some orchestration neccessary to move all related files and add a volume for the new location etc. |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
Docker is not an easy one, and I think it is not worth tying to fix existing installations. The setup-wizard could adapt the configuration (by asking for a location, providing a reasonable default). |
Versions
Platform
Expected behavior
Auto generated configuration files could still be placed below /etc
Actual behavior / bug
Files
are no real configuration files. pihole-FTL.db is a database and should be placed below /var/lib/pihole. Regarding versions I am not quite sure.
Usually, I use etckeeper on my debian machines. This caused the git repo to grow constantly resulting in a full disk, even if pihole-FTL.db would have been truncated using MAXLOGAGE. I had to add pihole-FTL.db to .gitignore.
Reading further in the documentation,
DBFILE=/var/lib/pihole/pihole-FTL.db
inpihole-FTL.conf
could have done the job. Perhaps this should be the default.Just` did a fresh install of pihole to confirm that this is not already the case
Steps to reproduce
ls -l /etc/pihole
inspect file modification timestamps using stat.Perhaps install etckeeper (debian package available) to track file changes.
Debug Token
(might not be relevant)
Screenshots
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: