[SOLVED] [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing all bindings

Tags: #<Tag:0x00007fe057106e38> #<Tag:0x00007fe057106be0> #<Tag:0x00007fe0571069b0>

(Frank Delure) #1

I upgraded from #1512 to #1518 today. Unfortunately something went wrong.

2019-02-09 14:28:56.937 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-hue, openhab-persistence-mapdb, openhab-binding-exec, openhab-binding-fritzbox1, openhab-binding-airquality, openhab-misc-openhabcloud, openhab-binding-avmfritz, openhab-binding-serial1, openhab-binding-amazonechocontrol, openhab-ui-habpanel, openhab-action-pushover, openhab-transformation-map, openhab-ui-habmin, openhab-ui-paper, openhab-binding-wol1, openhab-misc-market, openhab-transformation-regex, openhab-binding-weatherunderground, openhab-transformation-jsonpath, openhab-binding-zwave, openhab-binding-miio, openhab-binding-mihome, openhab-action-telegram, openhab-persistence-rrd4j, openhab-ui-basic, openhab-binding-fritzboxtr0641, openhab-binding-astro, openhab-binding-icloud': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-misc-market; type=karaf.feature; version="[2.5.0.SNAPSHOT,2.5.0.SNAPSHOT]"; filter:="(&(osgi.identity=openhab-misc-market)(type=karaf.feature)(version>=2.5.0.SNAPSHOT)(version<=2.5.0.SNAPSHOT))" [caused by: Unable to resolve openhab-misc-market/2.5.0.SNAPSHOT: missing requirement [openhab-misc-market/2.5.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-automation-api; type=karaf.feature]

I have already downgraded back to #1512, deleted cache and temp, did a few restarts, reinstalled all addons and did a force reinstall without success,.

(CM6.5 H102) #2

What are you running OH on and how did you install OH?

Since the error is related to your binding installs did you use the addons.cfg file or PaperUI to install all the bindings?

(CM6.5 H102) #3

Also see this issue github.

(Frank Delure) #4

Thanks for the quick answer and good to hear I don’t seem to be alone with my error. I am on openHABian - Hassle-free openHAB Setup. Bindings installed with PaperUI.

(CM6.5 H102) #5

I haven’t read thru the issue on git but it may help to delete /var/lib/openhab2/config/org/openhab/addons.config so it is regenerated with correct content. Please note that by deleting this file you will have to reinstall all your binding again (b/c they were installed via PaperUI). FYI If you have them installed in the addons.cfg file then after a restart OH will automatically reinstall the listed bindings.

(Frank Delure) #6

I deleted the file and did a restart. No progress unfortuntely. Attached screenshot show my options.

(CM6.5 H102) #7

I can’t read the error log, print to small.:smile:

You can alway’s roll back to an earlier stable version of OH with.

sudo apt-get update
apt-cache showpkg openhab2

Pick the version you want then fill in the xxxx with the version number.

sudo apt-get install openhab2=2.xxxx

openHAB Milestone builds
(Frank Delure) #8

Back in business. Thanks. For whatever reason I already went back earlier today without success. Now it worked after reinstalling all bindings.

(CM6.5 H102) #9

@frankie.delure Glad to see your back up and running.:+1:

Sometimes when changing versions you have to delete /var/lib/openhab2/config/org/openhab/addons.config and restart so OH can install everything from a clean slate.

If you would please mark the topic solved by clicking the square box (lower right corner) on the post that provided the solution. This helps other’s with a similar issue find a quick solution.


(Frank Delure) #10

My commands to Force reinstall were:

sudo apt-get -o Dpkg::Options::="--force-confask" -o Dpkg::Options::="--force-confmiss" install --reinstall openhab2=2.5.0~S1512-1
sudo apt-get -o Dpkg::Options::="--force-confask" -o Dpkg::Options::="--force-confmiss" install --reinstall openhab2-addons=2.5.0~S1512-1

I also had to get back to the #1512 addons. Otherwise the error still occurred.
#1519 doesn’t show this error anymore.

(Porthos) #11

I had the same problems after OH2 build #1518 upgrade - no addons and scheduler errors on startup. I’ve stopped OH2, removed /var/lib/openhab2/config/org/openhab/addons.config and upgraded OH2 (yesterday #1521) with no issues and additional commands.

Checking for openHAB updates - simple rule