NEWS
Hilfe was falsch gemacht
-
Hilfe:
Ich habe im Terminal Fenster sudo apt update eingeben.
Jetzt startet der IOBroker nicht mehr.
was kann ich tun ??
-
@karl-heinz1 sudo apt update liest nur die aktuellen Paketversionen ein.
Damit passiert gar nichts!was hast du noch gemacht?
-
@karl-heinz1 "sudo apt update" einzugeben ist erstmal kein Fehler .... das machen Millionen von iobroker Usern weltweit hoffentlich regelmäßig ...
Ein Update-Prozess von Linux erfolgt auch zweiteilig ...
bei "update" wird erstmal nur eine interne Datenbank aktualisiert, und am System ansonsten noch gar nichts geändert ....
Falls dabei schon das System einfriert könnte das auf ein korruptes Dateisystem hinweisen ... dann wäre das Ganze nur ein Symptom ernsthafterer Probleme
-
@karl-heinz1 Was Du definitiv falsch gemacht hast, ist die Frage unter "Praktische Anwendungen (Showcase) zu posten."
Wie @Homoran schon sagt, "sudo apt update" macht nix kaputt, aber ohne weitere Infos kann man kaum helfen.
-
@ahnungsbefreit Danke!
verschoben! -
ich habe dann erst mal was erledigt und als ich nach ca. 1 Std. wieder am Rechner war, funktionierte alles wieder. War ich Vieleicht zu ungeduldig ? dauert das etwas ?
Aber jetzt ist alles wieder OK.
-
Das hängt davon ab was da genau aktualisiert wurde.
Wie biste denn da überhaupt insgesamt unterwegs?
Sagt dir z.B.iob diag
-
Das hat folgendes ergeben:
code_text``` ======================= SUMMARY ======================= v.2024-05-22 Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: graphical.target Pending OS-Updates: 132 Pending iob updates: 2 Nodejs-Installation: /usr/bin/nodejs v18.20.2 /usr/bin/node v18.20.2 /usr/bin/npm 10.5.0 /usr/bin/npx 10.5.0 /usr/bin/corepack 0.25.2 Recommended versions are nodejs 20.17.0 and npm 10.8.2 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 2.2G 398M 21M 1.2G 1.5G Swap: 99M 0B 99M Total: 3.9G 2.2G 498M Active iob-Instances: 19 Upgrade policy: none ioBroker Core: js-controller 6.0.11 admin 7.0.25 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4023 States: 3663 Size of iob-Database: 21M /opt/iobroker/iobroker-data/objects.jsonl 1.8M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
-
@karl-heinz1 sagte in Hilfe was falsch gemacht:
Display-Server: true Boot Target: graphical.target
Ausschalten.
sudo systemctl set-default multi-user.target
Pending OS-Updates: 132
Einspielen.
sudo apt full-upgrade
Nodejs auf Version 20 bringen.
iob nodejs-update 20
Dann sauber neu starten. Künftig eigenständig das System pflegen.
-
habe das alles laufen lassen und dann noch mal
iob diag laufen lassen. Unten das Ergebnis:
======================= SUMMARY ======================= v.2024-05-22 Static hostname: raspberrypi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 3 Nodejs-Installation: /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 Recommended versions are nodejs 20.17.0 and npm 10.8.2 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 1.8G 402M 21M 1.6G 1.9G Swap: 99M 0B 99M Total: 3.9G 1.8G 502M Active iob-Instances: 19 Upgrade policy: none ioBroker Core: js-controller 6.0.11 admin 7.0.25 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 4023 States: 3678 Size of iob-Database: 22M /opt/iobroker/iobroker-data/objects.jsonl 732K /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
Schalt das Display aus.
Sollte eigentlich per Neustart gehen.Und hau die drei ioBroker Updates rein.
-
welches Display ? am Raspi ist keins dran.
-
Eben. Dann muss aber auch der
Display-Server: true
nicht laufen. -
sudo systemctl stop ligthdm ergibt
Failed to stop ligthdm.service: Unit ligthdm.service not loaded.
Welcher Display server läuft denn?
ps -e | grep dm 288 ? 00:00:00 irq/41-vc4 hdmi hpd connected 290 ? 00:00:00 irq/42-vc4 hdmi hpd disconnected 291 ? 00:00:00 cec-vc4-hdmi-0 292 ? 00:00:00 irq/43-vc4 hdmi cec rx 293 ? 00:00:00 irq/44-vc4 hdmi cec tx 307 ? 00:00:00 irq/45-vc4 hdmi hpd connected 310 ? 00:00:00 irq/46-vc4 hdmi hpd disconnected 317 ? 00:00:00 cec-vc4-hdmi-1 321 ? 00:00:00 irq/47-vc4 hdmi cec rx 328 ? 00:00:00 irq/48-vc4 hdmi cec tx 610 ? 00:00:00 lightdm 856 ? 00:00:00 lightdm 63518 ? 00:09:02 io.admin.0
-
@karl-heinz1 https://www.wobblycogs.co.uk/raspberry-pi/2022/01/08/disable-the-raspberry-pi-desktop/
überraspi-config
(war doch ein Raspberry Pi mit RaspiOS?)oder wie @Thomas-Braun schon geschrieben hat:
sudo systemctl set-default multi-user.target
-