Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Diskussion zum HowTo nodejs-Installation und upgrade

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

      @gregors sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

      Hatte sonst immer geklappt.

      Das muss aber schon Monate her sein. Die Keys sind schon länger zurück gezogen worden.

      Gibt von mir einen Thread dazu. Such den mal.

      Edit: Und der Eintrag zu 'stretch' hat da auch nix mehr zu suchen.

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

        @thomas-braun

        Hab mal ein Backup zurück gespielt.
        Hatte den js-controler aktualisiert, aber danach hatte ich eine mqtt-Instanz und den linux-control
        als Fehler.
        Muss erstmal deinen Thread finden.
        Soll ich erst den js-controler updaten und danach NodeJS?
        War früher einfacher mit den Aktualisierungen.

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

          @gregors sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

          War früher einfacher mit den Aktualisierungen.

          Das war schon immer so schwer oder einfach wie jetzt auch. Diese ThirdParty-Repos mussten durch die Anbieter angepasst werden. Und diese Anpassungen musst du in deinem Setup nachziehen, sonst eben die Meldungen, die du da jetzt siehst.

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

            @gregors

            https://forum.iobroker.net/topic/67822/grafana-repo-braucht-neuen-schlüssel
            sowie
            https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden

            In letzterem steht auch was zu influxdb drin.

            1 Reply Last reply Reply Quote 0
            • D
              dipsy last edited by

              Hallo,

              mein iobroker läuft auf einem Proxmox im debian bullseye image. Jetzt wird mir in der Adminoberfläche angezeigt, dass ich von node.js 16.20.2 auf 18.18.0 und npm 8.19.4 auf 9.8.1 updaten kann oder besser soll.
              Kann ich nach der Anleitung Link Text von Thoams Braun das Update durchführen?

              greetz dipsy

              Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @dipsy last edited by

                @dipsy

                Nach dem https://forum.iobroker.net/topic/68035/iob-node-fix-skript

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

                  @dipsy sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                  Kann ich nach der Anleitung Link Text von Thoams Braun das Update durchführen?

                  Ja, danach ginge es auch, das ist angepasst worden. Aber ich würde das Skript empfehlen. Das macht das gleiche (und noch mehr).

                  1 Reply Last reply Reply Quote 0
                  • D
                    dipsy last edited by

                    Hallo ihr zwei,

                    ich danke für die schnellen Antworten. Ich werde am Freitag ein weiteres Backup durchführen und dann das Script durchlaufen lassen. In Feedback folgt natürlich.
                    Könnt ihr mir noch sagen ob ich meine zwei raspi slaves ebenfalls mit debian bullseye separat updaten muss oder die mit gezogen werden?

                    greetz dipsy

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

                      @dipsy sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                      oder die mit gezogen werden?

                      Das sind individuelle Betriebssysteme, die müssen auch jeweils separat aktualisiert werden.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dipsy @Thomas Braun last edited by

                        @thomas-braun alles klar.
                        Dann versuche ich mein Glück.
                        Danke.

                        greetz dipsy

                        1 Reply Last reply Reply Quote 0
                        • D
                          dipsy last edited by

                          Hallo Glasfaser und Thomas Braun,

                          beflügelt von euren Antworten habe ich gestern Abend die zwei Slaves und heute die LXC des Proxmox ohne Probleme mit dem Script upgedatet. Der Proxmox Container lief natürlich am schnellsten durch. Ich bin begeistert und danke euch beiden.

                          greetz dipsy

                          1 Reply Last reply Reply Quote 1
                          • M
                            ma last edited by

                            hallo zusammen

                            bin gerade dabei mein System auf node 18 zu upgraden (Ubuntu 20.04.6 LTS) und stoße nach änderung von "sudo nano /etc/apt/sources.list.d/nodesource.list" und "sudo apt update" auf folgenden Fehler

                            OK:1 http://security.ubuntu.com/ubuntu focal-security InRelease
                            OK:2 http://de.archive.ubuntu.com/ubuntu focal InRelease                              
                            OK:3 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease                      
                            OK:4 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
                            Holen:5 https://deb.nodesource.com/node_16.x focal InRelease [4.583 B]
                            Holen:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
                            Fehl:6 https://deb.nodesource.com/node_18.x nodistro InRelease
                              Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                            Paketlisten werden gelesen... Fertig
                            W: GPG-Fehler: https://deb.nodesource.com/node_18.x nodistro InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 2F59B5F99B1BE0B4
                            E: Das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« ist nicht signiert.
                            N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                            N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                            

                            kann mir dazu jemand weiterhelfen ?

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

                              @ma sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                              kann mir dazu jemand weiterhelfen ?

                              Mach es mit

                              iob nodejs-update
                              
                              1 Reply Last reply Reply Quote 0
                              • M
                                ma last edited by

                                @thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:

                                iob nodejs-update
                                gerade probiert
                                ausgabe bei "iob nodejs-update"

                                iobroker [command]
                                
                                Commands:
                                  iobroker setup                                               Setup ioBroker
                                  iobroker start [all|<adapter>.<instance>]                    Starts the js-controller or a specified adapter instance
                                  iobroker stop [<adapter>.<instance>]                         stops the js-controller or a specified adapter instance
                                  iobroker restart [<adapter>.<instance>]                      Restarts js-controller or a specified adapter instance  [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
                                  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 multihost                                           Multihost management
                                  iobroker compact                                             compact group management
                                  iobroker plugin                                              Plugin management
                                  iobroker version [<adapter>]                                 Show version of js-controller or specified adapter  [aliases: v]
                                
                                Options:
                                  --help  Show help  [boolean]
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @ma last edited by

                                  @ma

                                  iob stop
                                  iob fix
                                  iob nodejs-update
                                  
                                  M 1 Reply Last reply Reply Quote 1
                                  • M
                                    ma last edited by

                                    Hat funktioniert
                                    danke für die schnelle rückmeldung ☺

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      ma @Thomas Braun last edited by

                                      @thomas-braun bin doch noch auf ein problem gestoßen ich kann aktuell keine adapter mehr updaten

                                      $ iobroker upgrade telegram@2.0.1
                                      
                                      host.iobroker Adapter "system.adapter.telegram.0" is stopped.
                                      
                                      host.iobroker Adapter "system.adapter.telegram.1" is stopped.
                                      
                                      Installing iobroker.telegram@2.0.1... (System call)
                                      
                                      Installing iobroker.telegram@2.0.1... (System call)
                                      
                                      host.iobroker Cannot install iobroker.telegram@2.0.1: 217
                                      
                                      ERROR: Process exited with code 25
                                      
                                      $ iobroker upgrade shelly@6.6.1
                                      
                                      Update shelly from @6.4.5 to @6.6.1
                                      
                                      Installing iobroker.shelly@6.6.1... (System call)
                                      
                                      Try to solve ENOTEMPTY error automaticallyInstalling iobroker.shelly@6.6.1... (System call)
                                      
                                      host.iobroker deleted npm temp directory: ".bindings-4WLiqHNJ")
                                      
                                      host.iobroker Cannot install iobroker.shelly@6.6.1: 217
                                      
                                      ERROR: Process exited with code 25
                                      
                                      $ iobroker upgrade shelly@6.6.1
                                      
                                      Update shelly from @6.4.5 to @6.6.1
                                      
                                      NPM version: 9.8.1
                                      
                                      Installing iobroker.shelly@6.6.1... (System call)
                                      
                                      Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@75lb/deep-mergenpm ERR! dest /opt/iobroker/node_modules/@75lb/.deep-merge-EwaPBSLAnpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@75lb/deep-merge' -> '/opt/iobroker/node_modules/@75lb/.deep-merge-EwaPBSLA'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-08T21_04_36_193Z-debug-0.loghost.iobroker Cannot install iobroker.shelly@6.6.1: 217
                                      
                                      ERROR: Process exited with code 25
                                      
                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        ma @ma last edited by

                                        @ma

                                        $ iobroker upgrade fullybrowser@2.2.0
                                        
                                        Update fullybrowser from @2.1.2 to @2.2.0
                                        
                                        Installing iobroker.fullybrowser@2.2.0... (System call)
                                        
                                        Try to solve ENOTEMPTY error automatically
                                        
                                        Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-08T21_27_01_858Z-debug-0.loghost.iobroker Cannot install iobroker.fullybrowser@2.2.0: 217
                                        
                                        ERROR: Process exited with code 25
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @ma last edited by

                                          @ma

                                          iob stop
                                          iob fix
                                          iob start
                                          
                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            ma @Thomas Braun last edited by

                                            @thomas-braun schon probiert leider keine Besserung

                                            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

                                            743
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            169581
                                            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