Hi everyone,
I have trouble getting MapDB running which I want to use to restore the item states on startup.
First of all my configuration:
- Hardware: Raspberry Pi 3
- OS: openhabianpi-raspbian-201712171718-git30faec3-crccc053823.img
- Java Runtime Environment: not sure, I didn’t change anything from the installed OS
- openHAB version: 2.2.0 release build
These are my already taken steps:
- I installed the MapDB service from PaperUI
- In services/runtime.cfg, I set the default persistence service to mapdb
org.eclipse.smarthome.persistence:default=mapdb
- In services/mapdb.cfg it set the interval and same state setting
# the commit interval in seconds (optional, default to '5')
commitinterval=5
# issue a commit even if the state did not change (optional, defaults to 'false')
commitsamestate=false
- I configured persistence/mapdb.persist
Strategies {
default = everyUpdate
}
Items {
// persist all items on every change and restore them from the db at startup
* : strategy = everyChange, restoreOnStartup
}
- I performed a reboot twice
However, the MapDB persistence service is not even once mentioned in the logs (only loading the mapdb.persist file).
Did I miss anything?
Thank you very much for your help!