After upgrading from the latest beta to the so-called “stable” release of OpenHab2, rrd4j stopped working.
After grepping through the logfiles, I found:
2017-01-25 20:38:45.376 [ERROR] [urce.impl.DefaultResourceDescription] - /var/lib/openhab2/rrd4j.persist (No such file or directory)
2017-01-25 20:38:45.377 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2017-01-25 20:38:45.400 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'rrd4j.persist' is either empty or cannot be parsed correctly!
Seriously?
I worked around this bug by symlinking /etc/openhab2/persistence/rrd4j.persist to /var/lib/openhab2 .
But this doesn’t seem to be a general problem. I recently upgraded from snapshot version #743 to 2.0 stable with rrd4j running stable before and also after the upgrade.
Anyone else with a running or not running rrd4j, just to delimit this a little bit?
If have the same issue for mapdb.persist. (And have no further persistencies installed).
Openhab2 is running under “Ubuntu 16.04.1 LTS”, I upgraded from the Beta by changing the repo from
deb http://dl.bintray.com/openhab/apt-repo2 testing main
to
deb http://dl.bintray.com/openhab/apt-repo2 stable main
after updating the sources, openhab2 was NOT automatically upgraded by upgrade or dist-upgrade, so I did an apt install openhab2, which automatically deleted openhab2-online and installed openhab2.
All other configuration files seems to be loaded correctly.
Why? It seems to be apt specific, at least I didn’t see any comment from anyone using a non-apt install. Apt-specific stuff should go to openhab-linuxpkg.
/etc/openhab2/persistence.mapdb is being read correctly for me, and I upgraded to 2.0 stable via apt. I can’t think of a pathway for this error to occur?