Home Assistant Community Add-on: AdGuard Home

Same here, after auto-update:

couldn't start forwarding DNS server: couldn't listen to UDP socket, cause: listen udp [fe80::7d4d:3999:d4f2:5c2c]:53: bind: invalid argument.

Removed the addon and re-installed it, now giving:

[cont-init.d] adguard.sh: executing... 
/var/run/s6/etc/cont-init.d/adguard.sh: line 27: null: unbound variable
[cont-init.d] adguard.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.Same here, after auto-update:
couldn't start forwarding DNS server: couldn't listen to UDP socket, cause: listen udp [fe80::7d4d:3999:d4f2:5c2c]:53: bind: invalid argument.

Removed the addon and re-installed it, now giving:
[cont-init.d] adguard.sh: executing... 
/var/run/s6/etc/cont-init.d/adguard.sh: line 27: null: unbound variable
[cont-init.d] adguard.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.

Never have auto-update checked.

As a matter of interest, does the auto-update create a snapshot as it does (ask) for a manual update? If so roll back to the snapshot.

You do do nightly backups automatically; donā€™t you? :laughing:

Same here since last updat

Thank God for backupsā€¦ Same issue here haha, restoring to previous version fixed itā€¦

Version 4.0.0 works, 4.1.2 gets bad gateway error and wonā€™t load

Same Problem here :sleepy:, screwed my entire HA OS installation, definetly disable auto-update from all add-ons

I couldnā€™t find one AND was on auto update :wink:

at least i have two solutions: 1 rollback the entire VM from snapshots 2 tell the network to use another DNS server while this gets fixed.

Use that auto backup plugin in futureā€¦ Saved my ass sooooo many times :wink:

Google drive backup plugin thingyā€¦

Thought I was going crazy lets hope this gets resolved quickly!

Yes because Frenck wanted it opened in a different place. I have recreated the issue here: Adguard broke in 4.1.2 Ā· Issue #185 Ā· hassio-addons/addon-adguard-home Ā· GitHub

HOWEVER, Frenck advises this is fixed in 1.4.3 which I can CONFIRM! FIXED.

Oh wow, I literally am watching this unfold in real time.
image

Now, I understand I could wait for the 4.1.3 to trickle down to me. But for uninitiated and impatient folks like me, and out of curiosity, how would one manually pull the add-on update if he/she wants to?

It was waiting there for me. Did you refresh the page?

Iā€™ve restarted the core, reloaded the supervisor, and even rebooted the host, and not seeing it.
Hence the question.

So, in general, how do one forces update those add-ons to some specific version? Do I issue some command lines from the local console? Could this be done via the portainer add-on?

it just popped up for me. However im still having the same issue

Iā€™ve just reinstalled it too and Iā€™m getting the same error again:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: AdGuard Home
 Network-wide ads & trackers blocking DNS server
-----------------------------------------------------------
 Add-on version: 4.1.3
 You are running the latest version of this add-on.
 System: Home Assistant OS 5.13  (armv7 / raspberrypi4)
 Home Assistant Core: 2021.5.5
 Home Assistant Supervisor: 2021.04.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] adguard.sh: executing... 
/var/run/s6/etc/cont-init.d/adguard.sh: line 29: null: unbound variable
[cont-init.d] adguard.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
1 Like

Same broken system here. Though tracked my issue down to the AdGuard add-on binding to the hassio IP instead of the main IP

2021/05/20 11:47:52.822930 [info] Starting the DNS proxy server
2021/05/20 11:47:52.822963 [info] Cache TTL override is enabled. Min=30, Max=30
2021/05/20 11:47:52.822971 [info] Ratelimit is enabled and set to 20 rps
2021/05/20 11:47:52.822979 [info] The server is configured to refuse ANY requests
2021/05/20 11:47:52.822986 [info] DNS cache is enabled
2021/05/20 11:47:52.822994 [info] MaxGoroutines is set to 300
2021/05/20 11:47:52.823007 [info] Creating the UDP server socket
2021/05/20 11:47:52.823127 [info] Listening to udp://172.30.32.1:53
2021/05/20 11:47:52.823139 [info] Creating a TCP server socket
2021/05/20 11:47:52.823199 [info] Listening to tcp://172.30.32.1:53
2021/05/20 11:47:52.823334 [info] Entering the UDP listener loop on 172.30.32.1:53
2021/05/20 11:47:52.823353 [info] Entering the tcp listener loop on 172.30.32.1:53

This used to work correctly.

Changing the IP in AdGuardHome.yaml makes no difference as this is rebuilt on restart.

Hi All, Iā€™m getting more or less same same issues - but i have no idea how to force an upgrade. Appreciate some advice on how to do this.
Or, if itā€™s a reinstall, will uninstalling wipe my settings?

What I did:

Supervisor - Add-On Store - three dots top right - Reload

Then the update showed up when I click into Adguard Home add on

Me too, since updating to 2021-5.5 and I get this error

21-05-20 10:56:11 INFO (MainThread) [supervisor.api.security] /network/interface/default/info access from a0d7b954_adguard
21-05-20 10:56:15 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-1212621' coro=<Scheduler._run_task.<locals>._wrap_task() done, defined at /usr/src/supervisor/supervisor/misc/scheduler.py:58> exception=TypeError('an integer is required (got type str)')>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/misc/scheduler.py", line 62, in _wrap_task
    await task.coro_callback()
  File "/usr/src/supervisor/supervisor/misc/tasks.py", line 416, in _watchdog_addon_application
    if addon.in_progress or await addon.watchdog_application():
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 479, in watchdog_application
    return await self.sys_run_in_executor(check_port, self.ip_address, port)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/supervisor/supervisor/utils/__init__.py", line 43, in check_port
    result = sock.connect_ex((str(address), port))
TypeError: an integer is required (got type str)
21-05-20 10:56:19 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:63947 ssl:default [Connect call failed ('172.30.32.1', 63947)]

Your error is being tracked in GitHub here. Join the conversation as you may have useful info for Frenck AdGuard Home doesn't start: /var/run/s6/etc/cont-init.d/adguard.sh: line 29: null: unbound variable Ā· Issue #181 Ā· hassio-addons/addon-adguard-home Ā· GitHub

Boom, done. Thanks!