Adguard home plugin not starting at boot

Started by guest36905, February 10, 2023, 06:23:35 PM

Previous topic - Next topic
Hello everyone!
I successfully installed the adguard home plugin in OPNsense, but everytime I reboot for one reason or another, I have to manually start the service. Could someone help me understand why?

Thank you.

How did you install the AdGuardHome?
using the following repo?
https://www.routerperformance.net/opnsense-repo/
Or you unpack the github package to /usr/local/ by yourself?

You may need to configure the following files manually
1. For adding AGH as service, you need /usr/local/opnsense/service/conf/actions.d/actions_adguardhome.conf
to describe how it start or stop

2. For making AGH start on boot, you need /usr/local/etc/rc.d/adguardhome
(You might need to check this file too if you install with repo package)

3. If you create the above script manually, you also need to add adguardhome_enable="YES" at the end of /etc/rc.conf
(not necessary if using repo)

I've installed it via the plugins section. The repository is mimugmail.

I use the plugin too. It starts fine at boot. Maybe dmesg has clues?

Never used dmesg before. What parameters should I use after the command to have info regarding adguardhome?

I had a quick look on mine and it seems there is no logging to buffer from AdGuard. Or to /var/, sorry.
Maybe you could log it as a query in github https://github.com/opnsense/plugins/issues