Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update von Node 18 auf Node 20 bricht ab

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update von Node 18 auf Node 20 bricht ab

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

      @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

      @searcher57

      iob nodejs-update 20
      

      @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

      @searcher57

      iob nodejs-update 20
      

      Danach bekomme ich folgendes;

      ioBroker nodejs fixer 2024-10-10
      You requested to install latest version from nodejs v20 tree.
      
      Your current setup is:
      /usr/bin/nodejs         v20.18.2
      /usr/bin/node           v20.18.2
      /usr/bin/npm            10.8.2
      /usr/bin/npx            10.8.2
      /usr/bin/corepack       0.29.4
      
      We found these nodejs versions available for installation:
      
      nodejs:
        Installed: 20.18.2-1nodesource1
        Candidate: 20.18.2-1nodesource1
        Version table:
       *** 20.18.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
              100 /var/lib/dpkg/status
           20.18.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.15.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.13.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.12.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.12.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.11.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.8.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.6.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.5.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.3.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           20.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
           18.19.0+dfsg-6~deb12u2 500
              500 http://deb.debian.org/debian bookworm/main arm64 Packages
           18.19.0+dfsg-6~deb12u1 500
              500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
      
      
      
      Nothing to do - Your installation is using the correct paths.
      
      You are running nodejs v20.18.2. 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.
      rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
      Waiting for ioBroker to shut down - Give me a minute...
      ############################################################
      
      Removing dfsg-nodejs
      
      
      *** These repos are active on your system:
      Hit:1 http://deb.debian.org/debian bookworm InRelease
      Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
      Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
      Hit:5 https://repos.influxdata.com/debian stable InRelease
      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://deb.debian.org/debian bookworm InRelease
      Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
      Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
      Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
      Hit:5 https://repos.influxdata.com/debian stable InRelease
      Get:6 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
      Get:7 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages [10.4 kB]
      Get:8 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [10.4 kB]
      Fetched 33.0 kB in 1s (26.6 kB/s)
      Reading package lists... Done
      
      Installing nodejs now!
      
      Installing the nodejs!
      
      We tried our best to fix your nodejs. Please run iob diag again to verify.
      
      *** RESTARTING ioBroker NOW! ***
       Please refresh or restart your browser in a few moments.
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @searcher57 last edited by

        @searcher57

        Dann ist jetzt nodejs@20 richtig installiert.

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

          @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

          @searcher57

          iob nodejs-update 20
          

          So, meine Einstellungen sind endlich aktuallisiert. Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.

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

            @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

            Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.

            Das heißt konktet mit welchen Meldungen?

            iob update 
            iob upgrade all
            
            S 2 Replies Last reply Reply Quote 0
            • S
              searcher57 @searcher57 last edited by

              @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

              @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

              @searcher57

              iob nodejs-update 20
              

              So, meine Einstellungen sind endlich aktuallisiert. Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.

              Entschuldigung!! Update: Alles Gut es hat funktioniert! Danke!👍 👏

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

                @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.

                Das heißt konktet mit welchen Meldungen?

                iob update 
                iob upgrade all
                

                Ich war mal wieder zu ungeduldig und habe nach den Eingaben nicht abgewartet, ob eine Lösung statt gefunden hat! Asche über mein Haupt!!🤕

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

                  @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                  @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                  Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.

                  Das heißt konktet mit welchen Meldungen?

                  iob update 
                  iob upgrade all
                  

                  @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

                  @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                  @searcher57

                  iob nodejs-update 20
                  

                  So, meine Einstellungen sind endlich aktuallisiert. Trotzdem bekomme ich den Telegram- Adapter nicht auf den neuesten Stand.

                  Anstatt iob nodejs-update 20 habe ich iob nodejs-update v 20.18.2 eingegeben!

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

                    @searcher57

                    Und warum?
                    v 20.18.2 ist keine gültige Option bei dem Skript. Und das hat dir auch keiner so falsch vorgegeben. Und in der Hilfe steht das auch nicht drin. Also WARUM?

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

                      @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                      @searcher57

                      Und warum?
                      v 20.18.2 ist keine gültige Option bei dem Skript. Und das hat dir auch keiner so falsch vorgegeben. Und in der Hilfe steht das auch nicht drin. Also WARUM?

                      Weil ich das in meinem Raspi 5 so angegeben bekomme!
                      1fdb715a-7adc-4906-bcc7-7b327d47de16-grafik.png

                      S Thomas Braun 2 Replies Last reply Reply Quote 0
                      • S
                        searcher57 @searcher57 last edited by

                        @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

                        @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                        @searcher57

                        Und warum?
                        v 20.18.2 ist keine gültige Option bei dem Skript. Und das hat dir auch keiner so falsch vorgegeben. Und in der Hilfe steht das auch nicht drin. Also WARUM?

                        Weil ich das in meinem Raspi 5 so angegeben bekomme!
                        1fdb715a-7adc-4906-bcc7-7b327d47de16-grafik.png

                        Kann ich also die Version vom Raspi 5 nicht auf den Raspi 4 übernehmen?

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

                          @searcher57

                          Das ist die volle Versionierung. Bei nodejs-update gibt man aber nur die Major-Version an.
                          In der Hilfe ist das Kommando so enthalten:

                          iobroker nodejs-update [<major-version>] Upgrade the Node.JS installation to the current LTS

                          Hab mir eine Plausibiltätsprüfung für das Argument aber schon auf meine 'ToDo'-Liste gesetzt.

                          S 2 Replies Last reply Reply Quote 0
                          • S
                            searcher57 @searcher57 last edited by

                            @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

                            @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

                            @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                            @searcher57

                            Und warum?
                            v 20.18.2 ist keine gültige Option bei dem Skript. Und das hat dir auch keiner so falsch vorgegeben. Und in der Hilfe steht das auch nicht drin. Also WARUM?

                            Weil ich das in meinem Raspi 5 so angegeben bekomme!
                            1fdb715a-7adc-4906-bcc7-7b327d47de16-grafik.png

                            Kann ich also die Version vom Raspi 5 nicht auf den Raspi 4 übernehmen?

                            Seltsam ist, dass es jetzt so aussieht:
                            ac98a7d9-3ec7-4dfc-863d-3d5ec30569ff-grafik.png
                            8177f7c1-e1d9-456f-b3a1-e4368fd365e0-grafik.png

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

                              @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                              Seltsam ist, dass es jetzt so aussieht:

                              Warum ist das seltsam?
                              Eine volle Versionsnummer unterteilt sich in drei Segmente.
                              Major.Minor.Patch
                              Beim nodejs-update gibst du nur den Major-Zweig an, die genaue aktuelle Version findet das Skript dann automatisch.

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

                                @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                                @searcher57

                                Das ist die volle Versionierung. Bei nodejs-update gibt man aber nur die Major-Version an.
                                In der Hilfe ist das Kommando so enthalten:

                                iobroker nodejs-update [<major-version>] Upgrade the Node.JS installation to the current LTS

                                Hab mir eine Plausibiltätsprüfung für das Argument aber schon auf meine 'ToDo'-Liste gesetzt.

                                Das sagt mir wenig! Hauptsache Ihr habt mir geholfen!!👍 😊

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

                                  @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                  Das sagt mir wenig!

                                  Deswegen meine Erläuterung einen Post zuvor.

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

                                    @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                                    @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                    Das sagt mir wenig!

                                    Deswegen meine Erläuterung einen Post zuvor.

                                    OK, nochmal Danke!

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      searcher57 @Homoran last edited by

                                      @homoran said in Update von Node 18 auf Node 20 bricht ab:

                                      @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                      einen Screen-shot:

                                      da steht's doch ganz deutlich und rot markiert

                                      @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                      usr/bin/nodejs v18.20.6

                                      ist zu alt
                                      soll!
                                      du brauchst v20

                                      Also dann sag mir doch bitte in Zukunft, was ich machen

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

                                        @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

                                        @thomas-braun said in Update von Node 18 auf Node 20 bricht ab:

                                        @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                        Das sagt mir wenig!

                                        Deswegen meine Erläuterung einen Post zuvor.

                                        OK, nochmal Danke!

                                        @searcher57 said in Update von Node 18 auf Node 20 bricht ab:

                                        @homoran said in Update von Node 18 auf Node 20 bricht ab:

                                        @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                        einen Screen-shot:

                                        da steht's doch ganz deutlich und rot markiert

                                        @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                        usr/bin/nodejs v18.20.6

                                        ist zu alt
                                        soll!
                                        du brauchst v20

                                        Also dann sag mir doch bitte in Zukunft, was ich machen

                                        Sei's drum es ist ja wieder alles in Ordnung, aber ich wünsche mir einen Umgang mit Normalos!!😙

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

                                          @searcher57

                                          Es steht doch eigentlich alles klar und deutlich in dem Screenshot drin...
                                          Rot markiert: nodejs20 ist erforderlich, du hast 18 laufen
                                          Im Changelog auch nochmal:
                                          Nodejs >20 ist erforderlich.

                                          Sollte auch für 'Normalos' (Was auch immer das genau sein soll) verständlich sein.

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

                                            @searcher57 sagte in Update von Node 18 auf Node 20 bricht ab:

                                            aber ich wünsche mir einen Umgang mit Normalos!!

                                            was mutet dir denn unnormal an 🤔

                                            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

                                            912
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            iobroker update nodejs
                                            7
                                            63
                                            3175
                                            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