- Platform information:
- Hardware: RPi 3B+
- OS: OpenHabian
- openHAB version: 2.4 stable
- SDD HD (no SD card)
- AEON Gen5 Z-Wave stick
- Several add-ons / bindings /services installed (InfluxDB + Grafana, Weather, Logitech Harmony, Alexa, Xiaomi GW…)
- All THINGS are configured through PaperUI.
- All ITEMS & RULES are configured in files.
The issue continues happening.
I have tried to clear the cache, but it happened again. This time the logviewer reported Internal Server Error and there was no SSH, but Paper UI (and even the OpenHAB mobile app) worked correctly.
I noticed that every time it happened, the last record on syslog was related to influxdb:
May 14 16:17:24 openHABianPi influxd: ts=2019-05-14T13:17:24.665185Z lvl=info msg="Reading file" log_id=0FPcgF9l000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/110/_00014.wal size=10509790
May 14 16:17:32 openHABianPi influxd: ts=2019-05-14T13:17:32.165719Z lvl=info msg="Reading file" log_id=0FPcgF9l000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/110/_00015.wal size=10511984
May 14 20:03:28 openHABianPi systemd: Time has been changed
May 14 20:03:28 openHABianPi systemd-timesyncd: Synchronized to time server 126.96.36.199:123 (2.debian.pool.ntp.org).
May 14 20:03:28 openHABianPi systemd: apt-daily-upgrade.timer: Adding 42min 8.561412s random time.
May 14 20:03:28 openHABianPi systemd: apt-daily.timer: Adding 7h 49min 40.745260s random time.
May 15 08:34:22 openHABianPi influxd: ts=2019-05-15T05:34:22.005224Z lvl=info msg="Reading file" log_id=0FQV_wO0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/111/_00006.wal size=10503155
May 15 08:34:28 openHABianPi influxd: ts=2019-05-15T05:34:28.950976Z lvl=info msg="Reading file" log_id=0FQV_wO0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/111/_00007.wal size=6860911
May 15 16:07:01 openHABianPi systemd-timesyncd: Synchronized to time server 188.8.131.52:123 (2.debian.pool.ntp.org).
May 15 16:07:01 openHABianPi systemd: Time has been changed
May 15 16:07:01 openHABianPi systemd: apt-daily-upgrade.timer: Adding 5min 7.568644s random time.
May 15 16:07:01 openHABianPi systemd: Starting Daily apt download activities...
May 15 21:48:31 openHABianPi influxd: ts=2019-05-15T18:48:31.711544Z lvl=info msg="Reading file" log_id=0FRD0Zpl000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/111/_00014.wal size=10510620
May 16 14:06:03 openHABianPi systemd: Time has been changed
May 16 14:06:03 openHABianPi systemd-timesyncd: Synchronized to time server 184.108.40.206:123 (2.debian.pool.ntp.org).
Does it mean that the issue is related to influxdb?
How do you suggest me to handle it?
Should I assume that the file system is corrupted, as @rlkoshak suggested, and go for installing OpenHabian & OpenHAB from the start?
What would be the best / safest / easiest way to re-install, while maintaining as much as possible from my existing configuration and rules?
Should I reformat my SSD HD, reinstall and then restore my configuration using the latest backup I have?
sudo openhab-cli restore /var/lib/openhab2/backups/filename.zip
Is it safe enough, to make sure I am not putting back the cause of the issue, by restoring a backup?
Will this re-install all the add-ons / bindings / services?
Will this keep all the “channel names” (including the Z-Wave nodes), or will I have to re-configure all items?
Is there a different process I should follow?
Is there a specific file / folder / anything I should keep before reformatting my SSD HD?
Thanks in advance.