Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Anzahl Adapter

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

      Mit welchem User bist Du da angemeldet? Root?

      Und hast Du den Command im Verzeichnis "/opt/iobroker" abgesetzt, oder im user-home?

      Gruß,

      Eric

      1 Reply Last reply Reply Quote 0
      • G
        Gerni last edited by

        Ehm ja gute Frage.

        Nach Aufsetzen der SD Card und Einlegen ist der Admin ja über die IP aufzurufen. Lt. Adminoberfläche müsste ich Admin sein, steht oben links neben dem Icon für die Einstellungen.

        "Und hast Du den Command im Verzeichnis "/opt/iobroker" abgesetzt, oder im user-home?"

        Warum sollte ich das machen und wozu ist das gut?

        Gruß

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

          im root home 😉

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • G
            Gerni last edited by

            Da kann ich gerade nichts mit anfangen, sry

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

              Jeder befehl für iobroker muss im ioBroker verzeichnis ausgeführt werden. Dazu wechselst du zuerst dahin:

              cd /opt/iobroker
              

              Nach deinem code bist du als root angemeldet (wie auch immer du das gemacht hast) und hast in dessen homeverzeichnis versucht einen Adapter zu installieren.

              Bestenfalls ist das komplett schiefgegangen, schlimmstenfalls hst du jetzt Datenleichen im System, die evtl. später zu Problemen führen können.

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • G
                Gerni last edited by

                ok verstanden. Aber ich setze per Putty / Kommandozeile doch keine Befehle um einen Adapter zu installieren. Das erfolgt doch im ioBroker Admin. Oder stehe ich jetzt völlig auf dem Schlauch?

                Fakt ist, es lassen sich aktuell keine Adapter - egal welche - installieren.

                Noch Ideen oder soll ich nochmal neu runterladen auf auf SD Card kopieren?

                Gruß

                Stefan

                1 Reply Last reply Reply Quote 0
                • eric2905
                  eric2905 last edited by

                  @Gerni:

                  Nach Aufsetzen der SD Card und Einlegen ist der Admin ja über die IP aufzurufen. Lt. Adminoberfläche müsste ich Admin sein, steht oben links neben dem Icon für die Einstellungen. `
                  Das sind zwei grundverschiedene Baustellen. Ich meinte den User, mit dem Du an der Konsole angemeldet bist.

                  Sieht aber aus, wie root - da hat Rainer recht.

                  @Gerni:

                  "Und hast Du den Command im Verzeichnis "/opt/iobroker" abgesetzt, oder im user-home?"

                  Warum sollte ich das machen und wozu ist das gut? `
                  Eh, jetzt hast Du mich abgehängt … ich habe eine Frage entweder (/opt/iobroker) oder (user-home) gestellt - die kann man nicht mit "warum sollte ich das machen" beantworten 🙂

                  Führe Konsolen-Kommandos, die sich auf iobroker beziehen, am Besten immer im Installationsverzeichnis (/opt/iobroker) aus. In der Regel funktioniert das auch von woanders aus, muss aber nicht (fehlerhafte Pfadverarbeitung im Code reicht da aus).

                  Du rufst die Kommandos schlicht nicht im "gewollten" Verzeichnis (/opt/iobroker) auf. Das kann Immer mal zu Problemen führen (muss aber nicht) - mach einfach vorher immer ein "cd /opt/iobroker" und Du bist auf der sicheren Seite.

                  @Gerni:

                  Aber ich setze per Putty / Kommandozeile doch keine Befehle um einen Adapter zu installieren. Das erfolgt doch im ioBroker Admin. Oder stehe ich jetzt völlig auf dem Schlauch? `
                  Und ob Du Adapter-Installationen ausgeführt hast.

                  Du hast, zumindest nach Deinem Log, ein "./iobroker add amazon-dash" abgesetzt - das ist eine Adapter-Installation.

                  Gruß,

                  Eric

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

                    @eric

                    Wenn ich den TE richtig verstanden habe ist das entweder der Errorlog im Admin oder eher das Installationsfenster im Admin.

                    und da ioBroker mit Admin-Rechten installiert ist kann das so sein.

                    Aber da steht etwas von fehlendem pcap im log.

                    kannst du damit etwas anfangen.

                    im Raspbian stetch fehlt schon das git, vielleicht fehlt da noch mehr.

                    Aber "Kein Adapter" ist schon hart.

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gerni last edited by

                      Du hast, zumindest nach Deinem Log, ein "./iobroker add amazon-dash" abgesetzt - das ist eine Adapter-Installation.

                      Gruß,

                      Eric

                      Ich glaube jetzt hängst Du mich ab 😄 Ich bewege mich nicht in der Console. Die zuvor reporteten Kommandozeilen stammen aus der ioBroker Admin Oberfläche wenn man einen Adapter installiert. Da die Installation jedoch nicht erfolgreich ist bleibt dieses Fenster zur Kommandozeile eben sichtbar.

                      Gruß

                      1 Reply Last reply Reply Quote 0
                      • eric2905
                        eric2905 last edited by

                        Rainer Du könntest recht haben ….

                        Das sieht aus, wie aus dem Admin-Log kopiert (bei schiefgegangener Installation aus dem Admin heraus).

                        PCAB ist normalerweise ein Netzwerk-Treiber. Unter Windows wird der z.B. für Wireshark benötigt, wenn der im "promiscuous mode" laufen soll (also alle Datenpakete die vorbei kommen, auch die nicht für ihn bestimmt sind, einsammelt).

                        @Gerni:

                        Noch Ideen oder soll ich nochmal neu runterladen auf auf SD Card kopieren? `
                        Ich würde alles neu machen (sofern Du nicht wochenlange Arbeiten in Views drin hast und keine Sicherung vorliegt 😉 ).

                        Irgendwas gefällt mir da bei Dir nicht … sicher ist sicher.

                        Gruß,

                        Eric

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gerni last edited by

                          Ich habe jetzt mal den Adapter für China Geräte MiLight installiert einfach zum Test. Und siehe da, er wurde erfolgreich installiert. Vielleicht hilft das?

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gerni last edited by

                            @eric2905:

                            Ich würde alles neu machen (sofern Du nicht wochenlange Arbeiten in Views drin hast und keine Sicherung vorliegt 😉 ).

                            Irgendwas gefällt mir da bei Dir nicht … sicher ist sicher.

                            Gruß,

                            Eric `

                            Ok, ich lade das Image neu runter, formatiere die SD Card neu und packe das Install Image drauf.

                            Um auf Nr.Sicher zu gehen; Wenn ich das habe, muss ich über Console noch etwas machen? Also sudo su anmelden oder sowas, dann ioBroker aufrufen oder so? Oder einfach dann per IP Adresse den Admin aufrufen?

                            Und ich nehme das Stretch Image:

                            SD-Image Raspbian light Stretch für Raspberry Pi 2/3

                            -nodejs 6.11.2

                            -ioBroker

                            -redis

                            Stretch 476,1 MB Download 240 zoom61_black 30.08.2017

                            Melde mich dann aber die Tage gern nochmal dazu, morgen wieder früh raus.

                            1 Reply Last reply Reply Quote 0
                            • eric2905
                              eric2905 last edited by

                              So wie ich Rainer kenne, kannst Du mit einem Komplett-Image von ihm nichts falsch machen - da brauchst Du am Anfang keine Konsole.

                              Einfach im Browser die (richtige) URL aufrufen und fröhlich sein.

                              Ich mach mich nun auch in die waagerechte … morgen auch früh raus (5 Uhr geht der Wecker).

                              Gruß,

                              Eric

                              1 Reply Last reply Reply Quote 0
                              • G
                                Gerni last edited by

                                Ok, Image neu herunterladen

                                • auf SD Card

                                • Pi gestartet

                                • gemäß Beschreibung:

                                Nach dem ersten Starten des RaspberryPi bitte mit

                                sudo raspi-config

                                folgende Einstellungen vornehmen:

                                Expand filesystem (Erweitern des root-filesystems bis zur maximalen Größe der verwendeten SD-Karte)

                                Change User passwort (Eigenes Passwort für den User Pi vergeben)

                                Advanced Options – Hostname (Namen des Raspberry Pi ggf. ändern. Vorgabe ist ioBroker-Pi3)

                                ausgeführt

                                • ioBroker über IP aufgerufen

                                • "Aktivierter Aufbewahrungsort" war wieder leer, entsprechend "Default" gesetzt

                                • Versuch Adapter zu installieren - Fehler wie schon zuvor

                                Ist vielleicht das Image defekt? Oder muss ich doch noch etwas anderes machen? Oder soll ich ioBroker doch mal perPutty installieren? Hat da jemand die korrekte Reihenfolge der Befehle damit ich nichts vergesse?

                                Melde mich dann die Tage dazu noch wieder.

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

                                  @Gerni:

                                  Ist vielleicht das Image defekt? `
                                  Da müsste ich wissen, dann mache ich ein neues. Im Moment fehlt leider auch noch git.

                                  Wie gesagt bisher 240 Downloads und noch kein entsprechendes Feedback.

                                  http://www.iobroker.net/docu/?page_id=5106&lang=de

                                  Gruß

                                  Rainer

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    Gerni last edited by

                                    Ich habe jetzt nochmal das Jessie Image installiert. Soweit läuft auch alles, die Verwahrungsort waren auch hinterlegt. Es lassen sich auch Adapter installieren aber manche nicht. Z.B. der Harmony Adapter und auch der Amazon Dash Adapter.

                                    Die Adapter-Übersicht ist aktuell und auch anstehende UpDates habe ich gemacht, liefen auch alle durch.

                                    Kann es denn sein, dass auf GIT manche Sources nicht verfügbar sind? Kann man oben genannte Adapter auch irgendwie manuell in ioBroker installieren, hochladen, whatever?

                                    Verzweifele so langsam, alles läuft astrein durch, keine Fehler - bis auf diese Adapter. Soeben den Milight Adapter installiert, auch ohne Probleme.

                                    Sind die Quellen irgendwo hinterlegt bzw. wie sollen sie lauten? Dann könnte man auch das nochmal prüfen.

                                    Gruß

                                    Stefan

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

                                      @Gerni:

                                      aber manche nicht. Z.B. der Harmony Adapter und auch der Amazon Dash Adapter. `
                                      Fehlermeldung gelesen?

                                      @Gerni:

                                      Kann es denn sein, dass auf GIT manche Sources nicht verfügbar sind? `
                                      nein, wahrscheinlich (sogar sehr wahrscheinlich) ist auf deinem System GIT nicht installiert. Das kann man nachholen mit:

                                      apt-get install git
                                      

                                      …und alles wird gut 😉

                                      Gruß

                                      Rainer

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        Gerni last edited by

                                        MOD-Edit by eric2905; 10.09.2017, 0445; Code-Tags hinzugefügt

                                        Hi Rainer,

                                        Deinen Tipp verfolgt und Git installiert. Dash Button lässt sich noch immer nicht installieren. Kann doch echt nicht sein…. Folgend Meldung aus dem iobroker admin:

                                        $ ./iobroker add amazon-dash
                                        host.ioBroker-RasPi install adapter amazon-dash
                                        npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.amazon-dash"
                                        npm
                                         WARN lifecycle iobroker.amazon-dash@0.2.3~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.3 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/iobroker.amazon-dash
                                        ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations]
                                             info.GetReturnValue().Set(cons->NewInstance());
                                                                                         ^
                                        
                                        ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                                                               ^
                                        
                                        compilation terminated.
                                        make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
                                        gyp
                                        
                                        ERR! build error 
                                        gyp
                                         ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                                        gyp ERR! stack     at emitTwo (events.js:106:13)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                                        gyp ERR! System Linux 4.9.35-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap
                                        gyp ERR! node -v v6.11.3
                                        gyp ERR! node-gyp -v v3.4.0
                                        gyp ERR! not ok 
                                        
                                        npm
                                         ERR!
                                         Linux 4.9.35-v7+
                                        npm 
                                        ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--production"npm
                                         ERR!
                                         node v6.11.3
                                        npm ERR! npm  v3.10.10npm ERR! code ELIFECYCLE
                                        
                                        npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1
                                        npm ERR! 
                                        npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.
                                        npm ERR! Make sure you have the latest version of node.js and npm installed.
                                        npm ERR! If you do, this is most likely a problem with the pcap package,
                                        
                                        npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:
                                        npm ERR!     node-gyp rebuild
                                        npm ERR! You can get information on how to open an issue for this project with:
                                        npm ERR!     npm bugs pcap
                                        npm ERR! Or if that isn't available, you can get their info via:
                                        npm ERR!     npm owner ls pcap
                                        npm ERR! There is likely additional logging output above.
                                        
                                        npm ERR!
                                         Please include the following file with any support request:npm ERR!     /opt/iobroker/node_modules/iobroker.amazon-dash/npm-debug.log
                                        
                                        Cannot install iobroker.amazon-dash: 1
                                        ERROR: process exited with code 25</pcap></v8::object></v8::value>
                                        

                                        Noch eine Idee? Ansonsten gebe ich auf…

                                        Gruß

                                        Stefan

                                        1 Reply Last reply Reply Quote 0
                                        • eric2905
                                          eric2905 last edited by

                                          Moin Stefan,

                                          @Gerni:

                                          Noch eine Idee? Ansonsten gebe ich auf… `
                                          hast Du evtl. vergessen, den "libpcap-dev" zu installieren?

                                          Schau mal in die Doku des Adapters (Step 1) ==> https://github.com/PArns/ioBroker.amazo … /README.md

                                          Dort steht

                                          apt-get install libpcap-dev
                                          

                                          Ich habe mal ein wenig mit meinen Hosts getestet … mit ähnlichem Erfolg:

                                          <u>Host3 (Raspberry Pi2) ==> Fehler</u>

                                          npm : 3.10.10

                                          node : 6.11.1

                                          ! ````
                                          $ ./iobroker add amazon-dash
                                          npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                          npm
                                          WARN
                                          lifecycle iobroker.amazon-dash@0.2.3~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.3 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                                          ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfov8::value&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local v8::objectv8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.11.1/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations]
                                          info.GetReturnValue().Set(cons->NewInstance());
                                          ^
                                          ! ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                                          ^
                                          compilation terminated.
                                          ! make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
                                          gyp
                                          ERR! build error
                                          gyp ERR! stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                                          gyp ERR! stack at emitTwo (events.js:106:13)
                                          gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                                          gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                                          ! gyp ERR! System Linux 4.9.35-v7+gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                          gyp ERR! cwd /opt/iobroker/node_modules/pcap
                                          gyp ERR! node -v v6.11.1
                                          gyp ERR! node-gyp -v v3.4.0
                                          gyp ERR! not ok
                                          ! npm
                                          ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
                                          npm ERR! node v6.11.1
                                          ! npm ERR! npm v3.10.10
                                          npm ERR! code ELIFECYCLE
                                          ! npm ERR! pcap@2.0.0 install: node-gyp rebuildnpm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.
                                          npm ERR! Make sure you have the latest version of node.js and npm installed.
                                          npm ERR! If you do, this is most likely a problem with the pcap package,
                                          npm ERR! not with npm itself.
                                          npm ERR! Tell the author that this fails on your system:
                                          npm ERR! node-gyp rebuild
                                          npm ERR! You can get information on how to open an issue for this project with:
                                          npm ERR! npm bugs pcap
                                          npm ERR! Or if that isn't available, you can get their info via:
                                          npm ERR! npm owner ls pcap
                                          npm ERR! There is likely additional logging output above.
                                          ! npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
                                          ! host.iobroker3 install adapter amazon-dash
                                          npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                          npm
                                          WARN lifecycle iobroker.amazon-dash@0.2.3~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.3 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                                          ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfov8::value&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local v8::objectv8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.11.1/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations]
                                          info.GetReturnValue().Set(cons->NewInstance());
                                          ^
                                          ! ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                                          ^
                                          compilation terminated.
                                          ! make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
                                          gyp

                                          ERR! build error
                                          gyp
                                          ERR! stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                                          gyp ERR! stack at emitTwo (events.js:106:13)
                                          gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                                          gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

                                          ! gyp ERR! System Linux 4.9.35-v7+gyp ERR!
                                          command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/pcap
                                          gyp ERR! node -v v6.11.1
                                          ! gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok
                                          ! npm
                                          ERR! Linux 4.9.35-v7+
                                          npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.11.1
                                          npm ERR! npm v3.10.10
                                          npm ERR! code ELIFECYCLE
                                          ! npm ERR! pcap@2.0.0 install: node-gyp rebuildnpm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.
                                          npm ERR! Make sure you have the latest version of node.js and npm installed.
                                          npm ERR!
                                          If you do, this is most likely a problem with the pcap package,npm ERR!
                                          not with npm itself.npm
                                          ERR! Tell the author that this fails on your system:npm ERR! node-gyp rebuild
                                          npm ERR! You can get information on how to open an issue for this project with:
                                          npm ERR! npm bugs pcap
                                          npm ERR! Or if that isn't available, you can get their info via:
                                          npm ERR! npm owner ls pcap
                                          npm ERR! There is likely additional logging output above.
                                          ! npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
                                          ! host.iobroker3 install adapter amazon-dash
                                          npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                          npm
                                          WARN lifecycle iobroker.amazon-dash@0.2.3~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.3 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
                                          ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfov8::value&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local v8::objectv8::Function::NewInstance() const’ is deprecated (declared at /root/.node-gyp/6.11.1/include/node/v8.h:3276): Use maybe version [-Wdeprecated-declarations]
                                          info.GetReturnValue().Set(cons->NewInstance());
                                          ^
                                          ! ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                                          ^
                                          compilation terminated.
                                          ! make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1
                                          gyp

                                          ERR! build error
                                          gyp
                                          ERR! stack Error: make failed with exit code: 2gyp ERR!
                                          stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
                                          gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                                          gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                                          gyp ERR! System Linux 4.9.35-v7+

                                          ! gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/pcap
                                          gyp
                                          ERR! node -v v6.11.1gyp ERR! node-gyp -v v3.4.0
                                          gyp
                                          ERR! not ok
                                          npm
                                          ERR! Linux 4.9.35-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
                                          npm ERR! node v6.11.1
                                          npm
                                          ERR! npm v3.10.10
                                          npm
                                          ERR! code ELIFECYCLE
                                          npm ERR! pcap@2.0.0 install: node-gyp rebuild
                                          npm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the pcap@2.0.0 install script 'node-gyp rebuild'.
                                          npm ERR! Make sure you have the latest version of node.js and npm installed.
                                          npm ERR! If you do, this is most likely a problem with the pcap package,
                                          npm ERR! not with npm itself.
                                          npm ERR! Tell the author that this fails on your system:
                                          npm ERR! node-gyp rebuild
                                          npm ERR! You can get information on how to open an issue for this project with:
                                          npm ERR! npm bugs pcap
                                          npm ERR! Or if that isn't available, you can get their info via:
                                          npm ERR! npm owner ls pcap
                                          npm ERR! There is likely additional logging output above.
                                          ! npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
                                          ! host.iobroker3 install adapter amazon-dash
                                          ERROR: host.iobroker3 Cannot install amazon-dash
                                          ERROR: process exited with code 13</pcap></v8::object></v8::value></pcap></v8::object></v8::value></pcap></v8::object></v8::value>

                                          
                                          –--------------------------------------------------
                                          
                                          ****<u>Host2 (Raspberry Pi3) ==> Erfolgreich</u>****
                                          
                                          npm : 2.15.11
                                          
                                          node : 4.8.4
                                          
                                          >! ````
                                          $ ./iobroker add amazon-dash
                                          npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
                                          debconf: kann Oberfläche nicht initialisieren: Dialog
                                          debconf: (Die Dialog-Oberfläche funktioniert nicht auf einem Dumb-Terminal, einem Emacs-Shellbuffer oder ohne ein steuerndes Terminal.)debconf: greife zurück auf die Oberfläche: Readline
                                          >! debconf: kann Oberfläche nicht initialisieren: Readlinedebconf: (Diese Oberfläche bedarf eines steuernden Terminals.)
                                          >! debconf: greife zurück auf die Oberfläche: Teletype
                                          dpkg-preconfigure: kann Stdin nicht wieder öffnen: 
                                          host.iobroker2 install adapter amazon-dash
                                          got /opt/iobroker/node_modules/iobroker.amazon-dash/admin
                                          upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html
                                          upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png
                                          host.iobroker2 object system.adapter.amazon-dash created
                                          host.iobroker2 create instance amazon-dash
                                          host.iobroker2 object system.adapter.amazon-dash.0.outputCount created
                                          host.iobroker2 object system.adapter.amazon-dash.0.inputCount created
                                          host.iobroker2 object system.adapter.amazon-dash.0.uptime created
                                          host.iobroker2 object system.adapter.amazon-dash.0.memRss created
                                          host.iobroker2 object system.adapter.amazon-dash.0.memHeapTotal created
                                          host.iobroker2 object system.adapter.amazon-dash.0.memHeapUsed created
                                          host.iobroker2 object system.adapter.amazon-dash.0.connected created
                                          host.iobroker2 object system.adapter.amazon-dash.0.alive created
                                          host.iobroker2 object system.adapter.amazon-dash.0 created
                                          process exited with code 0
                                          

                                          –--------------------------------------------------

                                          <u>Host1 (Debian auf esxi) ==> Erfolgreich</u>

                                          npm : 2.15.11

                                          node : 4.8.4

                                          ! ````
                                          $ ./iobroker add amazon-dash
                                          [......]
                                          process exited with code 0

                                          
                                          Nachdem ich dann auf Host3 (dem mit Node 6, usw.) das Paket "libpcap-dev" nachinstalliert habe, lief die Installation des Dash-Button-Adapters ohne Problem durch.
                                          
                                          Gruß,
                                          
                                          Eric
                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators last edited by

                                            Hallo Eric,

                                            Nur aus Interesse:

                                            Haben deine beiden Raspberrys unterschiedliche Raspbian Versionen?

                                            Gruß

                                            Rainer

                                            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

                                            662
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            50
                                            3129
                                            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