I started using influxdb as my persistence service. With my first configuration I entered a already existing influxb v1.8 database and autogen as the default retention policy. But later I decided to use a separate database (called “influxdb_persistence”) and a own retention policy (called “18_months”). That is working perfectly fine. But I realized, that after safe rebooting of the raspberry pi, the config is reverted/reset back to the defaults (openHAB + autogen). If I then reenter the new database and retention policy, everything again works as aspected … until the next reboot. Can you tell me what is going on there and how to fix this?
Influxes persistence addon is configured via UI, the configuration of items is done in the influxb.persistence file. Using influxdb v1, installed from openhabian menu. ZRAM is activated. Default persistence service is set to influxdb. Log does not mention any issue, because also the “default” database + retention is available too (values then are going in there instead of my desired separate one).
Please don’t punch me. I found the error by myself. I have had configured influxdb persistence on both UI and file-based. But on the file-based (/etc/openhab/services/influxdb.cfg), the wrong database and retention policy was specified.