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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    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 sagte in Update von Node 18 auf Node 20 bricht ab:

      Ich bekomme kein Update hin!

      Weil du keine Quellen dafür mehr hast.

      Wenn ich versuche es auf den neuesten Stand zu bringen, dann kommt das:

       sudo apt update
      OK:1 http://deb.debian.org/debian bookworm InRelease
      OK:2 http://deb.debian.org/debian-security bookworm-security InRelease
      OK:3 http://archive.raspberrypi.com/debian bookworm InRelease
      OK:4 http://deb.debian.org/debian bookworm-updates InRelease
      OK:5 https://repos.influxdata.com/debian stable InRelease
      Ign:6 https://deb.nodesource.com/node_v.x nodistro InRelease
      Fehl:7 https://deb.nodesource.com/node_v.x nodistro Release
        404  Not Found [IP: 2606:4700:10::6816:51a 443]
      Paketlisten werden gelesen… Fertig
      E: Das Depot »https://deb.nodesource.com/node_v.x nodistro Release« enthält keine Release-Datei.
      N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
      N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
      
      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @searcher57 last edited by Homoran

        @searcher57 und warum postest du nicht die entsprechenden Meldungen?
        hab bisher deine nicht gesehen, nur die von @Smart-Thomas .

        und deine werden ziemlich sicher nicht identisch sein.

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

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

          Ign:6 https://deb.nodesource.com/node_v. x nodistro InRelease

          wo kommt das denn her?

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

          Ich bekomme kein Update hin!

          wie hast du es versucht?

          mit iob nodejs-update ??

          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 und warum postest du nicht die entsprechenden Meldungen?
            hab bisher deine nicht gesehen, nur die von @Smart-Thomas .

            und drine werden ziemlich sicher nicht identisch sein.

            Was brauchst Du noch für Infos?

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

              @searcher57

              iob nodejs-update 20
              
              S 2 Replies 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
                

                @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
                                            • First post
                                              Last post

                                            Support us

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

                                            606
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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