Please discuss openHAB 5.0 SNAPSHOT related stuff here.
Please keep in mind, Java version 21 is needed now !
I have just upgraded successfully from 4.3.1 Release to 5.0.0 SNAPSHOT #4451 on Debian 12 on x86_64.
When installing add-ons, I sometimes have to restart openHAB because JS Scripting fails with an exception, see [jsscripting] Dropping/Updating JAR bundle causes `UnsatisfiedLinkError: Native library already loaded in another classloader` · Issue #18054 · openhab/openhab-addons · GitHub.
Fortunately is openHAB 5 SNAPSHOT restarting much faster than openHAB 4.3.
On Raspi 4 the new OH 5.0 works perfectly. Updating with openhabian doesnât work, but apt upgrade is ok.
Using docker on Synology NAS OH 5.0 has problems connecting to influxdb and the UI is not reachable.
OH 5.0 4462 is working well on docker Syno Nas. Problem was, if you set and store the parameters for influxdb persistance without the token ( had no time to do that at that moment), OH is busy to connect to influxdb without success. The Main UI is not reachable anymore.
If you can reliably reproduce this, can you please open an issue on GitHub - openhab/openhab-addons: Add-ons for openHAB?
I tried the installation several times. Allways the same.
I filed the issue, hopeful someone can understand it.
My guess that it doesnât automatically update the JDK (at least that is what I experienced) and @ecdye mentioned that this is on their list but not yet implemented, so it will fail therefore.
Correct, I have a PR in progress to add support so it should be up soon.
Trying to install my latest zwave S2 build with OH5, but am getting âError reading bundle contentâ error (see below).
I have rebased my code against openhab/org.openhab.binding.zwave: openHAB binding for Z-Wave but I donât see any OH5 specific updates in the commit history⊠is there something I need to do to make my zwave jar OH5 compatible?
openhab> bundle:install file:///D/code/eclipse/openhab-openhab9/git/org.openhab.binding.zwave/target/org.openhab.binding.zwave-5.0.0-SNAPSHOT.jar
Bundle IDs:
Error executing command: Error installing bundles:
Unable to install bundle file:///D/code/eclipse/openhab-openhab9/git/org.openhab.binding.zwave/target/org.openhab.binding.zwave-5.0.0-SNAPSHOT.jar: org.osgi.framework.BundleException: Error reading bundle content.
I have the same problems related to the restart behavior and native libraries with my graalpy based pythonscripting binding.
OH 5.0 V 4474
What kind of error is this
2025-01-14 19:49:06.892 [ERROR] [ab.core.ui.icon.internal.IconServlet] - Failed sending the icon byte stream as a response: Reset cancel_stream_error
2025-01-14 19:49:06.893 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /icon/battery
java.lang.IllegalStateException: ABORTED
at org.eclipse.jetty.server.HttpChannelState.sendError(HttpChannelState.java:915) ~[?:?]
at org.eclipse.jetty.server.Response.sendError(Response.java:473) ~[?:?]
at org.openhab.core.ui.icon.internal.IconServlet.doGet(IconServlet.java:149) ~[?:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:497) ~[bundleFile:4.0.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:584) ~[bundleFile:4.0.4]
at org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet.service(OsgiInitializedServlet.java:102) ~[?:?]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[?:?]
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) ~[?:?]
at org.ops4j.pax.web.service.spi.servlet.OsgiFilterChain.doFilter(OsgiFilterChain.java:113) ~[?:?]
at org.ops4j.pax.web.service.jetty.internal.PaxWebServletHandler.doHandle(PaxWebServletHandler.java:334) ~[?:?]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[?:?]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[?:?]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[?:?]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[?:?]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[?:?]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[?:?]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) ~[?:?]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[?:?]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) ~[?:?]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[?:?]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[?:?]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) ~[?:?]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[?:?]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234) ~[?:?]
at org.ops4j.pax.web.service.jetty.internal.PrioritizedHandlerCollection.handle(PrioritizedHandlerCollection.java:96) ~[?:?]
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:731) ~[?:?]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[?:?]
at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[?:?]
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) ~[?:?]
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) ~[?:?]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) ~[?:?]
at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:439) ~[?:?]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:193) ~[?:?]
at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:148) ~[?:?]
at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:371) ~[?:?]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[?:?]
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) ~[?:?]
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) ~[?:?]
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) ~[?:?]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[?:?]
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[?:?]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[bundleFile:9.4.54.v20240208]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[bundleFile:9.4.54.v20240208]
at java.lang.Thread.run(Unknown Source) [?:?]
Default widget order index in UI Model - metadata
I use an index like x.y where x and y range is from 0-9. in the past 3.3 came after 3.0. Since some updates the sorting has changed to a new sort sequence. Now itâs 1234567890 instead of 0123456789. That breaks my whole system
I changed the sorting to parse the value as integer, because previously it was not explicitly parsing the value and instead considering stuff like string length.
I will fix that to parse float.
Thankâs , works great again. Is this parameter editable in any json file in userdata/jsondb?
Hmm canât work again, didnât change anything for now.
What do you mean with editable?
Thatâs funny. Old items have again 3.0 , 3.1 etc sorting but new ones donât care.
My question was , in which file can I find the parameter âwidget orderâ, so I can edit or add them without checking each separat item in the main UI
I think there is a metadata JSONDB in $OPENHAB_USERDATA/jsondb.
If the Items are defined through files, you can find the metadata in the {} brackets.
If you mean /Items.Metadata.json , there is no parameter for widget order
I am now on Build #4670.
Everything seems to run so far.
But the Doorbird binding does not work. Thing is online but the channels are not updating.
Anyone has an idea?