Hi, it looks to me like the db4o persistence service is broken in openhab 1.8.
Yesterday I installed the new version via the apt-repository and my db4o persistence stopped working. I just copied the old 1.7 JAR over the 1.8 JAR and now it is working for me
db4o with the old version:
07:15:40.586 [DEBUG] [o.i.r.i.resources.ItemResource:205 ] - Received HTTP POST request at 'items/HT_Rule_WZ_1200_WT' with value '11.0'.
07:15:40.653 [DEBUG] [o.p.d.i.Db4oPersistenceService:118 ] - Stored item state 'HT_Rule_WZ_1200_WT' -> '11.0'
07:15:41.076 [DEBUG] [o.o.i.r.i.b.GeneralBroadcaster:46 ] - broadcaster 'org.openhab.io.rest.internal.broadcaster.GeneralBroadcaster$1@1590c3e' is empty
db40 with the new version:
7:10:19.046 [DEBUG] [o.i.r.i.resources.ItemResource:205 ] - Received HTTP POST request at 'items/HT_Rule_WZ_0630_WT' with value '10'.
07:10:19.423 [DEBUG] [o.o.i.r.i.b.GeneralBroadcaster:46 ] - broadcaster 'org.openhab.io.rest.internal.broadcaster.GeneralBroadcaster$1@e903f6' is empty
07:10:19.505 [DEBUG] [.r.i.resources.SitemapResource:146 ] - Received HTTP GET request at 'sitemaps/default/06000000010000' for media type 'null'.
(Both items are configured identically in the db4o.persist file)
Also, all the “Restored item state from…” log entries for the db4o persistence service are missing with the 1.8 SNAPSHOT binding.
The MySQL-Persistence seems to be working for me, so it doesn’t seem to be a general persistence service problem.
Hi Jörg, Would you open an issue for this if you have a github account, or should I? Any other information you can provide (here or in the issue) would be very helpful.
@nibblerrick and @gymlet, would you mind trying this JAR to confirm or refute the idea that it fixes the problems you’ve reported? Simply move your current db4o persistence JAR out of the addons folder, and move this one to the addons folder.