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
                          • First post
                            Last post

                          Support us

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

                          1.3k
                          Online

                          32.3k
                          Users

                          81.2k
                          Topics

                          1.3m
                          Posts

                          37
                          211
                          24915
                          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