Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openhab-core-automation-api] Feature is missing #4841

Closed
tsvsj opened this issue Feb 9, 2019 · 3 comments
Closed

[openhab-core-automation-api] Feature is missing #4841

tsvsj opened this issue Feb 9, 2019 · 3 comments

Comments

@tsvsj
Copy link

tsvsj commented Feb 9, 2019

Hi,

since installing the last SNAPTSHOT from http://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main (2.5.0~S1518-1), openHAB is no longer working, because it continuesly fails to install all dependencies. Several features require the feature openhab-core-automation-api, which is no longer available.

I see tons of messages, that openHAB failed to install almost all of my bindings, because they are related to openhab-misc-ruleengine, which required openhab-core-automation-api.

Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-misc-ruleengine; type=karaf.feature; version="[2.5.0.SNAPSHOT,2.5.0.SNAPSHOT]"; filter:="(&(osgi.identity=openhab-misc-ruleengine)(type=karaf.feature)(version>=2.5.0.SNAPSHOT)(version<=2.5.0.SNAPSHOT))" [caused by: Unable to resolve openhab-misc-ruleengine/2.5.0.SNAPSHOT: missing requirement [openhab-misc-ruleengine/2.5.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-automation-api; type=karaf.feature]

While checking the availability of the addon, I wasn't able to find it.

openhab> feature:install openhab-core-automation-api
Error executing command: No matching features for openhab-core-automation-api/0

openHAB fails to work since that issue exists. Could someone please explain and help?

I'm working on Ubuntu 18.04.

Thanks in advance.

Regards,
Sven

@tsvsj
Copy link
Author

tsvsj commented Feb 9, 2019

Downgraiding to the previous version (openhab2:all=2.5.0~S1512-1) fixed this temporarily for me. So there's defintely something wrong with the last update.

# awk '$1 == "2019-02-09" && $3 == "upgrade" {print $4"="$5}' /var/log/dpkg.log
openhab2:all=2.5.0~S1512-1
# apt install openhab2:all=2.5.0~S1512-1

Hope that helps someone, running into the same issue.

@cweitkamp
Copy link
Contributor

Thanks for reporting this issue. We already have a fix for it in the pipeline (#4840).

@MatziBrow
Copy link

Downgraiding to the previous version (openhab2:all=2.5.0~S1512-1) fixed this temporarily for me. So there's defintely something wrong with the last update.

awk '$1 == "2019-02-09" && $3 == "upgrade" {print $4"="$5}' /var/log/dpkg.log

openhab2:all=2.5.0~S1512-1

apt install openhab2:all=2.5.0~S1512-1

Hope that helps someone, running into the same issue.

It seems that I face the same issue. However going back with
apt install openhab2:all=2.5.0~S1512-1
did not work. I also tried
apt install openhab2-addons:all=2.5.0~S1512-1
Still not starting.
Someone can help?
Thanks in advance!

Log:

2019-02-09 16:38:42.988 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-persistence-mapdb, openhab-binding-exec, openhab-binding-yahooweather, openhab-misc-openhabcloud, openhab-binding-avmfritz, openhab-ui-habot, openhab-binding-network, openhab-persistence-influxdb, openhab-binding-amazonechocontrol, openhab-ui-habpanel, openhab-persistence-gcal, openhab-binding-mqtt, openhab-binding-netatmo, openhab-transformation-map, openhab-binding-onewire, openhab-ui-classic, openhab-binding-lgwebos, openhab-binding-kodi, openhab-ui-habmin, openhab-transformation-xslt, openhab-action-mqtt, openhab-transformation-exec, openhab-binding-systeminfo, openhab-ui-paper, openhab-binding-wol1, openhab-transformation-scale, openhab-binding-http1, openhab-ui-homebuilder, openhab-misc-market, openhab-transformation-javascript, openhab-binding-plex1, openhab-binding-sonos, openhab-transformation-regex, openhab-misc-ruleengine, openhab-binding-yamahareceiver, openhab-transformation-jsonpath, openhab-binding-miio, openhab-binding-mihome, openhab-persistence-mqtt, openhab-transformation-xpath, openhab-ui-basic, openhab-binding-ntp, openhab-action-pushbullet, openhab-binding-openweathermap, openhab-binding-meteoblue, openhab-binding-knx, openhab-action-mios': 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=org.openhab.extensionservice.marketplace.automation; type=osgi.bundle; version="[2.5.0.201902081421,2.5.0.201902081421]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.extensionservice.marketplace.automation/2.5.0.201902081421: missing requirement [org.openhab.extensionservice.marketplace.automation/2.5.0.201902081421] osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.core.automation.parser)"]]
2019-02-09 16:38:59.956 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard

@wborn wborn removed PR pending There is a pull request for resolving the issue labels Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants