-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
AGH fails to start when the query log is corrupted #753
Comments
I had it on Windows 10 after an emergency restart. |
They should do some sanity-check on the log before loading, else it spams a lot of these... |
Thank you for reporting this! This needs to be addressed indeed. |
@ameshkov Not only that it fails to start, it can fill a 60GB partition with "failed to decode" in 10-20 minutes.... On the server currently deployed it grew the syslog to 26 GB in ~15 minutes. |
In an attempt to skip corrupted log entries when reading from file we put the program into an endless loop. We should stop reading from a corrupted log file, delete it, and then start operating as normal. |
@szolin or just skip the corrupted lines and proceed. |
Are there any progress on this issue? This bug is very painful when AGH acts as a DHCP server. It would be very good if AGH renamed (but did not delete) the existing log and reported damage in the web interface. |
@ilya-fedin assigned this but to v0.100, thanks for reminding us! |
In the upcoming v0.99 this issue won't affect startup anymore. |
Failed to decode: invalid character '\x00' looking for beginning of value
Unable to start AdGuardHome at all, this log message spams the syslog.
The problem is related to unexpected power down of the linux machine. The query log file was causing the problem when AdGuardHome was initializing.
After removing the contents of query log, it runs normally.
The text was updated successfully, but these errors were encountered: