Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Seite neu Laden lässt ioBroker neustarten

    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

    Seite neu Laden lässt ioBroker neustarten

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

      @ronny-gerndt

      Was sagt denn

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      

      jetzt genau?

      Ronny Gerndt 1 Reply Last reply Reply Quote 0
      • Ronny Gerndt
        Ronny Gerndt @Thomas Braun last edited by

        @thomas-braun
        Was mir da gerade noch auffällt bei mir liegt Node un NPM im Local Ordner was nach deinem Guide eigentlich nicht sein sollte?

        pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        /usr/bin/nodejs
        v14.16.0
        /usr/local/bin/node
        v14.16.0
        /usr/local/bin/npm
        6.14.11
        nodejs:
          Installiert:           14.16.0-1nodesource1
          Installationskandidat: 14.16.0-1nodesource1
          Versionstabelle:
         *** 14.16.0-1nodesource1 100
                100 /var/lib/dpkg/status
             12.21.0-1nodesource1 500
                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        

        @Homoran Ja das hört sich nicht wirklich gut an wenn das so war.

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

          @ronny-gerndt
          Ja, du hast immer noch zwei Installationen, jetzt allerdings (für den Moment) mit den gleichen Versionsnummern. Das driftet dir aber mit dem nächsten Update im jetzigen Setup wieder auseinander.
          Kurz: Der Kram in
          /usr/local
          muss da weg. Und deine nodesource.list ist offenbar auch nicht richtig und 'schwimmt' nicht mit den Updates mit.

          Ronny Gerndt 1 Reply Last reply Reply Quote 0
          • Ronny Gerndt
            Ronny Gerndt @Thomas Braun last edited by

            @thomas-braun Okay, wie auch immer das passiert ist. Hab da eigentlich nicht bewusst was gemacht.
            Das heißt Node und Npm im Local Ordner deinstallieren? Oder was wäre die einfachste Lösung?

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

              @ronny-gerndt Schau dir das zweite HowTo aus meiner Signatur an, da steht alles zu nodeJS drin.

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

                @ronny-gerndt

                Jetzt würde mich mal interessieren, wie und wo du die node14 her hast.
                Aus dem Paketmanager kannst du die nicht haben. Die muss 'freihändig' installiert worden sein.

                Ronny Gerndt 1 Reply Last reply Reply Quote 0
                • Ronny Gerndt
                  Ronny Gerndt @Thomas Braun last edited by

                  @thomas-braun Ich hab den Raspi 4 am Freitag bekommen und den ioBroker Ordner des alten auf den neuen geschoben. Und versucht da wieder zum laufen zu bekommen, da hat dann Node gefehlt und ich habe es installiert.

                  Passt das nun oder ist noch was krum?

                  pi@raspberrypi:/usr $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                  /usr/bin/nodejs
                  v14.16.0
                  /usr/bin/node
                  v14.16.0
                  /usr/bin/npm
                  6.14.11
                  nodejs:
                    Installiert:           14.16.0-1nodesource1
                    Installationskandidat: 14.16.0-1nodesource1
                    Versionstabelle:
                   *** 14.16.0-1nodesource1 100
                          100 /var/lib/dpkg/status
                       12.21.0-1nodesource1 500
                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                       10.24.0~dfsg-1~deb10u1 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  

                  Das passiert dann wohl wenn man Windows User auf Linux los lässt 😄

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

                    @ronny-gerndt sagte in Seite neu Laden lässt ioBroker neustarten:

                    Ich hab den Raspi 4 am Freitag bekommen und den ioBroker Ordner des alten auf den neuen geschoben.

                    Das macht man so ja auch nicht.
                    Backup im alten System und dann im neuen, frisch 'leer' installierten System das Backup wieder einspielen.

                    Die Pfade passen jetzt, aber die Datei
                    /etc/apt/sources.list.d/nodesource.list
                    ist noch nicht richtig. Da muss entweder eine neue (fast baugleiche) Zeile mit node14 rein oder du ersetzt die 12 durch eine 14 dort.

                    Meine nodesource.list schaut so aus:

                    # node 10
                    deb https://deb.nodesource.com/node_10.x buster main
                    deb-src https://deb.nodesource.com/node_10.x buster main
                    
                    # node 12
                    deb https://deb.nodesource.com/node_12.x buster main
                    deb-src https://deb.nodesource.com/node_12.x buster main
                    
                    # node 14
                    deb https://deb.nodesource.com/node_14.x buster main
                    deb-src https://deb.nodesource.com/node_14.x buster main
                    
                    # node 16
                    # deb https://deb.nodesource.com/node_16.x buster main
                    # deb-src https://deb.nodesource.com/node_16.x buster main
                    
                    Ronny Gerndt 1 Reply Last reply Reply Quote 0
                    • Ronny Gerndt
                      Ronny Gerndt @Thomas Braun last edited by

                      @thomas-braun Ja mir hat es auf der SD Karte scheinbar die Boot Partition zerlegt, der Raspi hat nicht mehr gebootet damit. War froh das ich den Ordner überhaupt nochmal sichern konnte. Aber Backup war das erste was ich nun eingerichtet hab 😉

                      Ok ich hab das mal auf 14 angepasst:

                      deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main
                      deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main
                      

                      das nun immer noch was von Version 10 auftaucht ist normal?

                      pi@raspberrypi:/usr $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                      /usr/bin/nodejs
                      v14.16.0
                      /usr/bin/node
                      v14.16.0
                      /usr/bin/npm
                      6.14.11
                      nodejs:
                        Installiert:           14.16.0-1nodesource1
                        Installationskandidat: 14.16.0-1nodesource1
                        Versionstabelle:
                       *** 14.16.0-1nodesource1 100
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Ronny Gerndt last edited by

                        @ronny-gerndt

                        Ja, der Eintrag zu node10 ist okay, das ist das debian-eigene Repository.
                        Was mich stutzen lässt ist der fehlende Eintrag zu node14.
                        Sollte eigentlich so aussehen:

                        pi@raspberrypi:/home/iobroker $ apt policy nodejs
                        nodejs:
                          Installiert:           14.16.0-1nodesource1
                          Installationskandidat: 14.16.0-1nodesource1
                          Versionstabelle:
                         *** 14.16.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                100 /var/lib/dpkg/status
                        

                        Man beachte die Zeile mit 500.

                        Hast du mal

                        sudo apt update
                        

                        gefahren?

                        Ronny Gerndt 1 Reply Last reply Reply Quote 0
                        • Ronny Gerndt
                          Ronny Gerndt @Thomas Braun last edited by

                          @thomas-braun Jetzt ja 😉

                          pi@raspberrypi:/usr $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                          /usr/bin/nodejs
                          v14.16.0
                          /usr/bin/node
                          v14.16.0
                          /usr/bin/npm
                          6.14.11
                          nodejs:
                            Installiert:           14.16.0-1nodesource1
                            Installationskandidat: 14.16.0-1nodesource1
                            Versionstabelle:
                           *** 14.16.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.24.0~dfsg-1~deb10u1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          

                          Wusste nicht das es nötig ist. Jetzt sieht es aus wie bei dir?

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

                            @ronny-gerndt

                            Ja, jetzt passt es. Mit dem Paketmanager ist es ein wenig wie im Supermarkt.
                            Die .list-Dateien sind die 'Hersteller' der Waren, mit denen musst du erstmal Lieferverträge aufsetzen und alles grundlegende Absprechen. Also welches Produkt genau geliefert werden soll.
                            Mit 'sudo apt update' werden dann die Regale mit den jeweils frischen Waren gefüllt und per 'sudo apt dist-upgrade' kommt der Kunde vorbei und räumt die angebotene Ware in seinen Einkaufswagen.

                            Ronny Gerndt 1 Reply Last reply Reply Quote 0
                            • Ronny Gerndt
                              Ronny Gerndt @Thomas Braun last edited by

                              @thomas-braun danke für die bildliche Erklärung,😀

                              Gut dann läuft jetzt hoffentlich erstmal wieder alles. Vielen Dank für die super Hilfe

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

                                @ronny-gerndt

                                Dann kannst du ja jetzt regelmäßig den Wocheneinkauf der updates erledigen.

                                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

                                745
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                4
                                32
                                1313
                                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