Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Pflege des Betriebssystems
    5. nodejs update

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    nodejs update

    This topic has been deleted. Only users with topic management privileges can see it.
    • jolu1705
      jolu1705 last edited by Homoran

      Hi,

      ich wollte den ALIAS Adapter updaten, aber der benötigt eine node.js Version >20.
      Mein iobroker zeigt folgendes an:

      optiplex7050
      Plattform: linux
      RAM: 15.5 GB
      Node.js: v18.17.1(18.20.5 / 20.18.0)
      NPM: 10.8.2

      Ein Update über die automatische Updatefunktion unter "Übersicht" macht nichts d.h. iobroker nutzt weiterhin die alte version, obwohl >20.x installiert ist.

      npm -v

      10.8.2

      nodejs -v

      v22.11.0

      Während iobroker also wohl die korrekte NPM Version nutzt, kann ich das System nicht dazu bewegen die v22.11.0 von nodejs zu nutzen bzw. anzuzeigen.

      uname -a

      Linux optiplex7050 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64 GNU/Linux

      iob diag Auszug davon.

      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v22.11.0
      /usr/local/bin/node             v18.17.1
      /usr/local/bin/npm              10.8.2
      /usr/local/bin/npx              10.8.2
      /usr/local/bin/corepack         0.18.0
      *** nodejs is NOT correctly installed ***
      
      nodejs:
        Installed: 22.11.0-1nodesource1
        Candidate: 22.11.0-1nodesource1
        Version table:
       *** 22.11.0-1nodesource1 600
              500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           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
           12.22.12~dfsg-1~deb11u5 500
              500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
           12.22.12~dfsg-1~deb11u4 500
              500 http://deb.debian.org/debian bullseye/main amd64 Packages
              500 http://debian-archive.trafficmanager.net/debian bullseye/main amd64 Packages
              500 http://ftp.stw-bonn.de/debian bullseye/main amd64 Packages
              500 http://ftp.es.debian.org/debian bullseye/main amd64 Packages
              500 http://debian.apt-mirror.de/debian bullseye/main amd64 Packages
              500 http://ftp.pt.debian.org/debian bullseye/main amd64 Packages
      

      iobroker ist also der Meinung mein nodejs sei nicht richtig installiert. Warum genau oder was das System von mir will, steht da leider nicht 🙂

      Meister Mopper 1 Reply Last reply Reply Quote 0
      • Meister Mopper
        Meister Mopper @jolu1705 last edited by

        @jolu1705

        Ich weiß nicht, wie du nodejs höher gehoben hast. Was sagt iob nodejs-update?

        jolu1705 1 Reply Last reply Reply Quote 1
        • jolu1705
          jolu1705 @Meister Mopper last edited by

          @meister-mopper said in nodejs update:

          iob nodejs-update

          Das Script versucht ein Update und

          nodejs -v

          zeigt nun
          v20.18.0

          iobroker ignoriert das aber aktuell.

          haus-automatisierung Thomas Braun 2 Replies Last reply Reply Quote 0
          • haus-automatisierung
            haus-automatisierung Developer Most Active @jolu1705 last edited by

            @jolu1705 sagte in nodejs update:

            iobroker ignoriert das aber aktuell.

            Du hast ioBroker nach dem Upgrade aber schon neugestartet, oder?

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

              @jolu1705

              Warum genau oder was das System von mir will, steht da leider nicht

              Das steht in

              iob diag
              

              drin und auch in

              iob nodejs-update 20
              

              Du hast es irgendwie geschafft, nodejs in die falschen Pfade zu installieren.
              Das hauseigene Tool 'iob nodejs-update' macht das aber richtig.

              1 Reply Last reply Reply Quote 0
              • jolu1705
                jolu1705 @haus-automatisierung last edited by

                @haus-automatisierung

                Ja, das ganze System wurde rebooted:
                optiplex7050
                Plattform: linux
                RAM: 15.5 GB
                Node.js: v18.17.1(18.20.5 / 20.18.0) XXX
                NPM: 10.8.2

                Der kleine Pfeil der da ist wo oben XXX steht sagt auch er würde ein Update machen und danach neu starten, aber das kann ich so oft tun wie ich will, es bleibt bei der obigen Versionsanzeige.

                Thomas Braun Ro75 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @jolu1705 last edited by

                  @jolu1705

                  Schau dir

                  iob diag
                  

                  an. In der Langfassung.

                  jolu1705 1 Reply Last reply Reply Quote 0
                  • Ro75
                    Ro75 @jolu1705 last edited by

                    @jolu1705 du zeigst immer nur Bruchstücke. Immer alles. Von EINGABE bis ERGEBNIS

                    Ro75.

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

                      @thomas-braun

                      iob nodejs-update 20

                      will das Versionsproblem fixen und tut auch irgendwas.
                      Eine Fehlermeldung kommt, der Rest scheint durchzulaufen:

                      rm: cannot remove '/usr/share/keyrings/nodesource.gpg'$'\n''/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @jolu1705 last edited by

                        @jolu1705

                        Die Meldung ist irrelevant.

                        iob diag
                        

                        sagt?

                        1 Reply Last reply Reply Quote 0
                        • jolu1705
                          jolu1705 last edited by Homoran

                          iob diag output

                          ======================= SUMMARY =======================
                                                  v.2024-10-19
                          
                          
                             Static hostname: optiplex7050
                                   Icon name: computer-desktop
                                     Chassis: desktop
                            Operating System: Debian GNU/Linux 11 (bullseye)
                                      Kernel: Linux 5.10.0-33-amd64
                                Architecture: x86-64
                          
                          Installation:           native
                          Kernel:                 x86_64
                          Userland:               64 bit
                          Timezone:               Europe/Berlin (CET, +0100)
                          User-ID:                1000
                          Display-Server:         false
                          Boot Target:            graphical.target
                          
                          Pending OS-Updates:     0
                          Pending iob updates:    1
                          
                          Nodejs-Installation:
                          /usr/bin/nodejs         v20.18.0
                          /usr/bin/node           v20.18.0
                          /usr/bin/npm            10.8.2
                          /usr/bin/npx            10.8.2
                          /usr/bin/corepack       0.29.3
                          
                          Recommended versions are nodejs 20.18.0 and npm 10.8.2
                          nodeJS installation is correct
                          
                          MEMORY:
                                         total        used        free      shared  buff/cache   available
                          Mem:             15G        427M         13G        3.0M        2.0G         15G
                          Swap:           976M          0B        976M
                          Total:           16G        427M         14G
                          
                          Active iob-Instances:   1
                          Upgrade policy: none
                          
                          ioBroker Core:          js-controller           6.0.11
                                                  admin                   7.4.0
                          
                          ioBroker Status:        iobroker is not running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                            system.adapter.admin.0                  : admin                 : optiplex7050                             -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                            system.adapter.web.0                    : web                   : optiplex7050                             -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects:                122613
                          States:                 94763
                          
                          Size of iob-Database:
                          
                          65M     /opt/iobroker/iobroker-data/objects.jsonl
                          11M     /opt/iobroker/iobroker-data/objects.json.migrated
                          11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                          20M     /opt/iobroker/iobroker-data/states.jsonl
                          3.3M    /opt/iobroker/iobroker-data/states.json.migrated
                          3.3M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                          
                          
                          Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!
                          
                          =================== END OF SUMMARY ====================
                          
                          
                          Thomas Braun Ro75 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @jolu1705 last edited by

                            @jolu1705

                            Passt also jetzt.
                            Aber dein Betriebssystem ist EndOfLife.
                            Installier da Debian 12 'Bookworm'.

                            T 1 Reply Last reply Reply Quote 0
                            • Ro75
                              Ro75 @jolu1705 last edited by

                              @jolu1705 Die Langfassung bitte. Du bist als BETA-Tester unterwegs!?

                              Ro75.

                              jolu1705 1 Reply Last reply Reply Quote 0
                              • jolu1705
                                jolu1705 @Ro75 last edited by jolu1705

                                @ro75 Was heisst das ich bin als Beta Tester unterwegs?

                                @thomas-braun said in nodejs update: ok mach ich

                                @jolu1705

                                Passt also jetzt.
                                Aber dein Betriebssystem ist EndOfLife.
                                Installier da Debian 12 'Bookworm'.

                                Ro75 1 Reply Last reply Reply Quote 0
                                • Ro75
                                  Ro75 @jolu1705 last edited by

                                  @jolu1705 naja admin 7.4.0 ist nicht stable. Stable ist 7.1.5

                                  Deswegen mal die Langfassung.

                                  Ro75.

                                  jolu1705 1 Reply Last reply Reply Quote 1
                                  • jolu1705
                                    jolu1705 @Ro75 last edited by

                                    @ro75 said in nodejs update:

                                    @jolu1705 naja admin 7.4.0 ist nicht stable. Stable ist 7.1.5

                                    Deswegen mal die Langfassung.

                                    Ro75.

                                    Wie komm ich denn vom Beta Baum wieder auf die Stable Schiene?

                                    Ro75 1 Reply Last reply Reply Quote 0
                                    • Ro75
                                      Ro75 @jolu1705 last edited by

                                      @jolu1705 Erst einmal bitte die Langfassung.

                                      Ro75.

                                      jolu1705 1 Reply Last reply Reply Quote 0
                                      • jolu1705
                                        jolu1705 @Ro75 last edited by

                                        @ro75

                                        Das Update von Bullseye auf Bookwork scheint das Problem gelöst zu haben. Ich habe nun Version 20.18 laut Übersicht

                                        Ro75 1 Reply Last reply Reply Quote 0
                                        • Ro75
                                          Ro75 @jolu1705 last edited by Ro75

                                          @jolu1705 Oh Oh. Nur Bruchstücke. Hilfe ist fast nicht möglich. Wie hast du Debian 11 auf 12 gebracht? Ich hoffe mit neuem Image. Ein direktes Update von 11 auf 12 ist nicht möglich, zumindest nicht ohne weitere zeitaufwendige und nervige Folgeprobleme.

                                          Ro75.

                                          jolu1705 Meister Mopper 2 Replies Last reply Reply Quote 1
                                          • T
                                            ticaki Developer @Thomas Braun last edited by

                                            @thomas-braun sagte in nodejs update:

                                            Aber dein Betriebssystem ist EndOfLife.
                                            Installier da Debian 12 'Bookworm'.

                                            Nur aus Interesse - Die 11 ist doch LTS und noch bis 2026 supported

                                            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            933
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            28
                                            1102
                                            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