Unable to create OpenWRT firmware snapshot with adguardhome package

The firmware selector shows this warning:

Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.1.82-1-d9dbb4ef501bca8204690592f8179c05/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.1.82-1-d9dbb4ef501bca8204690592f8179c05/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * opkg_install_cmd: Cannot install package adguardhome.
make[2]: *** [Makefile:189: package_install] Error 255
make[1]: *** [Makefile:154: _call_manifest] Error 2
make: *** [Makefile:279: manifest] Error 2

That package is currently having issues building on snapshot: https://downloads.openwrt.org/snapshots/faillogs/aarch64_cortex-a53/packages/adguardhome/

Thanks. Is there any prediction to resolve the problem?

The package exists with stable 23.05. Do you need the snapshot version?
https://downloads.openwrt.org/releases/23.05.3/packages/aarch64_cortex-a53/packages/adguardhome_0.107.36-1_aarch64_cortex-a53.ipk

It will be fixed as soon as someone who cares about the failure puts in some time to fix it. So, maybe soon or maybe never, no way to tell.

1 Like

Opened an issue here already: https://github.com/openwrt/packages/issues/23933

@badulesia the 0.107.36 package is not the latest version (should be 0.107.48).

1 Like

I noticed you made some updates to the original script in the repository you created: https://github.com/nextgen-networks/glinet.forum/commits/main/scripts/update-adguardhome

Do you plan to support it until the OpenWRT team implements it by default?

It would be a great help for everyone in the community! :smiley:

I'll try my best :slight_smile:
Idea behind is to have always the latest AGH version installed as long as the opkg AdGuardHome package has no stable availability or is not updated frequently.
I'll also do some cleanup stuff in the script within the next weeks.
In general it seems to be working in my BPI-R4.
Any reports/hints/collaboration to have the script running stable on other platforms is welcome.

Sidenote:
I didn't find a quick/easy way to find out who's the maintainer of the AGH package for cortex_a53 therefore decided to fork that script.

Thank you for your efforts. In this case, the main issue involving Adguardhome was the inability to update it through its interface (192.168.1.1:3000), as it reported the error below:

Adguardhome

It was necessary to wait for the opkg update, and this took many days or even weeks. Now, with your script, even if opkg is outdated, this problem can be easily resolved through the Adguardhome GUI.

If you really wish to keep the script, I recommend removing the mentions of the GL.inet company and treating it as a new repository. In this way, we could request that it be included in the Official Wiki: https://openwrt.org/docs/guide-user/services/dns/adguard-home