I just set up openwrt on a raspberry pi 4 following the guide below.
I am unable to get adguardhome service to start and its not giving me any errors. Without any error messages I'm not sure where to start. When I googled the issue, all the post that came up with similar issues were getting error messages.
Now I did this some time ago so the steps might not be accurate. Specifically I recall that at one stage I used my mac to extract AdGuardHome and then copied it via scp to the router. Also the link to AdGuardHome might be out of date.
@sdj2005 what version of Openwrt are you running. As far as I can recall, someone mentioned AdGuard Home has a package in the latest firmware. I may be wrong, I'm not using it.
As luck would have it, I needed to install openwrt on my new OrangeOi R1+. The instructions I used above were months old and sdj2005 makes the point correctly that they are outdated. I found a simpler way to set up though. I just copied /root/AdGuardHome to /usr/bin after tar extract and it all worked
Use the 107 edge build. there are a number of horrible issues with AGH below 107. The edge build is far more fixed. the opkg version that is openwrt is 104 and utterly useless.
theres a more recent guide that summerises the old thread.
(tbh their install script should test for everything it requires and fail out if you dont have the required dependancies but it doesnt. I do keep meaning to do a clean openwrt install and figure out what is missing and file an issue with AGH to check for it but i've been too busy.)
generally its sudo missing that is the issue (it wont install the service otherwise.)
Use the 107 edge build. check the two other posts i listed. you can see the history of fixes.
I got AGH team to do some fixes for 107. the 104 version that is in openwrt repository? It installs to /tmp so every time you reboot the router you will have to reset up AGH. Really should be removed.