Hi All, i have this problem for the second time within couple months.
i have been running openhab for years without this problem (from what i can remember)
I think the first time was shortly after updating to openHAB 3.4.0.M1 im currently running openHAB 3.4.0.M2
i think both times i was course by rpi4 (4gb) losing power.
2022-10-28 18:59:07.475 [ERROR] [pdb.internal.MapDbPersistenceService] - bundle org.openhab.persistence.mapdb:3.4.0.M2 (293)[org.openhab.persistence.mapdb.internal.MapDbPersistenceService(340)] : The activate method has thrown an exception
java.lang.AssertionError: data were not fully read, check your serializer
at org.mapdb.Store.deserialize(Store.java:299) ~[?:?]
at org.mapdb.StoreDirect.get2(StoreDirect.java:486) ~[?:?]
at org.mapdb.StoreWAL.get2(StoreWAL.java:336) ~[?:?]
at org.mapdb.StoreWAL.get(StoreWAL.java:320) ~[?:?]
at org.mapdb.Caches$HashTable.get(Caches.java:246) ~[?:?]
at org.mapdb.EngineWrapper.get(EngineWrapper.java:58) ~[?:?]
at org.mapdb.BTreeMap.<init>(BTreeMap.java:541) ~
I know i can just delete the database file… but is there anyway to fix the database instead of just deleting it ?
Second question is there a way to make the system more robust to power outage ?
Thanks Mads