Adguard home - Filter blocklist auto update on router boot

Hi there,

Sometimes i need to restart my router, and this resets the filterlists in adguard home to be empty.
If i do a manual: "check for updates" the lists load to full, and hence they start filtering my requests.
Ofcourse manually doing this each time is a small chore and i was wondering:

Is it possible to have the "check for updates" button below the adguard filterlist happen automaticaly on booting the router?

Many thanks for this project and your help.
This community is great :fire:

command is
AdGuardHome --update
Probably network wan up hotplug event is the right place.

1 Like

Thanks for the info Brada4,
Could you explain: network wan up hotplug event ?

Ah i think your talking about the startup script that my router runs ?
And i should add that line somewhere in there?

Have a good one

2 Likes

Frollic! Nice to see you here again, thanks for that. :folded_hands:

AGH downloads the filter lists automatically on start. I don't get what the problem is. Where did you install AGH from? How is it set up to run?

1 Like

I think wan is slow to start and initial update fails.

1 Like

Hi Dante ! Thanks for your reply.

From opkg update - adguard home from software in luci. Standard setup. Followed the setup in this guide https://openwrt.org/docs/guide-user/services/dns/adguard-home

it takes about 1-2min to boot

you can always disabled AGH service start, then start it manually 2 mins later after a sleep, via rc.local.
or let it start, and do a restarted after the sleep.

1 Like