opn-repo
opn-repo copied to clipboard
Adguard crashing after a weeks
I have been dealing with this weird issue for months now and cant seem to pinpoint it as its somewhere rare and cant see anything in logs.
Out of the blue adguard will just stop running and I can either attempt to restart the service or I have to reboot the modem to get it running again. Do you know of a specific place I can check. Im thinking im either going to have to move adguard to another system or something if I cant get this sorted out. Any help would be appreciated.
Nothing in system log? So you Monitor RAM? Latest version?
Not anything that sticks out as an issue. Nothing related to adguard either. Ram has been fine. I still have access to LAN and opnsense itself. I always keep adguard up to date from within the GUI. In terms of opnsense versions, I have had this issue over a few upgrades. So weird.
Btw....Where does the config yaml reside?
Same here. Logs look clean as well.
Config is at /usr/local/AdGuardHome/AdGuardHome.yaml
Still nothing, I guess? I'm in the same boat - it's been happening for the year or so I've been using it and nothing is identifiable re: memory or logs. I have to manually start it again - if I try restarting otherwise it stops running if it was and just stays stopped, but the manual start works for some reason.
@burntoc About a month ago, I reinstalled opnsense and its still happening from time to time. I dont have to restart just restart the service.
Hard to troubleshoot without any logs or oom indicators. I'm running it at home without issues for months.
How do we get the logs to provide more info than they normally do? Nothing obvious in the logs to date - still crashes at least monthly.
On Wed, Mar 30, 2022 at 10:54 PM Michael @.***> wrote:
Hard to troubleshoot without any logs or oom indicators. I'm running it at home without issues for months.
— Reply to this email directly, view it on GitHub https://github.com/mimugmail/opn-repo/issues/95#issuecomment-1084104687, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZWF2OBFIR6LBBT3ZR5XHTVCU4ZPANCNFSM5N6NOSLQ . You are receiving this because you were mentioned.Message ID: @.***>
@mimugmail Are you able to tell us where we could find logs related to adguard? We have clean logs for what we can see.
@mkono87 I have experience the same problem. As a workaround I have created a Monit Service to monitor the AdGuarddHome with 5 seconds Polling Interval:
If it goes down the Monit will start it in 10 seconds.
@mkono87 I have experience the same problem. As a workaround I have created a Monit Service to monitor the AdGuarddHome with 5 seconds Polling Interval:
If it goes down the Monit will start it 10 seconds.
Thanks - I've been looking for something straightforward like this. Can you ELI5 how I could set the poll time? I have the normal Monit setting at 120, and I see if I click Advanced on this Service it shows Poll Time, but I thought it accepts values in seconds and if I type in a number it won't allow me to apply the changes. Left it blank for now, but I'd like to increase it to 15 seconds.
@burntoc have you enabled the Monit?
@burntoc have you enabled the Monit?
Yep. That's so odd. As long as I leave Poll Time blank and click Apply it processes a fraction of a second and that notice disappears. If I put any number in Poll Time, exactly as you've done, it will process very briefly as before, but the Apply notice stays there like it didn't fully take. I can navigate away and back and it still shows the number. Maybe it is just an interface bug.
@burntoc have you tried restarting the OPNsense box?
@burntoc have you tried restarting the OPNsense box?
Just did. Didn't help. Reinstalled the package. Didn't help. Recreated the task - triple-checked to make sure it matches yours exactly, verified the path via ssh - no joy. I just decided to leave that field blank for now and I changed the General Settings poll time to 15 and that change took okay. I don't really have any other checks going on so hopefully that will work okay.
@chrisf4lc0n Thanks, not sure why I didn't receive an update to this. I resintalled opnsense due to other reasons and still had this issue. Hopefully this will help. Do you have any idea where the log files for adguard are? Would still be nice to know whats happening. Ps...I also see that odd apply button bug.
By default the polling time is 10 seconds?
I've experienced this on OPNsense 22.1.10-amd64 twice in the last two weeks. With the AGH service down, I can't navigate to anything (LAN or WAN). I must wire up to the OPNsense box and manually restart the service. I did notice via the AGH UI that there was an update to 0.107.8, which I just applied; will see if that helps.
Poll Time for 5 seconds needs: 5 CYCLES instead of just 5
For any others troubleshooting this there's a log_file
option in AdGuardHome.yaml
- I've only has this happen twice, so hopefully if it happens again there will be some further info in the AdGuard log.