Mapdb: no restore at startup for item status

Well the problem is zram didn’t start. mapdb is irrelevant here.

@narf27 please get the output is asked for, then remove the latest changes from /etc/systemd/system/zram-config.service:
unattended-upgrades.service from the After= line
the Conflicts: .... line

zramsync:

-- Logs begin at Sun 2020-09-06 12:21:14 CEST, end at Sun 2020-09-06 16:17:01 CEST. --
Sep 06 12:21:41 openhab systemd[1]: Started zramsync.
-- Subject: A start job for unit zramsync.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit zramsync.service has finished successfully.
-- 
-- The job identifier is 61.
Sep 06 12:26:36 openhab systemd[1]: Stopping zramsync...
-- Subject: A stop job for unit zramsync.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A stop job for unit zramsync.service has begun execution.
-- 
-- The job identifier is 776.
Sep 06 12:26:36 openhab zramsync[1374]: + TMPDIR=/tmp
Sep 06 12:26:36 openhab zramsync[1374]: + LOG=/storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: + dir=/storage/zram
Sep 06 12:26:36 openhab zramsync[1374]: + storeFile=/storage/zram/zram.tar
Sep 06 12:26:36 openhab zramsync[1374]: + [[ 2 -ne 2 ]]
Sep 06 12:26:36 openhab zramsync[1374]: + [[ -f /etc/ztab ]]
Sep 06 12:26:36 openhab zramsync[1374]: + [[ -d /storage/zram ]]
Sep 06 12:26:36 openhab zramsync[1374]: + [[ sync == \r\e\c\o\v\e\r ]]
Sep 06 12:26:36 openhab zramsync[1374]: + mode=sync
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: ++ date
Sep 06 12:26:36 openhab zramsync[1374]: + echo 'zramsync creating backup @ Sun  6 Sep 12:26:36 CEST 2020'
Sep 06 12:26:36 openhab zramsync[1374]: zramsync creating backup @ Sun  6 Sep 12:26:36 CEST 2020
Sep 06 12:26:36 openhab zramsync[1374]: + inFile=/tmp/zram-device-list
Sep 06 12:26:36 openhab zramsync[1374]: + rm -f /storage/zram/zram.tar
Sep 06 12:26:36 openhab zramsync[1374]: + read -r line
Sep 06 12:26:36 openhab zramsync[1374]: + case "$line" in
Sep 06 12:26:36 openhab zramsync[1374]: + set -- swap /zram0 zram-config0
Sep 06 12:26:36 openhab zramsync[1374]: + [[ swap == \d\i\r ]]
Sep 06 12:26:36 openhab zramsync[1374]: + [[ swap == \l\o\g ]]
Sep 06 12:26:36 openhab zramsync[1374]: + read -r line
Sep 06 12:26:36 openhab zramsync[1374]: + case "$line" in
Sep 06 12:26:36 openhab zramsync[1374]: + set -- log /zram1 /var/log /log.bind
Sep 06 12:26:36 openhab zramsync[1374]: + [[ log == \d\i\r ]]
Sep 06 12:26:36 openhab zramsync[1374]: + [[ log == \l\o\g ]]
Sep 06 12:26:36 openhab zramsync[1374]: + df -k
Sep 06 12:26:36 openhab zramsync[1374]: + grep over
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: overlay1          479560   20784    422936   5% /var/log
Sep 06 12:26:36 openhab zramsync[1374]: overlay2          479560     856    442864   1% /var/lib/openhab2/persistence
Sep 06 12:26:36 openhab zramsync[1374]: ++ pwd
Sep 06 12:26:36 openhab zramsync[1374]: + OLDWD=/
Sep 06 12:26:36 openhab zramsync[1374]: + [[ sync = \r\e\c\o\v\e\r ]]
Sep 06 12:26:36 openhab zramsync[1374]: + PARENTDIR=/opt/zram/zram1
Sep 06 12:26:36 openhab zramsync[1374]: + NEWDIR=/opt/zram/zram1/upper
Sep 06 12:26:36 openhab zramsync[1374]: + ls -ld /opt/zram /opt/zram/zram1 /opt/zram/zram1/upper
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: drwxr-xr-x 10 root root 4096 Sep  6 12:21 /opt/zram
Sep 06 12:26:36 openhab zramsync[1374]: drwxr-xr-x  5 root root 4096 Sep  6 12:21 /opt/zram/zram1
Sep 06 12:26:36 openhab zramsync[1374]: drwxr-xr-x  5 root root 4096 Sep  6 12:21 /opt/zram/zram1/upper
Sep 06 12:26:36 openhab zramsync[1374]: + [[ -d /opt/zram/zram1/upper ]]
Sep 06 12:26:36 openhab zramsync[1374]: + cd /opt/zram/zram1/upper
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: + echo 'storing /var/log...'
Sep 06 12:26:36 openhab zramsync[1374]: storing /var/log...
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: + echo 'tar --transform '\''s,^\.,'\''/var/log'\'','\'' -rvf /storage/zram/zram.tar .'
Sep 06 12:26:36 openhab zramsync[1374]: tar --transform 's,^\.,'/var/log',' -rvf /storage/zram/zram.tar .
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: + tar --transform 's,^\.,/var/log,' -rvf /storage/zram/zram.tar .
Sep 06 12:26:36 openhab zramsync[1374]: ./
Sep 06 12:26:36 openhab zramsync[1374]: ./syslog
Sep 06 12:26:36 openhab zramsync[1374]: ./kern.log
Sep 06 12:26:36 openhab zramsync[1374]: ./openhab2/
Sep 06 12:26:36 openhab zramsync[1374]: ./openhab2/audit.log
Sep 06 12:26:36 openhab zramsync[1374]: ./openhab2/openhab.log
Sep 06 12:26:36 openhab zramsync[1374]: ./openhab2/events.log
Sep 06 12:26:36 openhab zramsync[1374]: ./samba/
Sep 06 12:26:36 openhab zramsync[1374]: ./samba/log.smbd
Sep 06 12:26:36 openhab zramsync[1374]: ./samba/log.nmbd
Sep 06 12:26:36 openhab zramsync[1374]: ./samba/log.
Sep 06 12:26:36 openhab zramsync[1374]: ./messages
Sep 06 12:26:36 openhab zramsync[1374]: ./journal/
Sep 06 12:26:36 openhab zramsync[1374]: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/
Sep 06 12:26:36 openhab zramsync[1374]: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/user-1000@0005aea288c979b0-dd14b66bf7f6b18b.journal~
Sep 06 12:26:36 openhab zramsync[1374]: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/user-1000.journal
Sep 06 12:26:36 openhab zramsync[1374]: ./lastlog
Sep 06 12:26:36 openhab zramsync[1374]: ./wtmp
Sep 06 12:26:36 openhab zramsync[1374]: ./auth.log
Sep 06 12:26:36 openhab zramsync[1374]: ./daemon.log
Sep 06 12:26:36 openhab zramsync[1374]: + cd /
Sep 06 12:26:36 openhab zramsync[1374]: + read -r line
Sep 06 12:26:36 openhab zramsync[1374]: + case "$line" in
Sep 06 12:26:36 openhab zramsync[1374]: + set -- dir /zram2 /var/lib/openhab2/persistence /persistence.bind
Sep 06 12:26:36 openhab zramsync[1374]: + [[ dir == \d\i\r ]]
Sep 06 12:26:36 openhab zramsync[1374]: + df -k
Sep 06 12:26:36 openhab zramsync[1374]: + grep over
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: overlay1          479560   20784    422936   5% /var/log
Sep 06 12:26:36 openhab zramsync[1374]: overlay2          479560     856    442864   1% /var/lib/openhab2/persistence
Sep 06 12:26:36 openhab zramsync[1374]: ++ pwd
Sep 06 12:26:36 openhab zramsync[1374]: + OLDWD=/
Sep 06 12:26:36 openhab zramsync[1374]: + [[ sync = \r\e\c\o\v\e\r ]]
Sep 06 12:26:36 openhab zramsync[1374]: + PARENTDIR=/opt/zram/zram2
Sep 06 12:26:36 openhab zramsync[1374]: + NEWDIR=/opt/zram/zram2/upper
Sep 06 12:26:36 openhab zramsync[1374]: + ls -ld /opt/zram /opt/zram/zram2 /opt/zram/zram2/upper
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: drwxr-xr-x 10 root    root    4096 Sep  6 12:21 /opt/zram
Sep 06 12:26:36 openhab zramsync[1374]: drwxr-xr-x  5 root    root    4096 Sep  6 12:21 /opt/zram/zram2
Sep 06 12:26:36 openhab zramsync[1374]: drwxrwxr-x  3 openhab openhab 4096 Sep  6 12:21 /opt/zram/zram2/upper
Sep 06 12:26:36 openhab zramsync[1374]: + [[ -d /opt/zram/zram2/upper ]]
Sep 06 12:26:36 openhab zramsync[1374]: + cd /opt/zram/zram2/upper
Sep 06 12:26:36 openhab zramsync[1374]: + echo 'storing /var/lib/openhab2/persistence...'
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: storing /var/lib/openhab2/persistence...
Sep 06 12:26:36 openhab zramsync[1374]: + echo 'tar --transform '\''s,^\.,'\''/var/lib/openhab2/persistence'\'','\'' -rvf /storage/zram/zram.tar .'
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: tar --transform 's,^\.,'/var/lib/openhab2/persistence',' -rvf /storage/zram/zram.tar .
Sep 06 12:26:36 openhab zramsync[1374]: + tar --transform 's,^\.,/var/lib/openhab2/persistence,' -rvf /storage/zram/zram.tar .
Sep 06 12:26:36 openhab zramsync[1374]: + tee -a /storage/zram/zramsync.log
Sep 06 12:26:36 openhab zramsync[1374]: tar: Removing leading `/' from member names
Sep 06 12:26:36 openhab zramsync[1374]: ./
Sep 06 12:26:36 openhab zramsync[1374]: ./mapdb/
Sep 06 12:26:36 openhab zramsync[1374]: ./mapdb/storage.mapdb.p
Sep 06 12:26:36 openhab zramsync[1374]: ./mapdb/storage.mapdb.t
Sep 06 12:26:36 openhab zramsync[1374]: ./mapdb/storage.mapdb
Sep 06 12:26:36 openhab zramsync[1374]: + cd /
Sep 06 12:26:36 openhab zramsync[1374]: + read -r line
Sep 06 12:26:36 openhab zram-config[1485]: + TMPDIR=/tmp
Sep 06 12:26:36 openhab zram-config[1485]: + ZSHARE=/usr/local/share/zram-config
Sep 06 12:26:36 openhab zram-config[1485]: + ZLOG=/usr/local/share/zram-config/log/zram-config.log
Sep 06 12:26:36 openhab zram-config[1485]: + ZDIR=/opt/zram
Sep 06 12:26:36 openhab zram-config[1485]: + [[ -f /boot/cmdline.txt ]]
Sep 06 12:26:36 openhab zram-config[1485]: + ZEPHEMERAL=false
Sep 06 12:26:36 openhab zram-config[1485]: + case "$1" in
Sep 06 12:26:36 openhab zram-config[1485]: ++ date +%Y-%m-%d-%H:%M:%S
Sep 06 12:26:36 openhab zram-config[1485]: + echo 'zram-config stop 2020-09-06-12:26:36'
Sep 06 12:26:36 openhab zram-config[1485]: + tac /tmp/zram-device-list
Sep 06 12:26:36 openhab zram-config[1485]: + file=/tmp/zram-device-list.rev
Sep 06 12:26:36 openhab zram-config[1485]: + read -r line
Sep 06 12:26:36 openhab zram-config[1485]: + case "$line" in
Sep 06 12:26:36 openhab zram-config[1485]: + set -- dir /zram2 /var/lib/openhab2/persistence /persistence.bind
Sep 06 12:26:36 openhab zram-config[1485]: + echo 'ztab remove dir /zram2 /var/lib/openhab2/persistence /persistence.bind'
Sep 06 12:26:36 openhab zram-config[1485]: + case "$1" in
Sep 06 12:26:36 openhab zram-config[1485]: + ZTYPE=dir
Sep 06 12:26:36 openhab zram-config[1485]: + ZRAM_DEV=/zram2
Sep 06 12:26:37 openhab zram-config[1485]: + TARGET_DIR=/var/lib/openhab2/persistence
Sep 06 12:26:37 openhab zram-config[1485]: + BIND_DIR=/persistence.bind
Sep 06 12:26:37 openhab zram-config[1485]: + [[ false == \f\a\l\s\e ]]
Sep 06 12:26:37 openhab zram-config[1485]: + removeZdir
Sep 06 12:26:37 openhab zram-config[1485]: + echo /zram2
Sep 06 12:26:37 openhab zram-config[1485]: ++ echo /zram2
Sep 06 12:26:37 openhab zram-config[1485]: ++ tr -dc 0-9
Sep 06 12:26:37 openhab zram-config[1485]: + local DEV_NUM=2
Sep 06 12:26:37 openhab zram-config[1485]: + [[ -n /var/lib/openhab2/persistence ]]
Sep 06 12:26:37 openhab zram-config[1485]: + umount --verbose /var/lib/openhab2/persistence/
Sep 06 12:26:37 openhab zram-config[1485]: + umount --verbose --lazy /var/lib/openhab2/persistence/
Sep 06 12:26:37 openhab zram-config[1485]: + mergeOverlay
Sep 06 12:26:37 openhab zram-config[1485]: + [[ -n /zram2 ]]
Sep 06 12:26:37 openhab zram-config[1485]: + umount --verbose /opt/zram/zram2/
Sep 06 12:26:37 openhab zram-config[1485]: + umount overlay2
Sep 06 12:26:37 openhab zram-config[1485]: + return 1
Sep 06 12:26:37 openhab zram-config[1485]: + read -r line
Sep 06 12:26:37 openhab zram-config[1485]: + case "$line" in
Sep 06 12:26:37 openhab zram-config[1485]: + set -- log /zram1 /var/log /log.bind
Sep 06 12:26:37 openhab zram-config[1485]: + echo 'ztab remove log /zram1 /var/log /log.bind'
Sep 06 12:26:37 openhab zram-config[1485]: + case "$1" in
Sep 06 12:26:37 openhab zram-config[1485]: + ZTYPE=log
Sep 06 12:26:37 openhab zram-config[1485]: + ZRAM_DEV=/zram1
Sep 06 12:26:37 openhab zram-config[1485]: + TARGET_DIR=/var/log
Sep 06 12:26:37 openhab zram-config[1485]: + BIND_DIR=/log.bind
Sep 06 12:26:37 openhab zram-config[1485]: + [[ false == \f\a\l\s\e ]]
Sep 06 12:26:37 openhab zram-config[1485]: + removeZlog
Sep 06 12:26:37 openhab zram-config[1485]: + [[ -n '' ]]
Sep 06 12:26:37 openhab zram-config[1485]: + echo /zram1
Sep 06 12:26:37 openhab zram-config[1485]: ++ echo /zram1
Sep 06 12:26:37 openhab zram-config[1485]: ++ tr -dc 0-9
Sep 06 12:26:37 openhab zram-config[1485]: + local DEV_NUM=1
Sep 06 12:26:37 openhab zram-config[1485]: + [[ -n /var/log ]]
Sep 06 12:26:37 openhab zram-config[1485]: ++ dpkg -s nginx
Sep 06 12:26:37 openhab zram-config[1485]: dpkg-query: package 'nginx' is not installed and no information is available
Sep 06 12:26:37 openhab zram-config[1485]: Use dpkg --info (= dpkg-deb --info) to examine archive files.
Sep 06 12:26:37 openhab zram-config[1485]: + [[ -n '' ]]
Sep 06 12:26:37 openhab zram-config[1485]: ++ systemctl is-active rsyslog.service
Sep 06 12:26:37 openhab zram-config[1485]: + [[ -n inactive ]]
Sep 06 12:26:37 openhab zram-config[1485]: + systemctl stop rsyslog.service
Sep 06 12:26:37 openhab zram-config[1485]: + umount --verbose /var/log/
Sep 06 12:26:37 openhab zram-config[1485]: + umount --verbose --lazy /var/log/
Sep 06 12:26:37 openhab zram-config[1485]: + mergeOverlay
Sep 06 12:26:38 openhab zram-config[1485]: + [[ -n /zram1 ]]
Sep 06 12:26:38 openhab zram-config[1485]: + umount --verbose /opt/zram/zram1/
Sep 06 12:26:38 openhab zram-config[1485]: + umount overlay1
Sep 06 12:26:38 openhab zram-config[1485]: + rm -rfv /opt/zram/zram1
Sep 06 12:26:38 openhab zram-config[1485]: + [[ -n /log.bind ]]
Sep 06 12:26:38 openhab zram-config[1485]: + umount --verbose /opt/zram/log.bind/
Sep 06 12:26:38 openhab zram-config[1485]: + return 1
Sep 06 12:26:38 openhab zram-config[1485]: + read -r line
Sep 06 12:26:38 openhab zram-config[1485]: + case "$line" in
Sep 06 12:26:38 openhab zram-config[1485]: + set -- swap /zram0 zram-config0
Sep 06 12:26:38 openhab zram-config[1485]: + echo 'ztab remove swap /zram0 zram-config0 '
Sep 06 12:26:38 openhab zram-config[1485]: + case "$1" in
Sep 06 12:26:38 openhab zram-config[1485]: + ZTYPE=swap
Sep 06 12:26:38 openhab zram-config[1485]: + ZRAM_DEV=/zram0
Sep 06 12:26:38 openhab zram-config[1485]: + LABEL=zram-config0
Sep 06 12:26:38 openhab zram-config[1485]: + removeZswap
Sep 06 12:26:38 openhab zram-config[1485]: ++ echo /zram0
Sep 06 12:26:38 openhab zram-config[1485]: ++ tr -dc 0-9
Sep 06 12:26:38 openhab zram-config[1485]: + local DEV_NUM=0
Sep 06 12:26:38 openhab zram-config[1485]: + swapoff /dev/zram0
Sep 06 12:26:38 openhab zram-config[1485]: + echo 0
Sep 06 12:26:38 openhab zram-config[1485]: + zramctl -r /dev/zram0
Sep 06 12:26:38 openhab zram-config[1485]: + return 1
Sep 06 12:26:38 openhab zram-config[1485]: + read -r line
Sep 06 12:26:38 openhab zram-config[1485]: + rm -fv /tmp/zram-device-list.rev /tmp/zram-device-list
Sep 06 12:26:38 openhab systemd[1]: zramsync.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- The unit zramsync.service has successfully entered the 'dead' state.
Sep 06 12:26:38 openhab systemd[1]: Stopped zramsync.
-- Subject: A stop job for unit zramsync.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A stop job for unit zramsync.service has finished.
-- 
-- The job identifier is 776 and the job result is done.
-- Reboot --
Sep 06 12:26:51 openhab systemd[1]: Started zramsync.
-- Subject: A start job for unit zramsync.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit zramsync.service has finished successfully.
-- 
-- The job identifier is 71.
Sep 06 12:48:04 openhab systemd[1]: Stopping zramsync...
-- Subject: A stop job for unit zramsync.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A stop job for unit zramsync.service has begun execution.
-- 
-- The job identifier is 805.
Sep 06 12:48:04 openhab zramsync[1528]: + TMPDIR=/tmp
Sep 06 12:48:04 openhab zramsync[1528]: + LOG=/storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: + dir=/storage/zram
Sep 06 12:48:04 openhab zramsync[1528]: + storeFile=/storage/zram/zram.tar
Sep 06 12:48:04 openhab zramsync[1528]: + [[ 2 -ne 2 ]]
Sep 06 12:48:04 openhab zramsync[1528]: + [[ -f /etc/ztab ]]
Sep 06 12:48:04 openhab zramsync[1528]: + [[ -d /storage/zram ]]
Sep 06 12:48:04 openhab zramsync[1528]: + [[ sync == \r\e\c\o\v\e\r ]]
Sep 06 12:48:04 openhab zramsync[1528]: + mode=sync
Sep 06 12:48:04 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: ++ date
Sep 06 12:48:04 openhab zramsync[1528]: + echo 'zramsync creating backup @ Sun  6 Sep 12:48:04 CEST 2020'
Sep 06 12:48:04 openhab zramsync[1528]: zramsync creating backup @ Sun  6 Sep 12:48:04 CEST 2020
Sep 06 12:48:04 openhab zramsync[1528]: + inFile=/tmp/zram-device-list
Sep 06 12:48:04 openhab zramsync[1528]: + rm -f /storage/zram/zram.tar
Sep 06 12:48:04 openhab zramsync[1528]: + read -r line
Sep 06 12:48:04 openhab zramsync[1528]: + case "$line" in
Sep 06 12:48:04 openhab zramsync[1528]: + set -- swap /zram0 zram-config0
Sep 06 12:48:04 openhab zramsync[1528]: + [[ swap == \d\i\r ]]
Sep 06 12:48:04 openhab zramsync[1528]: + [[ swap == \l\o\g ]]
Sep 06 12:48:04 openhab zramsync[1528]: + read -r line
Sep 06 12:48:04 openhab zramsync[1528]: + case "$line" in
Sep 06 12:48:04 openhab zramsync[1528]: + set -- log /zram1 /var/log /log.bind
Sep 06 12:48:04 openhab zramsync[1528]: + [[ log == \d\i\r ]]
Sep 06 12:48:04 openhab zramsync[1528]: + [[ log == \l\o\g ]]
Sep 06 12:48:04 openhab zramsync[1528]: + df -k
Sep 06 12:48:04 openhab zramsync[1528]: + grep over
Sep 06 12:48:04 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: overlay1          479560   20856    422864   5% /var/log
Sep 06 12:48:04 openhab zramsync[1528]: overlay2          479560     856    442864   1% /var/lib/openhab2/persistence
Sep 06 12:48:04 openhab zramsync[1528]: ++ pwd
Sep 06 12:48:04 openhab zramsync[1528]: + OLDWD=/
Sep 06 12:48:04 openhab zramsync[1528]: + [[ sync = \r\e\c\o\v\e\r ]]
Sep 06 12:48:04 openhab zramsync[1528]: + PARENTDIR=/opt/zram/zram1
Sep 06 12:48:04 openhab zramsync[1528]: + NEWDIR=/opt/zram/zram1/upper
Sep 06 12:48:04 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: + ls -ld /opt/zram /opt/zram/zram1 /opt/zram/zram1/upper
Sep 06 12:48:04 openhab zramsync[1528]: drwxr-xr-x 10 root root 4096 Sep  6 12:26 /opt/zram
Sep 06 12:48:04 openhab zramsync[1528]: drwxr-xr-x  5 root root 4096 Sep  6 12:26 /opt/zram/zram1
Sep 06 12:48:04 openhab zramsync[1528]: drwxr-xr-x  5 root root 4096 Sep  6 12:26 /opt/zram/zram1/upper
Sep 06 12:48:04 openhab zramsync[1528]: + [[ -d /opt/zram/zram1/upper ]]
Sep 06 12:48:04 openhab zramsync[1528]: + cd /opt/zram/zram1/upper
Sep 06 12:48:04 openhab zramsync[1528]: + echo 'storing /var/log...'
Sep 06 12:48:04 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: storing /var/log...
Sep 06 12:48:04 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: + echo 'tar --transform '\''s,^\.,'\''/var/log'\'','\'' -rvf /storage/zram/zram.tar .'
Sep 06 12:48:04 openhab zramsync[1528]: tar --transform 's,^\.,'/var/log',' -rvf /storage/zram/zram.tar .
Sep 06 12:48:04 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:04 openhab zramsync[1528]: + tar --transform 's,^\.,/var/log,' -rvf /storage/zram/zram.tar .
Sep 06 12:48:04 openhab zramsync[1528]: ./
Sep 06 12:48:04 openhab zramsync[1528]: ./syslog
Sep 06 12:48:04 openhab zramsync[1528]: ./daemon.log
Sep 06 12:48:04 openhab zramsync[1528]: ./lastlog
Sep 06 12:48:04 openhab zramsync[1528]: ./journal/
Sep 06 12:48:04 openhab zramsync[1528]: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/
Sep 06 12:48:04 openhab zramsync[1528]: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/user-1000.journal
Sep 06 12:48:05 openhab zramsync[1528]: tar: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/user-1000.journal: file changed as we read it
Sep 06 12:48:05 openhab zramsync[1528]: ./journal/340b7e3a0c2443e1aeb191b0ee75c594/user-1000@0005aea2d590a07b-2ae7c258a5517384.journal~
Sep 06 12:48:05 openhab zramsync[1528]: ./samba/
Sep 06 12:48:05 openhab zramsync[1528]: ./samba/log.desktop-ohgh23o
Sep 06 12:48:05 openhab zramsync[1528]: ./samba/log.smbd
Sep 06 12:48:05 openhab zramsync[1528]: ./samba/log.
Sep 06 12:48:05 openhab zramsync[1528]: ./samba/log.nmbd
Sep 06 12:48:05 openhab zramsync[1528]: ./samba/log.fe80__5042_9ca9_bb81_3555
Sep 06 12:48:05 openhab zramsync[1528]: ./kern.log
Sep 06 12:48:05 openhab zramsync[1528]: ./wtmp
Sep 06 12:48:05 openhab zramsync[1528]: ./openhab2/
Sep 06 12:48:05 openhab zramsync[1528]: ./openhab2/audit.log
Sep 06 12:48:05 openhab zramsync[1528]: ./openhab2/events.log
Sep 06 12:48:05 openhab zramsync[1528]: ./openhab2/openhab.log
Sep 06 12:48:05 openhab zramsync[1528]: ./messages
Sep 06 12:48:05 openhab zramsync[1528]: ./auth.log
Sep 06 12:48:05 openhab zramsync[1528]: + cd /
Sep 06 12:48:05 openhab zramsync[1528]: + read -r line
Sep 06 12:48:05 openhab zramsync[1528]: + case "$line" in
Sep 06 12:48:05 openhab zramsync[1528]: + set -- dir /zram2 /var/lib/openhab2/persistence /persistence.bind
Sep 06 12:48:05 openhab zramsync[1528]: + [[ dir == \d\i\r ]]
Sep 06 12:48:05 openhab zramsync[1528]: + df -k
Sep 06 12:48:05 openhab zramsync[1528]: + grep over
Sep 06 12:48:05 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:05 openhab zramsync[1528]: overlay1          479560   20856    422864   5% /var/log
Sep 06 12:48:05 openhab zramsync[1528]: overlay2          479560     856    442864   1% /var/lib/openhab2/persistence
Sep 06 12:48:05 openhab zramsync[1528]: ++ pwd
Sep 06 12:48:05 openhab zramsync[1528]: + OLDWD=/
Sep 06 12:48:05 openhab zramsync[1528]: + [[ sync = \r\e\c\o\v\e\r ]]
Sep 06 12:48:05 openhab zramsync[1528]: + PARENTDIR=/opt/zram/zram2
Sep 06 12:48:05 openhab zramsync[1528]: + NEWDIR=/opt/zram/zram2/upper
Sep 06 12:48:05 openhab zramsync[1528]: + ls -ld /opt/zram /opt/zram/zram2 /opt/zram/zram2/upper
Sep 06 12:48:05 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:05 openhab zramsync[1528]: drwxr-xr-x 10 root    root    4096 Sep  6 12:26 /opt/zram
Sep 06 12:48:05 openhab zramsync[1528]: drwxr-xr-x  5 root    root    4096 Sep  6 12:26 /opt/zram/zram2
Sep 06 12:48:05 openhab zramsync[1528]: drwxrwxr-x  3 openhab openhab 4096 Sep  6 12:26 /opt/zram/zram2/upper
Sep 06 12:48:05 openhab zramsync[1528]: + [[ -d /opt/zram/zram2/upper ]]
Sep 06 12:48:05 openhab zramsync[1528]: + cd /opt/zram/zram2/upper
Sep 06 12:48:05 openhab zramsync[1528]: + echo 'storing /var/lib/openhab2/persistence...'
Sep 06 12:48:05 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:05 openhab zramsync[1528]: storing /var/lib/openhab2/persistence...
Sep 06 12:48:05 openhab zramsync[1528]: + echo 'tar --transform '\''s,^\.,'\''/var/lib/openhab2/persistence'\'','\'' -rvf /storage/zram/zram.tar .'
Sep 06 12:48:05 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:05 openhab zramsync[1528]: tar --transform 's,^\.,'/var/lib/openhab2/persistence',' -rvf /storage/zram/zram.tar .
Sep 06 12:48:05 openhab zramsync[1528]: + tar --transform 's,^\.,/var/lib/openhab2/persistence,' -rvf /storage/zram/zram.tar .
Sep 06 12:48:05 openhab zramsync[1528]: + tee -a /storage/zram/zramsync.log
Sep 06 12:48:05 openhab zramsync[1528]: tar: Removing leading `/' from member names
Sep 06 12:48:05 openhab zramsync[1528]: ./
Sep 06 12:48:05 openhab zramsync[1528]: ./mapdb/
Sep 06 12:48:05 openhab zramsync[1528]: ./mapdb/storage.mapdb.t
Sep 06 12:48:05 openhab zramsync[1528]: ./mapdb/storage.mapdb
Sep 06 12:48:05 openhab zramsync[1528]: ./mapdb/storage.mapdb.p
Sep 06 12:48:05 openhab zramsync[1528]: + cd /
Sep 06 12:48:05 openhab zramsync[1528]: + read -r line
Sep 06 12:48:05 openhab zram-config[1642]: + TMPDIR=/tmp
Sep 06 12:48:05 openhab zram-config[1642]: + ZSHARE=/usr/local/share/zram-config
Sep 06 12:48:05 openhab zram-config[1642]: + ZLOG=/usr/local/share/zram-config/log/zram-config.log
Sep 06 12:48:05 openhab zram-config[1642]: + ZDIR=/opt/zram
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -f /boot/cmdline.txt ]]
Sep 06 12:48:05 openhab zram-config[1642]: + ZEPHEMERAL=false
Sep 06 12:48:05 openhab zram-config[1642]: + case "$1" in
Sep 06 12:48:05 openhab zram-config[1642]: ++ date +%Y-%m-%d-%H:%M:%S
Sep 06 12:48:05 openhab zram-config[1642]: + echo 'zram-config stop 2020-09-06-12:48:05'
Sep 06 12:48:05 openhab zram-config[1642]: + tac /tmp/zram-device-list
Sep 06 12:48:05 openhab zram-config[1642]: + file=/tmp/zram-device-list.rev
Sep 06 12:48:05 openhab zram-config[1642]: + read -r line
Sep 06 12:48:05 openhab zram-config[1642]: + case "$line" in
Sep 06 12:48:05 openhab zram-config[1642]: + set -- dir /zram2 /var/lib/openhab2/persistence /persistence.bind
Sep 06 12:48:05 openhab zram-config[1642]: + echo 'ztab remove dir /zram2 /var/lib/openhab2/persistence /persistence.bind'
Sep 06 12:48:05 openhab zram-config[1642]: + case "$1" in
Sep 06 12:48:05 openhab zram-config[1642]: + ZTYPE=dir
Sep 06 12:48:05 openhab zram-config[1642]: + ZRAM_DEV=/zram2
Sep 06 12:48:05 openhab zram-config[1642]: + TARGET_DIR=/var/lib/openhab2/persistence
Sep 06 12:48:05 openhab zram-config[1642]: + BIND_DIR=/persistence.bind
Sep 06 12:48:05 openhab zram-config[1642]: + [[ false == \f\a\l\s\e ]]
Sep 06 12:48:05 openhab zram-config[1642]: + removeZdir
Sep 06 12:48:05 openhab zram-config[1642]: + echo /zram2
Sep 06 12:48:05 openhab zram-config[1642]: ++ echo /zram2
Sep 06 12:48:05 openhab zram-config[1642]: ++ tr -dc 0-9
Sep 06 12:48:05 openhab zram-config[1642]: + local DEV_NUM=2
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -n /var/lib/openhab2/persistence ]]
Sep 06 12:48:05 openhab zram-config[1642]: + umount --verbose /var/lib/openhab2/persistence/
Sep 06 12:48:05 openhab zram-config[1642]: + umount --verbose --lazy /var/lib/openhab2/persistence/
Sep 06 12:48:05 openhab zram-config[1642]: + mergeOverlay
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -n /zram2 ]]
Sep 06 12:48:05 openhab zram-config[1642]: + umount --verbose /opt/zram/zram2/
Sep 06 12:48:05 openhab zram-config[1642]: + umount overlay2
Sep 06 12:48:05 openhab zram-config[1642]: + return 1
Sep 06 12:48:05 openhab zram-config[1642]: + read -r line
Sep 06 12:48:05 openhab zram-config[1642]: + case "$line" in
Sep 06 12:48:05 openhab zram-config[1642]: + set -- log /zram1 /var/log /log.bind
Sep 06 12:48:05 openhab zram-config[1642]: + echo 'ztab remove log /zram1 /var/log /log.bind'
Sep 06 12:48:05 openhab zram-config[1642]: + case "$1" in
Sep 06 12:48:05 openhab zram-config[1642]: + ZTYPE=log
Sep 06 12:48:05 openhab zram-config[1642]: + ZRAM_DEV=/zram1
Sep 06 12:48:05 openhab zram-config[1642]: + TARGET_DIR=/var/log
Sep 06 12:48:05 openhab zram-config[1642]: + BIND_DIR=/log.bind
Sep 06 12:48:05 openhab zram-config[1642]: + [[ false == \f\a\l\s\e ]]
Sep 06 12:48:05 openhab zram-config[1642]: + removeZlog
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -n '' ]]
Sep 06 12:48:05 openhab zram-config[1642]: + echo /zram1
Sep 06 12:48:05 openhab zram-config[1642]: ++ echo /zram1
Sep 06 12:48:05 openhab zram-config[1642]: ++ tr -dc 0-9
Sep 06 12:48:05 openhab zram-config[1642]: + local DEV_NUM=1
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -n /var/log ]]
Sep 06 12:48:05 openhab zram-config[1642]: ++ dpkg -s nginx
Sep 06 12:48:05 openhab zram-config[1642]: dpkg-query: package 'nginx' is not installed and no information is available
Sep 06 12:48:05 openhab zram-config[1642]: Use dpkg --info (= dpkg-deb --info) to examine archive files.
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -n '' ]]
Sep 06 12:48:05 openhab zram-config[1642]: ++ systemctl is-active rsyslog.service
Sep 06 12:48:05 openhab zram-config[1642]: + [[ -n inactive ]]
Sep 06 12:48:05 openhab zram-config[1642]: + systemctl stop rsyslog.service
Sep 06 12:48:05 openhab zram-config[1642]: + umount --verbose /var/log/
Sep 06 12:48:05 openhab zram-config[1642]: + umount --verbose --lazy /var/log/
Sep 06 12:48:05 openhab zram-config[1642]: + mergeOverlay
Sep 06 12:48:06 openhab zram-config[1642]: + [[ -n /zram1 ]]
Sep 06 12:48:06 openhab zram-config[1642]: + umount --verbose /opt/zram/zram1/
Sep 06 12:48:06 openhab zram-config[1642]: + umount overlay1
Sep 06 12:48:06 openhab zram-config[1642]: + rm -rfv /opt/zram/zram1
Sep 06 12:48:06 openhab zram-config[1642]: + [[ -n /log.bind ]]
Sep 06 12:48:06 openhab zram-config[1642]: + umount --verbose /opt/zram/log.bind/
Sep 06 12:48:06 openhab zram-config[1642]: + return 1
Sep 06 12:48:06 openhab zram-config[1642]: + read -r line
Sep 06 12:48:06 openhab zram-config[1642]: + case "$line" in
Sep 06 12:48:06 openhab zram-config[1642]: + set -- swap /zram0 zram-config0
Sep 06 12:48:06 openhab zram-config[1642]: + echo 'ztab remove swap /zram0 zram-config0 '
Sep 06 12:48:06 openhab zram-config[1642]: + case "$1" in
Sep 06 12:48:06 openhab zram-config[1642]: + ZTYPE=swap
Sep 06 12:48:06 openhab zram-config[1642]: + ZRAM_DEV=/zram0
Sep 06 12:48:06 openhab zram-config[1642]: + LABEL=zram-config0
Sep 06 12:48:06 openhab zram-config[1642]: + removeZswap
Sep 06 12:48:06 openhab zram-config[1642]: ++ echo /zram0
Sep 06 12:48:06 openhab zram-config[1642]: ++ tr -dc 0-9
Sep 06 12:48:06 openhab zram-config[1642]: + local DEV_NUM=0
Sep 06 12:48:06 openhab zram-config[1642]: + swapoff /dev/zram0
Sep 06 12:48:06 openhab zram-config[1642]: + echo 0
Sep 06 12:48:06 openhab zram-config[1642]: + zramctl -r /dev/zram0
Sep 06 12:48:06 openhab zram-config[1642]: + return 1
Sep 06 12:48:06 openhab zram-config[1642]: + read -r line
Sep 06 12:48:06 openhab zram-config[1642]: + rm -fv /tmp/zram-device-list.rev /tmp/zram-device-list
Sep 06 12:48:06 openhab systemd[1]: zramsync.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- The unit zramsync.service has successfully entered the 'dead' state.
Sep 06 12:48:06 openhab systemd[1]: Stopped zramsync.
-- Subject: A stop job for unit zramsync.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A stop job for unit zramsync.service has finished.
-- 
-- The job identifier is 805 and the job result is done.

unattended-upgrade:

-- Logs begin at Sun 2020-09-06 12:21:14 CEST, end at Sun 2020-09-06 16:17:01 CEST. --
Sep 06 12:48:29 openhab systemd[1]: Started Unattended Upgrades Shutdown.
-- Subject: A start job for unit unattended-upgrades.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit unattended-upgrades.service has finished successfully.
-- 
-- The job identifier is 126.

zram-config: https://pastebin.com/4xUcaDSF

edit: and there’s no /etc/systemd/system/zram-config.services

[16:31:30] root@openhab:/home/openhabian# cat /etc/systemd/system/zram-config.services
cat: /etc/systemd/system/zram-config.services: No such file or directory

Okay, I did not understand that part.
It is giving a kind-of clue. The restore when zram didn’t start restored an “old” value - implies that zram did not stop tidily either in the previous session (else the restored value would be good).

.service

not necessarily. As it didn’t start it didn’t restore whatever was saved before, but we don’t know if that was right (= proper stop of zramsync which is storing to /storage) or not

I’m not sure i understand… (well… i am sure i don’t understand…), so here’s the file:

[Unit]
Description=zram-config
After=local-fs.target
Before=openhab2.service smbd.service

[Service]
Type=oneshot
TimeoutSec=300
RemainAfterExit=yes
ExecStartPre=-/usr/local/sbin/zramsync "recover" "/storage/zram"
ExecStart=/usr/local/sbin/zram-config "start"

[Install]
WantedBy=basic.target

what am i supposed to remove?

Sorry, it’s the other one: /etc/systemd/system/zramsync.service

before:

[Unit]
Description=zramsync
RequiresMountsFor=/opt/zram/zram1/upper /opt/zram/zram2/upper
Requires=zram-config.service
After=zram-config.service unattended-upgrades.service
Before=reboot.target halt.target shutdown.target poweroff.target
BindsTo=zram-config.service
Conflicts=unattended-upgrades.service

[Service]
Type=oneshot
TimeoutSec=300
RemainAfterExit=yes
ExecStop=-/usr/local/sbin/zramsync "sync" "/storage/zram"
ExecStopPost=/usr/local/sbin/zram-config "stop"

[Install]
WantedBy=basic.target

i removed only

Conflicts=unattended-upgrades.service

right?

no, in addition, the After line should read

After=zram-config.service

You could also un- & reinstall from the menu.

1 Like

first of all: it seems frontail takes a lot longer to start after reboot… (just a feeling), now for the tests:

2020-09-08 12:56:12.827 [vent.ItemStateChangedEvent] - Test changed from 2020-09-06T12:47:41.000+0200 to 2020-09-08T12:56:12.811+0200

reboot

2020-09-08 12:58:12.826 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T12:56:12.000+0200
2020-09-08 13:07:02.004 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T12:56:12.000+0200 to 2020-09-08T13:07:01.990+0200

reboot

2020-09-08 13:08:48.796 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:07:01.000+0200
2020-09-08 13:11:06.103 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:07:01.000+0200 to 2020-09-08T13:11:06.092+0200

reboot

2020-09-08 13:12:57.391 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:11:06.000+0200
2020-09-08 13:20:24.407 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:11:06.000+0200 to 2020-09-08T13:20:24.391+0200

reboot

2020-09-08 13:22:32.472 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:20:24.000+0200
2020-09-08 13:25:37.157 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:20:24.000+0200 to 2020-09-08T13:25:37.140+0200

reboot

2020-09-08 13:27:21.700 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:25:37.000+0200
2020-09-08 13:28:55.415 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:25:37.000+0200 to 2020-09-08T13:28:55.404+0200

reboot

2020-09-08 13:30:39.183 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:28:55.000+0200
2020-09-08 13:32:58.805 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:28:55.000+0200 to 2020-09-08T13:32:58.781+0200

reboot

2020-09-08 13:34:41.857 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:32:58.000+0200
2020-09-08 13:40:34.396 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:32:58.000+0200 to 2020-09-08T13:40:34.385+0200

reboot

2020-09-08 13:42:37.312 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:40:34.000+0200
2020-09-08 13:51:35.587 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:40:34.000+0200 to 2020-09-08T13:51:35.574+0200

reboot

2020-09-08 13:53:22.930 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:51:35.000+0200
2020-09-08 13:56:38.164 [vent.ItemStateChangedEvent] - Test changed from 2020-09-08T13:51:35.000+0200 to 2020-09-08T13:56:38.143+0200

reboot

2020-09-08 13:58:32.163 [vent.ItemStateChangedEvent] - Test changed from NULL to 2020-09-08T13:56:38.000+0200

no problems.
i edited the /etc/systemd/system/zramsync.service file, no un-/install

ok, thanks.
Will leave it like that then. Should you encounter ZRAM to not run take logs and let me know at any time.

alright, thanks for your help!
just need to find the time to move my actual (ssd/no-zram) setup to this no ssd/zram setup…

A simple export and import via openhab-cli should work.

should i remain on this branch or should i download the “stable” 1.5 image and go with the stable branch?

No just stay. You don’t even have to reinstall although of course you can.
Using older images results in upgrade to the same level, it just takes longer than to use the new image.

PS eventually get a USB card reader with another SD card and test this new feature.

1 Like

i didn’t want to reinstall, but suddenly this pops up when i login via ssh:

Using username "openhabian".
Linux openhab 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Sep  9 19:49:03 2020 from 192.168.178.30

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.


parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1
parse error: Unmatched '}' at line 140, column 1

after some lines i get the usual openhabian welcome screen.
better to start with a clean plate?

did you run openhabian-config ddid it ask you to update?
run again if asked to update then yes

Try to move /usr/share/firemotd/data/FireMotD.json away does it still happen?
If so edit /etc/cron.d/firemotd remove the -G all and run FireMotD -S -D all once.

yes, i’ve done that

still the same (did another upgrade, now no more upgrades, error persists)

no, but i get

2020-09-09 21:21:10,938: FireMotD: Info: No FireMotD ExportFile detected. Please generate with "sudo .\/FireMotD -S"

and no cool welcome screen :slight_smile:

there’s no -G all:

[21:23:21] openhabian@openhab:~$ cat /etc/cron.d/firemotd
# FireMotD system updates check (randomly execute between 0:00:00 and 5:59:59)
0 0 * * * root perl -e 'sleep int(rand(21600))' && /bin/bash /usr/local/bin/FireMotD -S &> /dev/null

because you updated openhabian

Run sudo FireMotD -S -D all -d and log out and in again

alright, solved!
thx!

it’s not getting better, now there’s a problem with the restore-script:

rm: cannot remove '/var/lib/openhab2/persistence': Device or resource busy
:face_with_raised_eyebrow: