OpenBSD install - Default location #7929
christopheradlam
started this conversation in
Ideas
Replies: 1 comment
-
Just an addendum to this, as I observed some interesting behavior. The file successfully grew in the new location, and stayed current, but the program later recreated the querylog.json file in the /opt/AdGuardHome/data directory as well, and was growing both files. So, I ended up making it a symlink to the /var/log/AdGuard/querylog.json file and removing the path from the config file as that doesn't appear to function as expected (and perhaps as intended?). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently ran into this issue which I think might warrant some consideration as to where either the install happens or where the query log is stored in OpenBSD due to the default partitioning scheme employed by the OpenBSD installer.
Scenario:
Issue:
Here is the default OpenBSD partition scheme, you can see that the root partition is not large (this is on a 256GB SSD):

With the Query Log retention period set to the default of 90 days, it eventually fills the root partition.
I have currently addressed this by changing the location of the querylog.json file to /var/log/AdGuard in the config file. After less than an hour, the file is already 1.3MB, so it's not surprising that it can fill the remaining 651MB on a less than 1GB partition.
I suggest that either AdGuardHome gets installed in /usr, or the log file default location is set to /var/log/something to avoid this issue.
Beta Was this translation helpful? Give feedback.
All reactions