- Platform information:
- Hardware: virtual Machine on ESX Server
- OS: Suse Linux Enterprise Server 15
- Java Runtime Environment: zulu8.33.0.1-jdk8.0.192
- openHAB version: 2.3.0
- Issue of the topic: Persistence is not working, I can’t even see a persistence bundle/service started in logs
- Please post configurations (if applicable):
- Items configuration related to the issue
Switch Debug_Persistence "Debug Persistence"
- Services configuration related to the issue
- Items configuration related to the issue
services/addons.cfg
persistence = mapdb
Persistence is listed in PaperUI as installed, logs didn’t show any error during install
services/runtime.cfg
org.eclipse.smarthome.persistence:default=mapdb
persistence/mapdb.persist
Strategies {
default = everyChange
}
Items {
Debug_Persistence : strategy = everyChange
}
- If logs where generated please post these here using code fences:
Persistence file get’s loaded (at start) or refreshed on change:
[INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
[INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'mapdb.persist'
Debug item works too:
[ome.event.ItemCommandEvent] - Item 'Debug_Persistence' received command ON
[vent.ItemStateChangedEvent] - Debug_Persistence changed from OFF to ON
[ome.event.ItemCommandEvent] - Item 'Debug_Persistence' received command OFF
[vent.ItemStateChangedEvent] - Debug_Persistence changed from ON to OFF
My observation: In this topic I can see that log should contain “MapDB persistence bundle has been started.” and “store called for […]” which I don’t have.
What am I doing wrong? Maybe just a typo?
Thanks in advance