Hmm I´d buy you a beer… It´s standing here on my table, just waiting for you to grap it
You must have not seen the latest script… I added a link for beer donations (also in my forum profile)
Hmm… Nope I must have missed that part… Well, I guess I have to drink it myself then
I’ve released another update after the URLs changed again and added the Zigbee console, which appears to now be required.
Script version: 1.2.6
***** SUMMARY *****
Addons path: /usr/share/openhab2/addons
openHAB account: openhab
Requested action: Install or upgrade Zigbee binding
Current openHAB snapshot version: 2.5.3
Requested Zigbee version: ZigBee Library release (pre-openHAB snapshot)
Requested Zigbee library version: 1.3.1
Is this correct?
- Yes, start now
- No, take me back to the first menu
- Exit
#? 1
Uninstalling any managed binding(s) and installing serial transport…
… if prompted for a password for the Karaf console, the default password is ‘habopen’…
Logging in as openhab
Password:
Error executing command: No matching bundles
… a ‘No matching bundles’ error mesage is normal, if a binding had not been previously installed.
Backing up and uninstalling any unmanaged installs of Zigbee…
!!! It has taken more than two minutes to uninstall the Zigbee binding, so exiting !!!
I am facing this error while running the script.
no errors are seen in the logs
I wasn’t asking about errors, as I did not expect there would be any. I asked to see the openhab.log during the time the script ran to understand the issue. The script works fine for me.
What version of OH are you running?
I am using openhab version 2.5.1
Ok i will share the log while script is running.
Hi i did manual install and it seems to be working fine now…
I did the exact same upgrade attempt as @Rak123 above, installing to 1.3.1, just after installing latest OH 2.5.2-1. I did not get the 2min timeout (I did on the snapshot version though, files downloaded ok, but then timed out on installing). I do get a whole lot of stuff in the log when starting up after upgrade, but everything seems to be working ok…
2020-03-08 21:44:47.480 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.telegesis.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console.telegesis [279]
Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"
Unresolved requirement: Import-Package: org.openhab.binding.zigbee.console
-> Export-Package: org.openhab.binding.zigbee.console; bundle-symbolic-name="org.openhab.binding.zigbee.console"; bundle-version="2.5.3.202003010329"; version="2.5.3"; uses:="com.zsmartsystems.zigbee.console,org.eclipse.smarthome.core.thing"
org.openhab.binding.zigbee.console [288]
Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
2020-03-08 21:44:47.486 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.ember.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console.ember [289]
Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"
Unresolved requirement: Import-Package: org.openhab.binding.zigbee.console
-> Export-Package: org.openhab.binding.zigbee.console; bundle-symbolic-name="org.openhab.binding.zigbee.console"; bundle-version="2.5.3.202003010329"; version="2.5.3"; uses:="com.zsmartsystems.zigbee.console,org.eclipse.smarthome.core.thing"
org.openhab.binding.zigbee.console [288]
Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
2020-03-08 21:44:47.543 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console [288]
Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
2020-03-08 21:44:50.540 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFEDC59AE: Starting ZigBee device discovery
2020-03-08 21:44:50.541 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - D0CF5EFFFEBDF47F: Starting ZigBee device discovery
2020-03-08 21:44:50.542 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFED1677E: Starting ZigBee device discovery
2020-03-08 21:44:50.544 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFED15DE7: Starting ZigBee device discovery
2020-03-08 21:44:50.544 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - D0CF5EFFFE27C74C: Starting ZigBee device discovery
2020-03-08 21:44:59.341 [WARN ] [zsmartsystems.zigbee.ZigBeeExecutors] - Uncaught exception in thread TelegesisCommands-thread-1
java.lang.NullPointerException: null
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) ~[?:1.8.0_222]
at com.zsmartsystems.zigbee.dongle.telegesis.ZigBeeDongleTelegesis.telegesisEventReceivedRunnable(ZigBeeDongleTelegesis.java:773) ~[?:?]
at com.zsmartsystems.zigbee.dongle.telegesis.ZigBeeDongleTelegesis$2.run(ZigBeeDongleTelegesis.java:749) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
2020-03-08 21:44:59.777 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 14B457FFFE2D9641: Starting ZigBee device discovery
2020-03-08 21:45:00.259 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 14B457FFFE6B26EF: Starting ZigBee device discovery
2020-03-08 21:45:00.264 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zigbee:device:0000000C:14b457fffe6b26ef' to inbox.
2020-03-08 21:45:02.612 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFED223A1: Starting ZigBee device discovery
2020-03-08 21:45:02.620 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 90FD9FFFFEE9249D: Starting ZigBee device discovery
2020-03-08 21:45:02.620 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - CCCCCCFFFE58F1FE: Starting ZigBee device discovery
2020-03-08 21:45:02.626 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFEDABEED: Starting ZigBee device discovery
2020-03-08 21:45:03.326 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - D0CF5EFFFEC0C9B4: Starting ZigBee device discovery
2020-03-08 21:45:05.735 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFEAD891F: Starting ZigBee device discovery
If the instructions in this thread did not resolve your issue you have a different issue with similar symptoms. Please start a new thread.
I agree with Bruce. The warnings about resolving dependencies are normal, as long as the dependencies finally get resolved. The errors though have nothing to do with the installation script and should be brought up in another topic.
To be clear, I referenced rak123 because I did not get his error, so just added that info, sorry for confusing things.
Regarding my problem though, I see no sign that the dependencies gets resolved and I get the same errors the next time I start up the system, so I can’t really agree that we can rule out problems with the script.
I found some missing libraries for the Zigbee console. Try the latest and see if the dependencies are now resolved.
Installs fine and boots up without any errors now. Thank you!
I updated my openhab instance to the latest stable version (Openhab 2.5.4) and updated also the Zigbee binding to the latest version using this script (Script 1.2.7).
When booting openhab, I get the following error in the log, but even the binding seems to be working.
2020-05-09 12:27:33.415 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 00158D0004116DF3: Starting ZigBee device discovery
2020-05-09 12:27:33.417 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 00158D00042318CF: Starting ZigBee device discovery
2020-05-09 12:27:33.420 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 00158D0004470A55: Starting ZigBee device discovery
2020-05-09 12:27:33.424 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 00158D0004A1140F: Starting ZigBee device discovery
2020-05-09 12:27:33.424 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 00158D000479A295: Starting ZigBee device discovery
2020-05-09 12:27:37.600 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/com.zsmartsystems.zigbee.console.main.jar
org.osgi.framework.BundleException: Could not resolve module: com.zsmartsystems.zigbee.console.main [312]
Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.serial; version="[1.3.0,2.0.0)"
-> Export-Package: com.zsmartsystems.zigbee.serial; bundle-symbolic-name="com.zsmartsystems.zigbee.serial"; bundle-version="1.3.4"; version="1.3.4"; uses:="com.zsmartsystems.zigbee.transport,jssc"
com.zsmartsystems.zigbee.serial [324]
Unresolved requirement: Import-Package: jssc
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
2020-05-09 12:27:37.614 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/com.zsmartsystems.zigbee.serial.jar
org.osgi.framework.BundleException: Could not resolve module: com.zsmartsystems.zigbee.serial [324]
Unresolved requirement: Import-Package: jssc
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]
@5iver does the script pull in this JAR? If so, it shouldn’t - this seems to be causing a missing dependency on jssc
library, but the console can’t run within Karaf
.
@autossincool if you see the file com.zsmartsystems.zigbee.console.main.jar
in your addons folder, please remove it and see if it starts.