@Heriberto Silva Alves,
Your theory proves to be correct about where the release version of AdGuardHome_linux_armv7.tar.gz is being retrieved from.
@kamoj,
Through trial and error, I saw that the beta download works because it is retrieved using the URL starting with
https://static.adguard.com/adguardhome/beta
I was able to get the release download to work by updating the addon_adguard.sh script to use the combination of DL_URL2="
https://static.adguard.com/adguardhome/release" and AGH_tar="AdGuardHome_linux_armv7.tar.gz"
After that update I was able to use the "Download Latest Version" button to download the current release v0.107.3
It does not work if the script attempts to download from
https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.3/AdGuardHome_linux_armv7.tar.gz because the response is not the actual download file itself, as shown below:
Code:
root@R7800:/usr/bin$ curl --insecure --connect-timeout 5 --max-time 30 -o /tmp/AdGuardHome_linux_armv7.tar.gz https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.3/AdGuardHome_linux_armv7.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 667 100 667 0 0 5728 0 --:--:-- --:--:-- --:--:-- 6063
root@R7800:/usr/bin$ cat /tmp/AdGuardHome_linux_armv7.tar.gz
<html><body>You are being <a href="https://objects.githubusercontent.com/github-production-release-asset-2e65be/62712899/18748da5-ed3b-4af1-8eed-61d47b948949?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220204%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220204T050424Z&X-Amz-Expires=300&X-Amz-Signature=88b779f0df361b079c8481edba430b7cb13bf8c7f34b9e9a24359bc02a899656&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=62712899&response-content-disposition=attachment%3B%20filename%3DAdGuardHome_linux_armv7.tar.gz&response-content-type=application%2Foctet-stream">redirected</a>.</body></html>root@R7800:/usr/bin$