openHAB 4.2 Milestone discussion

Does an item with the same name already exist?

I don’t have any issues…tested with shelly binding yesterday

Hopefully this helps: Link Item to channel: Include error message on name validation failure by jimtng · Pull Request #2487 · openhab/openhab-webui · GitHub

Yes, that is exactly it. :+1: I missed that, since it was actually the case for all the channels I tried. :smiley: It seems there’s a regression here:

Remove last character:

Add it again - and now it is able to show the error:

I finally discovered that this is broken only when my wifi interface is up. Disabling my WiFi interface solved the problem.
To be investigated.

A post was split to a new topic: Cannot internet after OH upgrade

I upgraded to 4.2.0M1 (from the previous 4.1 release) and noticed that influxdb persistence did no longer work.
Dropped you .jar from GitHub and it kicked in again.
Is this on the radar for a fix in M2 you think?

It would be helpful if you made it clear what error message or symptom you were getting with the 4.2M1 build, any more info besides no longer work? Did you try and do a reboot or two after the upgrade to see if it resolved itself after the update? Thank you for testing it, and yes the library updates will get merged if good feedback comes back like yours, that it does not break anything. I do not use influxDB and know nothing about it.

2 People above have posted that they get a WARN message that previous versions did not give, but they state that the addon works just fine despite the message. So your the first to state it stopped working, so perhaps it just needed a reboot.

Thanks for coming back.
Sorry for not providing more info upfront. Didn’t realize we were so few with an actual issue.
I did do a system reboot after the upgrade (from 4.1 release to 4.2.0M1) because system got stuck at 100% CPU for a long time. This is something I experience on almost each upgrade.

omr@shs2:~$ uname -a
Linux shs2 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
omr@shs2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy
 1996  sudo nala upgrade
 1997  tail -F -n 2000 /var/log/openhab/openhab.log
 1998  sudo reboot
 2007  sudo cp /etc/openhab/org.openhab.persistence.influxdb-4.2.0-SNAPSHOT.jar /usr/share/openhab/addons/ 

I did the upgrade and reboot on Mars 19, but did not realize until the day after, on Mars 20, that persistence was not running, and I tried the .jar from GitHub that evening ~21:00->

Before dropping the .jar, I did also try a bundle restart from karaf, but it didn’t help.
After dropping the .jar, I had to stop the M1 bundle, and then the snapshot bundle kicked in (saw all my items getting values in the tail window).

Now looks like this:
openhab> list | grep -i influx
304 │ Resolved │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
315 │ Active   │  80 │ 4.2.0.202403100650     │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB

I haven’t dived into the log, but here it is, from just after the reboot on M1 until it started working.

Log, rename .txt to .zip
openhab.log.txt (294.7 KB)

That will not work. Dependencies have been upgraded and just exchanging the bundle without fixing the dependencies will cause issues. Please either

  • remove the jar in the addons folder (revert back to the 4.2.0.M1 bundle)
  • or uninstall the influxdb add-on and drop a current .kar in the addons-folder (use a newer version)

Restart after that and provide a new log. Thanks.

But that will just revert back to a state equal to the beginning of the log I provided.
Aka second restart after M1 upgrade, and that did not work …

The .jar from here Bump Kotlin, okhttp, okio, and java-telegram-bot-api libraries by Skinah · Pull Request #16458 · openhab/openhab-addons · GitHub works fine.

But, for the sake of argument I can give it one more go …

Deleted the dropped in .jar and restarted the bundle:

2024-03-24 15:38:52.180 [INFO ] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service stopped.
2024-03-24 15:39:00.489 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'influxdb'
2024-03-24 15:39:02.658 [WARN ] [enhab.binding.appletv.internal.PyATV] - PaTH: /var/lib/openhab/tmp/appletv-binding/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
2024-03-24 15:39:03.779 [WARN ] [enhab.binding.appletv.internal.PyATV] - PaTH: /var/lib/openhab/tmp/appletv-binding/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
2024-03-24 15:39:22.983 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(459)] : Error during instantiation of the implementation object
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
        at org.apache.felix.scr.impl.inject.internal.ComponentConstructorImpl.newInstance(ComponentConstructorImpl.java:326) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:286) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1002) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:975) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:920) ~[?:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:220) ~[org.eclipse.osgi-3.18.0.jar:?]
        at java.security.AccessController.doPrivileged(AccessController.java:318) [?:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:217) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:118) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:534) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:660) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:88) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BindMethod.getServiceObject(BindMethod.java:675) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2612) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager.java:2078) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:2061) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeBindMethod(SingleComponentManager.java:443) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:336) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:304) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1232) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:959) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:895) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1184) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:123) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:961) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:937) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:874) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:262) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:500) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1274) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1225) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1232) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:959) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:895) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1184) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:123) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:961) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:937) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:874) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:262) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:500) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:671) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:310) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:593) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.access$200(Activator.java:74) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:460) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [osgi.core-8.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:420) [osgi.core-8.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-8.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [osgi.core-8.0.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:949) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:51) [bundleFile:?]
        at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:55) [bundleFile:?]
        at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [bundleFile:4.4.4]
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [bundleFile:4.4.4]
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [bundleFile:4.4.4]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(java.lang.String, okhttp3.MediaType)'
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
        ... 108 more
2024-03-24 15:39:22.994 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(247)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1680, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=459, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:39:22.994 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(247)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1680, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=459, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:39:22.996 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(459)] : Error during instantiation of the implementation object
java.lang.reflect.InvocationTargetException: null
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
        at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
        at org.apache.felix.scr.impl.inject.internal.ComponentConstructorImpl.newInstance(ComponentConstructorImpl.java:326) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:286) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1002) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:975) ~[?:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:920) ~[?:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:220) ~[org.eclipse.osgi-3.18.0.jar:?]
        at java.security.AccessController.doPrivileged(AccessController.java:318) [?:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:217) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:118) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:534) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:660) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:88) [bundleFile:?]
        at org.apache.felix.scr.impl.inject.methods.BindMethod.getServiceObject(BindMethod.java:675) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2612) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager.java:2078) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:2061) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeBindMethod(SingleComponentManager.java:443) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:336) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:304) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1232) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:959) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:895) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1184) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:123) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:961) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:937) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:874) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:262) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:500) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1274) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1225) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1232) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1152) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:959) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:895) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1184) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116) [bundleFile:?]
        at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:123) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:961) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:937) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:874) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:262) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:500) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?]
        at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:671) [bundleFile:?]
        at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:310) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:593) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator.access$200(Activator.java:74) [bundleFile:?]
        at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:460) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
        at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [osgi.core-8.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:420) [osgi.core-8.0.0.jar:?]
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-8.0.0.jar:?]
        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [osgi.core-8.0.0.jar:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:949) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.18.0.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:445) [org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:51) [bundleFile:?]
        at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:55) [bundleFile:?]
        at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [bundleFile:4.4.4]
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [bundleFile:4.4.4]
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [bundleFile:4.4.4]
        at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [bundleFile:4.4.4]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(java.lang.String, okhttp3.MediaType)'
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
        ... 108 more
2024-03-24 15:39:23.003 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(249)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1680, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=459, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:39:23.004 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(249)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1680, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=459, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
^C

After a reboot:

omr@shs2:~$ grep -i influxdb /var/log/openhab/openhab.log
2024-03-24 15:44:05.148 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2024-03-24 15:47:00.267 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'influxdb'
2024-03-24 15:47:22.734 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(450)] : Error during instantiation of the implementation object
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
2024-03-24 15:47:22.752 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(246)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:47:22.758 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(246)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence
influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:47:22.764 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(450)] : Error during instantiation of the implementation object
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
2024-03-24 15:47:22.784 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(248)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:47:22.785 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(248)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:48:00.238 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'influxdb'
2024-03-24 15:48:22.888 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(450)] : Error during instantiation of the implementation object
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
2024-03-24 15:48:22.907 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(246)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:48:22.908 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(246)] : DependencyManager : invokeUnbindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:48:22.916 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(450)] : Error during instantiation of the implementation object
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
2024-03-24 15:48:22.930 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(248)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:48:22.931 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(248)] : DependencyManager : invokeUnbindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1054, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=450, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:48:22.956 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(452)] : Error during instantiation of the implementation object
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
2024-03-24 15:48:22.965 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(246)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1057, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=452, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:48:22.966 [WARN ] [ence.internal.PersistenceManagerImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceManagerImpl(246)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1057, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence
influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=452, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:48:22.969 [ERROR] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.2.0.M1 (304)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(452)] : Error during instantiation of the implementation object
        at com.influxdb.client.internal.AuthenticateInterceptor.initToken(AuthenticateInterceptor.java:122) ~[?:?]
        at com.influxdb.client.internal.AbstractInfluxDBClient.<init>(AbstractInfluxDBClient.java:104) ~[?:?]
        at com.influxdb.client.internal.InfluxDBClientImpl.<init>(InfluxDBClientImpl.java:97) ~[?:?]
        at com.influxdb.client.InfluxDBClientFactory.create(InfluxDBClientFactory.java:204) ~[?:?]
        at org.openhab.persistence.influxdb.internal.influx2.InfluxDB2RepositoryImpl.connect(InfluxDB2RepositoryImpl.java:95) ~[?:?]
        at org.openhab.persistence.influxdb.InfluxDBPersistenceService.<init>(InfluxDBPersistenceService.java:128) ~[?:?]
2024-03-24 15:48:22.977 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(248)] : Could not get service from ref {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1057, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=452, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab}
2024-03-24 15:48:22.978 [WARN ] [ernal.PersistenceServiceRegistryImpl] - bundle org.openhab.core.persistence:4.2.0.M1 (219)[org.openhab.core.persistence.internal.PersistenceServiceRegistryImpl(248)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService}={version=V2, service.id=1057, service.bundleid=304, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), user=openhab, url=http://127.0.0.1:8086, component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, service.config.label=InfluxDB Persistence Service, component.id=452, service.config.factory=false, password=habopen2, retentionPolicy=openhab, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.pid=[org.openhab.influxdb, org.openhab.influxdb], db=openhab} for reference PersistenceService
2024-03-24 15:49:00.237 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'influxdb'
2024-03-24 15:50:00.237 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'influxdb'
2024-03-24 15:51:00.236 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'influxdb'

Bundle stuck in Waiting:

openhab> list | grep -i influx
304 │ Resolved │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab> bundle:start 304
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab> bundle:restart 304
openhab> date
Mar Sun 24 15:48:25 2024
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab> date
Mar Sun 24 15:48:34 2024
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab>
openhab>
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB
openhab>
openhab> list | grep -i influx
304 │ Waiting │  80 │ 4.2.0.M1               │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB

Dropping back the .jar stopping the M1 bundle and restarting the SnapShot one gets it working yet again.

@JimT - thanks for adding the error message. Should I create an issue for the remaining problem that “An Item with this name already exists” is not initially shown?

1 Like

I use the sonos binding to trigger actions by sonos alarms (turn on the espresso machine when the alarm starts in the morning, turn on lights).
This stopped working with the latest milestone. More precisely, it works after reboot and after a few hours openhab seems to miss sonos events.

The current workaround is to keep only one up IP v4 network interface on your OH server.
Here is the GitHub issue in case you would like to follow my investigations.

Thanks, I just got around to test your fix, and it works! :+1:

It’s not that in my case. I have one ip interface up (plus the loopback device). I deactivated ipv6 which seemed to have a positive effect as the rules triggered by the sonos alarm worked for one more day before ceasing to work. I’ll try to increase the log level for the Sonos add in next. We’ll see if that provides any useful information.

JUPnP library is only using IP v4 so IP V6 can be enabled or disabled, it makes no difference for the Sonos binding.
By the way, I found yesterday the line in the JUPnP code leading to no events being received when several IP v4 interfaces are up. What is strange is that this line is there since 2015. I temporary fixed the problem for me by commenting this line. Needs to understand why this line was there and propose a clean fix.
We are not yet sure why it was working well until 4.1.1, maybe a timing difference at OH startup.

In case it is a timing problem at OH startup, it is possible that not everyone has the issue.