Habmin2 fails to open?

Hello Guys.
Trying to get HABMin2 to Work with my OH2 installation… OH2 seems to Work like it should.
I’ve followed the guide:

When accessing the http://localhost:8080/habmin/index.html i get the error 404… page not exists.
I’ve placed the Habmin and the ZWave binding in the addons library - and not done anything more? as i read it the addons shall not be “listed” somewhere?

The Habmin isn’t showing up on the dashboard when accessing localhost:8080 - but the"original" UI’s does?

What have i done wrong here?

Should the file name for the addons be:
org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15 OR org.openhab.ui.habmin??? Or does it matter?

Hi there
It’s ok for me us the new jar file.

cd /opt/openhab
wget https://github.com/cdjackson/HABmin2/releases/download/0.0.15/HABmin2-0.0.15-release.zip
cd addons
unzip …/HABmin2-0.0.15-release.zip
wget https://github.com/cdjackson/HABmin2/blob/master/output/org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar

:slightly_smiling:

Arch okay, I was just downloading the .jar file and placed in addons , and thought that was it (according to the install guide) … Where should I unpack the whole habmin folder?

Hi all
I have the same problem. Could anyone know where unzipped (https://github.com/cdjackson/HABmin2/releases/download/0.0.15/HABmin2-0.0.15-release.zip) files should be moved ? /opt/openhab/addons/habmin/ ?

Make sure you have the very latest habmin jar file from chris’s github. Shoudl have an update date of a day or 2 ago.
This is all you need. You do not need the zip file. Just place the jar file in the addons folder. I also edited the conf/services/addons.cfg and added habmin to the list of gui’s to load.

you may or may not need to enable the zwave binding in the PaperUI (can’t recall, mine is enabled but i do not remember if the habmin UI option showed up prior to enabling it or not.

I added in conf/services/addons.cfg habmin in ui section and download https://github.com/cdjackson/HABmin2/blob/master/output/org.openhab.ui.habmin_2.0.0.SNAPSHOT-0.0.15.jar
But it doesn’t work I get only Problem accessing /habmin/index.html. Reason: Not Found

I was having this problem last night as well when trying to test on a different PC. I downloaded the latest beta and uncompressed it, followed the steps above, and it worked fine.

Link I downloaded from was https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab-offline/target/openhab-offline-2.0.0-SNAPSHOT.zip

Nowhere - this step is not required. You only need to install the HABmin 2 JAR file as per the OH2 install instructions.

Just make sure the file is downloaded correctly - often when downloading binary files from github they are corrupt and you only get about 30kb - the HABmin JAR should be something like 4MB.

Just to be sure when you say install, it is only to put the file in the addon folder? Should the addons.cfg be changed? It isn’t written in the guide…

Correct.

I’m going to say no since I don’t know what that file is :wink: (maybe it’s a new Karaf file I’ve not caught up with, but I don’t think it’s needed).

Just make sure the file is downloaded correctly - often when downloading binary files from github they are corrupt and you only get about 30kb - the HABmin JAR should be something like 4MB.

Thats right i can’t undestand but when I try to download it i get only about 37 KB

When you download, click on the file, it will bring up another page and there will be a RAW button - click on that and it should download correctly.

@chris
Great. It’s works :slight_smile:
many thanks

You need the latest OH2 Build to get the Zwave 1.9.0

Otherwise I got Zwave dependency errors when adding habmin2.jar

Okay Guys…
Now i’ve tryed to download both OH2 and the Habmin2 Again and tested one more time…
I still can’t get this working… The standard UI’s exists and Work, but the Habmin doesn’t Work at all…

I can’t see it from the Dashboard, or when entering http://localhost/habmin/index.html - nothing appears.

I’ve downloaded and unzipped the OH2.0.0 (Also Tested OH2.0.0B1) , putted the Habmin.jar file in the addons (the files is around 4mb when downloaded from GIT)

Then i start the OH2 with the .bat file, and the “main window” opens in the console, and then the normal UI’s Work… But NOT The Habmin… What do i do wrong?

I get following Errors in the Log:

'016-01-20 19:02:48.509 [ERROR] [org.apache.felix.fileinstall        ] - Failed to install artifact: D:\openHab\OH2\OH2    \addons\org.openhab.ui.habmin.jar
org.osgi.framework.BundleException: A bundle is already installed with the name "org.openhab.ui.habmin" and     version "2.0.0.201601172020"
at org.eclipse.osgi.container.ModuleContainer.install(ModuleContainer.java:254)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.storage.Storage.install(Storage.java:515)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle(DirectoryWatcher.java:1030)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:946)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:865)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:482)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)       [8:org.apache.felix.fileinstall:3.5.0]'

Seems like the problems is from the zwave package, when starting the OH2 with only zwave.jar and not the habmin

`2016-01-20 19:06:16.077 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle:      file:/D:/openHab/OH2/openhab-offline-2.0.0-SNAPSHOT/addons/org.openhab.binding.zwave.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [166]
  Unresolved requirement: Import-Package: gnu.io

at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:509)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[8:org.apache.felix.fileinstall:3.5.0]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[8:org.apache.felix.fileinstall:3.5.0]`

@chris Would it maybe be a good moment to move the HABmin2 repo to the openHAB org on Github, have it build on the Cloudbees and included as a Karaf feature in openHAB 2? This might make the installation process much smoother for people :slight_smile:

3 Likes

No solution for this?

My Habmin2 works but the instruction state you need to goto http://server/habmin/index.html mine only works with http://server/habmin2/index.html

Trying to follow this thread:

Seems like the same problem… :slightly_smiling:

Please note … Habmin2 does work.
You must install zwave binding mandatory.