Can't run the adguardhome setup

Not sure that i can't run the adguardhome installation, everything looks good for the installation file.

root@OpenWrt:/overlay/AdGuardHome# ./AdGuardHome
./AdGuardHome: line 1: syntax error: unexpected "("
root@OpenWrt:/overlay/AdGuardHome#
root@OpenWrt:/overlay/AdGuardHome# ls -al
drwxrwxrwx    2 root     root          4096 Oct  2 14:45 .
drwxr-xr-x    7 root     root          4096 Oct  2 14:44 ..
-rwxrwxrwx    1 root     root      37486592 Sep 30 00:30 AdGuardHome
-rw-rw-rw-    1 root     root           587 Sep 30 00:30 AdGuardHome.sig
-rw-r--r--    1 root     root         53374 Sep 30 00:30 CHANGELOG.md
-rw-r--r--    1 root     root         35149 Sep 30 00:30 LICENSE.txt
-rw-r--r--    1 root     root         23266 Sep 30 00:30 README.md
root@OpenWrt:/overlay/AdGuardHome#
root@OpenWrt:/overlay/AdGuardHome# uname -a
Linux OpenWrt 5.10.138 #0 SMP Sat Sep 3 02:55:34 2022 mips GNU/Linux
root@OpenWrt:/overlay# wget https://github.com/AdguardTeam/AdGuardHome/releases/download
7.14/AdGuardHome_linux_mips_softfloat.tar.gz
Downloading 'https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.14/AdGuardHome_linux_mips_softfloat.tar.gz'
Connecting to 20.205.243.166:443
Redirected to /github-production-release-asset-2e65be/62712899/86e066da-b07b-4609-b767-05589790e4c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221002%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221002T064240Z&X-Amz-Expires=300&X-Amz-Signature=1959dba24b8a1afe1331dcecc254f7512588b8913ca6707ebb8b467c9adb23bd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=62712899&response-content-disposition=attachment%3B%20filename%3DAdGuardHome_linux_mips_softfloat.tar.gz&response-content-type=application%2Foctet-stream on objects.githubusercontent.com
Writing to '86e066da-b07b-4609-b767-05589790e4c1?X-Amz-Algorithm=AWS4-HMAC-SHA256'
86e066da-b07b-4609-b 100% |*******************************| 10554k  0:00:00 ETA
Download completed (10807495 bytes)
root@OpenWrt:/overlay#  


Might need a proper shell, not the busybox version.

And don't update the packages in openwrt.

1 Like

I believe you might have the wrong version. Seen this before when someone used MIPS instead of MIPSLE.

Use the script to install AGH. It will detect and grab the correct version for your platform.

1 Like