Cannot install binding http1

Hi all,
Since last update yesterday, i see that oh1 bindings have a 1 in their names (http1, xbmc1, ipx8001, …). So i changed my addons.cfg but i cant install them (and openhabcloud dont install since he wants the http binding)

Here is the error in my log file :

2016-12-21 12:25:13.714 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-http1': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-http; type=karaf.feature; version="[1.9.0.SNAPSHOT,1.9.0.SNAPSHOT]"; filter:="(&(osgi.identity=openhab-binding-http)(type=karaf.feature)(version>=1.9.0.SNAPSHOT)(version<=1.9.0.SNAPSHOT))"

What did i miss ?
Thanks

just notice that when i launch OH2 i see :

                               Build #629

Is it normal ? i just download the latest snapshot

I can’t explain your installation issues but the Build #XXX is normal. Every snapshot lists the Build number and OH gets a new build every day.

There is a bug right now that is not updating the “branding” so this number may not change for awhile until the bug gets fixed.

How long ago was the version you upgraded from? A couple of weeks ago a change was made that changed the database that stores the config.

Try a restart after that error and see what happens. I’ve encountered some timing errors in the past where a binding refuses to install because of a missed binding. But if I wait for it to finish doing its startup thing and then reboot everything gets installed correctly.

Hi guys, I’ve lost all of my http items. Is it related to this bug?

Thanks for the explanation
My version is not old, i already have the JSON one

The main problem is that openhabcloud dont want to install because oh http binding…
dont understand why… i already restart a lot of time and it’s the same…

Probably not. If you were on an older version of OH 2 and had defined your Items in PaperUI or Habmin, there was a breaking change recently which changed the configuration DB requiring you to redefine anything you defined in the UIs.

How can I do that? Should I clean DB?

When you updated it would have switched over to the new database automatically. You don’t have to do anything special.

If you want to reset it by hand, you can delete the contents of your userdata folder (/var/lib/openhab2) and when OH 2 starts it will act like a brand new install.

1 Like