Meinst du jetzt das Update selber ? Ich habe openHAB per openhabian auf einer SD-Karte installiert. Ich hoffe das ist so richtig formuliert.
Code: Alles auswählen
https://www.openhab.org/docs/installation/openhabian.html
openHABian - Hassle-free openHAB Setup
The Raspberry Pi and other small single-board computers are quite famous platforms for openHAB. However, setting up a fully working Linux system with all recommended packages and openHAB recommendations is a boring task taking quite some time and Linux newcomers shouldn't worry about these technical details.
"A home automation enthusiast doesn't have to be a Linux enthusiast!"
openHABian aims to provide a self-configuring Linux system setup specific to the needs of every openHAB user. To that end, the project provides two things:
Complete SD-card images pre-configured with openHAB and many other openHAB- and Hardware-specific preparations for the Raspberry Pi
The openHABian Configuration Tool to set up and configure openHAB and many related things on any Debian/Ubuntu based system
Ich hatte zwar vorher OH2.5.6.1 und seit vorgestern OH2.5.7 ohne Linux-Update. (Linux 4.19.118-v7l+)
Mein Test-System habe ich von OH2.5.6-2 auf OH2.5.7 mit Linux-Update gemacht. (Linux 5.4.51-v7+)
Das Update habe ich mit dem "openhabian-config"-tool (Punkt 2) gemacht.
Ich kann im Moment noch nichts negatives dazu sagen. Frontail läuft. Was der Unterschied der Linux-Versionen ist kann ich leider auch nicht sagen. Beide Systeme laufen.
Gestern habe ich einen neuen RPI4/2GB bekommen und habe ein ganz neues SD-Karten-Image aufgespielt, um zu sehen, ob ich das ohne "Frontail-Probleme" hinbekomme. Das SetUp lief auch durch. Leider musste ich feststellen, das der Log-Viewer stoppte, wenn ich openhab2 anhielt. Nach einem Restart ist "frontail" aber nicht mehr angelaufen.
Ich habe versucht, wie Udo das
hier hier beschrieben hat. Leider hat es nicht geklappt den frontail service permanent "aktiv" zu deklarieren.
Hier ein kleiner Ausschnitt aus der Shell-Konsole:
Code: Alles auswählen
[19:43:03] testoh@testhab:~$ sudo systemctl stop openhab2.service
[sudo] Passwort für testoh:
[20:15:38] testoh@testhab:~$ sudo systemctl status frontail
● frontail.service - Frontail openHAB instance, reachable at http://testhab:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2020-07-30 20:15:21 CEST; 1min 0s ago
Docs: https://github.com/mthenw/frontail
Process: 9905 ExecStart=/usr/lib/node_modules/frontail/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node
Main PID: 9905 (code=exited, status=0/SUCCESS)
Jul 30 15:23:22 testhab systemd[1]: Started Frontail openHAB instance, reachable at http://testhab:9001.
Jul 30 20:15:21 testhab systemd[1]: Stopping Frontail openHAB instance, reachable at http://testhab:9001...
Jul 30 20:15:21 testhab systemd[1]: frontail.service: Succeeded.
Jul 30 20:15:21 testhab systemd[1]: Stopped Frontail openHAB instance, reachable at http://testhab:9001.
[20:16:24] testoh@testhab:~$ sudo systemctl start frontail
[20:16:39] testoh@testhab:~$ sudo systemctl status frontail
● frontail.service - Frontail openHAB instance, reachable at http://testhab:9001
Loaded: loaded (/etc/systemd/system/frontail.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-07-30 20:16:39 CEST; 3s ago
Docs: https://github.com/mthenw/frontail
Main PID: 32124 (node)
Tasks: 12 (limit: 3980)
CGroup: /system.slice/frontail.service
├─32124 node /usr/lib/node_modules/frontail/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_m
└─32134 tail -n 200 -F /var/log/openhab2/openhab.log /var/log/openhab2/events.log
Jul 30 20:16:39 testhab systemd[1]: Started Frontail openHAB instance, reachable at http://testhab:9001.
[20:16:46] testoh@testhab:~$ sudo systemctl restart openhab2
Ausserdem habe ich bemerkt, das der Logger "zweizeilig" schreibt,
zwei.jpg
weiss aber leider nicht warum (oder hab's wieder vergessen). Im Produktiv-System klappt das besser(einzeilig)
ein.jpg
und die Kopfzeile des Loggers bleibt fix.
Ich mache auf jeden Fall
immer einen Klon/Image bevor ich an das Update gehe. Das ist vielleicht etwas umständlich, aber ich kann's/weiss es nicht besser

. Backup/Restore geht sicherlich auch, aber ich denke mal, dass da nicht die Programme gesichert werden, sondern nur die Config-Daten und wenn das nach dem Update einen "Schuss" hat, nutzt mir das Backup auch nichts mehr. Und wenn ich eine Neuinstallation mache, die ein paar Bugs hat, ist es das gleiche, denke ich

.
Was die Diskussionen im englischen Form (dein Link) betreffen, ist das für mich eine Diskussion um Kaisers Bart. Für mich, als "Noob/Dummy" ist opnehabian und openHAB im Endeffekt das Gleiche. Was nutzt mir openHAB, wenn die dazu notwendigen Tools nicht mehr arbeiten wie sie sollen. Ich sehe das als Gesamtsystem.
"A home automation enthusiast doesn't have to be a Linux enthusiast!"