jumpsmm7 / Asuswrt-Merlin-AdGuardHome-Installer

The Official Installer of AdGuardHome for Asuswrt-Merlin
GNU General Public License v3.0
156 stars 17 forks source link

Adguard Home sometimes not starting on router restart #195

Closed privacyguy123 closed 1 year ago

privacyguy123 commented 1 year ago

On RT-AX58U (AX3000). Despite logs saying it is active.

Only started happening after installing and removing avahi-utils and it's associated dependencies. :S

Can get it up and running again with Restart Entware under scMerlin

jumpsmm7 commented 1 year ago

Yea you stumped me with this one. Let me know if you discover anything else. Sounds like there is something causing conflict with adguardhome starting. Too bad I haven't been able to reproduce the issue yet by my own merits. Please feel free to share what you find here.

privacyguy123 commented 1 year ago

Is there some sort of commands or something I can run? The log is showing nothing of use.

Does it have Entware package dependencies that might have been uninstalled by mistake?

jumpsmm7 commented 1 year ago

Is there some sort of commands or something I can run? The log is showing nothing of use.

Does it have Entware package dependencies that might have been uninstalled by mistake?

The only actual Entware depencencies are for setting up the encrypted password for logging into the AdGuardHome WebUI. It is quite possible you have somehow lost some of the AdGuardHome auxillary files. My suggestion is to run an Update using the AdGuardHome installer. It should catch any missing files. Beyond that, I don't know what else could be causing your concern. Maybe there could be another addon script that doesn't play nicely with AdGuardHome.

privacyguy123 commented 1 year ago

Yes unfortunately I suspect a conflict between other scripts/addons. Is there a way to run AG on this router without touching/"taking over" the original dnsmasq file?

jumpsmm7 commented 1 year ago

Yes unfortunately I suspect a conflict between other scripts/addons. Is there a way to run AG on this router without touching/"taking over" the original dnsmasq file?

Not when using this installer; however, you can install entwares version of adguardhome and craft your own way of running adguardhome without it having to use Port 53. What this means is that instead of DNSMASQ switching to a different port, it will instead use port 53 and forward request to AdGuardHome which resides on another DNS port. This can create problems because only one client will be observable in the client query log of AdGuardHome (the router). you would no see clients individualized traffic.