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

Can't install any bindings in fresh install #4812

Closed
MadOtis opened this issue Feb 6, 2019 · 1 comment
Closed

Can't install any bindings in fresh install #4812

MadOtis opened this issue Feb 6, 2019 · 1 comment

Comments

@MadOtis
Copy link

MadOtis commented Feb 6, 2019

Just spun up a brand-new OpenHABianPi install (version 2.4.0). I ran into the apt-upgrade issue with not being able to connect to the mirror detection link and was able to do a successful install/build of openHABian after adjusting the /etc/apt/sources.list file (found elsewhere) and openhabian installed apparently successfully.

After browsing to the GUI at http://openhabianpi:8080 and stepping through the initial setup and install of PaperUI, I proceeded to the add-ons section to install network binding. It just sits there and the install button turned into a circle and spins indefinitely.

Expected Behavior

Network binding should install

Current Behavior

Network install doesn't succeed and merely sits at the spinning circle, indefinitely.

Steps to Reproduce (for Bugs)

  1. Allow OpenHABianPi to install successfully
  2. Perform first steps setup in the OpenHAB2 UI
  3. Click on the "Add-ons" link on the left
  4. Select any binding and click on the Install button

Context

I'm trying to install ANY binding.

Resulting log messages in the log files:
`
2019-02-05 19:43:03.521 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-network': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-network; type=karaf.feature; version="[2.4.0,2.4.0]"; filter:="(&(osgi.identity=openhab-binding-network)(type=karaf.feature)(version>=2.4.0)(version<=2.4.0))" [caused by: Unable to resolve openhab-binding-network/2.4.0: missing requirement [openhab-binding-network/2.4.0] osgi.identity; osgi.identity=org.openhab.binding.network; type=osgi.bundle; version="[2.4.0,2.4.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.network/2.4.0: missing requirement [org.openhab.binding.network/2.4.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.apache.commons.net.util)"]]

2019-02-05 19:43:47.917 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-harmonyhub, openhab-binding-network': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-network; type=karaf.feature; version="[2.4.0,2.4.0]"; filter:="(&(osgi.identity=openhab-binding-network)(type=karaf.feature)(version>=2.4.0)(version<=2.4.0))" [caused by: Unable to resolve openhab-binding-network/2.4.0: missing requirement [openhab-binding-network/2.4.0] osgi.identity; osgi.identity=org.openhab.binding.network; type=osgi.bundle; version="[2.4.0,2.4.0]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.network/2.4.0: missing requirement [org.openhab.binding.network/2.4.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.apache.commons.net.util)"]]
`

Your Environment

  • Version used: OpenHABian 2.4.0 - add-ons v: 2.4.0 (I assume, they were installed as part of the image setup
  • Environment name and version (e.g. Chrome 39, node.js 5.4, Java 8, ...): OpenHABian 2.4.0; all default versions
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...): OpenHABian (Raspbian Stretch)
@wborn
Copy link
Member

wborn commented Feb 8, 2019

This issue should be fixed in 2.5.0-SNAPSHOT with openhab/openhab-core#545.

The workaround in 2.4.0 is to install the Standard package instead of the Simple package during initial setup.

Another workaround is to add the commons-net feature dependency using The Console:

feature:install esh.tp-commons-net

@wborn wborn closed this as completed Feb 8, 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

2 participants