OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: Colenat on February 10, 2023, 06:23:35 pm

Title: Adguard home plugin not starting at boot
Post by: Colenat on February 10, 2023, 06:23:35 pm
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.
Title: Re: Adguard home plugin not starting at boot
Post by: Bunch on February 10, 2023, 06:57:56 pm
How did you install the AdGuardHome?
using the following repo?
https://www.routerperformance.net/opnsense-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)
Title: Re: Adguard home plugin not starting at boot
Post by: Colenat on February 11, 2023, 07:42:51 pm
I've installed it via the plugins section. The repository is mimugmail.
Title: Re: Adguard home plugin not starting at boot
Post by: cookiemonster on February 11, 2023, 08:26:13 pm
I use the plugin too. It starts fine at boot. Maybe dmesg has clues?
Title: Re: Adguard home plugin not starting at boot
Post by: Colenat on February 12, 2023, 03:23:14 am
Never used dmesg before. What parameters should I use after the command to have info regarding adguardhome?
Title: Re: Adguard home plugin not starting at boot
Post by: cookiemonster on February 13, 2023, 10:42:55 pm
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