Problems with influxdb2 as persistence service

Hey guys,

I have a strange problem… I was migrating to influxdb2 as persistence service instead of rrd4j. It also worked in the beginning, but after a while, no data is saved anymore in the influxdb2 bucket. I have already reinstalled completely influxdb and also resetted persistance settings on openhab, including removal of the addon, deleting the file /var/lib/openhab/config/org/openhab/influxdb.config and also cleaning cache and restarting service for openhab. Without success, now that I reinstalled influxdb I don’t even get 1 data into the db. Does someone where I can find more hints on the problem?

If you need more info or logs, please tell me what you need and I will provide it to you.

Thanks
Patrick

I managed now to make it work again by removing persistence settings in mainui unter influxdb addon settings. But I have one problem… I want to save data at least every minute additional to on every change. Does someone managed to get it working with influxbd, as when I am setting something in persistence settings for influxdb, nothing works again, until i remove it.

Just turn on DEBUG and let everyone to see what is going on. My personal experience is mostly related to InfluxDB credentials.

I don’t think that it is a problem with creds, how I already wrote in the second post here, the problem with not writing at all I resolved by myself, but it remains the problem, that if I am editing the persistence settings via main ui, in influxdb to “Default Strategies” minutly additional to everyChange, then the data will not be saved to db. If I leave it as it is per default it is working and saving all the data in db, but only if a value changes. I want to have also at least every minute a value stored to db.

Here are the logs from a start of openhab with created file /etc/openhab/persistence/influxdb.persist:

2024-05-31 09:42:00.304 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : BundleComponentActivator : ComponentHolder created.
2024-05-31 09:42:00.307 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : BundleComponentActivator : ComponentHolder created.
2024-05-31 09:42:00.310 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : ConfigurableComponentHolder configuration updated for pid org.openhab.influxdb with change count 5
2024-05-31 09:42:00.311 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Dependency Manager created $000interface=org.openhab.core.items.ItemRegistry, filter=null, policy=static, cardinality=1..1, bind=null, unbind=null, updated=null, field=null, field-option=null, collection-type=service, parameter=0
2024-05-31 09:42:00.312 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Dependency Manager created $001interface=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService, filter=null, policy=static, cardinality=1..1, bind=null, unbind=null, updated=null, field=null, field-option=null, collection-type=service, parameter=1
2024-05-31 09:42:00.314 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Dependency Manager created ItemFactoryinterface=org.openhab.core.items.ItemFactory, filter=null, policy=dynamic, cardinality=1..n, bind=setItemFactory, unbind=unsetItemFactory, updated=null, field=null, field-option=null, collection-type=null, parameter=null
2024-05-31 09:42:00.315 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Dependency Manager created osgi.ds.satisfying.conditioninterface=org.osgi.service.condition.Condition, filter=(osgi.condition.id=true), policy=dynamic, cardinality=1..1, bind=null, unbind=null, updated=null, field=null, field-option=null, collection-type=null, parameter=null
2024-05-31 09:42:00.316 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component created: DS=DS14, implementation=org.openhab.persistence.influxdb.InfluxDBPersistenceService, immediate=false, default-enabled=true, factory=null, configuration-policy=optional, activate=activate, deactivate=deactivate, modified=null configuration-pid=[org.openhab.influxdb]
2024-05-31 09:42:00.321 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component Services: scope=singleton, services=[org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService]
2024-05-31 09:42:00.322 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component Properties: {service.config.label=InfluxDB Persistence Service, service.config.category=persistence, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), service.config.description.uri=persistence:influxdb, service.config.factory=false, service.pid=org.openhab.influxdb}
2024-05-31 09:42:00.323 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Querying state disabled
2024-05-31 09:42:00.324 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Querying state disabled
2024-05-31 09:42:00.325 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component can not be activated since it is in state disabled
2024-05-31 09:42:00.325 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Querying state disabled
2024-05-31 09:42:00.326 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Updating target filters
2024-05-31 09:42:00.327 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : No change in target property for dependency $000: currently registered: false
2024-05-31 09:42:00.327 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] :  No existing service listener to unregister for dependency $000
2024-05-31 09:42:00.328 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Setting target property for dependency $000 to null
2024-05-31 09:42:00.330 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : New service tracker for $000, initial active: false, previous references: {}, classFilter: (objectClass=org.openhab.core.items.ItemRegistry), initialReferenceFilter (objectClass=org.openhab.core.items.ItemRegistry)
2024-05-31 09:42:00.331 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $000 tracker reset (closed)
2024-05-31 09:42:00.332 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $000 tracking 1 SingleStatic added {org.openhab.core.items.ItemRegistry, org.openhab.core.common.registry.RegistryChangeListener}={service.id=189, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.internal.items.ItemRegistryImpl, component.id=21} (enter)
2024-05-31 09:42:00.333 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $000 tracking 1 SingleStatic active: false trackerOpened: false optional: false
2024-05-31 09:42:00.334 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $000 tracking 1 SingleStatic added {org.openhab.core.items.ItemRegistry, org.openhab.core.common.registry.RegistryChangeListener}={service.id=189, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.internal.items.ItemRegistryImpl, component.id=21} (exit)
2024-05-31 09:42:00.335 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $000 tracker opened
2024-05-31 09:42:00.336 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : registering service listener for dependency $000
2024-05-31 09:42:00.337 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : No change in target property for dependency $001: currently registered: false
2024-05-31 09:42:00.338 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] :  No existing service listener to unregister for dependency $001
2024-05-31 09:42:00.338 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Setting target property for dependency $001 to null
2024-05-31 09:42:00.339 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : New service tracker for $001, initial active: false, previous references: {}, classFilter: (objectClass=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService), initialReferenceFilter (objectClass=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService)
2024-05-31 09:42:00.340 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $001 tracker reset (closed)
2024-05-31 09:42:00.341 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $001 tracker opened
2024-05-31 09:42:00.341 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : registering service listener for dependency $001
2024-05-31 09:42:00.342 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : No change in target property for dependency ItemFactory: currently registered: false
2024-05-31 09:42:00.342 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] :  No existing service listener to unregister for dependency ItemFactory
2024-05-31 09:42:00.343 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Setting target property for dependency ItemFactory to null
2024-05-31 09:42:00.343 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : New service tracker for ItemFactory, initial active: false, previous references: {}, classFilter: (objectClass=org.openhab.core.items.ItemFactory), initialReferenceFilter (objectClass=org.openhab.core.items.ItemFactory)
2024-05-31 09:42:00.344 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm ItemFactory tracker reset (closed)
2024-05-31 09:42:00.345 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm ItemFactory tracking 2 MultipleDynamic added {org.openhab.core.items.ItemFactory}={service.id=198, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.library.CoreItemFactory, component.id=43} (enter)
2024-05-31 09:42:00.345 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm ItemFactory tracking 2 MultipleDynamic, inactive, doing nothing: tracker opened: false, optional: false
2024-05-31 09:42:00.346 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm ItemFactory tracking 2 MultipleDynamic added {org.openhab.core.items.ItemFactory}={service.id=198, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.library.CoreItemFactory, component.id=43} (exit)
2024-05-31 09:42:00.347 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm ItemFactory tracker opened
2024-05-31 09:42:00.347 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : registering service listener for dependency ItemFactory
2024-05-31 09:42:00.347 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] :  No existing service listener to unregister for dependency osgi.ds.satisfying.condition
2024-05-31 09:42:00.348 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Setting target property for dependency osgi.ds.satisfying.condition to (osgi.condition.id=true)
2024-05-31 09:42:00.348 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : New service tracker for osgi.ds.satisfying.condition, initial active: false, previous references: {}, classFilter: (objectClass=org.osgi.service.condition.Condition), initialReferenceFilter (&(objectClass=org.osgi.service.condition.Condition)(osgi.condition.id=true))
2024-05-31 09:42:00.349 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm osgi.ds.satisfying.condition tracker reset (closed)
2024-05-31 09:42:00.349 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm osgi.ds.satisfying.condition tracking 3 SingleDynamic added {org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true} (enter)
2024-05-31 09:42:00.350 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm osgi.ds.satisfying.condition tracking 3 SingleDynamic added {org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true} (exit)
2024-05-31 09:42:00.350 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm osgi.ds.satisfying.condition tracker opened
2024-05-31 09:42:00.351 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : registering service listener for dependency osgi.ds.satisfying.condition
2024-05-31 09:42:00.351 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Changed state from disabled to unsatisfiedReference
2024-05-31 09:42:00.352 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Component enabled
2024-05-31 09:42:00.352 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : ActivateInternal
2024-05-31 09:42:00.352 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.353 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.353 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Activating component from state unsatisfiedReference
2024-05-31 09:42:00.354 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.354 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.354 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Dependency not satisfied: $001
2024-05-31 09:42:00.355 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Not all dependencies satisfied, cannot activate
2024-05-31 09:42:00.355 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Dependency Manager created $000interface=org.openhab.core.items.MetadataRegistry, filter=null, policy=static, cardinality=1..1, bind=null, unbind=null, updated=null, field=null, field-option=null, collection-type=service, parameter=0
2024-05-31 09:42:00.356 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Dependency Manager created osgi.ds.satisfying.conditioninterface=org.osgi.service.condition.Condition, filter=(osgi.condition.id=true), policy=dynamic, cardinality=1..1, bind=null, unbind=null, updated=null, field=null, field-option=null, collection-type=null, parameter=null
2024-05-31 09:42:00.356 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Component created: DS=DS14, implementation=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService, immediate=false, default-enabled=true, factory=null, configuration-policy=optional, activate=activate, deactivate=deactivate, modified=null configuration-pid=[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService]
2024-05-31 09:42:00.357 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Component Services: scope=singleton, services=[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService]
2024-05-31 09:42:00.357 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Component Properties: {osgi.ds.satisfying.condition.target=(osgi.condition.id=true)}
2024-05-31 09:42:00.358 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Querying state disabled
2024-05-31 09:42:00.358 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Querying state disabled
2024-05-31 09:42:00.358 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Component can not be activated since it is in state disabled
2024-05-31 09:42:00.359 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService] : Querying state disabled
2024-05-31 09:42:00.359 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Updating target filters
2024-05-31 09:42:00.360 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : No change in target property for dependency $000: currently registered: false
2024-05-31 09:42:00.360 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] :  No existing service listener to unregister for dependency $000
2024-05-31 09:42:00.361 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Setting target property for dependency $000 to null
2024-05-31 09:42:00.361 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : New service tracker for $000, initial active: false, previous references: {}, classFilter: (objectClass=org.openhab.core.items.MetadataRegistry), initialReferenceFilter (objectClass=org.openhab.core.items.MetadataRegistry)
2024-05-31 09:42:00.362 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm $000 tracker reset (closed)
2024-05-31 09:42:00.362 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm $000 tracking 1 SingleStatic added {org.openhab.core.items.MetadataRegistry}={service.id=188, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.internal.items.MetadataRegistryImpl, component.id=26} (enter)
2024-05-31 09:42:00.363 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm $000 tracking 1 SingleStatic active: false trackerOpened: false optional: false
2024-05-31 09:42:00.364 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm $000 tracking 1 SingleStatic added {org.openhab.core.items.MetadataRegistry}={service.id=188, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.internal.items.MetadataRegistryImpl, component.id=26} (exit)
2024-05-31 09:42:00.364 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm $000 tracker opened
2024-05-31 09:42:00.365 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : registering service listener for dependency $000
2024-05-31 09:42:00.365 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] :  No existing service listener to unregister for dependency osgi.ds.satisfying.condition
2024-05-31 09:42:00.366 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Setting target property for dependency osgi.ds.satisfying.condition to (osgi.condition.id=true)
2024-05-31 09:42:00.366 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : New service tracker for osgi.ds.satisfying.condition, initial active: false, previous references: {}, classFilter: (objectClass=org.osgi.service.condition.Condition), initialReferenceFilter (&(objectClass=org.osgi.service.condition.Condition)(osgi.condition.id=true))
2024-05-31 09:42:00.367 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm osgi.ds.satisfying.condition tracker reset (closed)
2024-05-31 09:42:00.368 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm osgi.ds.satisfying.condition tracking 2 SingleDynamic added {org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true} (enter)
2024-05-31 09:42:00.368 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm osgi.ds.satisfying.condition tracking 2 SingleDynamic added {org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true} (exit)
2024-05-31 09:42:00.369 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : dm osgi.ds.satisfying.condition tracker opened
2024-05-31 09:42:00.369 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : registering service listener for dependency osgi.ds.satisfying.condition
2024-05-31 09:42:00.369 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Changed state from disabled to unsatisfiedReference
2024-05-31 09:42:00.370 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Component enabled
2024-05-31 09:42:00.370 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : ActivateInternal
2024-05-31 09:42:00.370 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.371 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.371 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Activating component from state unsatisfiedReference
2024-05-31 09:42:00.372 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.372 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.372 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Changed state from unsatisfiedReference to satisfied
2024-05-31 09:42:00.373 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : registration change queue [registered]
2024-05-31 09:42:00.374 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $001 tracking 4 SingleStatic added {org.openhab.persistence.influxdb.internal.InfluxDBMetadataService}={service.id=625, service.bundleid=305, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService, component.id=397} (enter)
2024-05-31 09:42:00.374 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : ActivateInternal
2024-05-31 09:42:00.375 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.375 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.375 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Activating component from state unsatisfiedReference
2024-05-31 09:42:00.376 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.376 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state unsatisfiedReference
2024-05-31 09:42:00.376 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Changed state from unsatisfiedReference to satisfied
2024-05-31 09:42:00.377 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : registration change queue [registered]
2024-05-31 09:42:00.381 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Checking constructor public org.openhab.persistence.influxdb.InfluxDBPersistenceService(org.openhab.core.items.ItemRegistry,org.openhab.persistence.influxdb.internal.InfluxDBMetadataService,java.util.Map)
2024-05-31 09:42:00.382 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getClassFromComponentClassLoader: Looking for interface class org.openhab.core.items.ItemRegistry through loader of org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-05-31 09:42:00.382 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getClassFromComponentClassLoader: Found class org.openhab.core.items.ItemRegistry
2024-05-31 09:42:00.383 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getClassFromComponentClassLoader: Looking for interface class org.openhab.persistence.influxdb.internal.InfluxDBMetadataService through loader of org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-05-31 09:42:00.383 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getClassFromComponentClassLoader: Found class org.openhab.persistence.influxdb.internal.InfluxDBMetadataService
2024-05-31 09:42:00.384 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Found constructor with 3 arguments : public org.openhab.persistence.influxdb.InfluxDBPersistenceService(org.openhab.core.items.ItemRegistry,org.openhab.persistence.influxdb.internal.InfluxDBMetadataService,java.util.Map)
2024-05-31 09:42:00.384 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getting bind: setItemFactory
2024-05-31 09:42:00.385 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Locating method setItemFactory in class org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-05-31 09:42:00.385 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : doFindMethod: Looking for method org.openhab.persistence.influxdb.InfluxDBPersistenceService.setItemFactory
2024-05-31 09:42:00.387 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Declared Method org.openhab.persistence.influxdb.InfluxDBPersistenceService.setItemFactory([interface org.osgi.framework.ServiceReference]) not found
2024-05-31 09:42:00.388 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Declared Method org.openhab.persistence.influxdb.InfluxDBPersistenceService.setItemFactory([interface org.osgi.service.component.ComponentServiceObjects]) not found
2024-05-31 09:42:00.388 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getClassFromComponentClassLoader: Looking for interface class org.openhab.core.items.ItemFactory through loader of org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-05-31 09:42:00.389 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getClassFromComponentClassLoader: Found class org.openhab.core.items.ItemFactory
2024-05-31 09:42:00.389 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : doFindMethod: No method taking ServiceReference found, checking method taking org.openhab.core.items.ItemFactory
2024-05-31 09:42:00.390 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : doFindMethod: Found Method public void org.openhab.persistence.influxdb.InfluxDBPersistenceService.setItemFactory(org.openhab.core.items.ItemFactory)
2024-05-31 09:42:00.390 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Found bind method: public void org.openhab.persistence.influxdb.InfluxDBPersistenceService.setItemFactory(org.openhab.core.items.ItemFactory)
2024-05-31 09:42:00.391 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : This thread collected dependencies
2024-05-31 09:42:00.391 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getService (single component manager) dependencies collected.
2024-05-31 09:42:00.392 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state satisfied
2024-05-31 09:42:00.392 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Querying state satisfied
2024-05-31 09:42:00.392 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : For dependency $000, optional: false; to bind: [[RefPair: ref: [{org.openhab.core.items.ItemRegistry, org.openhab.core.common.registry.RegistryChangeListener}={service.id=189, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.internal.items.ItemRegistryImpl, component.id=21}] service: [null]]]
2024-05-31 09:42:00.393 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : For dependency $001, optional: false; to bind: [[RefPair: ref: [{org.openhab.persistence.influxdb.internal.InfluxDBMetadataService}={service.id=625, service.bundleid=305, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService, component.id=397}] service: [null]]]
2024-05-31 09:42:00.393 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : For dependency ItemFactory, optional: false; to bind: [[RefPair: ref: [{org.openhab.core.items.ItemFactory}={service.id=198, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.library.CoreItemFactory, component.id=43}] service: [org.openhab.core.library.CoreItemFactory@72f749e5]]]
2024-05-31 09:42:00.394 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : For dependency osgi.ds.satisfying.condition, optional: false; to bind: [[RefPair: ref: [{org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true}] service: [null]]]
2024-05-31 09:42:00.394 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Checking constructor public org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(org.openhab.core.items.MetadataRegistry)
2024-05-31 09:42:00.395 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : getClassFromComponentClassLoader: Looking for interface class org.openhab.core.items.MetadataRegistry through loader of org.openhab.persistence.influxdb.internal.InfluxDBMetadataService
2024-05-31 09:42:00.395 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : getClassFromComponentClassLoader: Found class org.openhab.core.items.MetadataRegistry
2024-05-31 09:42:00.396 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Found constructor with 1 arguments : public org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(org.openhab.core.items.MetadataRegistry)
2024-05-31 09:42:00.396 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : This thread collected dependencies
2024-05-31 09:42:00.397 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : getService (single component manager) dependencies collected.
2024-05-31 09:42:00.397 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Querying state satisfied
2024-05-31 09:42:00.398 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Querying state satisfied
2024-05-31 09:42:00.398 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : For dependency $000, optional: false; to bind: [[RefPair: ref: [{org.openhab.core.items.MetadataRegistry}={service.id=188, service.bundleid=154, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.core.internal.items.MetadataRegistryImpl, component.id=26}] service: [null]]]
2024-05-31 09:42:00.399 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : For dependency osgi.ds.satisfying.condition, optional: false; to bind: [[RefPair: ref: [{org.osgi.service.condition.Condition}={service.id=6, service.bundleid=0, service.scope=singleton, service.pid=0.org.osgi.service.condition.ConditionImpl, osgi.condition.id=true}] service: [null]]]
2024-05-31 09:42:00.400 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : getting activate: activate
2024-05-31 09:42:00.400 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Locating method activate in class org.openhab.persistence.influxdb.internal.InfluxDBMetadataService
2024-05-31 09:42:00.401 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Declared Method org.openhab.persistence.influxdb.internal.InfluxDBMetadataService.activate([interface org.osgi.service.component.ComponentContext]) not found
2024-05-31 09:42:00.401 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Locating method activate in class java.lang.Object
2024-05-31 09:42:00.402 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Declared Method java.lang.Object.activate([interface org.osgi.service.component.ComponentContext]) not found
2024-05-31 09:42:00.402 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : activate method [activate] not found, ignoring
2024-05-31 09:42:00.403 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Set implementation object for component
2024-05-31 09:42:00.403 [DEBUG] [xdb.internal.InfluxDBMetadataService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.internal.InfluxDBMetadataService(397)] : Changed state from satisfied to active
2024-05-31 09:42:01.133 [DEBUG] [rnal.influx2.InfluxDB2RepositoryImpl] - Successfully connected to InfluxDB. Instance ready=class Ready {
    status: ready
    started: 2024-05-27T17:52:20.456257014+02:00
    up: 87h48m19.405629293s
}
2024-05-31 09:42:01.136 [DEBUG] [rnal.influx2.InfluxDB2RepositoryImpl] - database status is OK
2024-05-31 09:42:01.138 [INFO ] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service started.
2024-05-31 09:42:01.139 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : invoking bind: setItemFactory: parameters [org.openhab.core.library.CoreItemFactory]
2024-05-31 09:42:01.142 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : invoked bind: setItemFactory
2024-05-31 09:42:01.142 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : getting activate: activate
2024-05-31 09:42:01.143 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Locating method activate in class org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-05-31 09:42:01.143 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Declared Method org.openhab.persistence.influxdb.InfluxDBPersistenceService.activate([interface org.osgi.service.component.ComponentContext]) not found
2024-05-31 09:42:01.143 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Locating method activate in class java.lang.Object
2024-05-31 09:42:01.144 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Declared Method java.lang.Object.activate([interface org.osgi.service.component.ComponentContext]) not found
2024-05-31 09:42:01.145 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : activate method [activate] not found, ignoring
2024-05-31 09:42:01.145 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Set implementation object for component
2024-05-31 09:42:01.146 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : Changed state from satisfied to active
2024-05-31 09:42:01.147 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.2 (305)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(396)] : dm $001 tracking 4 SingleStatic added {org.openhab.persistence.influxdb.internal.InfluxDBMetadataService}={service.id=625, service.bundleid=305, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.persistence.influxdb.internal.InfluxDBMetadataService, component.id=397} (exit)
2024-05-31 09:42:08.024 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'

and here is the content of the file:

Strategies {
	everyMinute : "0 * * * * ?"

	default = everyChange, everyMinute
}

With this settings the persistence is not even working, no data is saved to the bucket and no new data is displayed in graphs.

Thanks.

If you use not “autogen” bucket, please check if autogen is not set again. I found it after avery reboot, so I understand actually you data might be saved to the other bucket than where you look

Sorry for my absence, I was on vacation the last week, so I haven’t had the time to test this.

Now I was able to verify your idea, but I can confirm, that in the ui and in the file /var/lib/openhab/config/org/openhab/influxdb.config the bucket remains the same.

I also tried to create a bucket with the name autogen, so the data could be safed into this and I can verify via influx webinterface if there is any data stored there, but nothing. No new data found.

Someone else has an idea what could be my error? If you need any info or other logs or file contents please tell me, so I will se if I can provide them asap.

Thank you guys.

I did work for me. I dropped existing autogen bucket and created it again.

Important, in grafana datasource - database has to be “autogen”, not “openhab”.

not sure if i can provide usefull informations but i lately switched influxdb from v1 to v2. what i had to do first was create all my grafana dashboards new because in grafana the query language for influxdb1 is “influx ql” and for influxdb2 it is now “flux”. though the items are still the same with the old dashboard i was not able to visualize data from v2.

first of all i think in main ui / settings / add-on settings / influxdb persistence you already selected inluxdb 2

then my influxdb.cfg (located at /etc/openhab/services looks like

# The database URL, e.g. http://127.0.0.1:8086 or https://127.0.0.1:8084 .
# Defaults to: http://127.0.0.1:8086
version=V2
url=http://127.0.0.1:8086

token=<my token>

# Name of the database for V1 and name of the organization for V2
db=myhome

# name of the retention policy for V1 and name of the bucket for V2
retentionPolicy=openhab

and to complete in grafana my datasource is configured as follows:

as i wrote my dashboards i had to create new, the query now looks like

from(bucket: "openhab")
  |> range(start: v.timeRangeStart)
  |> filter(fn: (r) => r._measurement == "iSl_pac" or 
                       r._measurement == "iSl_yieldday")
  |> aggregateWindow(every: 15m, fn: mean)

(for two items iSl_pac and iSl_yieldday)

The point is I am not using grafana, I am using the default charts in openhab, and there is no data. For checking the database directly I am using the builtin webinterface from influx.

I am not using grafana as said in the previous post. I set the correct version (2) in main ui → settings → influxdb. This is already correct.

My configuration of influxdb is in /var/lib/openhab/config/org/openhab/influxdb.config and not at /etc/openhab/services/influxdb.cfg. Is this a problem? This configuration is updated by the main ui.

:org.apache.felix.configadmin.revision:=L"4"
db="agostini.cloud"
retentionPolicy="openhab"
service.pid="org.openhab.influxdb"
token="privacy"
version="V2"

Do I have to configure the other file? Because when I am leaving the persistence settings described in one of the first posts as it is, or “reset, remove” them, it is working without problems. Only when I want to add a persistence everyMinute, the problem appears.

could it be that retentionPolicy should be autogen?

I don’t think so, because in the webinterface the key retentionPolicy is described as retention in v1 and bucket in v2, and the name of my bucket is openhab in influxdb.

i dont remember to have created the config file /var/lib/openhab/config/org/openhab/influxdb.config though it exists in my enviroment. i also suppose it must have been created from main ui. my file looks very similar with small differences:

:org.apache.felix.configadmin.revision:=L"1"
db="myhome"
retentionPolicy="openhab"
service.pid="org.openhab.influxdb"
token=<my token>
url="http://127.0.0.1:8086"
version="V2"

strange that even in my file is retentionPolicy="openhab" what i would not have expected.

the persictence i did not setup in main ui but in file /etc/openhab/persistence/influxdb.persist this looks like:


Strategies {
    everyMinute : "0 * * * * ?"
    everyHour   : "0 0 * * * ?"
    everyDay    : "0 0 0 * * ?"
}

Items {
    iG_...
}

but in main ui it is showed as (not editable):

… as you see i configured everyminute but i do not use it in none of my items

Hmmmm, but what is the file you have at /etc/openhab/services/influxdb.cfg? Do you manually created that file?

My approach would be to take everyChange and everyMinute as default for every item as i don’t like the graphs with the last item 7 days ago… if for example an item doesn’t change its value very frequently.

Some ideas what could happen if I edit this things via ui? Do you have some examples for the file in /etc/openhab/persistence/influxdb.persist with the behaviour described above?

Strategies {
	everyMinute : "0 * * * * ?"

	default = everyChange, everyMinute
}

This is the file I had some time before for testing, but also with this it doesn’t worked.

It would be nice if it where possible to get some.

Thanks

ok, you see. I experienced that every time I reboot, my influxdb settings change bucket to “autogen”. so I created bucket called autogen and everything works for me

as i already noted earlier:

# The database URL, e.g. http://127.0.0.1:8086 or https://127.0.0.1:8084 .
# Defaults to: http://127.0.0.1:8086
version=V2
url=http://127.0.0.1:8086

token=<my token>

# Name of the database for V1 and name of the organization for V2
db=myhome

# name of the retention policy for V1 and name of the bucket for V2
retentionPolicy=openhab

yes

every minute was too much for a swabian :wink: so i did not define a default but used everyhour for one item

i dont have this behaviour, but if you mean in main ui it changes after a reboot, perhaps you have also configured it in a txt-file with this setting. not sure but i suppose i also could change the setting in main ui and it will be reseted at boot with the setting from the text based config.

I have to say, that I really don’t understand what I am doing wrong. All the settings seem correct, and also the functionality of influxdb is here until i get at the point where:

  • I am saving the persistence settings in the main ui,
  • or generating a file /etc/openhab/persistence/influxdb.persist with the following contents
Strategies {
	everyMinute : "0 * * * * ?"

	default = everyChange, everyMinute
}

after that the persistence is not working anymore. When saving via main ui immediately when I press save, and when I am creating the file, obviously after the nex restart of the service, when the file is loaded. No new data is saved anymore in database, neither in bucket openhab as specified by me, nor in the bucket autogen, which I created for testing purposes to see if there is saved data in.

If I leave the persistence settings here as they are, no problem (in the screenshot I was making a test with the file, so they are edited, by default there are defined some time expressions and as default persistence there is only everyChange):

But after the file loading or saving it directly via the main ui, without creating a static config file at /etc/openhab/persistence the service is not working anymore, as seen here in the screenshot:


There is missing data since 18:15, that is the time I restarted the service to load the file described earlier.

You are missing the Configuration section. That’s where you define what items get stored, and with which strategy.
By default, if no persistance configuration and/or strategies are defined, all will be stored at the default strategy. As soon as you configure something, the default does not apply anymore. That’s why, when you define something in a file or the UI, nothing is stored anymore by lack of Configuration.

Where am I missing the configuration section? I want EVERY item to be stored by the Default Strategies everyChange and everyMinute, and as far as i know this should be the exact configuration for this. Or am I wrong?

So i have to specify every single item in the Configuration section to have it stored?