Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wir empfehlen: Node.js 22.x

    NEWS

    • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Wir empfehlen: Node.js 22.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Asgothian
      Asgothian Developer @mcm1957 last edited by

      @mcm1957 sagte in Wir empfehlen: Node.js 22.x:

      Bitte mach ein Issue beim Adapter auf oder ein getrenntes Topic und gib dort auch die für eine Analyse notwenigen Infos (z.B. Version des Adapters) an.
      @Asgothian FYI falls du mit den derzeitigen Infos schon was anfangen kannst.

      Das ist eher @arteck 's Baustelle, sorry. Sieht aber wirklich komisch aus. Hier mal in Lesbar:

      08:53:38.761 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee2mqtt.0 
      2025-10-11 08:53:38.761 info terminating zigbee2mqtt.0
       2025-10-11 08:53:38.358 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } zigbee2mqtt.0
       2025-10-11 08:53:38.358 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } zigbee2mqtt.0
       2025-10-11 08:53:38.323 warn Start try again in 1 seconds... zigbee2mqtt.0
       2025-10-11 08:53:38.319 info Got terminate signal TERMINATE_YOURSELF zigbee2mqtt.0
       2025-10-11 08:53:16.777 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:16.768 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:16.768 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:16.768 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:15.456 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:15.456 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:15.455 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
       2025-10-11 08:53:13.789 info Connect to Zigbee2MQTT over websocket connection. zigbee2mqtt.0
       2025-10-11 08:53:12.786 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type
      
      B 1 Reply Last reply Reply Quote 1
      • B
        biker1602 @Asgothian last edited by

        @asgothian said in Wir empfehlen: Node.js 22.x:

        @mcm1957 sagte in Wir empfehlen: Node.js 22.x:

        Bitte mach ein Issue beim Adapter auf oder ein getrenntes Topic und gib dort auch die für eine Analyse notwenigen Infos (z.B. Version des Adapters) an.
        @Asgothian FYI falls du mit den derzeitigen Infos schon was anfangen kannst.

        Das ist eher @arteck 's Baustelle, sorry. Sieht aber wirklich komisch aus. Hier mal in Lesbar:

        08:53:38.761 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee2mqtt.0 
        2025-10-11 08:53:38.761 info terminating zigbee2mqtt.0
         2025-10-11 08:53:38.358 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } zigbee2mqtt.0
         2025-10-11 08:53:38.358 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } zigbee2mqtt.0
         2025-10-11 08:53:38.323 warn Start try again in 1 seconds... zigbee2mqtt.0
         2025-10-11 08:53:38.319 info Got terminate signal TERMINATE_YOURSELF zigbee2mqtt.0
         2025-10-11 08:53:16.777 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:16.768 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:16.768 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:16.768 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:15.456 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:15.456 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:15.455 debug Device: bridge/definitions not found, queue state in incStatsQueue! zigbee2mqtt.0
         2025-10-11 08:53:13.789 info Connect to Zigbee2MQTT over websocket connection. zigbee2mqtt.0
         2025-10-11 08:53:12.786 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type
        

        Das komische war, halt auch das alle Geräte plötzlich für kurze Zeit keine Verbindung mehr hatten und dann wieder ja und das im Wechsel.

        1 Reply Last reply Reply Quote 0
        • S
          schererV last edited by schererV

          Hallo zusammen ,

          Probiere node js updaten. kommt aber immer folgender fehler.

          Was mache ich falsch ?

          Danke für die Hilfe

          ioBroker nodejs fixer 2025-08-09
          You requested to install latest version from nodejs v22 tree.
          
          Your current setup is:
          /usr/bin/nodejs         v22.20.0
          /usr/local/bin/node             v20.16.0
          /usr/local/bin/npm              10.8.1
          /usr/local/bin/npx              10.8.1
          /usr/local/bin/corepack         0.28.2
          
          *** nodejs is NOT correctly installed ***
          We found these nodejs versions available for installation:
          
          nodejs:
            Installed: 22.20.0-1nodesource1
            Candidate: 22.21.0-1nodesource1
            Version table:
               22.21.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
           *** 22.20.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                  100 /var/lib/dpkg/status
               22.19.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.18.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.17.1-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.17.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.16.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.15.1-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.15.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.14.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.13.1-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.13.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.12.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.11.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.10.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.9.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.8.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.7.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.6.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.5.1-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.5.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.4.1-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.4.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.3.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.2.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.1.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               22.0.0-1nodesource1 600
                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
               18.20.4+dfsg-1~deb12u1 500
                  500 http://deb.debian.org/debian bookworm/main arm64 Packages
                  500 http://deb.debian.org/debian-security bookworm-security/main arm64 P                                                                                                                                                             ackages
          
          
          
          Your nodejs-Installation seems to be faulty. Shall we try to fix it?
          Press <y> to continue or any other key to quit
          
          You are running nodejs v20.16.0. Do you want to install latest version from node                                                                                                                                                             js v.22 tree?
          
          Press <y> to continue or any other key to quit
          Not fixing your installation. Exiting.
          
          
          Homoran mcm1957 Thomas Braun 3 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @schererV last edited by

            @schererv sagte in Wir empfehlen: Node.js 22.x:

            Was mache ich falsch ?

            was machst du überhaupt?

            anscheinend verbietest du dem Fixer die fehlerhafte Installation zu fixen.

            1 Reply Last reply Reply Quote 1
            • mcm1957
              mcm1957 @schererV last edited by

              @schererv said in Wir empfehlen: Node.js 22.x:

              Your nodejs-Installation seems to be faulty. Shall we try to fix it?
              Press <y> to continue or any other key to quit

              You are running nodejs v20.16.0. Do you want to install latest version from node js v.22 tree?

              Press <y> to continue or any other key to quit
              Not fixing your installation. Exiting.

              Hast du ja y (für yes == ja) gedrückt um deine Zustimmung auszudrücken? Sieht eigentlich nicht danach aus.

              MartinP 1 Reply Last reply Reply Quote 0
              • MartinP
                MartinP @mcm1957 last edited by

                @mcm1957 Könnte ein Tastaturlayout-Problem sein... US-Layout und DE-Tastenkappen?

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

                  @schererv sagte in Wir empfehlen: Node.js 22.x:

                  Probiere node js updaten. kommt aber immer folgender fehler.

                  nodejs@22 ist bereits installiert, du hast aber ein nodejs@20 da manuell davor geklatscht.
                  Lass das Skript da aufräumen. Halt mit y (oder z bei falschem Tastaturlayout) bestätigen.

                  1 Reply Last reply Reply Quote 1
                  • Siggi0904
                    Siggi0904 last edited by

                    @Thomas-Braun

                    Könntest du das Upgrade-Script dahin anpassen, dass wenn schon eine sources-Datei für das nodejs-Repo existiert das Upgrade-Script keine neue list-Datei mehr anlegt?

                    Ich hatte schon modernize-sources laufen lassen und somit war da eine sources-Datei vorhanden.

                    Ich dank dir im Voraus.

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

                      @siggi0904

                      Jein. Ich werde in einer kommenden Version wohl beide Dateiformate löschen, solange der nodesource-Installer da eine nodesource.list anlegt.

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

                        @thomas-braun ah, das kommt vom Installer.
                        Dann ist löschen natürlich der bessere Weg.

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

                          @siggi0904

                          Ja, ich versuche mich da möglichst nah am nodesource-Installationsskript zu halten. Ich biege da nur den Speicherort des keys um.

                          PR:
                          https://github.com/ioBroker/ioBroker/pull/666

                          Grothesk242 created this issue in ioBroker/ioBroker

                          open Delete existing nodesource repos #666

                          1 Reply Last reply Reply Quote 2
                          • Siggi0904
                            Siggi0904 last edited by

                            @Thomas-Braun
                            schau mal, was passiert, wenn ich heute die Pakete aktualisiere und apt full-upgrade mache:

                            login as: mario
                            mario@192.168.178.64's password:
                            Linux iobroker 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025                                                                         -09-20) x86_64
                            
                            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: Sat Nov  1 15:34:18 2025 from 192.168.178.41
                            mario@iobroker:~$ sudo apt update
                            [sudo] Passwort für mario:
                            OK:1 http://deb.debian.org/debian trixie InRelease
                            OK:2 http://security.debian.org/debian-security trixie-security InRelease
                            OK:3 http://deb.debian.org/debian trixie-updates InRelease
                            OK:4 https://deb.nodesource.com/node_22.x nodistro InRelease
                            Alle Pakete sind aktuell.
                            Warnung: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                            mario@iobroker:~$ sudo apt full-upgrade
                            ERSETZE DURCH ÄLTERE VERSION:
                              nodejs
                            
                            Zusammenfassung:
                              Aktualisiere: 0, Installiere: 0, Ersetze durch ältere Version: 1, Entferne: 0, Aktualisiere nicht: 0
                              Herunterlade-Größe: 37,6 MB
                              Freigegebener Platz: 52,2 kB
                            
                            Fortfahren? [J/n] n
                            Abbruch.
                            mario@iobroker:~$
                            
                            

                            Der will node-js durch eine ältere Version ersetzen.
                            Kennst du das?

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

                              @siggi0904 sagte in Wir empfehlen: Node.js 22.x:

                              Kennst du das?

                              Ja.
                              Die schon bei dir installierte Version wurde aus dem Repo entfernt und apt full-upgrade bietet dir nun an die installierte Version mit der veröffentlichten Version zu synchronisieren.
                              Mit

                              sudo apt update
                              sudo apt upgrade
                              

                              wird das vermutlich nicht angezeigt werden. Das ist einer der Unterschiede zwischen full-upgrade und upgrade.

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

                                @thomas-braun kommt auf mit apt upgrade

                                login as: mario
                                mario@192.168.178.64's password:
                                Linux iobroker 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64
                                
                                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: Sat Nov  1 15:40:03 2025 from 192.168.178.41
                                mario@iobroker:~$ sudo apt update
                                [sudo] Passwort für mario:
                                OK:1 http://deb.debian.org/debian trixie InRelease
                                OK:2 http://security.debian.org/debian-security trixie-security InRelease
                                Holen:3 http://deb.debian.org/debian trixie-updates InRelease [47,3 kB]
                                OK:4 https://deb.nodesource.com/node_22.x nodistro InRelease
                                Es wurden 47,3 kB in 1 s geholt (79,1 kB/s).
                                Alle Pakete sind aktuell.
                                Warnung: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                mario@iobroker:~$ sudo apt upgrade
                                ERSETZE DURCH ÄLTERE VERSION:
                                  nodejs
                                
                                Zusammenfassung:
                                  Aktualisiere: 0, Installiere: 0, Ersetze durch ältere Version: 1, Entferne: 0, Aktualisiere nicht: 0
                                  Herunterlade-Größe: 37,6 MB
                                  Freigegebener Platz: 52,2 kB
                                
                                Fortfahren? [J/n]
                                
                                

                                iob nodejs-update liefert aber keine neue Version.

                                Erstmal nichts machen und abwarten?

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

                                  @siggi0904 sagte in Wir empfehlen: Node.js 22.x:

                                  Erstmal nichts machen und abwarten?

                                  Ja, warte ab.

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

                                  Support us

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

                                  1.2k
                                  Online

                                  32.4k
                                  Users

                                  81.2k
                                  Topics

                                  1.3m
                                  Posts

                                  37
                                  215
                                  25866
                                  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