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 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.

                              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
                                    • S
                                      Supernils @Thomas Braun last edited by

                                      @thomas-braun

                                      pi@raspberrypi4-iobroker:~ $ apt policy nodejs
                                      nodejs:
                                        Installed: 22.15.0-1nodesource1
                                        Candidate: 22.15.0-1nodesource1
                                        Version table:
                                       *** 22.15.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           22.14.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.13.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.13.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.12.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.11.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.10.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.9.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.8.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.7.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.6.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.5.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.5.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.4.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.4.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.3.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.2.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.1.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           22.0.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages
                                           18.19.0+dfsg-6~deb12u2 500
                                              500 http://deb.debian.org/debian bookworm/main armhf Packages
                                           18.19.0+dfsg-6~deb12u1 500
                                              500 http://security.debian.org/debian-security bookworm-security/main ar                                                                                                                                                             mhf Packages
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Supernils last edited by

                                        @supernils

                                        Ja, 32Bit.
                                        Steig da AB und installier da von GRUND AUF NEU ein 64Bit-System.

                                        S 1 Reply Last reply Reply Quote 2
                                        • S
                                          Supernils @Thomas Braun last edited by

                                          @thomas-braun @thomas-braun Die 64bit Vorraussetzung für ein Node.js Update war mir nicht bewusst. Eine 64bit Neuinstallation ist derzeit aus Zeitgründen nicht möglich. Gibt es eine Alternative?

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

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

                                            Gibt es eine Alternative?

                                            Nein.

                                            Die 64bit Vorraussetzung für ein Node.js Update war mir nicht bewusst.

                                            Es ist ja auch keine Voraussetzung. Die 22.15.0-1nodesource1 gibt es ja. Es werden nur im Moment für 32Bit keine aktuelleren Versionen von nodesource gebaut. Warum weiß ich nicht, aber die 64Bit-Versionen kommen relativ zeitnah rein.

                                            Gibt aber auch noch weitere Gründe dafür, im Jahre 2025 nicht mehr auf 32Bit herumzurutschen.

                                            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

                                            460
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

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