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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Probleme beim Update Host node.js

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      keineAhnungvonProgrmieren last edited by keineAhnungvonProgrmieren

      Hallo zusammen,

      heute habe ich versucht das Betriebssystem upzudaten. dabei kam es zu folgender Fehlermeldung:

      Node.js-Aktualisierung fehlgeschlagen: Command failed: sudo apt upgrade -y nodejs WARNING: apt does not have a stable CLI interface. Use with caution in scripts. E: Failed to fetch http://deb.debian.org/debian/pool/main/b/base-files/base-files_11.1%2Bdeb11u9_arm64.deb 404 Not Found [IP: 146.75.122.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gnutls28/libgnutls30_3.7.1-5%2Bdeb11u4_arm64.deb 404 Not Found [IP: 146.75.122.132 80] E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/b/bind9/bind9-libs_9.16.48-1_arm64.deb 404 Not Found [IP: 146.75.122.132 80] E: Failed

      Muss ich dazu auf den Expertenmodus wechseln wegen der warnung "apt does not have a stable CLI interface" ?
      Danke für die Hilfe

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

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

        Muss ich dazu auf den Expertenmodus wechseln wegen der warnung "apt does not have a stable CLI interface" ?

        Nö, dein Netzwerk funktioniert nicht nach außen oder gar nicht.

        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:

          WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

          Verwendest du apt in einem Skript? Offenbar nicht.
          Der Hinweis ist also für dich irrelevant.

          sudo apt update
          

          sagt?

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

            @thomas-braun

            Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
            Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
            Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [39.0 kB]
            Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
            Get:5 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
            Get:6 http://security.debian.org/debian-security bullseye-security/main armhf Packages [277 kB]
            Get:7 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [276 kB]
            Get:8 http://deb.debian.org/debian bullseye/main armhf Packages [7,840 kB]
            Get:9 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [317 kB]
            Get:10 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [9,857 B]
            Get:11 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [311 kB]
            Get:12 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [9,794 B]
            Get:13 http://security.debian.org/debian-security bullseye-security/main Translation-en [180 kB]
            Get:14 http://deb.debian.org/debian bullseye/main arm64 Packages [7,956 kB]
            Get:15 http://deb.debian.org/debian bullseye/main Translation-en [6,236 kB]
            Get:16 http://deb.debian.org/debian bullseye/contrib arm64 Packages [40.8 kB]
            Get:17 http://deb.debian.org/debian bullseye/non-free armhf Packages [56.0 kB]
            Get:18 http://deb.debian.org/debian bullseye/non-free arm64 Packages [72.3 kB]
            Get:19 http://deb.debian.org/debian bullseye/non-free Translation-en [92.5 kB]
            Fetched 23.9 MB in 19s (1,251 kB/s)
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            99 packages can be upgraded. Run 'apt list --upgradable' to see them.
            N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.9' to '11.10'
            

            Hatte über die update funktion in der übersicht probiert:
            Leider ohne erfolg

            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:

              Hatte über die update funktion in der übersicht probiert:

              ??? Welche Übersicht?

              Und bitte vollständig inkl. LogIn Prompt vor und nach der Ausgabe posten, damit man sieht das die Ausgabe da aufhört.

              sudo apt full-upgrade
              

              sagt nun?

              T K 2 Replies Last reply Reply Quote 0
              • T
                TT-Tom @Thomas Braun last edited by TT-Tom

                @thomas-braun

                Die Admin Kachel in der Übersicht hat bei einer neuen Node Version hinter den Wert / Version ein runden Pfeil. Da kann man klicken und es wird ein Update ausgeführt.

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @TT-Tom last edited by

                  @tt-tom sagte in Probleme beim Update Host node.js:

                  Die Admin Kachel in der Übersicht hat bei einer neuen Node Version ein runden Pfeil. Da kann man klicken und aus wird ein Update ausgeführt.

                  Ja, das funktioniert aber nur, wenn der Rest des Systems auch einigermaßen auf Stand ist.
                  Ist er bei dir aber nicht.

                  Homoran K 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

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

                    @tt-tom sagte in Probleme beim Update Host node.js:

                    Die Admin Kachel in der Übersicht hat bei einer neuen Node Version ein runden Pfeil. Da kann man klicken und aus wird ein Update ausgeführt.

                    Ja, das funktioniert aber nur, wenn der Rest des Systems auch einigermaßen auf Stand ist.
                    Ist er bei dir aber nicht.

                    falscher adressat!

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

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

                      falscher adressat!

                      🙂 Stimmt. Habsch net gesähn...

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

                        @thomas-braun

                        SmartHome@SmartHome:~ $ sudo apt full-upgrade
                        E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
                        

                        Danke fürs Helfen

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

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

                          @tt-tom sagte in Probleme beim Update Host node.js:

                          Die Admin Kachel in der Übersicht hat bei einer neuen Node Version ein runden Pfeil. Da kann man klicken und aus wird ein Update ausgeführt.

                          Ja, das funktioniert aber nur, wenn der Rest des Systems auch einigermaßen auf Stand ist.
                          Ist er bei dir aber nicht.

                          Ich denke das Du mein System meinst welches nicht auf Stand ist.
                          Ich mache immer ein update sobals es mir angezeigt wird in der Admin Weboberfläche.
                          Gibt es da noch mehr was man regelmäsig machen sollte?
                          Wenn ja wie?

                          Danke.

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

                            @keineahnungvonprogrmieren

                            sudo dpkg --configure -a
                            
                            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:

                              Ich mache immer ein update sobals es mir angezeigt wird in der Admin Weboberfläche.
                              Gibt es da noch mehr was man regelmäsig machen sollte?
                              Wenn ja wie?

                              Da werden bzw. wurden aber keine Updates des Betriebssystems angezeigt. Auch das muss aktuell gehalten werden. Geht per

                              sudo apt update
                              sudo apt full-upgrade 
                              

                              Anschließender Neustart ist oft auch empfohlen.

                              iob stop
                              sudo reboot
                              
                              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:

                                Ich mache immer ein update sobals es mir angezeigt wird in der Admin Weboberfläche.
                                Gibt es da noch mehr was man regelmäsig machen sollte?
                                Wenn ja wie?

                                Da werden bzw. wurden aber keine Updates des Betriebssystems angezeigt. Auch das muss aktuell gehalten werden. Geht per

                                sudo apt update
                                sudo apt full-upgrade 
                                

                                Anschließender Neustart ist oft auch empfohlen.

                                iob stop
                                sudo reboot
                                

                                Super Danke, da hat sich was getan.

                                SmartHome@SmartHome:~ $ sudo apt update
                                Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                Hit:2 http://deb.debian.org/debian bullseye InRelease
                                Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                All packages are up to date.
                                

                                in dder weboberfläche wird mir aber immernoch angezeigt das es ein Update beim Node.js. gibt.
                                Wenn ich auf Update drücke wird mir geschrieben das es erfolgreich ist allerding zeigt er mir immer noch die alter version an.
                                Node.JPG
                                oder deute ich das falsch?

                                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:

                                  oder deute ich das falsch?

                                  Jein. Hau da per

                                  iob nodejs-update
                                  

                                  die aktuell empfohlene nodejs@20 rein.

                                  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:

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

                                      @keineahnungvonprogrmieren
                                      Zuvor:

                                      iob stop
                                      iob fix
                                      

                                      dann dürfte es funktionieren.

                                      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
                                        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]
                                        
                                        Thomas Braun K 2 Replies Last reply Reply Quote 0
                                        • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            656
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            66
                                            3091
                                            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