NEWS
Probleme beim Update Host node.js
-
@thomas-braun said in Probleme beim Update Host node.js:
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
oder deute ich das falsch?
Jein. Hau da per
iob nodejs-update
die aktuell empfohlene nodejs@20 rein.
so?
SmartHome@SmartHome:~ $ iob nodejs-update iobroker nodejs-update [<major-version>] Upgrade the Node.JS installation to the current LTS Options: --help Show help [boolean]
-
-
@thomas-braun said in Probleme beim Update Host node.js:
@keineahnungvonprogrmieren
Zuvor:iob stop iob fix
dann dürfte es funktionieren.
hat zuerst funktioniert
nach ca 10min war die weboberfläche noch nicht erreichbar im anschluss von mir
iob reboot
danach
SmartHome@SmartHome:~ $ iob reboot iobroker [command] Commands: iobroker setup Setup ioBroker iobroker start [all|<adapter>.<instance>|<adapter>] Starts the js-controller or a specified adapter instance or all instances of an adapter iobroker stop [<adapter>.<instance>|<adapter>] stops the js-controller or a specified adapter instance or all instances of an adapter iobroker restart [<adapter>.<instance>|<adapter>] Restarts js-controller or a specified adapter instance or all instances of an adapter [aliases: r] iobroker debug <adapter>[.<instance>] Starts a Node.js debugging session for the adapter instance iobroker info Shows the host info iobroker logs [<adapter>] Monitor log iobroker add <adapter> [desiredNumber] Add instance of adapter [aliases: a] iobroker install <adapter> Installs a specified adapter [aliases: i] iobroker rebuild [<module>] Rebuild all native modules or path iobroker url <url> [<name>] Install adapter from specified url, e.g. GitHub, if a package name is provided instead of an url, it will be installed from npm iobroker del <adapter> Remove adapter and all instances from this host [aliases: delete] iobroker del <adapter>.<instance> Remove adapter instance [aliases: delete] iobroker update [<repositoryUrl>] Update repository and list adapters iobroker upgrade Upgrade management iobroker upload [all|<adapter>] Upload management [aliases: u] iobroker object Object management [aliases: o] iobroker state State management [aliases: s] iobroker message <adapter>[.instance] <command> [<message>] Send message to adapter instance/s iobroker list <type> [<filter>] List all entries, like objects iobroker chmod <mode> <file> Change file rights iobroker chown <user> <group> <file> Change file ownership iobroker touch <file> Touch file iobroker rm <file> Remove file iobroker file File management iobroker user User commands iobroker group group management iobroker host <hostname> Set host to given hostname iobroker set <adapter>.<instance> Change settings of adapter config iobroker license <license.file or license.text> Update license by given file iobroker cert Certificate management iobroker clean <yes> Clears all objects and states iobroker backup Create backup iobroker restore <backup name or path> Restore a specified backup iobroker validate <backup name or path> Validate a specified backup iobroker status [all|<adapter>.<instance>] Status of ioBroker or adapter instance [aliases: isrun] iobroker repo [<name>] Show repo information iobroker uuid Show uuid of the installation [aliases: id] iobroker unsetup Reset license, installation secret and language iobroker fix Execute the installation fixer script, this updates your ioBroker installation iobroker nodejs-update [<major-version>] Upgrade the Node.JS installation to the current LTS iobroker multihost Multihost management iobroker compact compact group management iobroker plugin Plugin management iobroker vendor <passphrase> [<vendor.json>] Update the vendor information using given passphrase iobroker version [<adapter>] Show version of js-controller or specified adapter [aliases: v] Options: --help Show help [boolean]
-
-
@keineahnungvonprogrmieren said in Probleme beim Update Host node.js:
@thomas-braun said in Probleme beim Update Host node.js:
@keineahnungvonprogrmieren
Zuvor:iob stop iob fix
dann dürfte es funktionieren.
hat zuerst funktioniert
nach ca 10min war die weboberfläche noch nicht erreichbar im anschluss von mir
iob reboot
danach
SmartHome@SmartHome:~ $ iob reboot iobroker [command] Commands: iobroker setup Setup ioBroker iobroker start [all|<adapter>.<instance>|<adapter>] Starts the js-controller or a specified adapter instance or all instances of an adapter iobroker stop [<adapter>.<instance>|<adapter>] stops the js-controller or a specified adapter instance or all instances of an adapter iobroker restart [<adapter>.<instance>|<adapter>] Restarts js-controller or a specified adapter instance or all instances of an adapter [aliases: r] iobroker debug <adapter>[.<instance>] Starts a Node.js debugging session for the adapter instance iobroker info Shows the host info iobroker logs [<adapter>] Monitor log iobroker add <adapter> [desiredNumber] Add instance of adapter [aliases: a] iobroker install <adapter> Installs a specified adapter [aliases: i] iobroker rebuild [<module>] Rebuild all native modules or path iobroker url <url> [<name>] Install adapter from specified url, e.g. GitHub, if a package name is provided instead of an url, it will be installed from npm iobroker del <adapter> Remove adapter and all instances from this host [aliases: delete] iobroker del <adapter>.<instance> Remove adapter instance [aliases: delete] iobroker update [<repositoryUrl>] Update repository and list adapters iobroker upgrade Upgrade management iobroker upload [all|<adapter>] Upload management [aliases: u] iobroker object Object management [aliases: o] iobroker state State management [aliases: s] iobroker message <adapter>[.instance] <command> [<message>] Send message to adapter instance/s iobroker list <type> [<filter>] List all entries, like objects iobroker chmod <mode> <file> Change file rights iobroker chown <user> <group> <file> Change file ownership iobroker touch <file> Touch file iobroker rm <file> Remove file iobroker file File management iobroker user User commands iobroker group group management iobroker host <hostname> Set host to given hostname iobroker set <adapter>.<instance> Change settings of adapter config iobroker license <license.file or license.text> Update license by given file iobroker cert Certificate management iobroker clean <yes> Clears all objects and states iobroker backup Create backup iobroker restore <backup name or path> Restore a specified backup iobroker validate <backup name or path> Validate a specified backup iobroker status [all|<adapter>.<instance>] Status of ioBroker or adapter instance [aliases: isrun] iobroker repo [<name>] Show repo information iobroker uuid Show uuid of the installation [aliases: id] iobroker unsetup Reset license, installation secret and language iobroker fix Execute the installation fixer script, this updates your ioBroker installation iobroker nodejs-update [<major-version>] Upgrade the Node.JS installation to the current LTS iobroker multihost Multihost management iobroker compact compact group management iobroker plugin Plugin management iobroker vendor <passphrase> [<vendor.json>] Update the vendor information using given passphrase iobroker version [<adapter>] Show version of js-controller or specified adapter [aliases: v] Options: --help Show help [boolean]
jetzt:
C:\Users\Benutzer1> ssh SmartHome@Smarthome Warning: Permanently added the ECDSA host key for IP address 'fd00::669a:fed7:8333:5b02' to the list of known hosts. SmartHome@smarthome password: ssh_dispatch_run_fatal: Connection to fd00::669a:fed7:8333:5b02 port 22: Connection timed out
-
Warten oder über die IP versuchen. Da hat es deine ssh keys verwürfelt. Hat aber mit dem nodejs Update nix zu tun, das packt die nämlich nicht an.
-
@thomas-braun said in Probleme beim Update Host node.js:
Warten oder über die IP versuchen. Da hat es deine ssh keys verwürfelt. Hat aber mit dem nodejs Update nix zu tun, das packt die nämlich nicht an.
puh läuft wieder
Danke euch allen für die Konstruktiven antworten
-
@thomas-braun said in Probleme beim Update Host node.js [gelöst]:
Warten oder über die IP versuchen. Da hat es deine ssh keys verwürfelt. Hat aber mit dem nodejs Update nix zu tun, das packt die nämlich nicht an.
ok scheinbar habe ich mir ein neues Problem eingefangen
bin mir nicht sicher ob es was mit dem update was zu tun hat allerding lief bis zu dem Update der letzten Tage der IO Broker sehr stabil.
Nun zu meinen Beobachtungen:
wenn ich über comand auf den Raspberry zugreifen möchte dann wird diese verbindung sehr schnell wieder unterbrochen. manchmal reicht die Zeit um befehle plazieren zu können und mit etwas Glück reicht es für die eigendiagnose mit folgendem inhalt*** iob diag is starting up, please wait *** *** iob diag is starting up, please wait *** client_loop: send disconnect: Connection reset C:\Users\Benutzer1>ssh SmartHome@Smarthome SmartHome@smarthome password: Linux SmartHome 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Aug 6 19:53:43 2024 from 192.168.178.71 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. SmartHome@SmartHome:~ $ sudoclient_loop: send disconnect: Connection reset C:\Users\Benutzer1>ssh SmartHome@smarthome SmartHome@smarthome password: Linux SmartHome 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Aug 6 19:53:43 2024 from 192.168.178.71 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. SmartHome@SmartHome:~ $ iob start admin.0 SmartHome@SmartHome:~ $ client_loop: send disconnect: Connection reset C:\Users\Benutzer1>ssh SmartHome@Smarthome SmartHomeRohlik@smarthomerohlik's password: Permission denied, please try again. SmartHome@smarthome password: Linux SmartHome 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 7 05:17:40 2024 from 192.168.178.71 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. SmartHome@SmartHome:~ $ iob stop SmartHome@SmartHome:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Get:6 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [276 kB] Get:7 http://security.debian.org/debian-security bullseye-security/main armhf Packages [277 kB] Get:8 http://security.debian.org/debian-security bullseye-security/main Translation-en [181 kB] Fetched 827 kB in 1s (557 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. SmartHome@SmartHome:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: wpasupplicant 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,189 kB of archives. After this operation, 10.2 kB disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://security.debian.org/debian-security bullseye-security/main arm64 wpasupplicant arm64 2:2.9.0-21+deb11u2 [1,189 kB] Fetched 1,189 kB in 1s (1,588 kB/s) Reading changelogs... Done (Reading database ... 50170 files and directories currently installed.) Preparing to unpack .../wpasupplicant_2%3a2.9.0-21+deb11u2_arm64.deb ... Unpacking wpasupplicant (2:2.9.0-21+deb11u2) over (2:2.9.0-21) ... Setting up wpasupplicant (2:2.9.0-21+deb11u2) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for dbus (1.12.28-0+deb11u1) ... SmartHomeRohlik@SmartHomeRohlik:~ $ sudo reboot Connection to smarthomerohlik closed by remote host. Connection to smarthomerohlik closed. C:\Users\Benutzer1>ssh SmartHome@Smarthome SmartHomeRohlik@smarthomerohlik's password: Permission denied, please try again. SmartHome@smarthome password: Linux SmartHomeRohlik 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 7 05:20:31 2024 from 192.168.178.71 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. SmartHome@SmartHome:~ $ iob update Used repository: stable Adapter "admin" : 7.0.22 , installed 7.0.22 Adapter "backitup" : 3.0.16 , installed 2.11.0 [Updatable] Adapter "bshb" : 0.2.8 , installed 0.2.8 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.9 , installed 6.0.9 Adapter "mihome-cloud" : 0.1.0 , installed 0.1.0 Adapter "mihome-vacuum": 4.2.0 , installed 4.2.0 Adapter "modbus" : 6.2.3 , installed 6.2.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.0 [Updatable] Adapter "sonoff" : 3.1.0 , installed 3.1.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-inventwo" : 3.3.4 , installed 3.3.4 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "whatsapp-cmb" : 0.3.0 , installed 0.2.3 [Updatable] Adapter "ws" : 2.6.2 , installed 2.6.1 [Updatable] SmartHomeRohlik@SmartHomeRohlik:~ $ client_loop: send disconnect: Connection reset C:\Users\Benutzer1>ssh SmartHome@Smarthome SmartHomeRohlik@smarthomerohlik's password: ssh_dispatch_run_fatal: Connection to fd00::669a:fed7:8333:5b02 port 22: Connection timed out C:\Users\Benutzer1>ssh SmartHome@Smarthome SmartHomeRohlik@smarthomerohlik's password: ssh_dispatch_run_fatal: Connection to fd00::669a:fed7:8333:5b02 port 22: Connection timed out
Auf die web oberfläche kann ich fast garnicht zugreifen, wenn es mal klappt dann kommt gelegentlich folgende Fehlermeldung:
wenn ich dem link folge dann soll ich die Admin updaten was aber schwer ist da ich ständig die verbindung via Comand verliere.
Hat jemand eine Idee was ich jetzt machen kann?
-
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
client_loop: send disconnect: Connection reset
Du hast eine Knoten im Netzwerk.
-
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
Hat jemand eine Idee was ich jetzt machen kann?
das was im popup steht!
F12 -> Konsole -> Error posten
-
@homoran said in Probleme beim Update Host node.js:
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
Hat jemand eine Idee was ich jetzt machen kann?
das was im popup steht!
F12 -> Konsole -> Error posten
Diese Seite verwendet die nicht standardisierte Eigenschaft "zoom". Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder "transform" zusammen mit "transform-origin: 0 0" verwendet werden. 23
unreachable code after return statement
button.js:12:5
Missing key in translation token "global:" for language "en-GB"der Screeshot ist von heute Morgen, denke das der Fehler aktuell nicht eingetragen ist.
Im Popup steht das ich die Admin instanz updaten soll was aber nicht möglich ist da ich via comand auch nicht zugreifen kann und wenn nur ganz kurz
-
@thomas-braun said in Probleme beim Update Host node.js:
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
client_loop: send disconnect: Connection reset
Du hast eine Knoten im Netzwerk.
woher kann der kommen?
viel wichtiger wie bekomme ich den wieder raus? -
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
woher kann der kommen?
viel wichtiger wie bekomme ich den wieder raus?Keine Ahnung. Ich kenn dein Netzwerk ja nicht.
-
@thomas-braun said in Probleme beim Update Host node.js:
@keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:
woher kann der kommen?
viel wichtiger wie bekomme ich den wieder raus?Keine Ahnung. Ich kenn dein Netzwerk ja nicht.
IP ist auf jedenfall nicht doppelt vergeben
kann auch nicht via IP adresse darauf zugreifenC:\Users\Benutzer1>192.168.178.52 Der Befehl "192.168.178.52" ist entweder falsch geschrieben oder konnte nicht gefunden werden. C:\Users\Benutzer1>ssh 192.168.178.52 benutzer1@192.168.178.52's password: Connection reset by 192.168.178.52 port 22 C:\Users\Benutzer1>ssh 192.168.178.52 ssh: connect to host 192.168.178.52 port 22: Connection timed out C:\Users\Benutzer1>ssh 192.168.178.52 benutzer1@192.168.178.52's password: ssh_dispatch_run_fatal: Connection to 192.168.178.52 port 22: Connection timed out
-
??? Der user heißt doch SmartHome und nicht benutzer1
-
@thomas-braun said in Probleme beim Update Host node.js:
??? Der user heißt doch SmartHome und nicht benutzer1
normalerweise greife ich über
ssh smartHome@smartHome
zu habe jetzt versucht via
ssh 192.168.178.52
also der IP adresse zuzugreifen oder gibt es da noch andere Möglichkeiten?
benutzer1 müsst eigendlich mein Windows laptop sein oder?
-
-
@thomas-braun said in Probleme beim Update Host node.js:
C:\Users\Benutzer1>ssh SmartHome@192.168.178.52 ssh: connect to host 192.168.178.52 port 22: Connection timed out C:\Users\Benutzer1>
bis die Antwort da ist dauert es auch extrem lange
ist der Port der richtige sollte bei mir der Standart sein da ich daran nix geändert habe
-
22 ist der Standardport für SSH.
-
Was ist mit dieser Aussage
Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use.