Upgrade to OH5 -> Could not create rrd4j database file

  • Platform information:
    • Hardware: Pi4
    • OS: openhabian
    • openHAB version:5.1

Hello,

I updated my Raspberry 4, OH4 32bit Setup to a new 64bit installation. I now get errors around the rrd4j persistence service (a lot of them from different items)

Could not create rrd4j database file ‘/var/lib/openhab/persistence/rrd4j/SolarEdge_SE10KRWS48BEN4_DC_Power_Value.rrd’: Invalid file header. File [/var/lib/openhab/persistence/rrd4j/SolarEdge_SE10KRWS48BEN4_DC_Power_Value.rrd] is not a RRD4J RRD file

I assume that is a problem of wrong permissions, but I am a bit lost. Is openhab the correct owner? Or openhabian? If connecting with ssh,I log in as “openhabian”: Permissions are as following:

I tried the “fix permission” from openhabian-config.

Any Ideas on how to proceed? Can I simply delete the rrd4j folder and create it empty? How to do this to have correct permissions?

It’s probably not about permissions as it obviously says they’re no rrd4j files.
You can simply remove all files inside the rrd4j folder, but stop openHAB before you do.