Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installation auf Raspi 4 startet nicht

    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

    UNSOLVED Installation auf Raspi 4 startet nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gutgut30 last edited by Negalein

      Hi zusammen,

      endlich wollte ich in die Welt des iObrokers starten, scheiter aber an der Installation 😞 Basis ist ein Raspi 4 mit dem aktuellen pivccu3 Buster Image. Dazu habe ich die homebridge gemäß der Anleitung von technikkram problemlos installiert.

      Nun wollte ich parallel noch den iobroker dazu installieren. Wenn ich mich an die Anleitung halte, passiert aber leider nichts wenn ich die Installation mit

      pi@raspberrypi4:~ $ curl -sL https://iobroker.net/install.sh | bash -
      pi@raspberrypi4:~ $
      

      starte.

      Also das How To befolgt und die Versionen geprüft:

      pi@raspberrypi4:~ $ npm -v
      6.10.1
      pi@raspberrypi4:~ $ node -v
      v8.11.1
      pi@raspberrypi4:~ $ nodejs -v
      v10.15.2
      pi@raspberrypi4:~ $ npm -v
      6.10.1
      

      Bis auf die unterschiedlichen Versionen entspricht es den Vorgaben. Wenn ich nun aber die Befehle der How to folge um die Versionen identisch zu bekommen macht mich dieser Fehler stutzig:

      pi@raspberrypi4:~ $ sudo apt-get --purge remove node
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.       
      Statusinformationen werden eingelesen.... Fertig
      Paket »node« ist nicht installiert, wird also auch nicht entfernt.
      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
        gyp libjs-inherits libjs-is-typedarray libnode-dev libssl-dev libuv1-dev python-pkg-resources
      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
      pi@raspberrypi4:~ $
      

      Node liefert mir eine Version, ist aber nicht installiert? Liegt es an der Art, wie ich es installiert habe (https://technikkram.net/2018/11/neue-anleitung-siri-sprachsteuerung-fuer-homematic-plug-and-play-ohne-konfiguration), muss ich ggf noch einen Pfad anpassen?

      Danke & Schöne Grüße
      Manuel

      1 Reply Last reply Reply Quote 0
      • F
        Fab296 last edited by

        Node nodejs müssen die gleiche Version haben. Versuch beide auf die Version 10.x.x zu bringen.

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

          @gutgut30 sagte in Installation auf Raspi 4 startet nicht:

          Buster

          muss node 10 haben zwingend

          aber langsam

          zeigmal

          ls -l /usr/local/bin/node*
          ls -l /usr/bin/node*
          
          G 1 Reply Last reply Reply Quote 0
          • G
            gutgut30 @arteck last edited by Negalein

            @arteck said in Installation auf Raspi 4 startet nicht:

            ls -l /usr/bin/node*

            Dort erhalte ich folgende Rückgabe:

            pi@raspberrypi4:~ $ ls -l /usr/local/bin/node*
            -rwxr-xr-x 1 root root 31387030 Jul 16 23:24 /usr/local/bin/node
            pi@raspberrypi4:~ $ ls -l /usr/bin/node*
            -rwxr-xr-x 1 root root 5536 Apr 18 13:32 /usr/bin/node
            lrwxrwxrwx 1 root root    4 Apr 18 13:32 /usr/bin/nodejs -> node
            pi@raspberrypi4:~ $
            
            arteck 1 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active @gutgut30 last edited by

              @gutgut30 du hast 2 mal node installiert

              kloppen wir erstmal alles runnter

              sudo apt-get purge node
              sudo apt-get purge nodejs
              sudo apt-get purge npm
              sudo apt-get autoremove
              sudo reboot
              

              dann nochmal

              ls -l /usr/local/bin/node*
              ls -l /usr/bin/node*
              
              G 1 Reply Last reply Reply Quote 0
              • G
                gutgut30 @arteck last edited by Negalein

                @arteck said in Installation auf Raspi 4 startet nicht:

                ls -l /usr/local/bin/node*
                ls -l /usr/bin/node*

                Nun lande ich bei:

                pi@raspberrypi4:~ $ ls -l /usr/local/bin/node*
                -rwxr-xr-x 1 root root 31387030 Jul 16 23:24 /usr/local/bin/node
                pi@raspberrypi4:~ $ ls -l /usr/bin/node*
                ls: Zugriff auf '/usr/bin/node*' nicht möglich: Datei oder Verzeichnis nicht gefunden
                
                1 Reply Last reply Reply Quote 0
                • arteck
                  arteck Developer Most Active last edited by

                  jetzt

                  rm -R /usr/local/bin/node
                  

                  somit müsste der auch weg sein

                  danach

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

                  und zur kontrolle

                  node -v
                  npm -v
                  
                  1 Reply Last reply Reply Quote 0
                  • G
                    gutgut30 last edited by Negalein

                    @arteck said in Installation auf Raspi 4 startet nicht:

                    apt-get install -y nodejs

                    Danke. Jetzt sind die Versionen soweit okay. Aber die Installation startet leider trotzdem nicht. Ich setze den Befehl ab, bekomme dann aber nur eine neue Zeile:

                    pi@raspberrypi4:~ $ node -v
                    v10.15.2
                    pi@raspberrypi4:~ $ npm -v
                    6.10.1
                    pi@raspberrypi4:~ $ curl -sL https://iobroker.net/install.sh | bash -
                    pi@raspberrypi4:~ $ nodejs -v
                    v10.15.2
                    pi@raspberrypi4:~ $ sudo curl -sL https://iobroker.net/install.sh | bash -
                    pi@raspberrypi4:~ $
                    
                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @gutgut30 last edited by

                      @gutgut30 sagte in Installation auf Raspi 4 startet nicht:

                      bekomme dann aber nur eine neue Zeile:

                      hast du vor dem install wirklich den curl-Befehl abgesetzt?

                      1 Reply Last reply Reply Quote 0
                      • M
                        maa88 last edited by Negalein

                        Hallo zusammen,

                        ich hatte exakt das gleiche Problem - die "curl -sL https://iobroker.net/install.sh | bash -" Zeile wurde ohne einen Kommentar sofort beendet. Bzw. es ist einfach nichts passiert.

                        Ich war zunächst mit Putty/SSH auf dem Pi - Hier kam es zu o.g. Fehlerbild

                        Hier meine Lösung:
                        Da ich noch keinen Adapter für micro-HDMI habe, bin ich per Windows Remote auf die grafische Oberfläche des Pi (Computer:"die_IP_Adresse_deines_PI" / User: "pi" / Passwort: "dein_Pi_Passwort" (raspberry wenn noch nicht geändert))
                        Innerhalb der GUI dann den Terminal gestartet und die "curl -sL https://iobroker.net/install.sh | bash -" von dort gestartet.

                        Und schon lief die Kiste

                        Da ich noch Linux neuling bin hab ich mir sagen lassen, dass es gerne zu SSH/Telnet Problemen kommen kann.

                        Ich hoffe hiermit dem ein oder anderen geholfen zu haben.

                        Gruss man@arms

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        892
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

                        buster node nodejs
                        5
                        10
                        1151
                        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