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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wir empfehlen: Node.js 22.x

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

      @thomas-braun

      michael@iobroker:~$ sudo apt update
      Hit:1 https://deb.nodesource.com/node_22.x nodistro InRelease
      Hit:2 http://deb.debian.org/debian trixie InRelease
      Get:3 http://security.debian.org trixie-security InRelease [43.4 kB]
      Get:4 http://deb.debian.org/debian trixie-updates InRelease [47.1 kB]
      Get:5 http://security.debian.org trixie-security/main amd64 Packages [8,780 B]
      Get:6 http://security.debian.org trixie-security/main Translation-en [9,164 B]
      Fetched 108 kB in 0s (276 kB/s)           
      1 package can be upgraded. Run 'apt list --upgradable' to see it.
      Warning: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
      michael@iobroker:~$ apt policy nodejs
      nodejs:
        Installed: 22.18.0-1nodesource1
        Candidate: 22.18.0-1nodesource1
        Version table:
       *** 22.18.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           22.17.1-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.17.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.16.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.15.1-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.15.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.14.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.13.1-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.13.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.12.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.11.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.10.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.9.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.8.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.7.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.6.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.5.1-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.5.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.4.1-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.4.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.3.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.2.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.1.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           22.0.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
           20.19.2+dfsg-1 500
              500 http://deb.debian.org/debian trixie/main amd64 Packages
      michael@iobroker:~$ 
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @lessthanmore last edited by

        @lessthanmore

        Gibt es da noch andere Dateien?

        ls -l /etc/apt/preferences.d/
        
        L 1 Reply Last reply Reply Quote 0
        • L
          lessthanmore @Thomas Braun last edited by lessthanmore

          @thomas-braun said in Wir empfehlen: Node.js 22.x:

          ls -l /etc/apt/preferences.d/

          michael@iobroker:~$ ls -l /etc/apt/preferences.d/
          total 12
          -rw-r--r-- 1 root root 65 May  9 22:16 nodejs
          -rw-r--r-- 1 root root 66 Aug 12 11:45 nodejs.pref
          -rw-r--r-- 1 root root 65 May  9 22:16 nsolid
          michael@iobroker:~$ 
          

          1 und 3 können weg oder?

          Package: nodejs
          Pin: origin deb.nodesource.com
          Pin-Priority: 600
          
          Package: nodejs
          Pin: origin deb.nodesource.com
          Pin-Priority: 1001
          
          Package: nsolid
          Pin: origin deb.nodesource.com
          Pin-Priority: 600
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @lessthanmore last edited by

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

            1 und 3 können weg oder?

            Richtig. Der erste Treffer zieht.

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

              @thomas-braun Nach reboot.

              michael@iobroker:~$ ls -l /etc/apt/preferences.d/
              total 4
              -rw-r--r-- 1 root root 66 Aug 12 11:45 nodejs.pref
              michael@iobroker:~$ sudo apt update
              Hit:1 http://deb.debian.org/debian trixie InRelease
              Hit:2 http://security.debian.org trixie-security InRelease          
              Hit:3 http://deb.debian.org/debian trixie-updates InRelease         
              Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
              All packages are up to date.    
              Warning: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
              michael@iobroker:~$ apt policy nodejs
              nodejs:
                Installed: 22.18.0-1nodesource1
                Candidate: 22.18.0-1nodesource1
                Version table:
               *** 22.18.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                      100 /var/lib/dpkg/status
                   22.17.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.17.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.16.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.15.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.15.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.14.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.13.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.13.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.12.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.11.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.10.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.9.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.8.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.7.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.6.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.5.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.5.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.4.1-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.4.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.3.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.2.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.1.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   22.0.0-1nodesource1 1001
                      500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
                   20.19.2+dfsg-1 500
                      500 http://deb.debian.org/debian trixie/main amd64 Packages
              michael@iobroker:~$ 
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @lessthanmore last edited by

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

                *** 22.18.0-1nodesource1 1001

                Nein, jetzt zieht die nodejs.pref

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

                  @thomas-braun Was wäre/ ist denn richtig?

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

                    @lessthanmore

                    Die 1001, weil damit auch Downgrades ohne weitere Klimmzüge möglich sind.

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

                      @thomas-braun Ich steh auf dem Schlauch.
                      Soll ich die nodejs nochmal anlegen mit pin 1001?

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

                        @lessthanmore

                        Nein, alles gut. Jetzt passt es.

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

                          @thomas-braun Lieben Dank!

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

                            @lessthanmore

                            Ich danke dir, das packe ich gleich in einen Fix für 'nodejs-update'.

                            1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @haselchen last edited by

                              @haselchen Also idealerweise sollte derjeniger der das Problem bemerkt ein Issue mit Logs und Infos erstellen. Es macht wenig sinn hier Stille Post zu spielen. Auch weil in dem Fall Node.js 22 schon seit über einem Jahr existiert ... Interessant das noch nicht alles gefunden wurde

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

                                @thomas-braun Sehr interessant ... an sich sollte der Controller genau solche dinge erkennen und selbst versuchen ein Rebuild anzustossen

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

                                  @bigmike71 Am besten bei solchen Effekten einmal "iob fix" machen

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

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

                                    @thomas-braun Sehr interessant ... an sich sollte der Controller genau solche dinge erkennen und selbst versuchen ein Rebuild anzustossen

                                    Macht er ja auch, kommt aber nicht zum Ziel:

                                    host.raspberrypi 2025-08-14 12:15:10.456	error	iobroker npm-rebuild: Rebuilding native modules failed
                                    host.raspberrypi 2025-08-14 12:15:11.490	info	iobroker npm-rebuild: exit 1
                                    
                                    1 Reply Last reply Reply Quote 1
                                    • mcm1957
                                      mcm1957 last edited by mcm1957

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

                                      @apollon77

                                      Werden die Entwickler von euch informiert ihre Adapter anzupassen?
                                      Oder läuft das so:
                                      Ihr empfehlt -> wir merken das was nicht funktioniert -> erstellen ein Issue -> wenns gut läuft arbeitet der Entwickler es ab ?

                                      Ja
                                      Schau bitte doch bitte mal bei den Adaptern rein.

                                      Beispiel: EUSEC
                                      https://github.com/bropat/ioBroker.eusec/issues/443
                                      https://github.com/bropat/ioBroker.eusec/issues/481

                                      Bezüglich der Testtiefe stell die Frage bitte an den jeweiligen Entwickler. Überraschend kommen node Updates für Entwickler jedenfalls nicht.

                                      ALLE Adapter die in den Repositories gelistet sind bekommen rechtzeitig solche Erinnerungsissues.

                                      Für Adapter die nur via Github installierbar sind gilt natürlich dass von solchen Adapter prinzipiell abgeraten wird und dass Benutzer solcher Adapter dies selbt abklären / nachfragen sollten.

                                      ioBroker-Bot created this issue in bropat/ioBroker.eusec

                                      closed Compatibility check and testing for node.js 22 #443

                                      ioBroker-Bot created this issue in bropat/ioBroker.eusec

                                      open Compatibility check and testing for node.js 24 #481

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

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

                                        @bigmike71 Am besten bei solchen Effekten einmal "iob fix" machen

                                        🙂 Ja, ging aber in dem Fall nicht (direkt), weil der user ja nicht in /home/iobroker reinkam.
                                        Da hätte man den fixer direkt vom Server ziehen müssen. Und ich glaube, der fixer hätte auch gar nicht die Rechte an /home/iobroker gefixt. Kann ich aber die Tage mal ausprobieren.

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

                                          Hallo, ist es normal, dass ein Minor Update von Node.js nicht funktioniert?
                                          b1796aa7-3611-4f60-9b8b-08d8a7c487d6-grafik.png

                                          Auch über apt passiert nichts.

                                          pi@raspberrypi4-iobroker:~ $ sudo apt update
                                          Hit:1 http://deb.debian.org/debian bookworm InRelease
                                          Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
                                          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                                          Hit:4 http://archive.raspberrypi.org/debian bookworm InRelease
                                          Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          All packages are up to date.
                                          W: http://archive.raspberrypi.org/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                                          pi@raspberrypi4-iobroker:~ $ sudo apt upgrade
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          Calculating upgrade... Done
                                          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Supernils last edited by

                                            @Supernils

                                            32Bit-Version?

                                            apt policy nodejs
                                            

                                            sagt?

                                            S 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

                                            842
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            26
                                            158
                                            5029
                                            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