Navigation

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

    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

    node js

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      deta Most Active last edited by

      Hallo,
      ich habe nach Doc ein Update gemacht. Aber leider noch die alte Node Version.
      Obwohl Sie installiert ist. Reboot auch bereits erfolgt.


      root@rock:/opt/iobroker# sudo apt-get install -y nodejs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      nodejs is already the newest version (10.16.2-1nodesource1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      root@rock:/opt/iobroker#
      root@rock:/opt/iobroker# node -v
      v10.15.3
      root@rock:/opt/iobroker#

      Jemand eine Idee? Ach ja es ist ein Rock64 🙂

      cu Deta

      J 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @deta last edited by

        @deta
        Der Grund steht doch schon in der Konsole. Du hadt die neuste und so wie es aussieht gleich 2 Versionen laufen und das ist blöd.

        D 1 Reply Last reply Reply Quote 0
        • D
          deta Most Active @Jan1 last edited by

          @Jan1 sagte in node js:

          @deta
          Der Grund steht doch schon in der Konsole. Du hadt die neuste und so wie es aussieht gleich 2 Versionen laufen und das ist blöd.

          denke ich mir, wie bekomme die alte jetzt weg?

          cu Deta

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan1 @deta last edited by

            @deta
            Poste erst mal alle Versionen und nicht nur die Hälfte.

            D 1 Reply Last reply Reply Quote 0
            • D
              deta Most Active @Jan1 last edited by

              @Jan1 Was brauchst du genau? Welchen Befehl?

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @deta last edited by

                @deta
                Schau in der Doku zur IOBroker Installation unter Linux, steht alles drin.

                1 Reply Last reply Reply Quote 0
                • sigi234
                  sigi234 Forum Testing Most Active last edited by

                  https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

                  D J sigi234 3 Replies Last reply Reply Quote 0
                  • D
                    deta Most Active @sigi234 last edited by

                    @sigi234 sagte in node js:

                    https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

                    Super daher hatte ich es ja! Und genau so gemacht. Da steht nix was mir in dieser Sache hilft.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @sigi234 last edited by Jan1

                      @sigi234
                      Das was er will steht allerdings schon in der allgemeinen Doku.
                      Check dee Versionen und entfernen bereits borhandener.

                      Wobei ich Nodes eigentlich immer direkt über ein Linux Update hochziehe und das bis jetzt immer geklappt hat.

                      1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @sigi234 last edited by

                        @sigi234 sagte in node js:

                        https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

                        Edit:

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

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

                          Also noch mal sogar zwei mal durch die Doc gearbeitet. genau so wie ich es vorher schon gemacht hatte.
                          Nun hab ich folgende Situation.

                          root@rock:~# node -v
                          v10.15.3
                          root@rock:~# nodejs -v
                          v10.16.2
                          root@rock:~#

                          root@rock:~# sudo apt-get install -y nodejs
                          Reading package lists... Done
                          Building dependency tree
                          Reading state information... Done
                          nodejs is already the newest version (10.16.2-1nodesource1).
                          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

                          Warum zeigt er immer bei node -v die Falsche Version an?

                          Ich weis nicht was ich noch machen soll.

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

                            @deta sagte in node js:

                            Warum zeigt er immer bei node -v die Falsche Version an?

                            Weil du zwei Node-Systeme parallel installiert hast.

                            https://forum.iobroker.net/topic/23590/nodejs-v8-x-unter-buster

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

                              @Homoran sagte in node js:

                              @deta sagte in node js:

                              Warum zeigt er immer bei node -v die Falsche Version an?

                              Weil du zwei Node-Systeme parallel installiert hast.

                              https://forum.iobroker.net/topic/23590/nodejs-v8-x-unter-buster

                              Und wie bekomme ich das wieder weg? In den Anleitungen stehts nicht.

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

                                @deta sagte in node js:

                                In den Anleitungen stehts nicht.

                                Doch:
                                https://www.iobroker.net/#de/documentation/install/linux.md?installationnodejs
                                Punkt 3

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

                                  @Homoran Hab ich gemacht gehabt.

                                  Hab jetzt das wieder in Griff und es ist jetzt richtig.
                                  Was hab ich gemacht.
                                  Wie in Punkt 3 beschreiben alles deinstalliert.
                                  Super dennoch lief irgendwie auch nach Reboot node .. Mh..
                                  Also habe ich alles was mit node zu finden war komplett Manuell gelöscht.
                                  Ausser was unter iobroker war.

                                  Nach Reboot hatte ich dann auch kein node mehr. puh...
                                  Dann node neu installiert und schon war alles richtig.
                                  ok hab dann noch ein
                                  npm rebuild
                                  durchlaufen lassen.

                                  Jetzt ist alles Super..

                                  Nur falls jemand das auch mal hat 😢

                                  cu Deta

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    passuff last edited by passuff

                                    @deta sagte in node js:

                                    ach Reboot hatte ich dann auch kein node mehr. puh...
                                    Dann node neu installiert und schon war alles richtig.

                                    bei node -v

                                    bekomme ich "v10.16.1"

                                    bei nodejs -v

                                    bekomme ich "v10.16.2"

                                    Wie kann das sein? Habe gerade nach Anleitung ein update der nodejs durchgeführt...

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • P
                                      passuff last edited by passuff

                                      niemand? Habe gerade das update auf 10.16.3 gemacht. Leider keine Besserung..

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

                                        @passuff sagte in node js:

                                        @deta sagte in node js:

                                        ach Reboot hatte ich dann auch kein node mehr. puh...
                                        Dann node neu installiert und schon war alles richtig.

                                        bei node -v

                                        bekomme ich "v10.16.1"

                                        bei nodejs -v

                                        bekomme ich "v10.16.2"

                                        Wie kann das sein?

                                        Dann hast du node zweimal (in unterschiedlichen Verzeichnissen) installiert.

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

                                          @deta

                                          wo ist es

                                          ls -l /usr/local/bin/node*
                                          ls -l /usr/bin/node*
                                          
                                          P 1 Reply Last reply Reply Quote 0
                                          • D
                                            deta Most Active last edited by

                                            Ich habe erst mal es deinstalliert.
                                            Dann gesucht
                                            updatedb
                                            locate node*
                                            Dann alles gelöscht was mit node in den Verzeichnissen ist komplett.
                                            Dann neu installiert
                                            dann funktionierte es bei mir.

                                            cu Deta

                                            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

                                            464
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            node
                                            7
                                            34
                                            1796
                                            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