hassio-addons / addon-adguard-home

AdGuard Home - Home Assistant Community Add-ons
https://addons.community
MIT License
388 stars 48 forks source link

Options don't exist in schema #353

Closed TimTechToo closed 1 year ago

TimTechToo commented 1 year ago

Problem/Motivation

AdGuard Version: v0.107.13; Hassio 9.2; Core 10.3; RaspberryPi 4; Using router DHCP. each client DNS set to RaspberryPi 192.168.2.13 address. AdGuard Home DNS server is listening on 192.168.2.13 & 172.30.32.1 See multiple repetitive warnings in my supervisor logs 22-10-12 13:27:41 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:27:41 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:38 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:38 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:38 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:38 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:38 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:38 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:43 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:32:43 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:37:45 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:37:45 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:42:47 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:42:47 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:47:49 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:47:49 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:49:49 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:49:49 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:50:16 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:50:16 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:52:51 WARNING (MainThread) [supervisor.addons.options] Option 'dns' does not exist in the schema for AdGuard Home (a0d7b954_adguard) 22-10-12 13:52:51 WARNING (MainThread) [supervisor.addons.options] Option 'bind_hosts' does not exist in the schema for AdGuard Home (a0d7b954_adguard)

Expected behavior

No warnings

Actual behavior

Nothing misbehaving that I know of but I'm no expert

Steps to reproduce

Check System\Logs\Supervisor

Proposed changes

Is this warning indicative of an AdGuard misconfiguration?

frenck commented 1 year ago

Yes? I'm not sure what the issue is you are trying to raise?

TimTechToo commented 1 year ago

I'm sorry if my post is not properly formatted or if this was the wrong place to post. However, I have been seeing these warnings in my supervisor logs. I've googled the warning to find out what they mean without success. I didn't know anywhere else to solicit an answer to the question: is this warning indicative of an error or misconfiguration? If the warning is due to a coding problem, I thought I would let the authors know...

frenck commented 1 year ago

It is a warning about you have set configuration parameters in your add-on configuration that don't exist. That is a user error, not something I can do anything about.

Go to the add-on configuration and clean up/remove/fix invalid configuration items from it and save the configuration.

../Frenck