OH 5.0.0 SNAPSHOT - MapDB Persistence not restoring some items on startup

You are missing the everyChange strategy on this configuration. It will restore on startup, but it never gets stored in the first place. Your text configuration has this correct.

defaultStrategies will only kick in if there are no strategies defined on the configurations at all. As this is confusing (and sometimes gives unexpected results), I have PR’s open to remove these default strategies for OH 5 (https://github.com/openhab/openhab-core/pull/4682).

1 Like