Just checked my config since I did this years ago and did not remember. All my restoreatstartup items should be persisted with mapdb (I only have a mapdb.persistence file). I will see if this issue returns tomorrow after my nightly backup windowβ¦
Edit: this morning my items were successfully restored so I donβt know what happened yesterday. Maybe it was related to the update itself?
Milestonebuild 5 doesnβt start any more getting this error
2023-12-17 19:57:04.398 [ERROR] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No message body writer has been found for class com.google.gson.JsonObject, ContentType: application/json
2023-12-17 19:59:04.119 [ERROR] [internal.JSONResponseExceptionMapper] - Unexpected exception occurred while processing REST request.
javax.ws.rs.WebApplicationException: HTTP 404 Not Found
at org.openhab.core.io.rest.core.internal.item.ItemResource.postItemCommand(ItemResource.java:488) ~[?:?]
at jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) ~[bundleFile:3.6.2]
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[bundleFile:3.6.2]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201) ~[bundleFile:3.6.2]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104) ~[bundleFile:3.6.2]
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) ~[bundleFile:3.6.2]
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) ~[bundleFile:3.6.2]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304) ~[bundleFile:3.6.2]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217) ~[bundleFile:3.6.2]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:517) ~[bundleFile:4.0.4]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279) ~[bundleFile:3.6.2]
at org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet.service(OsgiInitializedServlet.java:102) ~[bundleFile:?]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) ~[bundleFile:9.4.52.v20230823]
at org.ops4j.pax.web.service.spi.servlet.OsgiFilterChain.doFilter(OsgiFilterChain.java:100) ~[bundleFile:?]
at org.ops4j.pax.web.service.jetty.internal.PaxWebServletHandler.doHandle(PaxWebServletHandler.java:320) ~[bundleFile:?]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234) ~[bundleFile:9.4.52.v20230823]
at org.ops4j.pax.web.service.jetty.internal.PrioritizedHandlerCollection.handle(PrioritizedHandlerCollection.java:96) ~[bundleFile:?]
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:722) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) ~[bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [bundleFile:9.4.52.v20230823]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) [bundleFile:9.4.52.v20230823]
at java.lang.Thread.run(Thread.java:840) [?:?]
Ok I deleted a none supportet jar file (see here) and now iopenhab starts but still getting this error during startup
Is this the correct reaction?
I also getting this error now
Failed to process script 'JS:rollershutter.js': Could not get script for UID 'JS:rollershutter.js'.
[WARN ] [.thing.internal.CommunicationManager] - No ProfileFactory found which supports profile 'transform:JS' for link 'Window_covering_device_2__TZ3000_wptayaqr_Position -> deconz:windowcovering:000000000000:a4c1385ebde6490601:position'
@Kai apropos the add-on suggestion finder: This is the first time that I have tried it on my own live operative system. Eat your own dog food. And I can confirm that when I uninstalled a couple of my existing bindings, the service discovered them once more, suggested me to install them, and indeed did install them. All good.
The 404 from @milo is the result of trying to send a command to an item, but the item is not present. This could be the result of a slow startup and not fully loaded DSL model. Do you use textual config @milo?
Your 404 is the result from a missing resource. Probably some client trying to access the REST API before all resource components are loaded.
Did this happen on initial start after upgrade or also on subsequent starts? It could be a timing issue between the installation of the scripting-add on and the transformation.
Also see this error all the time when I use the item
2023-12-17 20:38:25.449 [ERROR] [.module.script.profile.ScriptProfile] - Failed to process script 'JS:rollershuttertothing.js': Could not get script for UID 'JS:rollershuttertothing.js'.
@J-N-K You mean me? sorry some parrallel discussion started
openhab> list -s | grep openhab
155 β Active β 80 β 1.0.0 β org.openhab.base-fixes
156 β Active β 80 β 4.1.0.M5 β org.openhab.core
157 β Active β 80 β 4.1.0.M5 β org.openhab.core.addon
158 β Active β 80 β 4.1.0.M5 β org.openhab.core.addon.marketplace
159 β Active β 80 β 4.1.0.M5 β org.openhab.core.addon.marketplace.karaf
160 β Active β 80 β 4.1.0.M5 β org.openhab.core.audio
161 β Active β 80 β 4.1.0.M5 β org.openhab.core.auth.jaas
162 β Active β 80 β 4.1.0.M5 β org.openhab.core.automation
163 β Active β 80 β 4.1.0.M5 β org.openhab.core.automation.module.media
164 β Active β 80 β 4.1.0.M5 β org.openhab.core.automation.module.script
165 β Active β 80 β 4.1.0.M5 β org.openhab.core.automation.module.script.rulesupport
166 β Active β 80 β 4.1.0.M5 β org.openhab.core.automation.rest
167 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.core
168 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery
169 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.addon
170 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.addon.process
171 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.mdns
172 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.dispatch
173 β Active β 80 β 4.1.0.M5 β org.openhab.core.ephemeris
174 β Active β 80 β 4.1.0.M5 β org.openhab.core.id
175 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.console
176 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.console.karaf
177 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.http
178 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.http.auth
180 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.monitor
181 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.net
182 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest
183 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.audio
184 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.auth
185 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.core
186 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.mdns
187 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.sitemap
188 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.sse
189 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.swagger
190 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.transform
191 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.ui
192 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.rest.voice
193 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.transport.mdns
194 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.websocket
195 β Active β 80 β 4.1.0.M5 β org.openhab.core.karaf
196 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.core
197 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.item
198 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.item.ide
199 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.item.runtime
200 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.lsp
201 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.persistence
202 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.persistence.ide
203 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.persistence.runtime
204 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.rule
205 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.rule.ide
206 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.rule.runtime
207 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.script
208 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.script.ide
209 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.script.runtime
210 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.sitemap
211 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.sitemap.ide
212 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.sitemap.runtime
213 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.thing
214 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.thing.ide
215 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.thing.runtime
216 β Active β 80 β 4.1.0.M5 β org.openhab.core.model.yaml
217 β Active β 80 β 4.1.0.M5 β org.openhab.core.persistence
218 β Active β 80 β 4.1.0.M5 β org.openhab.core.semantics
219 β Active β 80 β 4.1.0.M5 β org.openhab.core.storage.json
220 β Active β 80 β 4.1.0.M5 β org.openhab.core.thing
221 β Active β 80 β 4.1.0.M5 β org.openhab.core.transform
222 β Active β 80 β 4.1.0.M5 β org.openhab.core.ui
223 β Active β 80 β 4.1.0.M5 β org.openhab.core.ui.icon
224 β Active β 80 β 4.1.0.M5 β org.openhab.core.voice
225 β Active β 80 β 4.1.0.M5 β org.openhab.ui
226 β Active β 80 β 4.1.0.M5 β org.openhab.ui.iconset.classic
278 β Active β 80 β 4.1.0.M5 β org.openhab.automation.jsscripting
279 β Active β 80 β 4.1.0.M5 β org.openhab.binding.astro
280 β Active β 80 β 4.1.0.M5 β org.openhab.binding.deconz
281 β Active β 80 β 4.1.0.M5 β org.openhab.binding.dwdpollenflug
282 β Active β 80 β 4.1.0.M5 β org.openhab.binding.exec
283 β Active β 80 β 4.1.0.M5 β org.openhab.binding.http
284 β Active β 80 β 4.1.0.M5 β org.openhab.binding.hue
285 β Active β 80 β 4.1.0.M5 β org.openhab.binding.icalendar
286 β Active β 80 β 4.1.0.M5 β org.openhab.binding.logreader
287 β Active β 80 β 4.1.0.M5 β org.openhab.binding.mail
288 β Active β 80 β 4.1.0.M5 β org.openhab.binding.mqtt
289 β Active β 81 β 4.1.0.M5 β org.openhab.binding.mqtt.espmilighthub
290 β Active β 81 β 4.1.0.M5 β org.openhab.binding.mqtt.generic
291 β Active β 82 β 4.1.0.M5 β org.openhab.binding.mqtt.homeassistant
292 β Active β 82 β 4.1.0.M5 β org.openhab.binding.mqtt.homie
293 β Active β 82 β 4.1.0.M5 β org.openhab.binding.mqtt.ruuvigateway
294 β Active β 80 β 4.1.0.M5 β org.openhab.binding.network
295 β Active β 80 β 4.1.0.M5 β org.openhab.binding.ntp
296 β Active β 80 β 4.1.0.M5 β org.openhab.binding.openuv
297 β Active β 80 β 4.1.0.M5 β org.openhab.binding.openweathermap
298 β Active β 80 β 4.1.0.M5 β org.openhab.binding.samsungtv
299 β Active β 80 β 4.1.0.M5 β org.openhab.binding.sensorcommunity
300 β Active β 80 β 4.1.0.M5 β org.openhab.binding.shelly
301 β Active β 80 β 4.1.0.M5 β org.openhab.binding.systeminfo
302 β Active β 80 β 4.1.0.M5 β org.openhab.binding.tr064
303 β Active β 80 β 4.1.0.M5 β org.openhab.binding.volumio
304 β Active β 80 β 4.1.0.M5 β org.openhab.binding.yamahareceiver
305 β Active β 80 β 4.1.0.M5 β org.openhab.binding.yioremote
306 β Active β 80 β 4.1.0.M5 β org.openhab.binding.zwave
307 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.upnp
308 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.usbserial
309 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.usbserial.linuxsysfs
310 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.usbserial.ser2net
311 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.serial
312 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.transport.mqtt
313 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.transport.serial
314 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.transport.serial.rxtx
315 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.transport.serial.rxtx.rfc2217
316 β Active β 80 β 4.1.0.M5 β org.openhab.core.io.transport.upnp
317 β Active β 80 β 4.1.0.M5 β org.openhab.io.metrics
318 β Active β 80 β 4.1.0.M5 β org.openhab.io.openhabcloud
319 β Active β 80 β 4.1.0.M5 β org.openhab.persistence.jdbc
320 β Active β 75 β 4.1.0.M5 β org.openhab.transform.exec
321 β Active β 75 β 4.1.0.M5 β org.openhab.transform.jsonpath
322 β Active β 75 β 4.1.0.M5 β org.openhab.transform.map
323 β Active β 75 β 4.1.0.M5 β org.openhab.transform.regex
324 β Active β 75 β 4.1.0.M5 β org.openhab.transform.scale
325 β Active β 75 β 4.1.0.M5 β org.openhab.transform.xpath
326 β Active β 75 β 4.1.0.M5 β org.openhab.transform.xslt
327 β Active β 80 β 4.1.0.M5 β org.openhab.ui.basic
329 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.addon.ip
330 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.addon.upnp
331 β Active β 80 β 4.1.0.M5 β org.openhab.core.config.discovery.addon.mdns
After updating to M5 everything looked good, but after some seconds the βmodbus mangerβ stopped and started again this was in a loop. So I could not get my modbus things online.
I tried to clean cache and restarted my system, but it all ended in this modbus restart loop.
Now I installed M4 again and everything is working again.
I need to check on the test system because I did the update on the production system
So for my testing a upgrade from M4 to M5 did correct most of the zigbee issues but first couple of boots lots of exception errors and the one zigbee device I had messed around with trying to get it to initialize never came on line till I deleted it and rediscovered it then it was iffy at best . Likely my hacking on it did not help.
A upgrade from a perfectly working M3 to M5 seemed to go very smooth just took a bit to bring all the zigbee devices back on line and all of my persistence was there as well. So far everything seems to be working fine on this M5 upgrade from M3.