Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installationsanleitung Odroid C2 und Kurzvorstellung

    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

    Installationsanleitung Odroid C2 und Kurzvorstellung

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

      Moin!

      Leider habe ich mit der Ubuntu INstallation noch meine Probleme…immer wenn ich einen Adapter updaten will kommt ein Fehler:

      $ ./iobroker add dwd
      npm install iobroker.dwd --production --prefix "/usr/local/iobroker" (System call)
      In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h:261:25: error: redefinition of ‘template <class t="">v8::Local _NanEnsureLocal(v8::Local)’
       NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                               ^
      ../node_modules/nan/nan.h:256:25: note: ‘template <class t="">v8::Local _NanEnsureLocal(v8::Handle)’ previously declared here
       NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                               ^
      
      ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared     , node::smalloc::FreeCallback callback
                   ^
      ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
           , node::smalloc::FreeCallback callback
                                         ^
      
      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::object>NanNewBufferHandle(char*, size_t, int)’:../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
               v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                        ^
      ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
               v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                                  ^
      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::object>NanNewBufferHandle(const char*, uint32_t)’:
      ../node_modules/nan/nan.h:672:67: error: no matching function for call to ‘New(v8::Isolate*, const char*&, uint32_t&)’
           return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                         ^
      In file included from ../src/bufferutil.cc:10:0:
      /usr/include/nodejs/src/node_buffer.h:31:40: note: candidate: v8::MaybeLocal <v8::object>node::Buffer::New(v8::Isolate*, v8::Local<v8::string>, node::encoding) <near match="">
       NODE_EXTERN v8::MaybeLocal <v8::object>New(v8::Isolate* isolate,
                                              ^
      /usr/include/nodejs/src/node_buffer.h:31:40: note:   conversion of argument 3 would be ill-formed:
      In file included from ../src/bufferutil.cc:16:0:
      ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ [-fpermissive]
           return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                         ^
      In file included from ../src/bufferutil.cc:10:0:
      /usr/include/nodejs/src/node_buffer.h:43:40: note: candidate: v8::MaybeLocal <v8::object>node::Buffer::New(v8::Isolate*, char*, size_t) <near match="">
       NODE_EXTERN v8::MaybeLocal <v8::object>New(v8::Isolate* isolate,
                                              ^
      /usr/include/nodejs/src/node_buffer.h:43:40: note:   conversion of argument 2 would be ill-formed:
      In file included from ../src/bufferutil.cc:16:0:
      ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
           return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                         ^
      
      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::object>NanNewBufferHandle(uint32_t)’:../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::object>’ to ‘v8::Local<v8::object>’
           return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                                   ^
      ../node_modules/nan/nan.h: In function ‘v8::Local <v8::object>NanBufferUse(char*, uint32_t)’:
      ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
           return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
                  ^
      
      make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
      gyp
       ERR! build error 
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:269:23)
      gyp ERR! stack
           at emitTwo (events.js:87:13)gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
      gyp ERR!
       stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)gyp ERR! System Linux 3.14.79-109
      
      gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild"gyp ERR! cwd /usr/local/iobroker/node_modules/bufferutil
      
      gyp ERR! node -v v4.2.6gyp ERR! node-gyp -v v3.0.3
      
      gyp ERR! not ok 
      npm
      
      WARN 
      install:bufferutil@1.1.0
       bufferutil@1.1.0 install: `node-gyp rebuild`
      npm 
      WARN install:bufferutil@1.1.0
       Exit status 1
      npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
      host.RasPi1 install adapter dwd
      npm install --production (System call) in "/usr/local/iobroker/node_modules/iobroker.dwd"
      npm
      
      ERR! Linux 3.14.79-109
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"npm ERR! node v4.2.6
      npm 
      ERR! npm  v3.5.2
      
      npm ERR! Cannot read property 'target' of nullnpm ERR! 
      npm ERR! If you need help, you may report this error at:
      
      npm ERR!     <https: github.com/npm/issues="">
      
      npm
       ERR! Please include the following file with any support request:npm ERR!     /usr/local/iobroker/node_modules/iobroker.dwd/npm-debug.log
      
      Cannot install iobroker.dwd: 1
      ERROR: process exited with code 25</https:></v8::object></v8::object></v8::object></v8::object></v8::object></near></v8::object></v8::object></near></v8::string></v8::object></v8::object></v8::object></class></class>
      

      Der Adapter wird trotzdem aktualisiert…

      Weiß jemand rat?

      bis denne

      MrLee

      1 Reply Last reply Reply Quote 0
      • J
        jawr last edited by

        Ich wollte auch mal meine Erfahrungen mit dem Odroid C2 kurz schildern. Ich bin sehr zufrieden mit dem kleinen Kraftprotz, ich habe bislang keine Skripte im iobroker laufen sondern nur eine Visualisierung und ein paar Adapter installiert. Auslastung ist quasi nicht vorhanden auf dem System. Ich kann mir aber ehrlich gesagt nicht vorstellen, was die CPU wirklich auslasten sollte. Ich nutze für den Odroid ein spezielles Image für den C2, es ist ein debian jessie. In der Grundinstallation wird auch kein X Server (also keine Grafik) mitinstalliert. Diese ist für den Betrieb von iobroker auch nicht nötig und spart somit nochmal reichlich Ressourcen. Image is hier zu finden:

        http://forum.odroid.com/viewtopic.php?t=19403

        Ich nutze das Gerät zusätzlich als VPN Server und bei Bedarf starte ich den X Server mit kodi als Entertainment System. Hauptsächlich streame ich damit Fernsehen von meiner Enigma2 Box. Läuft perfekt. Da das genannte Image mit dem dort installierbaren kodi speziell für den C2 kompiliert wurde, ist auch die Hardwareunterstützung vorhanden. Streaming von mkv (FULLHD) belastet die CPU somit auch kaum. Ich kann den C2 eigentlich nur empfehlen. Die Möglichkeit des Einsatzes der EMMC Karte, sowie das Gigabit Lan und die höhere Taktfrequenz hat für mich den Ausschalg gegeben, keinen Pi3 zu kaufen. Wer sich Gedanken macht das es zu wenig Support für das Gerät gibt, macht sich meines Erachtens umsonst Sorgen. Für mich war bislang alles zu lösen, obwohl die Pi Gemeinde natürlich viel grösser ist.

        Gruß,

        jawr

        1 Reply Last reply Reply Quote 0
        • Meistertr
          Meistertr Developer last edited by

          ich setze gerade mein neues System auf, habe nun festgestellt, dass nach der Anleitung in meinen node Ordner unter /opt/iobroker sehr viele Ordner sind, das war wahrscheinlich mein Fehler oder? vermutlich weil ich bei der node Installation schon in dem ordner war? oder muss das so?

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

            Wenn du den Ordner /opt/iobroker/node_modules meinst und eine neuere nodejs / npm Version einsetzst, dann ist alles ok!

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • Meistertr
              Meistertr Developer last edited by

              Ich glaube ich habe 6 installiert

              Gesendet von meinem E5823 mit Tapatalk

              1 Reply Last reply Reply Quote 0
              • Meistertr
                Meistertr Developer last edited by

                ich kann irgendwie keine Adapter installieren, discovery ging, der hat auch einige installiert aber alle anderen kommt folgende fehlermeldung:

                $ ./iobroker add email
                npm install iobroker.email --production --prefix "/opt/iobroker" (System call)
                npm
                 WARN 
                lifecycle
                 iobroker@0.9.0~install: cannot run in wd %s %s (wd=%s) iobroker@0.9.0 node lib/setup.js /opt/iobroker/node_modules/iobroker
                host.smarthome install adapter email
                npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.email"
                npm
                 ERR! Linux 3.14.79-109
                npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
                npm ERR! node v4.2.6npm ERR! npm  v3.5.2
                
                npm ERR! Cannot read property 'target' of nullnpm ERR! 
                npm ERR! If you need help, you may report this error at:
                npm
                 ERR!     <https: github.com/npm/issues="">
                
                npm ERR! Please include the following file with any support request:npm ERR!     /opt/iobroker/node_modules/iobroker.email/npm-debug.log
                
                Cannot install iobroker.email: 1
                ERROR: process exited with code 25</https:>
                

                jemand ne idee?

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

                  @Meistertr:

                  aber alle anderen kommt folgende fehlermeldung:

                  …

                  ERROR: process exited with code 25

                  jemand ne idee? `

                  Hast du mal nachgesehen ob der Adapter trotzdem funktioniert?

                  War bei mir bei .vis mit dieser Meldung so - upgrade hat trotzdem geklappt.

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • Meistertr
                    Meistertr Developer last edited by

                    Ne er wurde nicht installiert, habe nun alles nochmal aufgesetzt mit node 4… jetzt läuft alles wunderbar

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

                      Seltsam.

                      Bei mir läuft alles unter nodejs 6.xx und sogar unter nodejs 7.xx mit Debian 9 😄

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • Lenny.CB
                        Lenny.CB Most Active last edited by

                        hallo zusammen,

                        musste grad mal wieder mein System neu aufsetzen. Alles wieder nach der Anleitung im ersten Post gemacht.

                        Läuft leider nicht mehr so problemlos durch.

                        node -v –> 6.11.0

                        npm -v --> 5.0.3

                        kann mir mal jemand sagen was mir diese Meldungen aussagen?

                        ! root@odroid64:~# sudo mkdir /opt/iobroker
                        ! root@odroid64:~# sudo chmod 777 /opt/iobroker
                        ! root@odroid64:~# cd /opt/iobroker
                        ! root@odroid64:/opt/iobroker# sudo npm install iobroker –unsafe-perm
                        ! > iobroker@1.0.0 install /opt/iobroker/node_modules/iobroker
                        ! > node lib/setup.js
                        ! npm install iobroker.discovery --production --prefix /opt/iobroker
                        ! node-pre-gyp info it worked if it ends with ok
                        ! node-pre-gyp verb cli [ '/usr/bin/nodejs',
                        ! node-pre-gyp verb cli '/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp',
                        ! node-pre-gyp verb cli 'install',
                        ! node-pre-gyp verb cli '--fallback-to-build' ]
                        ! node-pre-gyp info using node-pre-gyp@0.6.32
                        ! node-pre-gyp info using node@6.11.0 | linux | arm64
                        ! node-pre-gyp verb command install []
                        ! node-pre-gyp info check checked for "/opt/iobroker/node_modules/serialport/build/Release/serialport.node" (not found)
                        ! node-pre-gyp http GET https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp http 404 https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.0 (node-v48 ABI) (falling back to source compile with node-gyp)
                        ! node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp verb command build [ 'rebuild' ]
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "–fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
                        ! gyp ERR! cwd /opt/iobroker/node_modules/serialport
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! node-pre-gyp ERR! build error
                        ! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
                        ! node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        ! node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                        ! node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        ! node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:891:16)
                        ! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
                        ! node-pre-gyp ERR! System Linux 3.14.65-73
                        ! node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                        ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
                        ! node-pre-gyp ERR! node -v v6.11.0
                        ! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
                        ! node-pre-gyp ERR! not ok
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! 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/mdns
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! npm WARN saveError ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                        ! npm ERR! Cannot read property 'type' of undefined
                        ! npm ERR! A complete log of this run can be found in:
                        ! npm ERR! /root/.npm/_logs/2017-06-15T07_29_58_853Z-debug.log
                        ! npm install iobroker.admin --production --prefix /opt/iobroker
                        ! node-pre-gyp info it worked if it ends with ok
                        ! node-pre-gyp verb cli [ '/usr/bin/nodejs',
                        ! node-pre-gyp verb cli '/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp',
                        ! node-pre-gyp verb cli 'install',
                        ! node-pre-gyp verb cli '--fallback-to-build' ]
                        ! node-pre-gyp info using node-pre-gyp@0.6.32
                        ! node-pre-gyp info using node@6.11.0 | linux | arm64
                        ! node-pre-gyp verb command install []
                        ! node-pre-gyp info check checked for "/opt/iobroker/node_modules/serialport/build/Release/serialport.node" (not found)
                        ! node-pre-gyp http GET https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp http 404 https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.0 (node-v48 ABI) (falling back to source compile with node-gyp)
                        ! node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp verb command build [ 'rebuild' ]
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "–fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
                        ! gyp ERR! cwd /opt/iobroker/node_modules/serialport
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! node-pre-gyp ERR! build error
                        ! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
                        ! node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        ! node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                        ! node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        ! node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:891:16)
                        ! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
                        ! node-pre-gyp ERR! System Linux 3.14.65-73
                        ! node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                        ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
                        ! node-pre-gyp ERR! node -v v6.11.0
                        ! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
                        ! node-pre-gyp ERR! not ok
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! 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/mdns
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! npm WARN saveError ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                        ! npm ERR! Cannot read property 'type' of undefined
                        ! npm ERR! A complete log of this run can be found in:
                        ! npm ERR! /root/.npm/_logs/2017-06-15T07_31_06_302Z-debug.log
                        ! npm install iobroker.js-controller --production --prefix /opt/iobroker
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! 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/ursa
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! 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/unix-dgram
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! node-pre-gyp info it worked if it ends with ok
                        ! node-pre-gyp verb cli [ '/usr/bin/nodejs',
                        ! node-pre-gyp verb cli '/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp',
                        ! node-pre-gyp verb cli 'install',
                        ! node-pre-gyp verb cli '--fallback-to-build' ]
                        ! node-pre-gyp info using node-pre-gyp@0.6.32
                        ! node-pre-gyp info using node@6.11.0 | linux | arm64
                        ! node-pre-gyp verb command install []
                        ! node-pre-gyp info check checked for "/opt/iobroker/node_modules/serialport/build/Release/serialport.node" (not found)
                        ! node-pre-gyp http GET https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp http 404 https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.0 (node-v48 ABI) (falling back to source compile with node-gyp)
                        ! node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAd ... m64.tar.gz
                        ! node-pre-gyp verb command build [ 'rebuild' ]
                        ! gyp info it worked if it ends with ok
                        ! gyp verb cli [ '/usr/bin/nodejs',
                        ! gyp verb cli '/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
                        ! gyp verb cli 'clean' ]
                        ! gyp info using node-gyp@3.6.0
                        ! gyp info using node@6.11.0 | linux | arm64
                        ! gyp verb command clean []
                        ! gyp verb clean removing "build" directory
                        ! gyp info ok
                        ! gyp info it worked if it ends with ok
                        ! gyp verb cli [ '/usr/bin/nodejs',
                        ! gyp verb cli '/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
                        ! gyp verb cli 'configure',
                        ! gyp verb cli '–fallback-to-build',
                        ! gyp verb cli '--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node',
                        ! gyp verb cli '--module_name=serialport',
                        ! gyp verb cli '--module_path=/opt/iobroker/node_modules/serialport/build/Release' ]
                        ! gyp info using node-gyp@3.6.0
                        ! gyp info using node@6.11.0 | linux | arm64
                        ! gyp verb command configure []
                        ! gyp verb check python checking for Python executable "python2" in the PATH
                        ! gyp verb which failed Error: not found: python2
                        ! gyp verb which failed at getNotFoundError (/opt/iobroker/node_modules/npm/node_modules/which/which.js:14:12)
                        ! gyp verb which failed at F (/opt/iobroker/node_modules/npm/node_modules/which/which.js:69:19)
                        ! gyp verb which failed at E (/opt/iobroker/node_modules/npm/node_modules/which/which.js:81:29)
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/which.js:90:16
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                        ! gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp verb which failed python2 { Error: not found: python2
                        ! gyp verb which failed at getNotFoundError (/opt/iobroker/node_modules/npm/node_modules/which/which.js:14:12)
                        ! gyp verb which failed at F (/opt/iobroker/node_modules/npm/node_modules/which/which.js:69:19)
                        ! gyp verb which failed at E (/opt/iobroker/node_modules/npm/node_modules/which/which.js:81:29)
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/which.js:90:16
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                        ! gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOENT' }
                        ! gyp verb check python checking for Python executable "python" in the PATH
                        ! gyp verb which failed Error: not found: python
                        ! gyp verb which failed at getNotFoundError (/opt/iobroker/node_modules/npm/node_modules/which/which.js:14:12)
                        ! gyp verb which failed at F (/opt/iobroker/node_modules/npm/node_modules/which/which.js:69:19)
                        ! gyp verb which failed at E (/opt/iobroker/node_modules/npm/node_modules/which/which.js:81:29)
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/which.js:90:16
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                        ! gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp verb which failed python { Error: not found: python
                        ! gyp verb which failed at getNotFoundError (/opt/iobroker/node_modules/npm/node_modules/which/which.js:14:12)
                        ! gyp verb which failed at F (/opt/iobroker/node_modules/npm/node_modules/which/which.js:69:19)
                        ! gyp verb which failed at E (/opt/iobroker/node_modules/npm/node_modules/which/which.js:81:29)
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/which.js:90:16
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                        ! gyp verb which failed at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                        ! gyp verb which failed at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOENT' }
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/configure.js:482:19)
                        ! gyp ERR! stack at Object. <anonymous>(/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/configure.js:396:16)
                        ! gyp ERR! stack at F (/opt/iobroker/node_modules/npm/node_modules/which/which.js:69:16)
                        ! gyp ERR! stack at E (/opt/iobroker/node_modules/npm/node_modules/which/which.js:81:29)
                        ! gyp ERR! stack at /opt/iobroker/node_modules/npm/node_modules/which/which.js:90:16
                        ! gyp ERR! stack at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                        ! gyp ERR! stack at /opt/iobroker/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/serialport/build/Release"
                        ! gyp ERR! cwd /opt/iobroker/node_modules/serialport
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.0
                        ! gyp ERR! not ok
                        ! node-pre-gyp ERR! build error
                        ! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/serialport/build/Release' (1)
                        ! node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        ! node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                        ! node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        ! node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:891:16)
                        ! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
                        ! node-pre-gyp ERR! System Linux 3.14.65-73
                        ! node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                        ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/serialport
                        ! node-pre-gyp ERR! node -v v6.11.0
                        ! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
                        ! node-pre-gyp ERR! not ok
                        ! gyp ERR! configure error
                        ! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                        ! gyp ERR! stack at Object.failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:19)
                        ! gyp ERR! stack at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:397:16)
                        ! gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:16)
                        ! gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
                        ! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
                        ! gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
                        ! gyp ERR! System Linux 3.14.65-73
                        ! 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/mdns
                        ! gyp ERR! node -v v6.11.0
                        ! gyp ERR! node-gyp -v v3.6.2
                        ! gyp ERR! not ok
                        ! npm WARN saveError ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                        ! npm ERR! Cannot read property 'type' of undefined
                        ! npm ERR! A complete log of this run can be found in:
                        ! npm ERR! /root/.npm/_logs/2017-06-15T07_33_53_839Z-debug.log
                        ! Write "./iobroker start" to start the ioBroker
                        ! /usr/bin/env: ‘node\r’: No such file or directory
                        ! Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                        ! iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                        ! npm notice created a lockfile as package-lock.json. You should commit this file.
                        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                        ! npm WARN iobroker No description
                        ! npm WARN iobroker No repository field.
                        ! npm WARN iobroker No README data
                        ! npm WARN iobroker No license field.
                        ! + iobroker@1.0.0
                        ! added 46 packages in 330.773s
                        ! root@odroid64:/opt/iobroker# ^C
                        ! root@odroid64:/opt/iobroker# ./iobroker start
                        ! Starting iobroker controller daemon...
                        ! iobroker controller daemon started. PID: 863
                        ! root@odroid64:/opt/iobroker#</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>

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

                          Ich sehe nur ein paar Fehler meinte dass dies bekannt ist bei node 6 aber keine negativen Effekt hat

                          ~Dutch

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

                          Send from mobile device

                          1 Reply Last reply Reply Quote 0
                          • Lenny.CB
                            Lenny.CB Most Active last edited by

                            @Dutchman:

                            Ich sehe nur ein paar Fehler meinte dass dies bekannt ist bei node 6 aber keine negativen Effekt hat `

                            aber schön ist das doch auch nicht…

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

                              Hallo Leute,

                              nachdem meine SD Karte jetzt hin war habe ich was neues gesucht.

                              Ich habe mir auch den Odroid c2 geholt, Installation habe ich nach der oberen Anleirung gemacht

                              hat gleich geklappt ioBroker läuft jedoch komme ich bei zwei Sachen nicht weiter.

                              Ich habe den Hostnamen in der Datei mit dem nano editor geändert

                              aber wie lautet das passwort ich habe odroid probiert hat aber nicht geklappt

                              Und ich nutze eine 32GB emmc Karte ich finde nichts wie ich die karte auf die ganze Größe setze.

                              Gruß Günther

                              1 Reply Last reply Reply Quote 0
                              • K
                                KaFaBe last edited by

                                Am Wochenende kommt mein Odroid C2 an.

                                Kann ich iobroker auch auf dem neusten Ubuntu Image 18.04 für den Odroid installieren?

                                http://east.us.odroid.in/?directory=.%2 … 8.04lts%2F

                                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

                                466
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                11
                                35
                                18140
                                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