Logos
(Rolf)
1
Dear all
mapdb does not work with me (I run on the latest openhab release). It does not restore values, although the log shows activity:
08:47:36.298 [TRACE] [apdb.internal.MapDBPersistenceService] - successfully commited mapdb transaction in 1ms
The mapdb.persist looks like (the mapdb.cfg is empty, I just use the default settings):
Strategies {
default = restoreOnStartup
everyMinute : "0 * * * * ? *"
}
Items {
DailyRad : strategy = restoreOnStartup, everyUpdate, everyMinute
Radiaton : strategy = restoreOnStartup, everyUpdate, everyMinute
}
The default persistence service is rrd4j (as defined in the system tab in paperui)
Anybody an idea what is wrong here? (btw; restoreOnStartup works with the rrd4j persistence)
Any hints are highly welcome
best regards
Rolf
vzorglub
(Vincent Regaud)
2
All the examples place the default
setting last:
Strategies {
everyMinute : "0 * * ? * * *"
default = restoreOnStartup
}
Items {
DailyRad : strategy = restoreOnStartup, everyUpdate, everyMinute
Radiaton : strategy = restoreOnStartup, everyUpdate, everyMinute
}
This is my set up:
// mapdb persistence
Strategies {
default = everyChange
}
Items {
* : strategy = everyChange, restoreOnStartup
}
Logos
(Rolf)
3
@vzorglub Thank you for the hint. So what I did is:
Strategies {
default = everyUpdate
everyMinute : "0 * * * * ? *"
}
Items {
DailyRad : strategy = everyUpdate, everyMinute, restoreOnStartup
Radiaton : strategy = everyUpdate, everyMinute, restoreOnStartup
}
However, unfortunately still not working…
Any other idea?
thanks in advance
Best regards
Rolf
vzorglub
(Vincent Regaud)
4
Strategies {
everyMinute : "0 * * ? * * *"
default = everyUpdate
}
Logos
(Rolf)
5
@vzorglub: that was it. It is working. Thanks a lot!