openhab / openhab-distro

The binary distribution of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.3k stars 391 forks source link

Unexpected WARN log The binding add-on 'xxx' does not exist - ignoring it. #1536

Closed lolodomo closed 1 year ago

lolodomo commented 1 year ago

At OH startup with snapshot 3470, I now have one line of this kind for each of my installed bindings:

22:53:14.411 [WARN ] [.core.karaf.internal.FeatureInstaller] - The binding add-on 'hue' does not exist - ignoring it.

But the binding exists and is already installed. I did not have these warnings using snapshot 3453.

lolodomo commented 1 year ago

During the startup process, these logs (one for each installed binding) appear twice:

10:01:44.722 [WARN ] [.core.karaf.internal.FeatureInstaller] - The binding add-on 'hue' does not exist - ignoring it.
...
10:02:44.665 [WARN ] [.core.karaf.internal.FeatureInstaller] - The binding add-on 'hue' does not exist - ignoring it.

First very early and then later after the loading of all my config files. Was there something recently changed ? This did not happen in snapshot 3453 (and previous).

lolodomo commented 1 year ago

When I go in Administration => Settings => Bindings, nothing is displayed.

lolodomo commented 1 year ago

I tried to download again the kar file (snapshot 3470) and put it in my addons folder but it makes no difference.

Calling the REST API returns an empty list: image

My bindings are really installed and the OH server is working well.

lolodomo commented 1 year ago

Could it be an invalid kar file ? What is strange is that the bindings were apparently correctly installed at first startup of OH.

lolodomo commented 1 year ago

When I run feature:list in the console, I find nothing about my bindings. I could try with a previous OH snapshot if this was the case.

lolodomo commented 1 year ago

If I restore my server running snapshot 3453, I can see that feature:list lists all the bindings available in the kar file. That would mean there is a problem with the more recently generated kar files ?

lolodomo commented 1 year ago

I did not reproduce the issue with the snapshot 3475. I close the issue and will reopen it in case I encounter again the problem.