Thank you very much for both very fast replies @sasha_jpr @rossko57 . I will analyze the proposals and compare it to what I am doing wrong or what is running wrong. So I will come back with the results here.
Update 29th July:
1. I checked the owner topic, proposed by @sasha_jpr
→ everything looked pretty fine (in my opinion):
Version: 2.5.7 (Build)
User: openhab (Active Process 729)
User Groups: openhab tty dialout audio bluetooth gpioDirectories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab2 | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab2/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab2 | openhab:openhab
OPENHAB_CONF | /etc/openhab2 | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab2 | openhab:openhab
OPENHAB_BACKUPS | /var/lib/openhab2/backups | openhab:openhabURLs: http://192.168.178.42:8080
https://192.168.178.42:8443
2. topic regarding REST API, proposed by @rossko57
I used Rest API for the first time, it seems to be a very interesting tool, thanks that bite of knowledge.
It worked, but not in the assumed manor. All contact-items had a defined status visible in the sitemap and iOS app (open or closed) before the reboot. After reboot I found the status of the contact items as same as before or opposite or NULL, but not following any restore rules after reboot.
logs before reboot:
Event-Log: change of status for every item was shown, as anticipated,
openHAB-log: nothing appeared regarding any storage to any database after change of status
REST API: status was shown like in sitemap and iOS app
logs after reboot
Event-Log: could not see any systematic, some items changed from Null to the correct status, some changed it to the opposite status
openHAB-log: nothing appeared regarding any re-storage from any database
REST API: according that what I found out in the Event-log.
Failure: looks like no storage to mapDB will be done!
But mapDB is active in the karaf-console, but in the version 1.14 also after update to openHAB 2.5.7-1 (Release Build)
274 │ Active │ 80 │ 1.14.0 │ openHAB MapDB Persistence Bundle
Possible route causes for failure:
- Group def. for my contact items correct?
Group:Contact:OR(OPEN, CLOSED) gContact “Kontakte [(%d)]” (gHaus)
- Use of mapDB 1.14.0 correct?
Earlier request for this topic please find here post#1