Cannot connect to InfluxDB-Cloud after upgrade from 3.4.1 to 4.1.0

Hi all,
after upgrading my openhabian installation vom 3.4.1 to 4.1.0 first everything looks fine, but the connection to InfluxDB-Cloud does not work anymore. I didn’t change any settings. Found something in openhab.log that looks strange and could be an hint for the cause for the error:

2023-12-25 15:34:15.345 [WARN ] [rnal.influx2.InfluxDB2RepositoryImpl] - database not ready
2023-12-25 15:34:15.348 [INFO ] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service started.
2023-12-25 15:34:15.350 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : invoking bind: setItemFactory: parameters [org.openhab.core.library.CoreItemFactory]
2023-12-25 15:34:15.358 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : invoked bind: setItemFactory
2023-12-25 15:34:15.359 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : getting activate: activate
2023-12-25 15:34:15.361 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : Locating method activate in class org.openhab.persistence.influxdb.InfluxDBPersistenceService
2023-12-25 15:34:15.363 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : Declared Method org.openhab.persistence.influxdb.InfluxDBPersistenceService.activate([interface org.osgi.service.component.ComponentContext]) not found
2023-12-25 15:34:15.364 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : Locating method activate in class java.lang.Object
2023-12-25 15:34:15.366 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : Declared Method java.lang.Object.activate([interface org.osgi.service.component.ComponentContext]) not found
2023-12-25 15:34:15.367 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : activate method [activate] not found, ignoring
2023-12-25 15:34:15.368 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : Set implementation object for component
2023-12-25 15:34:15.370 [DEBUG] [.influxdb.InfluxDBPersistenceService] - bundle org.openhab.persistence.influxdb:4.1.0 (278)[org.openhab.persistence.influxdb.InfluxDBPersistenceService(401)] : Changed state from satisfied to active
2023-12-25 15:34:15.541 [DEBUG] [.influxdb.InfluxDBPersistenceService] - Connection lost, trying re-connection
2023-12-25 15:34:16.119 [WARN ] [b.client.internal.InfluxDBClientImpl] - The exception occurs during check instance readiness

Did this happen to anyone else of you? Or something similar? Would be very happy for some help.

Thanks and best regards,
Marc

Hello Marc,

I had exactly the same problem. I ended up reinstalling OH.
But you can try going into the “Persistence configuration” in “Add-on Setting” in “InfluxDB Persistence”. At the bottom click on “Remove persistence configuration”. Then it works with the default values. After I played in the configuration, nothing worked anymore. After deleting the config it worked again without any problems.

Best regards