NEWS
Richtig Host und Client updaten
-
Hallo Zusammen, ich mach mein eigenen Thread nochmal auf von damals....hatte eben meinen slave geupdatet...anscheined ist da was schief gelaufen..wenn ich im iobroker verzeichnis jetzt "iobroker status" eingebe kommt das hier:
$ iobroker status node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.1hats da den js-controller zerhauen?
den Fixer habe ich drüberlaufen lassen mit:
curl -sL https://iobroker.net/fix.sh | bash -alles O.K. bei dem Durchlauf....
nach iobroker start bleibt der Slave aber auf "Rot" stehen...
Über Tipps aber bitte so das ich es auch verstehe vielen Dank im Voraus mal wieder...
-
Hallo Zusammen, ich mach mein eigenen Thread nochmal auf von damals....hatte eben meinen slave geupdatet...anscheined ist da was schief gelaufen..wenn ich im iobroker verzeichnis jetzt "iobroker status" eingebe kommt das hier:
$ iobroker status node:internal/modules/cjs/loader:1215 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15) at Module._load (node:internal/modules/cjs/loader:1043:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.19.1hats da den js-controller zerhauen?
den Fixer habe ich drüberlaufen lassen mit:
curl -sL https://iobroker.net/fix.sh | bash -alles O.K. bei dem Durchlauf....
nach iobroker start bleibt der Slave aber auf "Rot" stehen...
Über Tipps aber bitte so das ich es auch verstehe vielen Dank im Voraus mal wieder...
-
Hallo Thomas, ich bin im iobroker unter "hosts" udn habe da erst den Host geupdatet und dann auf den Slave....mehr nicht.
kann es sein das das Verzeichnis bzw. der js-controller noch da ist?
heisemer@raspi2-unterverteilung:/opt/iobroker $ ls -la /opt/iobroker/node_modules/iobroker.js-controller total 32 drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 21:20 . drwxrwxr-x+ 268 iobroker iobroker 20480 Jun 9 21:38 .. drwxrwxr-x+ 3 iobroker iobroker 4096 Jun 9 21:20 build -rw-rwxr--+ 1 iobroker iobroker 0 Jun 9 21:20 LICENSE drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 21:20 node_modules -
Hallo Thomas, ich bin im iobroker unter "hosts" udn habe da erst den Host geupdatet und dann auf den Slave....mehr nicht.
kann es sein das das Verzeichnis bzw. der js-controller noch da ist?
heisemer@raspi2-unterverteilung:/opt/iobroker $ ls -la /opt/iobroker/node_modules/iobroker.js-controller total 32 drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 21:20 . drwxrwxr-x+ 268 iobroker iobroker 20480 Jun 9 21:38 .. drwxrwxr-x+ 3 iobroker iobroker 4096 Jun 9 21:20 build -rw-rwxr--+ 1 iobroker iobroker 0 Jun 9 21:20 LICENSE drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 21:20 node_modulesSowas würde ich IMMER über die Kommandozeile machen. NIE über eine GUI.
Gib mal die Ausgabe von
iob diagsowohl vom Hauptsystem wie auch vom Anhängsel bekannt.
-
iob diag auf dem Slave ausgeführt das hier:
========== Start marking the full check here =========== ```bash Script v.2026-06-01 *** BASE SYSTEM *** Operating System: Raspbian GNU/Linux 12 (bookworm) Static hostname: raspi2-unterverteilung Icon name: computer Kernel: Linux 6.12.47+rpt-rpi-v7 Architecture: arm OS is similar to: debian Model : Raspberry Pi 2 Model B Rev 1.1 Docker : false Virtualization : none Kernel : armv7l Userland : 32bit System was installed 705 days ago (on 2024-07-04). Outdated 32Bit architecture detected. Only a pure 64Bit-System will be supported in the future. You will have to reinstall your operating system with full 64Bit support or upgrade to more modern hardware soon. Systemuptime and Load: 22:00:00 up 19 min, 2 users, load average: 0.74, 0.50, 0.33 CPU threads : 4 *** LIFE CYCLE STATUS *** ERROR: Package 'distro-info' is not installed. Please do: sudo apt update && sudo apt install distro-info Alternatively execute the 'iob fix'vom host kommt das hier ...bitte nicht steinigen.... :-(
iob diag ***For security reasons ioBroker should not be run or administrated as root.*** By default only a user that is member of iobroker group can execute ioBroker commands. Please read the Documentation on how to set up such a user, if not done yet. Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line. Please note that this option may be disabled in the future, so please change your setup accordingly now. -
iob diag auf dem Slave ausgeführt das hier:
========== Start marking the full check here =========== ```bash Script v.2026-06-01 *** BASE SYSTEM *** Operating System: Raspbian GNU/Linux 12 (bookworm) Static hostname: raspi2-unterverteilung Icon name: computer Kernel: Linux 6.12.47+rpt-rpi-v7 Architecture: arm OS is similar to: debian Model : Raspberry Pi 2 Model B Rev 1.1 Docker : false Virtualization : none Kernel : armv7l Userland : 32bit System was installed 705 days ago (on 2024-07-04). Outdated 32Bit architecture detected. Only a pure 64Bit-System will be supported in the future. You will have to reinstall your operating system with full 64Bit support or upgrade to more modern hardware soon. Systemuptime and Load: 22:00:00 up 19 min, 2 users, load average: 0.74, 0.50, 0.33 CPU threads : 4 *** LIFE CYCLE STATUS *** ERROR: Package 'distro-info' is not installed. Please do: sudo apt update && sudo apt install distro-info Alternatively execute the 'iob fix'vom host kommt das hier ...bitte nicht steinigen.... :-(
iob diag ***For security reasons ioBroker should not be run or administrated as root.*** By default only a user that is member of iobroker group can execute ioBroker commands. Please read the Documentation on how to set up such a user, if not done yet. Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line. Please note that this option may be disabled in the future, so please change your setup accordingly now. -
iob diag auf dem Slave ausgeführt das hier:
========== Start marking the full check here =========== ```bash Script v.2026-06-01 *** BASE SYSTEM *** Operating System: Raspbian GNU/Linux 12 (bookworm) Static hostname: raspi2-unterverteilung Icon name: computer Kernel: Linux 6.12.47+rpt-rpi-v7 Architecture: arm OS is similar to: debian Model : Raspberry Pi 2 Model B Rev 1.1 Docker : false Virtualization : none Kernel : armv7l Userland : 32bit System was installed 705 days ago (on 2024-07-04). Outdated 32Bit architecture detected. Only a pure 64Bit-System will be supported in the future. You will have to reinstall your operating system with full 64Bit support or upgrade to more modern hardware soon. Systemuptime and Load: 22:00:00 up 19 min, 2 users, load average: 0.74, 0.50, 0.33 CPU threads : 4 *** LIFE CYCLE STATUS *** ERROR: Package 'distro-info' is not installed. Please do: sudo apt update && sudo apt install distro-info Alternatively execute the 'iob fix'vom host kommt das hier ...bitte nicht steinigen.... :-(
iob diag ***For security reasons ioBroker should not be run or administrated as root.*** By default only a user that is member of iobroker group can execute ioBroker commands. Please read the Documentation on how to set up such a user, if not done yet. Only in very special cases you can run iobroker commands by adding the --allow-root option at the end of the command line. Please note that this option may be disabled in the future, so please change your setup accordingly now. -
-
-
-
ER läuft wieder...efffz
cd /opt/iobroker npm install iobroker.js-controller --save iobroker fix iobroker statusls -la /opt/iobroker/node_modules/iobroker.js-controller total 136 drwxrwxr-x+ 6 iobroker iobroker 4096 Jun 9 22:17 . drwxrwxr-x+ 259 iobroker iobroker 20480 Jun 9 22:18 .. drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 22:17 build drwxrwxr-x+ 2 iobroker iobroker 4096 Jun 9 22:17 conf -rw-rwxr--+ 1 iobroker iobroker 188 Jun 9 22:17 controller.js -rwxrwxr-x+ 1 iobroker iobroker 66 Jun 9 22:17 iobroker.js -rw-rwxr--+ 1 iobroker iobroker 77166 Jun 9 22:17 io-package.json -rw-rwxr--+ 1 iobroker iobroker 1135 Jun 9 22:17 LICENSE drwxrwxr-x+ 3 iobroker iobroker 4096 Jun 9 22:17 node_modules -rw-rwxr--+ 1 iobroker iobroker 3611 Jun 9 22:17 package.json -rw-rwxr--+ 1 iobroker iobroker 193 Jun 9 22:17 README.md drwxrwxr-x+ 2 iobroker iobroker 4096 Jun 9 22:17 tmpum den jetzt über console zu updaten.......ach..ich lass es lieber...
Danke Euch!!Never change a running system
-
ER läuft wieder...efffz
cd /opt/iobroker npm install iobroker.js-controller --save iobroker fix iobroker statusls -la /opt/iobroker/node_modules/iobroker.js-controller total 136 drwxrwxr-x+ 6 iobroker iobroker 4096 Jun 9 22:17 . drwxrwxr-x+ 259 iobroker iobroker 20480 Jun 9 22:18 .. drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 22:17 build drwxrwxr-x+ 2 iobroker iobroker 4096 Jun 9 22:17 conf -rw-rwxr--+ 1 iobroker iobroker 188 Jun 9 22:17 controller.js -rwxrwxr-x+ 1 iobroker iobroker 66 Jun 9 22:17 iobroker.js -rw-rwxr--+ 1 iobroker iobroker 77166 Jun 9 22:17 io-package.json -rw-rwxr--+ 1 iobroker iobroker 1135 Jun 9 22:17 LICENSE drwxrwxr-x+ 3 iobroker iobroker 4096 Jun 9 22:17 node_modules -rw-rwxr--+ 1 iobroker iobroker 3611 Jun 9 22:17 package.json -rw-rwxr--+ 1 iobroker iobroker 193 Jun 9 22:17 README.md drwxrwxr-x+ 2 iobroker iobroker 4096 Jun 9 22:17 tmpum den jetzt über console zu updaten.......ach..ich lass es lieber...
Danke Euch!!Never change a running system
-
ER läuft wieder...efffz
cd /opt/iobroker npm install iobroker.js-controller --save iobroker fix iobroker statusls -la /opt/iobroker/node_modules/iobroker.js-controller total 136 drwxrwxr-x+ 6 iobroker iobroker 4096 Jun 9 22:17 . drwxrwxr-x+ 259 iobroker iobroker 20480 Jun 9 22:18 .. drwxrwxr-x+ 4 iobroker iobroker 4096 Jun 9 22:17 build drwxrwxr-x+ 2 iobroker iobroker 4096 Jun 9 22:17 conf -rw-rwxr--+ 1 iobroker iobroker 188 Jun 9 22:17 controller.js -rwxrwxr-x+ 1 iobroker iobroker 66 Jun 9 22:17 iobroker.js -rw-rwxr--+ 1 iobroker iobroker 77166 Jun 9 22:17 io-package.json -rw-rwxr--+ 1 iobroker iobroker 1135 Jun 9 22:17 LICENSE drwxrwxr-x+ 3 iobroker iobroker 4096 Jun 9 22:17 node_modules -rw-rwxr--+ 1 iobroker iobroker 3611 Jun 9 22:17 package.json -rw-rwxr--+ 1 iobroker iobroker 193 Jun 9 22:17 README.md drwxrwxr-x+ 2 iobroker iobroker 4096 Jun 9 22:17 tmpum den jetzt über console zu updaten.......ach..ich lass es lieber...
Danke Euch!!Never change a running system
-
Jetzt bringst du beides auf eine gescheite Basis. Und schlag dir den scheiß root aus dem Kopf!
Leg dir einen User an, falls du noch keinen hast. Geht zur Not über den
iob fix
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden