Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ZigBee 0.8 kann nicht installiert werden

    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

    ZigBee 0.8 kann nicht installiert werden

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

      Moin Moin,

      Bin ganz neu im Forum und möchte für Iobroker bedanken ich setzte es seit 9 Monaten ein und könnte alles durch die guten Anleitungen und Forum Einträge einrichten.

      Nun komme ich aber leider nicht weiter.

      Ich möchte den ZigBee Adapter von 0.71 auf 0.8 update und bekomme immer folgende Fehler (PS wahrscheinlich total einfach aber ich bin ganz neu im Linux Umfeld verstehe nicht was ich machen muss):

      $ ./iobroker url "https://github.com/arteck/ioBroker.zigbee.git"

      install https://github.com/arteck/ioBroker.zigb … all/master

      npm install https://github.com/arteck/ioBroker.zigb ... all/master --production --save --prefix "/opt/iobroker" (System call)

      gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.11.1"

      gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp"

      ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include <security pam_appl.h="">^

      compilation terminated.

      make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 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/npm-lifecycle/node_modules/node-gyp/lib/build.js:258:23)

      gyp ERR! stack at emitTwo (events.js:126:13)

      gyp ERR! stack at ChildProcess.emit (events.js:214:7)

      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

      gyp ERR! System Linux 4.14.34-v7+gyp

      ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam

      gyp ERR! node -v v8.11.1

      gyp ERR! node-gyp -v v3.6.2

      gyp ERR! not ok

      prebuild-install

      WARN

      install EACCES: permission denied, access '/root/.npm'

      gyp

      WARN

      EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.11.1"

      gyp WARN

      Könnt ihr mir helfen?</security>

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

        viewtopic.php?f=8&t=19209

        1 Reply Last reply Reply Quote 0
        • R
          redcondor last edited by

          Moin apollon77,

          Danke für dein link, ich habe (glaube ich genau das gemacht was dort drin steht) leider hat es nicht geklappt habe ich was vergessen?

          Folgenden fehler bekomme ich nun:

          pi@All-In-One_RasPi:~ $ sudo -H npm i iobroker.zigbee –unsafe-perm

          serialport@6.2.2 install /home/pi/node_modules/serialport

          prebuild-install || node-gyp rebuild

          prebuild-install WARN install No prebuilt binaries found (target=8.11.1 runtime=node arch =arm platform=linux)

          make: Verzeichnis „/home/pi/node_modules/serialport/build“ wird betreten

          CXX(target) Release/obj.target/serialport/src/serialport.o

          ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:

          ../src/serialport.cpp:95:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(2, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:

          ../src/serialport.cpp:150:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(1, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:

          ../src/serialport.cpp:188:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(1, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:

          ../src/serialport.cpp:231:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(1, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:

          ../src/serialport.cpp:285:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(1, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:

          ../src/serialport.cpp:336:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(2, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:

          ../src/serialport.cpp:383:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(2, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:

          ../src/serialport.cpp:424:30: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          data->callback.Call(1, argv);

          ^

          In file included from ../src/./serialport.h:6:0,

          from ../src/serialport.cpp:1:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          CXX(target) Release/obj.target/serialport/src/serialport_unix.o

          CXX(target) Release/obj.target/serialport/src/poller.o

          ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:

          ../src/poller.cpp:69:29: warning: ‘v8::Local v8::valueNan::Callback::Call(int, v8::Localv8::value*) const’ is deprecated [-Wdeprecated-declarations]

          obj->callback.Call(2, argv);

          ^

          In file included from ../src/poller.cpp:1:0:

          ../../nan/nan.h:1655:3: note: declared here

          Call(int argc, v8::Local v8::valueargv[]) const {

          ^~~~

          CXX(target) Release/obj.target/serialport/src/serialport_linux.o

          SOLINK_MODULE(target) Release/obj.target/serialport.node

          COPY Release/serialport.node

          make: Verzeichnis „/home/pi/node_modules/serialport/build“ wird verlassen

          npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'

          npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'

          npm WARN pi No description

          npm WARN pi No repository field.

          npm WARN pi No README data

          npm WARN pi No license field.

          • iobroker.zigbee@0.8.0

          added 351 packages from 159 contributors in 66.691s

          Was habe ich falsch gemacht?

          Danke schon mal für die hilfe.</v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value>

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

            Die Frage ist erst mal, warum Du den Adapter manuell updaten willst und nicht einfach über die IOBroker Oberfläche das Update anklickst.

            1 Reply Last reply Reply Quote 0
            • R
              redcondor last edited by

              das habe ich als erstes versucht mit folgenden fehler:

              $ ./iobroker add zigbee –host All-In-One_RasPi

              NPM version: 5.8.0

              npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)

              npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-wfS5tP3PkBDMOQr5hN6mKZle7N4VviTbPoD0zATHYP+NZVNgtOENogyAqxbW675H4sIbYUGJJpa01CF+yjkV+g== integrity checksum failed when using sha512: wanted sha512-wfS5tP3PkBDMOQr5hN6mKZle7N4VviTbPoD0zATHYP+NZVNgtOENogyAqxbW675H4sIbYUGJJpa01CF+yjkV+g== but got sha512-/G3ZTmUYXjqpCzmrqWJfZxbYoRKO5AsDhBU5QEdwIAHl7/8jYyFVX+Sh7X6b4ET3ov0CaV50jTDnVv0e2B34+Q==. (38826 bytes)npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.

              npm

              ERR!

              code EINTEGRITY

              npm ERR! errno EINTEGRITY

              npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/debug: Integrity verification failed for sha512-wfS5tP3PkBDMOQr5hN6mKZle7N4VviTbPoD0zATHYP+NZVNgtOENogyAqxbW675H4sIbYUGJJpa01CF+yjkV+g== (/root/.npm/_cacache/content-v2/sha512/c1/f4/b9b4fdcf9010cc390af984dea629995eecde15be24db3e80f4cc04c760ff8d655360b4e10da20c80ab16d6ebbe47e2c21b6141892696b4d4217eca3915fa)

              npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-12-07T08_07_15_273Z-debug.log

              host.All-In-One_RasPi create instance zigbee

              ERROR: host.All-In-One_RasPi error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'

              ERROR: process exited with code 20ung:

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

                npm version 5… ist das problem

                entweder runnter auf 4 oder hoch auf 6

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

                  Wie artec schon geschrieben hat, NPM ändern und da besser auf 4, da 6 zwar läuft, aber mnche Adapter ne Warnung zu 6 bringen.

                  Es ist auch wichtig, dass Fehlermeldungen nicht einfach ignoriert werden, wenn dort schon klar steht was das Problem ist.

                  1 Reply Last reply Reply Quote 0
                  • R
                    redcondor last edited by

                    Hab NPM auf 6 gehoben leider ohne Erfolg.

                    Ich werde iobroker mal auf eine anderen PI neu installieren und schauen ob es dann geht.

                    Ich glaube ich hab mein System durcheinander gebracht.

                    Danke schon mal für die Hilfe.

                    Ich sag Bescheid wen ich fertig bin ob es geht.

                    1 Reply Last reply Reply Quote 0
                    • D
                      dsmax last edited by

                      Hallo zusammen,

                      hab mir wahrscheinlich meinen Adapter zerschossen. Kann keine Lampen (tradfri und hue) mehr schalten. Erhalte immer die Fehlermeldung "No converter available for with key 'state'" und beim Neustart des Adapters steht auch keine Versionsnummer bei "zigbee-shepherd ready. version: undefined rev undefined". Wie entferne ich den Adapter komplett (über Papierkorb hab ich es schon gemacht - hat aber nichts gebracht) und spiel ihn dann wieder richtig ein?

                      Hoffe ich hab mich einigermaßen verständlich ausgedrückt und mir kann jemand helfen.

                      Ps. Node.js v 8.14.0, NPM 4.6.1

                      Gruß Jörg

                      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

                      935
                      Online

                      31.9k
                      Users

                      80.1k
                      Topics

                      1.3m
                      Posts

                      5
                      9
                      752
                      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