OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: beneix on October 23, 2024, 10:23:54 AM

Title: Any way to update AdGuardHome to edge release?
Post by: beneix on October 23, 2024, 10:23:54 AM
I use the AdGuardHome plugin. Normally, I update it via its web interface. At the moment, there is an issue (https://github.com/AdguardTeam/AdGuardHome/issues/6818) that has been fixed in the latest edge release (https://github.com/AdguardTeam/AdGuardHome/blob/master/README.md#test-unstable-versions) but not yet released as a stable release. I know that you can update the plugin using the command line and -u, but I assume that only looks for a new stable release. Is there any way to install instead a specific release like the edge release?
Title: Re: Any way to update AdGuardHome to edge release?
Post by: gspannu on October 24, 2024, 08:40:11 PM
Do the following:

1) Check current version
sudo /usr/local/AdGuardHome/AdGuardHome -v --version

2) Download beta/edge version of AGH as appropriate
fetch -o agh.tar.gz https://static.adguard.com/adguardhome/beta/AdGuardHome_freebsd_amd64.tar.gz
or
fetch -o agh.tar.gz https://static.adguard.com/adguardhome/edge/AdGuardHome_freebsd_amd64.tar.gz

3) Stop AGH, disable the service

4) Extract the AGH binary to the appropriate location:
sudo tar xvf agh.tar.gz -C /usr/local/;
sudo rm agh.tar.gz;
sudo rm /usr/local/AdGuardHome/LICENSE.txt;
sudo rm /usr/local/AdGuardHome/README.md;
sudo rm /usr/local/AdGuardHome/CHANGELOG.md;


5) Check version again
sudo /usr/local/AdGuardHome/AdGuardHome -v --version

6) Start AGH, enable the service
Title: Re: Any way to update AdGuardHome to edge release?
Post by: beneix on November 17, 2024, 12:15:18 PM
Thanks gspannu, I got the beta installed and it's working much better.