Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Node.js Update oder nicht?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Node.js Update oder nicht?

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

      Hallo zusammen,

      ich bin gerade etwas verwirrt. Der ioBroker zeigt mir dies an:

      083ad159-6582-47f2-8ae6-7afd232f43d4-grafik.png

      Also habe ich Node.js 20.15.0 installiert und es gibt Version 20.15.1.

      Nun habe ich gelernt zum Updaten diesen Befehl zu nutzen:

      iob nodejs-update

      Wenn ich den aber ausführe, bekomme ich diese Meldung:

      You are running nodejs v20.15.1. Do you want to install recommended version 18.20.4? 
      
      Press <y> to continue or any other key to quit
      We are not fixing your installation. Exiting.
      Volker@ioBroker:~$ 
      
      

      Was stimmt denn nun?

      Homoran paul53 Thomas Braun 3 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @myssv last edited by

        @myssv sagte in Node.js Update oder nicht?:

        Was stimmt denn nun?

        beides!
        die Empfehlung für node 20 ist noch nicht im admin integriert

        M 1 Reply Last reply Reply Quote 0
        • M
          myssv @Homoran last edited by

          @homoran sagte in Node.js Update oder nicht?:

          Empfehlung für node 20 ist noch nicht im admin integriert

          Also alles so lassen und abwarten?

          Danke!

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

            @myssv sagte in Node.js Update oder nicht?:

            Also alles so lassen und abwarten?

            nein!

            iob nodejs-update 20 und gut ist

            1 Reply Last reply Reply Quote 1
            • paul53
              paul53 @myssv last edited by

              @myssv sagte: You are running nodejs v20.15.1.

              Das hat iobroker offenbar noch nicht mitbekommen? Starte mal ioBroker neu.

              1 Reply Last reply Reply Quote 0
              • M
                myssv last edited by

                @homoran sagte in Node.js Update oder nicht?:

                iob nodejs-update 20

                You are running nodejs v20.15.1. Do you want to install latest version from nodejs v.20 tree? 
                
                Press <y> to continue or any other key to quit
                Trying to fix your installation now. Please be patient.
                
                Virtualization: lxc
                Waiting for ioBroker to shut down - Give me a minute...
                ############################################################
                
                *** These repos are active on your system:
                Hit:1 http://security.debian.org bookworm-security InRelease
                Hit:2 http://ftp.debian.org/debian bookworm InRelease
                Get:3 http://ftp.debian.org/debian bookworm-updates InRelease [55.4 kB]
                Fetched 55.4 kB in 0s (163 kB/s) 
                Reading package lists... Done
                
                *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                
                *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                
                deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                Package: nodejs
                Pin: origin deb.nodesource.com
                Pin-Priority: 1001
                
                *** These repos are active after the adjustments:
                Hit:1 http://security.debian.org bookworm-security InRelease
                Hit:2 http://ftp.debian.org/debian bookworm InRelease                     
                Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease             
                Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]   
                Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8456 B]
                Fetched 20.6 kB in 0s (44.0 kB/s)  
                Reading package lists... Done
                
                Installing nodejs now!
                
                Installing nodejs now!
                
                *** You need to manually restart your container/virtual machine now! *** 
                
                We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                
                

                Trotz der Meldung hat er aber was installiert.

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

                  @myssv sagte in Node.js Update oder nicht?:

                  Nun habe ich gelernt zum Updaten diesen Befehl zu nutzen:

                  Jein/Nein.

                  nodejs-update ist primär dazu gedacht eine krumme Installation zu korrigieren oder auf eine neue Major-Version von nodejs zu wechseln.

                  Im weiteren wird nodejs innerhalb einer Haupt-Version mit den üblichen Bordmitteln deiner Distribution aktuell gehalten. Also

                  sudo apt update
                  iob stop
                  sudo apt full-upgrade
                  iob start
                  
                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @myssv last edited by

                    @myssv sagte in Node.js Update oder nicht?:

                    Trotz der Meldung

                    Welche genau?

                    @myssv sagte in Node.js Update oder nicht?:

                    hat er aber was installiert.

                    natürlich

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      myssv @Homoran last edited by

                      @homoran sagte in Node.js Update oder nicht?:

                      Welche genau?

                      You are running nodejs v20.15.1.
                      

                      Das die .15.1 bereits installiert ist, obwohl er hier die .15.0 anzeigt:

                      6d784069-96b1-444f-a17c-bf61bb999af2-1721747370062-083ad159-6582-47f2-8ae6-7afd232f43d4-grafik.png

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • M
                        myssv last edited by

                        Nach einem Neustart zeigt er jetzt die .15.1 an

                        84076be3-c02c-46f7-812e-001076db9696-grafik.png

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

                          @myssv sagte in Node.js Update oder nicht?:

                          Das die .15.1 bereits installiert ist, obwohl er hier die .15.0 anzeigt:

                          GUIs lügen. Lad die Seite nochmal neu.
                          Oder starte den Browser neu.

                          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

                          901
                          Online

                          31.6k
                          Users

                          79.6k
                          Topics

                          1.3m
                          Posts

                          4
                          11
                          440
                          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