Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Probleme beim Update Host node.js

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Probleme beim Update Host node.js

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

      @keineahnungvonprogrmieren

      iob reboot
      Ist mir neu...

      sudo reboot
      

      kenne ich aber.

      1 Reply Last reply Reply Quote 0
      • K
        keineAhnungvonProgrmieren @keineAhnungvonProgrmieren last edited by

        @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
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

          @keineahnungvonprogrmieren

          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.

          K 2 Replies Last reply Reply Quote 0
          • K
            keineAhnungvonProgrmieren @Thomas Braun last edited by

            @thomas-braun said in Probleme beim Update Host node.js:

            @keineahnungvonprogrmieren

            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👏

            1 Reply Last reply Reply Quote 0
            • K
              keineAhnungvonProgrmieren @Thomas Braun last edited by keineAhnungvonProgrmieren

              @thomas-braun said in Probleme beim Update Host node.js [gelöst]:

              @keineahnungvonprogrmieren

              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:
              gui.JPG

              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?

              Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

                @keineahnungvonprogrmieren sagte in Probleme beim Update Host node.js:

                client_loop: send disconnect: Connection reset

                Du hast eine Knoten im Netzwerk.

                K 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @keineAhnungvonProgrmieren last edited by

                  @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

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    keineAhnungvonProgrmieren @Homoran last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • K
                      keineAhnungvonProgrmieren @Thomas Braun last edited by

                      @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?

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

                        @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.

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          keineAhnungvonProgrmieren @Thomas Braun last edited by

                          @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 zugreifen

                          C:\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
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

                            @keineahnungvonprogrmieren

                            ??? Der user heißt doch SmartHome und nicht benutzer1

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              keineAhnungvonProgrmieren @Thomas Braun last edited by keineAhnungvonProgrmieren

                              @thomas-braun said in Probleme beim Update Host node.js:

                              @keineahnungvonprogrmieren

                              ??? 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 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

                                @keineahnungvonprogrmieren

                                Aber auch da gehört der username rein.
                                Also

                                ssh smartHome@192.168.178.52
                                
                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  keineAhnungvonProgrmieren @Thomas Braun last edited by

                                  @thomas-braun said in Probleme beim Update Host node.js:

                                  ssh smartHome@192.168.178.52

                                  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

                                  Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

                                    @keineahnungvonprogrmieren

                                    22 ist der Standardport für SSH.

                                    haselchen 1 Reply Last reply Reply Quote 0
                                    • haselchen
                                      haselchen Most Active @Thomas Braun last edited by

                                      @thomas-braun

                                      @keineAhnungvonProgrmieren

                                      Was ist mit dieser Aussage

                                      
                                      Wi-Fi is currently blocked by rfkill.
                                      Use raspi-config to set the country before use.
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @haselchen last edited by

                                        @haselchen

                                        Da ist halt WLAN nie eingestellt worden. Muss ja auch nicht, wenn die Kiste per Kabel angebunden ist. Empfiehlt sich für einen Server ja eh.

                                        haselchen 1 Reply Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active @Thomas Braun last edited by

                                          @thomas-braun

                                          Naja, wenn das so als einziger Hinweis kommt beim Verbindungsaufbau, dann kann man schonmal nachfragen 😉

                                          1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @keineAhnungvonProgrmieren last edited by

                                            @keineahnungvonprogrmieren

                                            Da spukt auch noch irgendwas anderes umher:

                                            SmartHomeRohlik@SmartHomeRohlik
                                            

                                            Was ist denn das für ein user und hostname?
                                            Tip am Rande: usernames und hostnames am besten ausschließlich in Kleinbuchstaben verwenden. Alles andere führt früher oder später immer zu Verwirrung.

                                            K 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            904
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            66
                                            3732
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo