Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [How-to] Node.js für ioBroker richtig updaten

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

      @chrisvogels

      sudo apt update
      apt policy deconz
      

      Bitte in CodeTags posten

      1 Reply Last reply Reply Quote 0
      • Basti97
        Basti97 Most Active last edited by

        Ich bin gerade dabei ein Raspberry für einen Freund fertig zu machen. Ich habe nodejs auf meinem Pi heruntergeladen und auch installiert aber leider findet er bei nodejs -v keine Version an was kann es liegen.
        npm -v findet er

        Glasfaser Homoran 2 Replies Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Basti97 last edited by

          @basti97

          Hiermit :

          sudo ln -s /usr/bin/node /usr/bin/nodejs
          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          
          Basti97 1 Reply Last reply Reply Quote 0
          • Basti97
            Basti97 Most Active @Glasfaser last edited by

            @glasfaser said in [How-to] Node.js für ioBroker richtig updaten:

            @basti97

            Hiermit :

            sudo ln -s /usr/bin/node /usr/bin/nodejs
            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
            

            Super vielen Dank das hat funktioniert. 🙂 Was ein kleiner Text alles beheben kann.

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

              @basti97 sagte in [How-to] Node.js für ioBroker richtig updaten:

              Ich habe nodejs auf meinem Pi heruntergeladen und auch installiert

              warum einzeln?
              das macht der iobroker Installer direkt mit - in der aktuell empfohlenen Version

              Basti97 2 Replies Last reply Reply Quote 0
              • Basti97
                Basti97 Most Active @Homoran last edited by

                @homoran Ich hatte eine leere Rasbian image gehabt. Und bei dem Befehl nodejs -v usw kam "der Befehl wurde nicht gefunden"

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

                  @homoran vielleicht lag es auch daran das meine Internetverbindung nicht sehr stabil ist wegen der Telekom. Ich hatte gestern bei anderen Updates auch Probleme gehabt.

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

                    @basti97 sagte in [How-to] Node.js für ioBroker richtig updaten:

                    Ich hatte eine leere Rasbian image gehabt.
                    bei dem Befehl nodejs -v usw kam "der Befehl wurde nicht gefunden"

                    das ist die optimale Voraussetzung.

                    anschließend nur Zeitzone, und Sprache, bei Bedarf noch Hostname anpassen und dann curl -sLf https://iobroker.net/install.sh | bash - ausführen und fertig

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

                      @homoran Ach da braucht man vorher kein extra nodejs und curl mehr installieren. Gut wieder was neues kennengelernt. Wo ich zuletzt mal einen Rpi installiert hatte ich das noch gemacht.

                      Was vielleicht in Ordnung wäre, ist das man hier im Forum eine neue Installationsanleitung mal postet. Da ich gesehen habe das im Internet massig an Anleitung gibt. Die nicht mehr funktionieren oder veraltet ist.

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

                        @basti97 sagte in [How-to] Node.js für ioBroker richtig updaten:

                        und curl

                        curl sollte bei raspberrypi OS mit drauf sein
                        bei Debian müsste es noch installiert werden

                        @basti97 sagte in [How-to] Node.js für ioBroker richtig updaten:

                        Was vielleicht in Ordnung wäre

                        ist das hier in Ordnung?

                        mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.

                        https://www.iobroker.net/#de/documentation/install/linux.md

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

                          @homoran Ja das ist ein richtig gute Installation die muss ich mir mal merken. 🙂 🙂
                          Sehr gut geschrieben.

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

                            @basti97 sagte in [How-to] Node.js für ioBroker richtig updaten:

                            die muss ich mir mal merken

                            die gibt es seit etwa 7 Jahren

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

                              @homoran Achso ehrlich gesagt habe ich die noch nicht gefunden. Ich hätte noch eine Frage wie würdest du ein iobroker System aktualisieren (anderer Pi) wo der JS Controller, node, npm und nodejs sehr alt (welche Version genau muss ich erst noch gucken).
                              Würde da in diesen Fall auch der Befehl reichen:
                              curl -sLf https://iobroker.net/install.sh | bash -

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

                                @basti97 sagte in [How-to] Node.js für ioBroker richtig updaten:

                                Würde da in diesen Fall auch der Befehl reichen:

                                Nein.
                                Da würde ich erstmal schauen wie da der genaue Stand ist (auch des Betriebssystems selber). Abhängig davon dann vermutlich 'per Hand' auf nodeJS@14 gehen. Und dann alles andere auch hochziehen.

                                Basti97 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Basti97 last edited by

                                  @basti97 Sag mal wie alt genau... dann muss man mal sehen. Der Installer hilft da eher nicht

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

                                    @thomas-braun Ok da muss ich mal gucken jetzt der rpi wo ich iob installiert habe. War erstmal so als test für mich und später für einen Freund 🙂

                                    Das sind die empfohlene Versionen oder.

                                    b7c1aa95-e7e8-4314-8f16-70d180f531ae-grafik.png

                                    e83bc856-1e56-4d5d-ab4b-8179669c6443-grafik.png

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

                                      @basti97

                                      Das scheint aber doch aus der früheren Neuzeit zu sein. Das dürfte nicht mit großen Klimmzügen verbunden sein.

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

                                        @thomas-braun Was genau?? Der Raspberry oder die Versionen

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

                                          @basti97
                                          Das Betriebssystem des Raspberry kann ich da nicht sehen. Aber nodeJS in einer Version 14 ist (halbwegs) aktuell, der js-controller wohl auch.

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

                                            @thomas-braun Was müsste ich da jetzt bei den updaten? Ich hätte noch etwas im Angebot was noch bisschen älter ist. Aber der muss auf anhieb funktionieren da es ein Slave für mein Hauptsystem ist.

                                            Ich habe den Installationscode genommen wie es @Homoran geschrieben hatte.
                                            curl -sLf https://iobroker.net/install.sh | bash - dadurch sind verscheinlich die Versionen gekommen. Nach der Anleitung sind die ja eigentlich empfohlen oder?

                                            Thomas Braun 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

                                            933
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            617970
                                            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