Hi everyone,
I migrated vom OH2.5 to OH3 via openHABian - and so far most of the things work fine.
But I discovered these lines in the logs:
2020-12-23 17:12:59.430 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'exec1' does not exist - ignoring it.
2020-12-23 17:12:59.438 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'http1' does not exist - ignoring it.
2020-12-23 17:12:59.461 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'serial1' does not exist - ignoring it.
2020-12-23 17:12:59.634 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'restdocs' does not exist - ignoring it.
2020-12-23 17:12:59.644 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'paper' does not exist - ignoring it.
In OH2, these bindings were activated by an entry in the addons.cfg file in this line: binding = mqtt,exec,exec1,harmonyhub,netatmo,network,ntp,serial1,systeminfo,daikin,openweathermap,http1,unifi
But now my addons.cfg is empty (except a “package=standard”) - and I ask myself, where the information comes from to install these OH1-bindings. Where can I change this?
I already checked /var/lib/openhab/config/org/openhab/addons.config, but these bindings are not listed there…
2020-12-23 18:27:33.055 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'exec1' does not exist - ignoring it.
2020-12-23 18:27:33.064 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'http1' does not exist - ignoring it.
2020-12-23 18:27:33.080 [WARN ] [core.karaf.internal.FeatureInstaller] - The binding add-on 'serial1' does not exist - ignoring it.
2020-12-23 18:27:33.248 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'restdocs' does not exist - ignoring it.
2020-12-23 18:27:33.259 [WARN ] [core.karaf.internal.FeatureInstaller] - The ui add-on 'paper' does not exist - ignoring it.
When I look at the karaf console, the claimed features aren’t installed at all:
openhab> feature:list | grep exec
openhab-binding-exec x 3.0.0 x x x Started x openhab-addons-3.0.0 x Exec Binding
openhab-transformation-exec x 3.0.0 x x x Started x openhab-addons-3.0.0 x Exec Transformation
openhab>
I have no idea where this warning comes from…but obviously some task tries to load these addons…
Strange…this file was missing in the directory. Maybe a bug in the migration routine of openhabian?
I created it (using touch) and changed the owner to openhab; owner, group and right are now the same as most other files. After I did this, the config:update was working without troubles and now holds the expected config information.
Great! I don’t know why it complains about the missing file with openHABian. It doesn’t complain about it with the Docker and .zip distros which I mostly use.
Especially for the UIs problem is that runtime.cfg's ui = ... line is commented out. Just re-add this line and don’t include the UIs that aren’t existing anymore, this will overwrite saved config in /var/lib/openhab/config/org/openhab/addons.config and make the error message go away (at least it did it for my installation)
But for getting rid of legacy and action keys you will have to fix it using console as @wborn pointed out. Maybe this should be included in Migration to openHAB 3 | openHAB?
Hi, I’m slowly getting to upgrade. Thanks for the tips here. However it seems in my /var/lib/containers/exported_volumes/openhab_userdata/config/org/openhab/addons.config it has wrong path to “itself”:
If this still works like OH2, addons.cfg is the “real” user master file,and that is where you should make edits etc. addons.config is a system generated “cache” or working copy…
They can get out of step, and the cure was to delete addons.config, while OH is stopped. It should then be re-created from addons.cfg next boot.
where as /openhab/userdata/config/org/openhab/addons.config seems to have the configs that caused the complaints. So I’ll just in case cat the addons.config to the end of /openhab/conf/services/addons.cfg which atm has none of those things set. Just to be safe if the cache gets cleaned.