Keines meiner backups funktioniert
Verfasst: 8. Mär 2022 08:20
Hallo miteinander.
Bei größeren Änderungen ziehe ich mir ein komplettes Image. Immer mal zwischendurch nutze ich die openhab eigene backup Funktion. Nun hatte ich am Wochenende Probleme, dass nach einem Neustart von openhab einige Things nicht mehr initialisiert wurden. Ich habe eine Weile gewartet, hat nichts gebracht, also nochmal Neustart, aber dann ging noch weniger. Nach einigen Testen hab ich mich dazu entschlossen mein Image von Anfang Januar einzuspielen. Das funktionierte auch soweit.
Dann habe ich das letzte backup über openhab-conf eingespielt. Das lief ohne Probleme durch, aber nach dem backup funktionierte es wieder nicht mehr. OH war zwar dann über die Weboberfläche erreichbar, es war auch der aktuelle Stand vom Backup sichtbar, aber so gut wie keine Things funktionierten. Im Frontail jede Menge Meldungen die mir nichts sagen. Nach einer Weile ist dann die Weboberfläche auch nicht mehr erreichbar. Dann aber doch wieder. Es scheint so, als würde der Service neu gestartet.
Auch alle meine anderen Backups die ich über openhab-conf gemacht habe zeigen das gleiche Fehlerbild. Obwohl das früher schon öfters funktioniert hat.
Hier die Putty-Seite vom funktionierendem Image:
Und hier nach einem backup:
Bei größeren Änderungen ziehe ich mir ein komplettes Image. Immer mal zwischendurch nutze ich die openhab eigene backup Funktion. Nun hatte ich am Wochenende Probleme, dass nach einem Neustart von openhab einige Things nicht mehr initialisiert wurden. Ich habe eine Weile gewartet, hat nichts gebracht, also nochmal Neustart, aber dann ging noch weniger. Nach einigen Testen hab ich mich dazu entschlossen mein Image von Anfang Januar einzuspielen. Das funktionierte auch soweit.
Dann habe ich das letzte backup über openhab-conf eingespielt. Das lief ohne Probleme durch, aber nach dem backup funktionierte es wieder nicht mehr. OH war zwar dann über die Weboberfläche erreichbar, es war auch der aktuelle Stand vom Backup sichtbar, aber so gut wie keine Things funktionierten. Im Frontail jede Menge Meldungen die mir nichts sagen. Nach einer Weile ist dann die Weboberfläche auch nicht mehr erreichbar. Dann aber doch wieder. Es scheint so, als würde der Service neu gestartet.
Auch alle meine anderen Backups die ich über openhab-conf gemacht habe zeigen das gleiche Fehlerbild. Obwohl das früher schon öfters funktioniert hat.
Hier die Putty-Seite vom funktionierendem Image:
Code: Alles auswählen
###############################################################################
############### openhabian ##################################################
###############################################################################
## Ip = 192.168.2.222
## Release = Raspbian GNU/Linux 10 (buster)
## Kernel = Linux 5.10.63-v7l+
## Platform = Started Raspberry Pi bluetooth helper.
## Uptime = 0 day(s). 20:1:57
## CPU Usage = 1.27% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.21, 5m: 0.22, 15m: 0.19
## Memory = Free: 1.58GB (42%), Used: 2.21GB (58%), Total: 3.79GB
## Swap = Free: 2.58GB (100%), Used: 0.00GB (0%), Total: 2.58GB
## Root = Free: 20.74GB (74%), Used: 7.10GB (26%), Total: 29.06GB
## Updates = 13 apt updates available.
## Sessions = 1 session(s)
## Processes = 137 running processes of 32768 maximum processes
###############################################################################
_ _ _ ____ _
___ ___ ___ ___ | | | | / \ | __ ) (_) ____ ___
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \ | | / _ \ / _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )| || (_) || | | |
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/ |_| \__|_||_| | |
|_| 3.2.0 - Release Build
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhabian:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
openhabian@openhabian:~ $ sudo systemctl status openhab.service
[sudo] password for openhabian:
Warning: The unit file, source configuration file or drop-ins of openhab.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● openhab.service - openHAB instance, reachable at http://openhabian:8080
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Sun 2022-01-02 10:37:22 CET; 2 months 3 days ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 703 (java)
Tasks: 252 (limit: 4915)
CGroup: /system.slice/openhab.service
└─703 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.cm.d
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
lines 1-14/14 (END)
openHABian Configuration Tool — [openHAB3]{2021-12-02T09:19:37-07:00}(bb960d8) ├────────────────┐
│ │
│ 00 | About openHABian Information about the openHABian project and this tool │
│ │
│ 01 | Select Branch Select the openHABian config tool version ("branch") to run │
│ 02 | Upgrade System Update all installed software packages (incl. openHAB) to their latest version │
│ 03 | Install openHAB Install or upgrade to openHAB 3 │
│ 04 | Import config Import an openHAB 3 configuration from file or URL │
│ │
│ 10 | Apply Improvements Apply the latest improvements to the basic openHABian setup ► │
│ 20 | Optional Components Choose from a set of optional software components ► │
│ 30 | System Settings A range of system and hardware related configuration steps ► │
│ 40 | openHAB Related Switch the installed openHAB version or apply tweaks ► │
│ 50 | Backup/Restore Manage backups and restore your system ► │
│ │
│ │
│ <Execute> <Exit> │
│ │
Code: Alles auswählen
###############################################################################
############### openhabian ##################################################
###############################################################################
## Ip = 192.168.2.222
## Release = Raspbian GNU/Linux 10 (buster)
## Kernel = Linux 5.10.63-v7l+
## Platform = Started Raspberry Pi bluetooth helper.
## Uptime = 0 day(s). 0:4:29
## CPU Usage = 45.86% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 4.25, 5m: 2.24, 15m: 0.96
## Memory = Free: 1.88GB (50%), Used: 1.91GB (50%), Total: 3.79GB
## Swap = Free: 2.58GB (100%), Used: 0.00GB (0%), Total: 2.58GB
## Root = Free: 20.49GB (73%), Used: 7.34GB (27%), Total: 29.06GB
## Updates = 13 apt updates available.
## Sessions = 1 session(s)
## Processes = 146 running processes of 32768 maximum processes
###############################################################################
_ _ _ ____ _
___ ___ ___ ___ | | | | / \ | __ ) (_) ____ ___
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \ | | / _ \ / _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )| || (_) || | | |
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/ |_| \__|_||_| | |
|_| openHAB 3.2.0 - Release Build
Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://openhabian:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'
openhabian@openhabian:~ $ sudo systemctl status openhab.service
[sudo] password for openhabian:
Warning: The unit file, source configuration file or drop-ins of openhab.service changed on disk. Run 'systemctl daemon-reload' to reload units.
● openhab.service - openHAB instance, reachable at http://openhabian:8080
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/openhab.service.d
└─override.conf
Active: active (running) since Mon 2022-03-07 15:52:19 CET; 3min 19s ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 3780 (java)
Tasks: 111 (limit: 4915)
CGroup: /system.slice/openhab.service
└─3780 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Dopenhab.logdir=/var/log/openhab -Dfelix.cm.
Mar 07 15:52:19 openhabian systemd[1]: Started openHAB instance, reachable at http://openhabian:8080.
lines 1-14/14 (END)