The stock firmware firewall rules are correct.
Last year December were discussed after updated adguard home.
Just wanted to pop in and say thank you!
The script works great on the MT-6000.
So...My version of Adguard Home was 0.107.47 (IIRC). I ran the command at the top of this post (wget -O update-adguardhome.sh https://raw.githubusercontent.com/Admonstrator/glinet-adguard-updater/main/update-adguardhome.sh && sh update-adguardhome.sh).
The version of Adguard Home updated to 0.107.52 which is the current version. As I said in another post, the "AdGuard Home Handle Client Requests" toggle doesn't work after restarting the router and some clients multiple times. Also, the stats aren't showing any recent activity.
The AH query page is blank.
Any ideas? Should I manually revert this out? I know enough about Linux to get in trouble.
Thanks.
Sorry. Forgot to post MT6000 (Flint2) running V4.6.2 with VPN Wireguard client (global proxy) and Tailscale client.
Try to disable AGH. Go to SSH or WinSCP then delete /etc/AdGuardHome. Update it again using the script. Go to routerIP:3000 and set it up with these ports: 3000, 3053 (all interfaces). Setup pass and username (doesnt matter) and check it if it works. This will delete your AGH configuration tho.
Is this a common issue?
Sometimes the update does mess up AGH thats why Im doing these extra steps and so far never had a problem.
Thanks! I followed your instructions and it's working again. The "AdGuard Home Handle Client Requests" toggle still doesn't work, but the dashboard and query pages are populating again.
I spoke too soon. There were a couple of queries that went through and nothing since. Screen shots were taken at 11:29 AM.
Because @mrschwarz advised to delete which was config.yaml modify with GL. Then not working "AdGuard Home Handle Client Requests".
Usually Disable adguard home, start @admon 's script. Then enable adguard home. Job doneππ»
Client looks weird though. It should be the actual client LAN IPs.
So...I used the procedure from @misuzu around 9:50 last night. Everything started working again. I checked this morning and the last entry in the AH query log is 1:01 this morning. I restarted the router and a few entries were made in the query log, but AH is still not working.
I am going to try to restore AH back to it's original state by following the procedure at the top of this thread. I'll try it again later.
I followed this above procedure, but AH is not working. The etc/adguardhome directory is still missing. Do I need to do something with the above backup file?
@admon Any chance you can add a release to your GitHub with the mipsle_softfloat
architecture? It's needed for the Opal, the regular mips won't work. And given the RAM constraints, a compressed version would be much nicer to have here.
Support for Opal was added, please rerun the script and report back if it works for you.
A feature for enabling saving the query log to a file was added.
See:
Is it possible to add a custom dir_path, for example pointing on my mounted HDD, to avoid writing it to the router's storage? Thanks!
EDIT: It does work.
I may think about it when doing a complete redesign of the script, thanks for the idea.
@admon Thank you for the script! Really appreciate the option to update.
I was using it and at the end successfully updated. However it was somewhat bumpy for me due to the case that my device ran out of space during the install partly because i was using the SlateAX and also i use a good amount of blocklists.
The error was as follows:
[2024-08-27 13:07:39] [β] AdGuardHome binary found, download was successful!
[2024-08-27 13:07:39] [β] Stopping Adguard Home ...
[2024-08-27 13:07:44] [β] Moving AdGuardHome to /usr/bin ...
rm: can't remove '/usr/bin/AdGuardHome': No space left on device
mv: can't remove '/usr/bin/AdGuardHome': No space left on device
chmod: /usr/bin/AdGuardHome: No space left on device
[2024-08-27 13:07:44] [β] Restarting AdGuard Home ...
In this case the system is not really usable anymore. Perhaps this case can be caught in the script before installation?
Thank you.
Could you please run df -h
?