Openhab3 does not write data to InfluxDB2

My current set-up:

  • Platform information: Self installed Raspberry Pi 4
    • Hardware: Raspberry Pi4, 8GB, 64GB SDCard
    • OS: Ubuntu 20.04 LTS
    • Java Runtime Environment: 11.0.22+7
    • openHAB version: 3.4.2-1
  • Issue of the topic: OpenHAB does not write data to InfluxDB2 (version 2.7.6-1)

Hello,
I’m pretty new with OpenHAB. I started 2 years ago but then there was a long break. Now I want to continue.
I have a AVM Fritzbox and DECT Power Plug-In FritzDECT 200.
For the start I want to read the temperature and store this in an InfluxDB2.
Unfortunately, OpenHAB does not write data to the InfluxDB2.
The InfluxDB is running. If it does not run I get a connection error from OpenHAB. From this I deduct that OpenHAB is connecting to the DB, but it does not write data into it.

Here is my influxdb.persist:

Strategies {
  default = everyMinute
}
Items {
   * : strategy = everyMinute 
}

And here is my influxdb.cfg service configuration:

# 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
# url=http(s)://<host>:<port>

# The name of the database user, e.g. openhab.
# Defaults to: openhab
user=openhab

# The password of the database user.
password=<changed here for this community entry>

# The name of the database, e.g. openhab.
# Defaults to: openhab
db=TuxNet

# Added by W.G.
url=http://localhost:8086

The model for the influxdb is loaded according to this log information:

2024-04-29 19:56:47.281 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2024-04-29 19:56:48.299 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'

The point is that in OpenHAB I can see the temperature of my PowerPlug FirtzDECT 200.
That means the temperature is measured and send via the Fritzbox to OpenHAB but there it is not stored.

Do have any hints for me?
Your help is very much appreciated.

Thank you.
Wolfgang

since i switched from influxdb1 to influxdb2 my influxdb.cfg 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=<your token, created in influxdb web interface>

# 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

because since influxdbv2 i connect no longer with user / password but with a token.

dont know if i did something wrong but i could no longer use my grafana dashboards, because the connection in grafana now is query language “flux” and i had to create all dasboards new.

Hello Stefan,

thank you for your reply.
I integrated all your points as mentioned above but I still do not get any data written into InfluxDB.
(BTW, those parameters like token etc. were given by me in the graphical UI but now I’ve put them into the …/services/influxdb.cfg also.)
However, the problem remains: No data written to the data base.
I turned the log level to DEBUG and here is what I got:

2024-04-30 07:39:51.640 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2024-04-30 07:40:23.378 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : BundleComponentActivator : ComponentHolder created.
2024-04-30 07:40:23.388 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : ConfigurableComponentHolder configuration updated for pid org.openhab.influxdb with change count 11
2024-04-30 07:40:23.391 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[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=null, parameter=0
2024-04-30 07:40:23.393 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Dependency Manager created $001interface=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=null, parameter=1
2024-04-30 07:40:23.396 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[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=modified configuration-pid=[org.openhab.influxdb]
2024-04-30 07:40:23.398 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component Services: scope=singleton, services=[org.openhab.core.persistence.PersistenceService, org.openhab.core.persistence.QueryablePersistenceService]
2024-04-30 07:40:23.400 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component Properties: {service.config.label=InfluxDB Persistence Service, service.config.category=persistence, service.config.description.uri=persistence:influxdb, service.config.factory=false, service.pid=org.openhab.influxdb}
2024-04-30 07:40:23.403 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Querying state disabled
2024-04-30 07:40:23.406 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Querying state disabled
2024-04-30 07:40:23.409 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Component can not be activated since it is in state disabled
2024-04-30 07:40:23.411 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService] : Querying state disabled
2024-04-30 07:40:23.413 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Updating target filters
2024-04-30 07:40:23.415 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : No change in target property for dependency $000: currently registered: false
2024-04-30 07:40:23.417 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] :  No existing service listener to unregister for dependency $000
2024-04-30 07:40:23.418 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Setting target property for dependency $000 to null
2024-04-30 07:40:23.420 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : 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-04-30 07:40:23.421 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $000 tracker reset (closed)
2024-04-30 07:40:23.425 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $000 tracking 1 SingleStatic added {org.openhab.core.items.ItemRegistry}={service.id=183, service.bundleid=149, service.scope=bundle, component.name=org.openhab.core.internal.items.ItemRegistryImpl, component.id=21} (enter)
2024-04-30 07:40:23.427 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $000 tracking 1 SingleStatic active: false trackerOpened: false optional: false
2024-04-30 07:40:23.429 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $000 tracking 1 SingleStatic added {org.openhab.core.items.ItemRegistry}={service.id=183, service.bundleid=149, service.scope=bundle, component.name=org.openhab.core.internal.items.ItemRegistryImpl, component.id=21} (exit)
2024-04-30 07:40:23.431 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $000 tracker opened
2024-04-30 07:40:23.433 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : registering service listener for dependency $000
2024-04-30 07:40:23.435 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : No change in target property for dependency $001: currently registered: false
2024-04-30 07:40:23.436 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] :  No existing service listener to unregister for dependency $001
2024-04-30 07:40:23.438 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Setting target property for dependency $001 to null
2024-04-30 07:40:23.439 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : New service tracker for $001, initial active: false, previous references: {}, classFilter: (objectClass=org.openhab.core.items.MetadataRegistry), initialReferenceFilter (objectClass=org.openhab.core.items.MetadataRegistry)
2024-04-30 07:40:23.441 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $001 tracker reset (closed)
2024-04-30 07:40:23.444 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $001 tracking 2 SingleStatic added {org.openhab.core.items.MetadataRegistry}={service.id=182, service.bundleid=149, service.scope=bundle, component.name=org.openhab.core.internal.items.MetadataRegistryImpl, component.id=26} (enter)
2024-04-30 07:40:23.446 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $001 tracking 2 SingleStatic active: false trackerOpened: false optional: false
2024-04-30 07:40:23.448 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $001 tracking 2 SingleStatic added {org.openhab.core.items.MetadataRegistry}={service.id=182, service.bundleid=149, service.scope=bundle, component.name=org.openhab.core.internal.items.MetadataRegistryImpl, component.id=26} (exit)
2024-04-30 07:40:23.449 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : dm $001 tracker opened
2024-04-30 07:40:23.451 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : registering service listener for dependency $001
2024-04-30 07:40:23.452 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Changed state from disabled to unsatisfiedReference
2024-04-30 07:40:23.454 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Component enabled
2024-04-30 07:40:23.458 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : ActivateInternal
2024-04-30 07:40:23.460 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Querying state unsatisfiedReference
2024-04-30 07:40:23.462 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Querying state unsatisfiedReference
2024-04-30 07:40:23.464 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Activating component from state unsatisfiedReference
2024-04-30 07:40:23.465 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Querying state unsatisfiedReference
2024-04-30 07:40:23.467 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Querying state unsatisfiedReference
2024-04-30 07:40:23.468 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Changed state from unsatisfiedReference to satisfied
2024-04-30 07:40:23.470 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : registration change queue [registered]
2024-04-30 07:40:23.478 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Checking constructor public org.openhab.persistence.influxdb.InfluxDBPersistenceService(org.openhab.core.items.ItemRegistry,org.openhab.core.items.MetadataRegistry)
2024-04-30 07:40:23.479 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : getReferenceClass: Looking for interface class org.openhab.core.items.ItemRegistry through loader of org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-04-30 07:40:23.481 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : getParameterClass: Found class org.openhab.core.items.ItemRegistry
2024-04-30 07:40:23.482 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : getReferenceClass: Looking for interface class org.openhab.core.items.MetadataRegistry through loader of org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-04-30 07:40:23.484 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : getParameterClass: Found class org.openhab.core.items.MetadataRegistry
2024-04-30 07:40:23.486 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Found constructor with 2 arguments : public org.openhab.persistence.influxdb.InfluxDBPersistenceService(org.openhab.core.items.ItemRegistry,org.openhab.core.items.MetadataRegistry)
2024-04-30 07:40:23.487 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : This thread collected dependencies
2024-04-30 07:40:23.489 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : getService (single component manager) dependencies collected.
2024-04-30 07:40:23.490 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Querying state satisfied
2024-04-30 07:40:23.491 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Querying state satisfied
2024-04-30 07:40:23.493 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : For dependency $000, optional: false; to bind: [[RefPair: ref: [{org.openhab.core.items.ItemRegistry}={service.id=183, service.bundleid=149, service.scope=bundle, component.name=org.openhab.core.internal.items.ItemRegistryImpl, component.id=21}] service: [null]]]
2024-04-30 07:40:23.495 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : For dependency $001, optional: false; to bind: [[RefPair: ref: [{org.openhab.core.items.MetadataRegistry}={service.id=182, service.bundleid=149, service.scope=bundle, component.name=org.openhab.core.internal.items.MetadataRegistryImpl, component.id=26}] service: [null]]]
2024-04-30 07:40:23.503 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : getting activate: activate
2024-04-30 07:40:23.504 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Locating method activate in class org.openhab.persistence.influxdb.InfluxDBPersistenceService
2024-04-30 07:40:23.509 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Declared Method org.openhab.persistence.influxdb.InfluxDBPersistenceService.activate([interface org.osgi.service.component.ComponentContext]) not found
2024-04-30 07:40:23.511 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Found activate method: public void org.openhab.persistence.influxdb.InfluxDBPersistenceService.activate(java.util.Map)
2024-04-30 07:40:23.513 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.helper.ReadOnlyDictionary]
2024-04-30 07:40:23.515 [DEBUG] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service is being activated
2024-04-30 07:40:23.520 [DEBUG] [.influxdb.InfluxDBPersistenceService] - Loaded configuration {component.name=org.openhab.persistence.influxdb.InfluxDBPersistenceService, url=http://127.0.0.1:8086, retentionPolicy=openhab, service.config.category=persistence, token=<MyToken>, service.config.description.uri=persistence:influxdb, user=openhab, version=V2, service.config.label=InfluxDB Persistence Service, service.pid=[org.openhab.influxdb, org.openhab.influxdb], service.config.factory=false, component.id=319, password=OpenHAB2024, db=TuxNet}
2024-04-30 07:40:24.202 [DEBUG] [rnal.influx2.InfluxDB2RepositoryImpl] - Succesfully connected to InfluxDB. Instance ready=class Ready
2024-04-30 07:40:24.505 [DEBUG] [rnal.influx2.InfluxDB2RepositoryImpl] - database status is OK
2024-04-30 07:40:24.506 [DEBUG] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service is now activated
2024-04-30 07:40:24.507 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : invoked activate: activate
2024-04-30 07:40:24.507 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Set implementation object for component
2024-04-30 07:40:24.508 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:3.4.2 (266)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(319)] : Changed state from satisfied to active

The InfluxDB seems to be ready because I could access the UI and upload some testfile through the UI.

In some older chat I found the hint to look in /var/log/syslog, in order to see if OH is attempting to write something to the InfluxDB.
Such an entry I would guess should appear every minute but it doesn’t.
I think OK currently is not trying to write data to the InfluxDB although the InfluxDB is connected.

Do you have other hints for me?
Support is much appreciated!!
Thank you in advance.
Wolfgang

first: you have postet your token in the log above, i suggest to edit the post and remove it :slightly_smiling_face:

but why do you think no data is written, did you try to open influx web-interface and check the bucket in the data explorer? if you have entries here:

then i would suppose data will be written.

Hello Stefan,
I saw that the token was written there but I intended to change it when it was running.
Anyway, I removed it now here in this chat.

After various changes the system now works but honestly I do not really know what was the root cause.
(Now I can print the values in the InfluxDB web UI).
This chat can be closed. Thank you for your support.
Kind regards
Wolfgang

1 Like

In one of my attempts I first have set the persistence to be written the RRD4J and I saw in the logs that it was writing there.
Then I changed it back to InfluxDB and suddenly it worked.
And I also did a few restarts of the service of with systemctl stop openhab rspv. systemctl start openhab
and now it’s writing the data to the InfluxDB.
Don’t ask me what was really the repair solution.
But it works and that is the most important.