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.
    • mcm1957
      mcm1957 @Pitpilot last edited by

      @pitpilot
      Hast du eh den ADAPTER deinstaöliert undneu installiert und nicht nur die Instanz(en) gelöscht und neu angelegt?

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

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

        Bwi einer deinstalltion werden alle Objekte gelöscht.Alles andere würde mich sehr wundern.

        Ja, aber die Einstellungen liegen nicht in den Objekten.

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Thomas Braun last edited by

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

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

          Bwi einer deinstalltion werden alle Objekte gelöscht.Alles andere würde mich sehr wundern.

          Ja, aber die Einstellungen liegen nicht in den Objekten.

          aber es gibt auch Einstellungen in den Objekten
          Die sind dann auch futsch

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

            @lessthanmore

            Magst du mal den Inhalt deiner /etc/apt/preferences.d/nodejs.pref zeigen?
            Sollte eigentlich so aussehen:

            echad@chet:~ $ cat /etc/apt/preferences.d/nodejs.pref
            Package: nodejs
            Pin: origin deb.nodesource.com
            Pin-Priority: 1001
            echad@chet:~ $ 
            
            L 1 Reply Last reply Reply Quote 0
            • L
              lessthanmore @Thomas Braun last edited by

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

              cat /etc/apt/preferences.d/nodejs.pref

              Klar, gerne:

              michael@iobroker:~$ cat /etc/apt/preferences.d/nodejs.pref
              Package: nodejs
              Pin: origin deb.nodesource.com
              Pin-Priority: 1001
              michael@iobroker:~$ 
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @lessthanmore last edited by

                @lessthanmore

                Komisch. Da ist er PIN 1001 eigentlich.

                sudo apt update
                apt policy nodejs
                

                liefert bei dir?

                L 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            448
                                            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