Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update auf node.js 18.18.0 funktioniert nicht

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update auf node.js 18.18.0 funktioniert nicht

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

      Hallo zusammen!

      Mir wird ein Update von node.js 18.17.1 auf 18.18.0 angezeigt, doch es läßt sich nicht updaten. Das hier habe ich gemacht (wie immer):

      sudo apt-get update
      sudo apt-get upgrade
      

      node -v zeigt weiterhin 18.17.1

      Kann mir jemand sagen, was ich falsch mache?

      Grüße, Marcus

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

        @invidianer sagte in Update auf node.js 18.18.0 funktioniert nicht:

        Kann mir jemand sagen, was ich falsch mache?

        du hast wahrscheinlich das neue repo für nodesource nicht angelegt.

        mach es mit iob nodejs-update

        I 1 Reply Last reply Reply Quote 1
        • I
          invidianer @Homoran last edited by

          @homoran
          Hmm, ist das denn neu? Bisher hatte es immer nach der oben genannten Methode funktioniert.
          Meinst Du, nur Deinen Befehl oder zusätzlich zu den beiden von mir erwähnten?

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

            @invidianer sagte in Update auf node.js 18.18.0 funktioniert nicht:

            Hmm, ist das denn neu?

            Ja, das ist neu.

            Meinst Du, nur Deinen Befehl oder zusätzlich zu den beiden von mir erwähnten?

            Einmalig 'nodejs-update', dann bist du da wieder auf Spur und weitere Updates (innerhalb von nodejs@18) gehen dann wieder wie gewohnt über die übliche Systempflege. Beim Wechsel auf ein nodejs@20 würde ich dann wieder 'nodejs-update' empfehlen.

            I 1 Reply Last reply Reply Quote 1
            • I
              invidianer @Thomas Braun last edited by

              @thomas-braun
              Ah, okay, supi, danke!

              Bisher hatte ich mir für Major Updates notiert:

              curl -sL https://deb.nodesource.com/setup_19.x | sudo -E bash -
              sudo apt-get install -y nodejs
              

              Und für Minor Updates:

              sudo apt-get update
              sudo apt-get upgrade
              

              Künftig dann also:

              Major Updates

              iob nodejs-update
              

              Minor Updates unverändert:

              sudo apt-get update
              sudo apt-get upgrade
              

              Richtig?

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

                @invidianer sagte in Update auf node.js 18.18.0 funktioniert nicht:

                Hmm, ist das denn neu?

                ist relativ!

                nodesource hat das Repo Ende August/Anfang September geändert

                I 1 Reply Last reply Reply Quote 1
                • Thomas Braun
                  Thomas Braun Most Active @invidianer last edited by

                  @invidianer sagte in Update auf node.js 18.18.0 funktioniert nicht:

                  Richtig?

                  Richtig.
                  nodejs-update schaut nach, welches Major-Release gerade das für den ioBroker empfohlene ist und installiert das dann. Im Moment halt 18. Wenn mal irgendwann 20 zur Empfehlung wird dann wird halt 20 installiert werden.

                  Mit iobroker nodejs-update 20 könntest du aber auch z. B. vorab auf den 20er-Entwicklungszweig springen.

                  I 1 Reply Last reply Reply Quote 1
                  • I
                    invidianer @Homoran last edited by

                    @homoran
                    Okay, hatte ich nicht mitbekommen ;(

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

                      @thomas-braun
                      Danke, ist notiert!
                      Jetzt zeigt er die node.js 18.18.2 an, aber auch, daß es eine aktuellere 18.18.0 gäbe 🙂
                      Hatte ich aber schon mal gefragt, wird sich wohl nach ein paar Tagen von selbst erledigen, denke ich?

                      https://forum.iobroker.net/topic/44011/node-js-v12-22-1-version-wird-falsch-erkannt/2

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

                        @invidianer

                        Das ist ein Problem mit dem Cache. Admin refreshen hilft da oft schon.

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

                          @thomas-braun
                          Hatte ich schon probiert, leider erfolglos.

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

                            @invidianer

                            Den Anzeigen in GUIs ist grundsätzlich zu misstrauen. Die Dinger sind notorische Lügner.

                            Wenn du nochmal nodejs-update aufrufst, dann sollte da eigentlich zweimal 'Nothing to do' stehen. Es sei denn, du rufst das auf einem Client in einem Multihost-System auf.

                            I 1 Reply Last reply Reply Quote 1
                            • I
                              invidianer @Thomas Braun last edited by

                              @thomas-braun
                              Hast Recht, "Nothing to do" steht zweimal da (mit einem Multihost-System arbeite ich nicht).

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                ichwersonst @invidianer last edited by ichwersonst

                                Hallo an alle.
                                Ich habe das gleiche Problem, dass das Update von 18.17.1 auf 18.19.0 nicht funktioniert. Jetzt habe ich es auch mit dem
                                "iob nodejs-update" und
                                "iob nodejs-update 18" probiert...
                                beide scheinen nicht zu funktionieren.
                                Hier die Ausgabe:

                                iob nodejs-update
                                iobroker nodejs-update [<major-version>]
                                
                                Upgrade the Node.JS installation to the current LTS
                                
                                Options:
                                  --help  Show help  [boolean]
                                
                                

                                und

                                pi@raspberrypi:~ $ iob nodejs-update 18
                                iobroker nodejs-update [<major-version>]
                                
                                Upgrade the Node.JS installation to the current LTS
                                
                                Options:
                                  --help  Show help  [boolean]
                                
                                

                                Was mache ich denn noch falsch?
                                Beste Grüße

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

                                  @ichwersonst sagte in Update auf node.js 18.18.0 funktioniert nicht:

                                  Was mache ich denn noch falsch?

                                  mach mal

                                  iob stop
                                  iob fix
                                  iob start
                                  

                                  wenn er dann wieder läuft nochmal versuchen

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    ichwersonst @Homoran last edited by

                                    @homoran
                                    das sieht sehr gut aus... vielen dank!

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

                                      @ichwersonst sagte in Update auf node.js 18.18.0 funktioniert nicht:

                                      @homoran
                                      das sieht sehr gut aus... vielen dank!

                                      dann ist aber deine Installation verquer (gewesen??) wenn es einen fix braucht!

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

                                        @homoran sagte in Update auf node.js 18.18.0 funktioniert nicht:

                                        dann ist aber deine Installation verquer (gewesen??) wenn es einen fix braucht!

                                        Nein, der Befehl 'nodejs-update' wird lediglich über den 'iob fix' nachgeladen bzw. angelegt, die Installation ist nicht zwingend zuvor krumm gewesen.

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

                                          @thomas-braun sicher?

                                          und wo kommt

                                          @ichwersonst sagte in Update auf node.js 18.18.0 funktioniert nicht:

                                          Hier die Ausgabe:
                                          iob nodejs-update
                                          iobroker nodejs-update [<major-version>]
                                          Upgrade the Node.JS installation to the current LTS
                                          Options:
                                          --help Show help [boolean]

                                          her?
                                          Da muss der Befehl doch schon bekannt sein, sonst käme die Befehlsliste

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

                                            @homoran sagte in Update auf node.js 18.18.0 funktioniert nicht:

                                            sicher?

                                            Ja.

                                            Ich vermute, die Liste der iob-Kommandos kommen mit einem Update von sowas wie 'js-controller' oder so auf das System. Das weiß ich aber zugegebenermaßen nicht.
                                            Aber dafür, das auch das Skript bzw. der Link dorthin hinter dem Befehl liegt sorgt dann erst der Fixer bzw. eine Installation mit dem aktuellen Installer.

                                            Homoran 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            880
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            21
                                            1362
                                            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