I figured I'd document this for anyone else who saw errors like this:
21-12-11 08:43:29 WARNING (MainThread) [supervisor.addons.options] Option 'ssl' does not exist in the schema for UniFi Network Application (a0d7b954_unifi)
21-12-11 08:43:29 WARNING (MainThread) [supervisor.addons.options] Option 'certfile' does not exist in the schema for UniFi Network Application (a0d7b954_unifi)
21-12-11 08:43:29 WARNING (MainThread) [supervisor.addons.options] Option 'keyfile' does not exist in the schema for UniFi Network Application (a0d7b954_unifi)
e.g. issue #320
The cause, as discussed in that issue, is the upgrade from 0.x to 1.x, which removed support for SSL.
I figured I'd document this for anyone else who saw errors like this:
e.g. issue #320
The cause, as discussed in that issue, is the upgrade from 0.x to 1.x, which removed support for SSL.
The recommendation was to backup, remove, and reinstall the addon, per https://github.com/hassio-addons/addon-unifi/issues/316#issuecomment-978072067.
But it's actually sufficient to just remove those lines from the configuration. The easiest way I found to do it was to:
Click the Configuration tab for the "UniFi Network Application"
Click the [...] in Options, and click "Edit in YAML"
Delete the ssl, certfile, and keyfile lines in the YAML editor and save.
It'll ask if you want to restart the add-on - do so, and it'll reload, and no more warnings!
Click [...] to go back to the visual editor if you want.
Hope this helps anyone else who's searching the Issues for this warning!