Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Zigbee Stick

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.9k

Zigbee Stick

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
68 Beiträge 17 Kommentatoren 12.0k Aufrufe 8 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • DutchmanD Offline
    DutchmanD Offline
    Dutchman
    Developer Most Active Administrators
    schrieb am zuletzt editiert von
    #14

    Hast du Mal auf der console die USB device abgefragt?

    Zur den Stick Mal raus, 10 sek warten und wieder rein..

    Dan auf der console Mal "dmesg" eingeben.

    Was kommt dann?

    Sent from my iPhone using Tapatalk

    1 Antwort Letzte Antwort
    0
    • T Offline
      T Offline
      Telefisch
      schrieb am zuletzt editiert von
      #15

      Ich verzweifle auch grade am Zigbee Stick.

      Wie kann ich denn feststellen ob die Syno den überhaupt erkannt hat?

      Logischerweise ist der Zigbee Adapter gelb weil ich keine Ahnung habe was da als Com Anschluss rein muss.

      Sorry bin ein Linux Noob und möchte das auch bleiben :lol:

      Synology DS916+ (Docker), 2x Echo, 2x Dot, 2x Show

      1 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        stephan2k
        schrieb am zuletzt editiert von
        #16

        /dev/ttyACM0 muss rein

        1 Antwort Letzte Antwort
        0
        • T Offline
          T Offline
          Telefisch
          schrieb am zuletzt editiert von
          #17

          Hab ich schon probiert, keine Reaktion.

          Kann ich irgendwie feststellen ob der Stick überhaupt erkannt wird?

          Synology DS916+ (Docker), 2x Echo, 2x Dot, 2x Show

          1 Antwort Letzte Antwort
          0
          • M Offline
            M Offline
            msiemers
            schrieb am zuletzt editiert von
            #18

            Hast Du schon eine Lösung gefunden? Ich möchte auch einen Zigbee Stick mit meinem Synology NAS/Docker verbinden.

            1 Antwort Letzte Antwort
            0
            • eierfeileE Offline
              eierfeileE Offline
              eierfeile
              schrieb am zuletzt editiert von
              #19

              Also nachdem ich den NPM auf die aktuelle Version 6.5.0 gepatcht hab (npm install -g npm@latest), wird der stick im Adapter (nach Neustart iobroker) erkannt. Der NPM vom Docker is im Standard steinalt (3.10.10). Daten trudeln jetzt auch ein. Sieht soweit ganz gut aus! :-)

              1 Antwort Letzte Antwort
              0
              • MyzerATM Offline
                MyzerATM Offline
                MyzerAT
                schrieb am zuletzt editiert von
                #20

                wie aktualisiere ich NPM, und wo ? auf dem Docker oder auf der Disktation?!

                lg Rudi

                Master Debian 12 (Wien)
                Intel NUC6CAYH 16GB RAM, 500 GB SSD & auf Proxmox 8. 7. als VM

                Slave Debian 12. (TULLN) --> OpenVPN to Vienna
                Intel NUC6CAYH 16GB RAM, 500 GB SSD & auf Proxmox 8.7. als VM

                Node 20.19.0
                Nodejs 20.19.0
                npm 10.8.2
                js-controller 7.0.6

                1 Antwort Letzte Antwort
                0
                • NegaleinN Offline
                  NegaleinN Offline
                  Negalein
                  Global Moderator
                  schrieb am zuletzt editiert von
                  #21

                  @MyzerAT

                  Hast du es geschafft den Stick auf der Synology unter Docker zum laufen zu bringen?

                  Ich habe das Image von Buanet und stehe gerade an.

                  Stick steckt in der Synology. Hat am Anfang eine grüne LED gehabt. Diese ist jetzt aber aus.
                  instances - ioBroker.png

                  Bekomme folgende Fehlermeldung, und der Adapter möchte sich immer starten.

                  host.ioBroker	2019-04-09 13:56:54.731	info	Restart adapter system.adapter.zigbee.0 because enabled
                  host.ioBroker	2019-04-09 13:56:54.731	error	instance system.adapter.zigbee.0 terminated with code 1 ()
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Module._compile (module.js:653:30)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/serialport/lib/bindings/linux.js:2:36)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:81:44)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at require (internal/module.js:11:18)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Module.require (module.js:597:17)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Function.Module._load (module.js:498:3)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at tryModuleLoad (module.js:506:12)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Module.load (module.js:566:32)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: at Object.Module._extensions..node (module.js:682:18)
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: was compiled against a different Node.js version using
                  host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node'
                  host.ioBroker	2019-04-09 13:56:54.730	error	Caught by controller[0]: ^
                  host.ioBroker	2019-04-09 13:56:54.730	error	Caught by controller[0]: throw e
                  host.ioBroker	2019-04-09 13:56:54.730	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:88
                  host.ioBroker	2019-04-09 13:56:54.301	info	instance system.adapter.zigbee.0 started with pid 2441
                  

                  Kannst du mir Tipps geben?

                  ° Node.js: 20.17.0 NPM: 10.8.2
                  ° Proxmox, Ubuntu 22.04.3 LTS
                  ° Fixer ---> iob fix

                  1 Antwort Letzte Antwort
                  0
                  • MyzerATM Offline
                    MyzerATM Offline
                    MyzerAT
                    schrieb am zuletzt editiert von
                    #22

                    hast du im Terminal vom Docker für ioBroker nachgesehen ob er auch auf /dev/ttyACM0 ist ?

                    lg Rudi

                    Master Debian 12 (Wien)
                    Intel NUC6CAYH 16GB RAM, 500 GB SSD & auf Proxmox 8. 7. als VM

                    Slave Debian 12. (TULLN) --> OpenVPN to Vienna
                    Intel NUC6CAYH 16GB RAM, 500 GB SSD & auf Proxmox 8.7. als VM

                    Node 20.19.0
                    Nodejs 20.19.0
                    npm 10.8.2
                    js-controller 7.0.6

                    NegaleinN 1 Antwort Letzte Antwort
                    0
                    • MyzerATM Offline
                      MyzerATM Offline
                      MyzerAT
                      schrieb am zuletzt editiert von
                      #23

                      schau mal ob du da noch infos für dich extrahieren kannst

                      lg Rudi

                      Master Debian 12 (Wien)
                      Intel NUC6CAYH 16GB RAM, 500 GB SSD & auf Proxmox 8. 7. als VM

                      Slave Debian 12. (TULLN) --> OpenVPN to Vienna
                      Intel NUC6CAYH 16GB RAM, 500 GB SSD & auf Proxmox 8.7. als VM

                      Node 20.19.0
                      Nodejs 20.19.0
                      npm 10.8.2
                      js-controller 7.0.6

                      1 Antwort Letzte Antwort
                      0
                      • MyzerATM MyzerAT

                        hast du im Terminal vom Docker für ioBroker nachgesehen ob er auch auf /dev/ttyACM0 ist ?

                        NegaleinN Offline
                        NegaleinN Offline
                        Negalein
                        Global Moderator
                        schrieb am zuletzt editiert von Negalein
                        #24

                        @MyzerAT sagte in Zigbee Stick:

                        hast du im Terminal vom Docker für ioBroker nachgesehen ob er auch auf /dev/ttyACM0 ist ?

                        wie schaue ich da nach? Ist das ein Verzeichnis?
                        zumindest findet er es nicht.

                        root@ioBroker:/opt/iobroker# cd /dev/ttyacm0/                                                                          
                        bash: cd: /dev/ttyacm0/: Datei oder Verzeichnis nicht gefunden
                        

                        schau mal ob du da noch infos für dich extrahieren kannst

                        Das Video kenn ich, komme aber auch nicht weiter.

                        Ich führe den Container auch mit "hohen Zugriffsrechten" aus.
                        Ändert leider auch nichts.

                        root@ioBroker:/opt/iobroker# ls -la /dev/serial/by-id/                                                                 
                        ls: Zugriff auf '/dev/serial/by-id/' nicht möglich: Datei oder Verzeichnis nicht gefunden
                        

                        Noch was fällt mir auf.
                        Wenn ich den Stick in die Syno stecke, läuchtet ca. 30 Sekunden die grüne LED. Dann geht sie aus.

                        ° Node.js: 20.17.0 NPM: 10.8.2
                        ° Proxmox, Ubuntu 22.04.3 LTS
                        ° Fixer ---> iob fix

                        D 1 Antwort Letzte Antwort
                        0
                        • NegaleinN Negalein

                          @MyzerAT sagte in Zigbee Stick:

                          hast du im Terminal vom Docker für ioBroker nachgesehen ob er auch auf /dev/ttyACM0 ist ?

                          wie schaue ich da nach? Ist das ein Verzeichnis?
                          zumindest findet er es nicht.

                          root@ioBroker:/opt/iobroker# cd /dev/ttyacm0/                                                                          
                          bash: cd: /dev/ttyacm0/: Datei oder Verzeichnis nicht gefunden
                          

                          schau mal ob du da noch infos für dich extrahieren kannst

                          Das Video kenn ich, komme aber auch nicht weiter.

                          Ich führe den Container auch mit "hohen Zugriffsrechten" aus.
                          Ändert leider auch nichts.

                          root@ioBroker:/opt/iobroker# ls -la /dev/serial/by-id/                                                                 
                          ls: Zugriff auf '/dev/serial/by-id/' nicht möglich: Datei oder Verzeichnis nicht gefunden
                          

                          Noch was fällt mir auf.
                          Wenn ich den Stick in die Syno stecke, läuchtet ca. 30 Sekunden die grüne LED. Dann geht sie aus.

                          D Offline
                          D Offline
                          duffbeer2000
                          schrieb am zuletzt editiert von
                          #25

                          @Negalein Hey Negalein, ich glaube du hast da ein anderes Problem. Kannst du mal die folgenden Befehle ausführe und die Ausgabe hier posten? Bin in ner Stunde zuhause dann können wir uns das anschauen.
                          node -v
                          nodejs -v
                          npm -v

                          NegaleinN 1 Antwort Letzte Antwort
                          0
                          • D duffbeer2000

                            @Negalein Hey Negalein, ich glaube du hast da ein anderes Problem. Kannst du mal die folgenden Befehle ausführe und die Ausgabe hier posten? Bin in ner Stunde zuhause dann können wir uns das anschauen.
                            node -v
                            nodejs -v
                            npm -v

                            NegaleinN Offline
                            NegaleinN Offline
                            Negalein
                            Global Moderator
                            schrieb am zuletzt editiert von
                            #26

                            @duffbeer2000 sagte in Zigbee Stick:

                            node -v
                            nodejs -v
                            npm -v

                            root@ioBroker:/opt/iobroker# node -v                                                                                   
                            v8.15.1                                                                                                                
                            root@ioBroker:/opt/iobroker# nodejs -v                                                                                 
                            v8.15.1                                                                                                                
                            root@ioBroker:/opt/iobroker# npm -v                                                                                    
                            6.4.1
                            

                            Hab mir gerade das obige Log auch nochmal angesehen.
                            Da ist mir

                            host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                            host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
                            host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
                            host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: was compiled against a different Node.js version using
                            host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node'
                            

                            aufgefallen.

                            Soll ich mal ein npm rebuild machen?

                            ° Node.js: 20.17.0 NPM: 10.8.2
                            ° Proxmox, Ubuntu 22.04.3 LTS
                            ° Fixer ---> iob fix

                            D 1 Antwort Letzte Antwort
                            0
                            • NegaleinN Negalein

                              @duffbeer2000 sagte in Zigbee Stick:

                              node -v
                              nodejs -v
                              npm -v

                              root@ioBroker:/opt/iobroker# node -v                                                                                   
                              v8.15.1                                                                                                                
                              root@ioBroker:/opt/iobroker# nodejs -v                                                                                 
                              v8.15.1                                                                                                                
                              root@ioBroker:/opt/iobroker# npm -v                                                                                    
                              6.4.1
                              

                              Hab mir gerade das obige Log auch nochmal angesehen.
                              Da ist mir

                              host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                              host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
                              host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
                              host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: was compiled against a different Node.js version using
                              host.ioBroker	2019-04-09 13:56:54.731	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node'
                              

                              aufgefallen.

                              Soll ich mal ein npm rebuild machen?

                              D Offline
                              D Offline
                              duffbeer2000
                              schrieb am zuletzt editiert von duffbeer2000
                              #27

                              @Negalein Da bin ich mir jetzt ehrlich gesagt unsicher. Hatte vermutet das du ne falsche Version drauf hast aber die sollten passen. Hast du den Adapter mit den Versionen installiert oder hast du ein npm Upgrade gemacht?

                              @arteck Ich glaube da kennst du dich besser aus. Würde sagen ein npm rebuild wäre notwendig.

                              NegaleinN 1 Antwort Letzte Antwort
                              0
                              • D duffbeer2000

                                @Negalein Da bin ich mir jetzt ehrlich gesagt unsicher. Hatte vermutet das du ne falsche Version drauf hast aber die sollten passen. Hast du den Adapter mit den Versionen installiert oder hast du ein npm Upgrade gemacht?

                                @arteck Ich glaube da kennst du dich besser aus. Würde sagen ein npm rebuild wäre notwendig.

                                NegaleinN Offline
                                NegaleinN Offline
                                Negalein
                                Global Moderator
                                schrieb am zuletzt editiert von Negalein
                                #28

                                @duffbeer2000 sagte in Zigbee Stick:

                                @Negalein Da bin ich mir jetzt ehrlich gesagt unsicher. Hatte vermutet das du ne falsche Version drauf hast aber die sollten passen. Hast du den Adapter mit den Versionen installiert oder hast du ein npm Upgrade gemacht?

                                @arteck Ich glaube da kennst du dich besser aus. Würde sagen ein npm rebuild wäre notwendig.

                                Ja, ich hab den Adapter schon mit aktuellem NPM, Node und Nodejs installiert.

                                Was ich sagen kann, dass ich damals, als ich Node, NPM und Nodejs upgedatet habe, kein npm rebuild gemacht habe.

                                Ich mach es schnell und berichte dann wieder.

                                EDIT:
                                npm rebuild hab ich jetzt gemacht.
                                schreibt auch was vom serialport usw.
                                Und dann irgendwas von Error

                                /opt/iobroker$ npm rebuild
                                
                                
                                > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                                > prebuild-install || node-gyp rebuild
                                
                                
                                > iobroker.javascript@4.0.12 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                > node ./install/installTypings.js
                                
                                Installing NodeJS typings...
                                latest @types: 11, installed node: 8
                                npm
                                ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/request/package.json
                                npm ERR! code ENOENT
                                npm ERR! errno -2
                                npm ERR! syscall open
                                npm
                                ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/request/package.json'
                                npm ERR! enoent This is related to npm not being able to find a file.
                                npm ERR! enoent 
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /root/.npm/_logs/2019-04-09T17_46_59_540Z-debug.log
                                

                                EDIT 2:
                                starte ich den Adapter kommen noch immer die Fehler

                                host.ioBroker	2019-04-09 19:48:50.747	info	Do not restart adapter system.adapter.zigbee.0 because disabled or deleted
                                host.ioBroker	2019-04-09 19:48:50.747	error	instance system.adapter.zigbee.0 terminated with code 1 ()
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Object.Module._extensions..js (module.js:664:10)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Module._compile (module.js:653:30)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/serialport/lib/bindings/linux.js:2:36)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:81:44)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at require (internal/module.js:11:18)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Module.require (module.js:597:17)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Function.Module._load (module.js:498:3)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at tryModuleLoad (module.js:506:12)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Module.load (module.js:566:32)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Object.Module._extensions..node (module.js:682:18)
                                Caught	2019-04-09 19:48:50.747	error	by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: was compiled against a different Node.js version using
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node'
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: ^
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: throw e
                                Caught	2019-04-09 19:48:50.746	error	by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:88
                                host.ioBroker	2019-04-09 19:48:34.946	info	object change system.adapter.zigbee.0
                                host.ioBroker	2019-04-09 19:48:20.310	info	Restart adapter system.adapter.zigbee.0 because enabled
                                

                                ° Node.js: 20.17.0 NPM: 10.8.2
                                ° Proxmox, Ubuntu 22.04.3 LTS
                                ° Fixer ---> iob fix

                                D 1 Antwort Letzte Antwort
                                0
                                • NegaleinN Negalein

                                  @duffbeer2000 sagte in Zigbee Stick:

                                  @Negalein Da bin ich mir jetzt ehrlich gesagt unsicher. Hatte vermutet das du ne falsche Version drauf hast aber die sollten passen. Hast du den Adapter mit den Versionen installiert oder hast du ein npm Upgrade gemacht?

                                  @arteck Ich glaube da kennst du dich besser aus. Würde sagen ein npm rebuild wäre notwendig.

                                  Ja, ich hab den Adapter schon mit aktuellem NPM, Node und Nodejs installiert.

                                  Was ich sagen kann, dass ich damals, als ich Node, NPM und Nodejs upgedatet habe, kein npm rebuild gemacht habe.

                                  Ich mach es schnell und berichte dann wieder.

                                  EDIT:
                                  npm rebuild hab ich jetzt gemacht.
                                  schreibt auch was vom serialport usw.
                                  Und dann irgendwas von Error

                                  /opt/iobroker$ npm rebuild
                                  
                                  
                                  > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                                  > prebuild-install || node-gyp rebuild
                                  
                                  
                                  > iobroker.javascript@4.0.12 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                  > node ./install/installTypings.js
                                  
                                  Installing NodeJS typings...
                                  latest @types: 11, installed node: 8
                                  npm
                                  ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/request/package.json
                                  npm ERR! code ENOENT
                                  npm ERR! errno -2
                                  npm ERR! syscall open
                                  npm
                                  ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/request/package.json'
                                  npm ERR! enoent This is related to npm not being able to find a file.
                                  npm ERR! enoent 
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /root/.npm/_logs/2019-04-09T17_46_59_540Z-debug.log
                                  

                                  EDIT 2:
                                  starte ich den Adapter kommen noch immer die Fehler

                                  host.ioBroker	2019-04-09 19:48:50.747	info	Do not restart adapter system.adapter.zigbee.0 because disabled or deleted
                                  host.ioBroker	2019-04-09 19:48:50.747	error	instance system.adapter.zigbee.0 terminated with code 1 ()
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Object.Module._extensions..js (module.js:664:10)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Module._compile (module.js:653:30)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/serialport/lib/bindings/linux.js:2:36)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:81:44)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at require (internal/module.js:11:18)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Module.require (module.js:597:17)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Function.Module._load (module.js:498:3)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at tryModuleLoad (module.js:506:12)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Module.load (module.js:566:32)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: at Object.Module._extensions..node (module.js:682:18)
                                  Caught	2019-04-09 19:48:50.747	error	by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: was compiled against a different Node.js version using
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: Error: The module '/opt/iobroker/node_modules/serialport/build/Release/serialport.node'
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: ^
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: throw e
                                  Caught	2019-04-09 19:48:50.746	error	by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:88
                                  host.ioBroker	2019-04-09 19:48:34.946	info	object change system.adapter.zigbee.0
                                  host.ioBroker	2019-04-09 19:48:20.310	info	Restart adapter system.adapter.zigbee.0 because enabled
                                  
                                  D Offline
                                  D Offline
                                  duffbeer2000
                                  schrieb am zuletzt editiert von
                                  #29

                                  @Negalein Entferne mal die Zigbee Instanz komplett und anschließend unter Adapter den Zigbee Adapter löschen. Danach npm rebuild (obs das nochmal braucht weiß ich nicht) und dann den Adapter wieder installieren

                                  NegaleinN 1 Antwort Letzte Antwort
                                  0
                                  • D duffbeer2000

                                    @Negalein Entferne mal die Zigbee Instanz komplett und anschließend unter Adapter den Zigbee Adapter löschen. Danach npm rebuild (obs das nochmal braucht weiß ich nicht) und dann den Adapter wieder installieren

                                    NegaleinN Offline
                                    NegaleinN Offline
                                    Negalein
                                    Global Moderator
                                    schrieb am zuletzt editiert von
                                    #30

                                    @duffbeer2000 sagte in Zigbee Stick:

                                    @Negalein Entferne mal die Zigbee Instanz komplett und anschließend unter Adapter den Zigbee Adapter löschen. Danach npm rebuild (obs das nochmal braucht weiß ich nicht) und dann den Adapter wieder installieren

                                    Ok, Instanz gelöscht, Adapter gelöscht.
                                    npm rebuild (jetzt sind einige Meldungen mehr gekommen):

                                    /opt/iobroker$ npm rebuild
                                    
                                    
                                    > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                                    > prebuild-install || node-gyp rebuild
                                    
                                    
                                    > iobroker.javascript@4.0.12 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                    > node ./install/installTypings.js
                                    
                                    Installing NodeJS typings...
                                    latest @types: 11, installed node: 8
                                    
                                    > iobroker.js-controller@1.4.2 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                    > node lib/preinstall_check.js
                                    
                                    NPM version: 6.4.1
                                    npm version >= 5: disabling package-lock
                                    
                                    > iobroker.js-controller@1.4.2 install /opt/iobroker/node_modules/iobroker.js-controller
                                    > node iobroker.js setup first
                                    
                                    
                                    > ursa-optional@0.9.8 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa-optional
                                    > node rebuild.js
                                    
                                    
                                    > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird betreten
                                      CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                    ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                   ^
                                    In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                    ../../nan/nan.h:980:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                    ../src/BluetoothHciSocket.cpp:275:72: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                            ^
                                    In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                                     from /root/.node-gyp/8.15.1/include/node/node.h:63,
                                                     from /root/.node-gyp/8.15.1/include/node/node_buffer.h:25,
                                                     from ../src/BluetoothHciSocket.cpp:7:
                                    /root/.node-gyp/8.15.1/include/node/v8.h:3897:31: note: declared here
                                                     Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                                                                   ^
                                    /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                       Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                 ^
                                    In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                    ../../nan/nan.h:980:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                      SOLINK_MODULE(target) Release/obj.target/binding.node
                                      COPY Release/binding.node
                                    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                    
                                    > usb@1.5.0 install /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
                                    > node-pre-gyp install --fallback-to-build
                                    
                                    node-pre-gyp
                                    WARN Using request for node-pre-gyp https download 
                                    [usb] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" already installed
                                    Pass --update-binary to reinstall or --build-from-source to recompile
                                    
                                    > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/iobroker.radar/node_modules/@abandonware/bluetooth-hci-socket
                                    > npm install node-pre-gyp
                                    
                                    npm
                                    notice created a lockfile as package-lock.json. You should commit this file.
                                    + node-pre-gyp@0.12.0
                                    added 66 packages from 25 contributors and audited 95 packages in 5.987s
                                    found 0 vulnerabilities
                                    
                                    
                                    > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/@abandonware/bluetooth-hci-socket
                                    > node-pre-gyp install --fallback-to-build
                                    
                                    node-pre-gyp
                                    WARN Using request for node-pre-gyp https download 
                                    [@abandonware/bluetooth-hci-socket] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" already installed
                                    Pass --update-binary to reinstall or --build-from-source to recompile
                                    
                                    > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird betreten
                                      CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                    ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                   ^
                                    In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                    ../../nan/nan.h:980:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                    ../src/BluetoothHciSocket.cpp:275:72: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                            ^
                                    In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                                     from /root/.node-gyp/8.15.1/include/node/node.h:63,
                                                     from /root/.node-gyp/8.15.1/include/node/node_buffer.h:25,
                                                     from ../src/BluetoothHciSocket.cpp:7:
                                    /root/.node-gyp/8.15.1/include/node/v8.h:3897:31: note: declared here
                                                     Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                                                                   ^
                                    /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                       Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                 ^
                                    In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                    ../../nan/nan.h:980:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                      SOLINK_MODULE(target) Release/obj.target/binding.node
                                      COPY Release/binding.node
                                    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                    
                                    > usb@1.5.0 install /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
                                    > node-pre-gyp install --fallback-to-build
                                    
                                    (node:4437) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
                                    node-pre-gyp
                                    WARN Using request for node-pre-gyp https download 
                                    [usb] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" already installed
                                    Pass --update-binary to reinstall or --build-from-source to recompile
                                    
                                    > node-cron@2.0.3 postinstall /opt/iobroker/node_modules/iobroker.sourceanalytix/node_modules/node-cron
                                    > opencollective-postinstall
                                    
                                    96Thank you for using node-cron!96
                                    96If you rely on this package, please consider supporting our open collective:
                                    > 94https://opencollective.com/node-cron/donate
                                    
                                    
                                    > iobroker.vis@1.1.10 install /opt/iobroker/node_modules/iobroker.vis
                                    > node main.js --install
                                    
                                    
                                    > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
                                      CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                    ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                   ^
                                    In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                    ../../nan/nan.h:979:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                    ../src/BluetoothHciSocket.cpp:275:72: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                            ^
                                    In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                                     from /root/.node-gyp/8.15.1/include/node/node.h:63,
                                                     from /root/.node-gyp/8.15.1/include/node/node_buffer.h:25,
                                                     from ../src/BluetoothHciSocket.cpp:7:
                                    /root/.node-gyp/8.15.1/include/node/v8.h:3897:31: note: declared here
                                                     Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                                                                   ^
                                    /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                       Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                 ^
                                    In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                    ../../nan/nan.h:979:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                      SOLINK_MODULE(target) Release/obj.target/binding.node
                                      COPY Release/binding.node
                                    make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                    
                                    > grpc@1.18.0 install /opt/iobroker/node_modules/grpc
                                    > node-pre-gyp install --fallback-to-build --library=static_library
                                    
                                    node-pre-gyp
                                    WARN Using request for node-pre-gyp https download 
                                    [grpc] Success: "/opt/iobroker/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote
                                    
                                    > node-cron@2.0.3 postinstall /opt/iobroker/node_modules/node-cron
                                    > opencollective-postinstall
                                    
                                    96Thank you for using node-cron!96
                                    96If you rely on this package, please consider supporting our open collective:
                                    > 94https://opencollective.com/node-cron/donate
                                    
                                    
                                    > iobroker.vis-google-fonts@0.1.0 install /opt/iobroker/node_modules/iobroker.vis-google-fonts
                                    > node main.js --install
                                    
                                    
                                    > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                                    > node rebuild.js
                                    
                                    
                                    > usb@1.5.0 install /opt/iobroker/node_modules/usb
                                    > node-pre-gyp install --fallback-to-build
                                    
                                    module.js:550
                                        throw err;
                                        ^
                                    
                                    Error: Cannot find module 'npmlog'
                                        at Function.Module._resolveFilename (module.js:548:15)
                                        at Function.Module._load (module.js:475:25)
                                        at Module.require (module.js:597:17)
                                        at require (internal/module.js:11:18)
                                        at Object.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/node-pre-gyp.js:16:11)
                                        at Module._compile (module.js:653:30)
                                        at Object.Module._extensions..js (module.js:664:10)
                                        at Module.load (module.js:566:32)
                                        at tryModuleLoad (module.js:506:12)
                                        at Function.Module._load (module.js:498:3)
                                    npm
                                    ERR! code ELIFECYCLE
                                    npm ERR!
                                    errno 1
                                    npm
                                    ERR! usb@1.5.0 install: `node-pre-gyp install --fallback-to-build`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    
                                    npm ERR! Failed at the usb@1.5.0 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /root/.npm/_logs/2019-04-09T18_07_37_792Z-debug.log
                                    /opt/iobroker$  
                                    

                                    Dann versucht den Adapter wieder zu installieren.
                                    Jetzt mag er mich nicht mehr!

                                    Fertig mit Fehler: host.ioBroker Cannot install zigbee

                                    $ ./iobroker add zigbee  --host ioBroker
                                    NPM version: 6.4.1
                                    npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
                                    gyp
                                     ERR! clean error gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                                    
                                    gyp ERR! System Linux 4.4.59+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/authenticate-pam
                                    gyp ERR! node -v v8.15.1
                                    gyp ERR!
                                     node-gyp -v v3.8.0gyp ERR! not ok 
                                    
                                    sh: 1: 
                                    prebuild-install: Permission denied
                                    gyp
                                     WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
                                    
                                    gyp
                                     WARN install got an error, rolling back install
                                    gyp WARN install got an error, rolling back install
                                    gyp
                                     ERR! configure error gyp ERR! stack Error: EACCES: permission denied, stat '/opt/iobroker/node_modules/serialport/.node-gyp/8.15.1'
                                    gyp
                                     ERR! System Linux 4.4.59+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/serialport
                                    gyp ERR! node -v v8.15.1
                                    gyp ERR! 
                                    node-gyp -v v3.8.0gyp ERR! not ok 
                                    
                                    npm
                                     WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                    npm 
                                    WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    
                                    
                                    npm
                                     ERR! code ELIFECYCLEnpm ERR! errno 1
                                    
                                    npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1
                                    npm ERR! 
                                    npm ERR! Failed at the serialport@6.2.2 install script.
                                    npm ERR!
                                     This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-04-09T18_09_28_103Z-debug.log
                                    
                                    host.ioBroker install adapter zigbee
                                    NPM version: 6.4.1
                                    npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
                                    gyp
                                     ERR! clean error 
                                    gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'gyp ERR! System Linux 4.4.59+
                                    
                                    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/authenticate-pam
                                    gyp ERR! node -v v8.15.1
                                    gyp ERR! node-gyp -v v3.8.0
                                    gyp ERR! not ok
                                     
                                    sh: 1: prebuild-install: Permission denied
                                    gyp
                                     WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
                                    
                                    gyp WARN install got an error, rolling back install
                                    gyp
                                     WARN install got an error, rolling back install
                                    gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, stat '/opt/iobroker/node_modules/serialport/.node-gyp/8.15.1'
                                    gyp
                                     ERR! System Linux 4.4.59+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/serialport
                                    gyp ERR! node -v v8.15.1
                                    gyp ERR! node-gyp -v v3.8.0
                                    gyp ERR! not ok 
                                    
                                    npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    
                                    
                                    npm ERR! code ELIFECYCLEnpm ERR! errno 1
                                    
                                    npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1
                                    npm ERR! 
                                    npm ERR! Failed at the serialport@6.2.2 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    
                                    npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-04-09T18_10_24_186Z-debug.log
                                    
                                    host.ioBroker install adapter zigbee
                                    NPM version: 6.4.1
                                    npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
                                    gyp
                                     ERR! clean error 
                                    gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'gyp ERR! System Linux 4.4.59+
                                    
                                    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/authenticate-pam
                                    gyp ERR! node -v v8.15.1
                                    gyp ERR! 
                                    node-gyp -v v3.8.0gyp ERR! not ok 
                                    
                                    sh: 1: 
                                    prebuild-install: Permission denied
                                    gyp
                                     WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"
                                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
                                    gyp
                                     WARN install got an error, rolling back install
                                    gyp
                                     WARN install got an error, rolling back install
                                    gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, stat '/opt/iobroker/node_modules/serialport/.node-gyp/8.15.1'
                                    
                                    gyp ERR! System Linux 4.4.59+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/serialport
                                    gyp ERR! node -v v8.15.1
                                    gyp ERR! node-gyp -v v3.8.0
                                    gyp ERR! not ok
                                     
                                    npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                                    npm ERR! Exit status 1
                                    npm ERR! 
                                    npm ERR! Failed at the serialport@6.2.2 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    
                                    npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-04-09T18_11_20_240Z-debug.log
                                    
                                    host.ioBroker install adapter zigbee
                                    ERROR: host.ioBroker Cannot install zigbee
                                    ERROR: process exited with code 13
                                    

                                    ° Node.js: 20.17.0 NPM: 10.8.2
                                    ° Proxmox, Ubuntu 22.04.3 LTS
                                    ° Fixer ---> iob fix

                                    D 1 Antwort Letzte Antwort
                                    0
                                    • NegaleinN Negalein

                                      @duffbeer2000 sagte in Zigbee Stick:

                                      @Negalein Entferne mal die Zigbee Instanz komplett und anschließend unter Adapter den Zigbee Adapter löschen. Danach npm rebuild (obs das nochmal braucht weiß ich nicht) und dann den Adapter wieder installieren

                                      Ok, Instanz gelöscht, Adapter gelöscht.
                                      npm rebuild (jetzt sind einige Meldungen mehr gekommen):

                                      /opt/iobroker$ npm rebuild
                                      
                                      
                                      > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                                      > prebuild-install || node-gyp rebuild
                                      
                                      
                                      > iobroker.javascript@4.0.12 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                      > node ./install/installTypings.js
                                      
                                      Installing NodeJS typings...
                                      latest @types: 11, installed node: 8
                                      
                                      > iobroker.js-controller@1.4.2 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                      > node lib/preinstall_check.js
                                      
                                      NPM version: 6.4.1
                                      npm version >= 5: disabling package-lock
                                      
                                      > iobroker.js-controller@1.4.2 install /opt/iobroker/node_modules/iobroker.js-controller
                                      > node iobroker.js setup first
                                      
                                      
                                      > ursa-optional@0.9.8 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa-optional
                                      > node rebuild.js
                                      
                                      
                                      > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird betreten
                                        CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                      ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                           Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                     ^
                                      In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                      ../../nan/nan.h:980:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                      ../src/BluetoothHciSocket.cpp:275:72: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                              ^
                                      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                                       from /root/.node-gyp/8.15.1/include/node/node.h:63,
                                                       from /root/.node-gyp/8.15.1/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /root/.node-gyp/8.15.1/include/node/v8.h:3897:31: note: declared here
                                                       Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                                                                     ^
                                      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                   ^
                                      In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                      ../../nan/nan.h:980:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                        SOLINK_MODULE(target) Release/obj.target/binding.node
                                        COPY Release/binding.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                      
                                      > usb@1.5.0 install /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
                                      > node-pre-gyp install --fallback-to-build
                                      
                                      node-pre-gyp
                                      WARN Using request for node-pre-gyp https download 
                                      [usb] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" already installed
                                      Pass --update-binary to reinstall or --build-from-source to recompile
                                      
                                      > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/iobroker.radar/node_modules/@abandonware/bluetooth-hci-socket
                                      > npm install node-pre-gyp
                                      
                                      npm
                                      notice created a lockfile as package-lock.json. You should commit this file.
                                      + node-pre-gyp@0.12.0
                                      added 66 packages from 25 contributors and audited 95 packages in 5.987s
                                      found 0 vulnerabilities
                                      
                                      
                                      > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/@abandonware/bluetooth-hci-socket
                                      > node-pre-gyp install --fallback-to-build
                                      
                                      node-pre-gyp
                                      WARN Using request for node-pre-gyp https download 
                                      [@abandonware/bluetooth-hci-socket] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" already installed
                                      Pass --update-binary to reinstall or --build-from-source to recompile
                                      
                                      > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird betreten
                                        CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                      ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                           Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                     ^
                                      In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                      ../../nan/nan.h:980:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                      ../src/BluetoothHciSocket.cpp:275:72: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                              ^
                                      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                                       from /root/.node-gyp/8.15.1/include/node/node.h:63,
                                                       from /root/.node-gyp/8.15.1/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /root/.node-gyp/8.15.1/include/node/v8.h:3897:31: note: declared here
                                                       Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                                                                     ^
                                      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                   ^
                                      In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                      ../../nan/nan.h:980:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                        SOLINK_MODULE(target) Release/obj.target/binding.node
                                        COPY Release/binding.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                      
                                      > usb@1.5.0 install /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
                                      > node-pre-gyp install --fallback-to-build
                                      
                                      (node:4437) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
                                      node-pre-gyp
                                      WARN Using request for node-pre-gyp https download 
                                      [usb] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" already installed
                                      Pass --update-binary to reinstall or --build-from-source to recompile
                                      
                                      > node-cron@2.0.3 postinstall /opt/iobroker/node_modules/iobroker.sourceanalytix/node_modules/node-cron
                                      > opencollective-postinstall
                                      
                                      96Thank you for using node-cron!96
                                      96If you rely on this package, please consider supporting our open collective:
                                      > 94https://opencollective.com/node-cron/donate
                                      
                                      
                                      > iobroker.vis@1.1.10 install /opt/iobroker/node_modules/iobroker.vis
                                      > node main.js --install
                                      
                                      
                                      > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
                                        CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                      ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                           Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                     ^
                                      In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                      ../../nan/nan.h:979:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                      ../src/BluetoothHciSocket.cpp:275:72: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                              ^
                                      In file included from /root/.node-gyp/8.15.1/include/node/v8.h:26:0,
                                                       from /root/.node-gyp/8.15.1/include/node/node.h:63,
                                                       from /root/.node-gyp/8.15.1/include/node/node_buffer.h:25,
                                                       from ../src/BluetoothHciSocket.cpp:7:
                                      /root/.node-gyp/8.15.1/include/node/v8.h:3897:31: note: declared here
                                                       Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                                                                     ^
                                      /root/.node-gyp/8.15.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                         Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                                   ^
                                      In file included from ../src/BluetoothHciSocket.cpp:8:0:
                                      ../../nan/nan.h:979:46: note: declared here
                                         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                    ^~~~~~~~~~~~
                                        SOLINK_MODULE(target) Release/obj.target/binding.node
                                        COPY Release/binding.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                      
                                      > grpc@1.18.0 install /opt/iobroker/node_modules/grpc
                                      > node-pre-gyp install --fallback-to-build --library=static_library
                                      
                                      node-pre-gyp
                                      WARN Using request for node-pre-gyp https download 
                                      [grpc] Success: "/opt/iobroker/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote
                                      
                                      > node-cron@2.0.3 postinstall /opt/iobroker/node_modules/node-cron
                                      > opencollective-postinstall
                                      
                                      96Thank you for using node-cron!96
                                      96If you rely on this package, please consider supporting our open collective:
                                      > 94https://opencollective.com/node-cron/donate
                                      
                                      
                                      > iobroker.vis-google-fonts@0.1.0 install /opt/iobroker/node_modules/iobroker.vis-google-fonts
                                      > node main.js --install
                                      
                                      
                                      > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                                      > node rebuild.js
                                      
                                      
                                      > usb@1.5.0 install /opt/iobroker/node_modules/usb
                                      > node-pre-gyp install --fallback-to-build
                                      
                                      module.js:550
                                          throw err;
                                          ^
                                      
                                      Error: Cannot find module 'npmlog'
                                          at Function.Module._resolveFilename (module.js:548:15)
                                          at Function.Module._load (module.js:475:25)
                                          at Module.require (module.js:597:17)
                                          at require (internal/module.js:11:18)
                                          at Object.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/node-pre-gyp.js:16:11)
                                          at Module._compile (module.js:653:30)
                                          at Object.Module._extensions..js (module.js:664:10)
                                          at Module.load (module.js:566:32)
                                          at tryModuleLoad (module.js:506:12)
                                          at Function.Module._load (module.js:498:3)
                                      npm
                                      ERR! code ELIFECYCLE
                                      npm ERR!
                                      errno 1
                                      npm
                                      ERR! usb@1.5.0 install: `node-pre-gyp install --fallback-to-build`
                                      npm ERR! Exit status 1
                                      npm ERR!
                                      
                                      npm ERR! Failed at the usb@1.5.0 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /root/.npm/_logs/2019-04-09T18_07_37_792Z-debug.log
                                      /opt/iobroker$  
                                      

                                      Dann versucht den Adapter wieder zu installieren.
                                      Jetzt mag er mich nicht mehr!

                                      Fertig mit Fehler: host.ioBroker Cannot install zigbee

                                      $ ./iobroker add zigbee  --host ioBroker
                                      NPM version: 6.4.1
                                      npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
                                      gyp
                                       ERR! clean error gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                                      
                                      gyp ERR! System Linux 4.4.59+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/authenticate-pam
                                      gyp ERR! node -v v8.15.1
                                      gyp ERR!
                                       node-gyp -v v3.8.0gyp ERR! not ok 
                                      
                                      sh: 1: 
                                      prebuild-install: Permission denied
                                      gyp
                                       WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
                                      
                                      gyp
                                       WARN install got an error, rolling back install
                                      gyp WARN install got an error, rolling back install
                                      gyp
                                       ERR! configure error gyp ERR! stack Error: EACCES: permission denied, stat '/opt/iobroker/node_modules/serialport/.node-gyp/8.15.1'
                                      gyp
                                       ERR! System Linux 4.4.59+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/serialport
                                      gyp ERR! node -v v8.15.1
                                      gyp ERR! 
                                      node-gyp -v v3.8.0gyp ERR! not ok 
                                      
                                      npm
                                       WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                      npm 
                                      WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                      
                                      
                                      npm
                                       ERR! code ELIFECYCLEnpm ERR! errno 1
                                      
                                      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1
                                      npm ERR! 
                                      npm ERR! Failed at the serialport@6.2.2 install script.
                                      npm ERR!
                                       This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-04-09T18_09_28_103Z-debug.log
                                      
                                      host.ioBroker install adapter zigbee
                                      NPM version: 6.4.1
                                      npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
                                      gyp
                                       ERR! clean error 
                                      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'gyp ERR! System Linux 4.4.59+
                                      
                                      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/authenticate-pam
                                      gyp ERR! node -v v8.15.1
                                      gyp ERR! node-gyp -v v3.8.0
                                      gyp ERR! not ok
                                       
                                      sh: 1: prebuild-install: Permission denied
                                      gyp
                                       WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
                                      
                                      gyp WARN install got an error, rolling back install
                                      gyp
                                       WARN install got an error, rolling back install
                                      gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, stat '/opt/iobroker/node_modules/serialport/.node-gyp/8.15.1'
                                      gyp
                                       ERR! System Linux 4.4.59+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/serialport
                                      gyp ERR! node -v v8.15.1
                                      gyp ERR! node-gyp -v v3.8.0
                                      gyp ERR! not ok 
                                      
                                      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                      
                                      
                                      npm ERR! code ELIFECYCLEnpm ERR! errno 1
                                      
                                      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1
                                      npm ERR! 
                                      npm ERR! Failed at the serialport@6.2.2 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      
                                      npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-04-09T18_10_24_186Z-debug.log
                                      
                                      host.ioBroker install adapter zigbee
                                      NPM version: 6.4.1
                                      npm install iobroker.zigbee --production --save --prefix "/opt/iobroker" (System call)
                                      gyp
                                       ERR! clean error 
                                      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'gyp ERR! System Linux 4.4.59+
                                      
                                      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/authenticate-pam
                                      gyp ERR! node -v v8.15.1
                                      gyp ERR! 
                                      node-gyp -v v3.8.0gyp ERR! not ok 
                                      
                                      sh: 1: 
                                      prebuild-install: Permission denied
                                      gyp
                                       WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.15.1"
                                      gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/serialport/.node-gyp"
                                      gyp
                                       WARN install got an error, rolling back install
                                      gyp
                                       WARN install got an error, rolling back install
                                      gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, stat '/opt/iobroker/node_modules/serialport/.node-gyp/8.15.1'
                                      
                                      gyp ERR! System Linux 4.4.59+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/serialport
                                      gyp ERR! node -v v8.15.1
                                      gyp ERR! node-gyp -v v3.8.0
                                      gyp ERR! not ok
                                       
                                      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                      
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
                                      npm ERR! Exit status 1
                                      npm ERR! 
                                      npm ERR! Failed at the serialport@6.2.2 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      
                                      npm ERR! A complete log of this run can be found in:npm ERR!     /root/.npm/_logs/2019-04-09T18_11_20_240Z-debug.log
                                      
                                      host.ioBroker install adapter zigbee
                                      ERROR: host.ioBroker Cannot install zigbee
                                      ERROR: process exited with code 13
                                      

                                      D Offline
                                      D Offline
                                      duffbeer2000
                                      schrieb am zuletzt editiert von
                                      #31

                                      @Negalein Puhh, jetzt bin ich mit meinem Latein am Ende. Da passt irgendwas überhaupt nicht. Dein ioBroker läuft in nem Docker Container oder?

                                      NegaleinN 1 Antwort Letzte Antwort
                                      0
                                      • NegaleinN Offline
                                        NegaleinN Offline
                                        Negalein
                                        Global Moderator
                                        schrieb am zuletzt editiert von
                                        #32

                                        @duffbeer2000

                                        weiter gehts!
                                        Und es schaut jetzt schon viel viel besser aus!

                                        Ich habe jetzt über das Terminal ein npm install iobroker.zigbee gemacht

                                        /opt/iobroker$ npm install iobroker.zigbee
                                        
                                        
                                        > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
                                          CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
                                        ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
                                        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                           Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                                               ^
                                        In file included from ../authenticate_pam.cc:23:0:
                                        ../../nan/nan.h:958:46: note: declared here
                                           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                      ^~~~~~~~~~~~
                                          SOLINK_MODULE(target) Release/obj.target/authenticate_pam.node
                                          COPY Release/authenticate_pam.node
                                        make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
                                        
                                        > serialport@6.2.2 install /opt/iobroker/node_modules/serialport
                                        > prebuild-install || node-gyp rebuild
                                        
                                        npm
                                        WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                        npm
                                        WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                        npm WARN
                                        notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                        npm
                                        WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                        npm WARN
                                        notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                        
                                        + iobroker.zigbee@0.10.3
                                        added 114 packages from 51 contributors and audited 32556 packages in 59.347s
                                        found 62 vulnerabilities (44 low, 5 moderate, 13 high)
                                          run `npm audit fix` to fix them, or `npm audit` for details
                                        

                                        Dann den Adapter über Admin nochmal installiert.
                                        Jetzt ist er da, bleibt aber gelb!

                                        
                                        zigbee.0	2019-04-09 20:30:18.681	error	Error while starting zigbee-shepherd!. Error: Error: Is a directory, cannot open /dev/ttyACM0
                                        zigbee.0	2019-04-09 20:30:18.677	info	Starting zigbee-shepherd
                                        zigbee.0	2019-04-09 20:29:18.675	info	Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds)
                                        zigbee.0	2019-04-09 20:29:18.645	info	Reset coordinator
                                        zigbee.0	2019-04-09 20:29:18.616	info	Queue is: true
                                        zigbee.0	2019-04-09 20:29:18.616	info	Start on port: /dev/ttyACM0 with panID 6754 channel 11
                                        zigbee.0	2019-04-09 20:29:18.609	info	starting. Version 0.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v8.15.1
                                        zigbee.0	2019-04-09 20:29:02.413	error	Error: spawn udevadm ENOENT
                                        zigbee.0	2019-04-09 20:28:59.532	error	Serial port not selected! Go to settings page.
                                        zigbee.0	2019-04-09 20:28:59.525	info	starting. Version 0.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v8.15.1
                                        

                                        ° Node.js: 20.17.0 NPM: 10.8.2
                                        ° Proxmox, Ubuntu 22.04.3 LTS
                                        ° Fixer ---> iob fix

                                        1 Antwort Letzte Antwort
                                        0
                                        • D duffbeer2000

                                          @Negalein Puhh, jetzt bin ich mit meinem Latein am Ende. Da passt irgendwas überhaupt nicht. Dein ioBroker läuft in nem Docker Container oder?

                                          NegaleinN Offline
                                          NegaleinN Offline
                                          Negalein
                                          Global Moderator
                                          schrieb am zuletzt editiert von
                                          #33

                                          @duffbeer2000 sagte in Zigbee Stick:

                                          Dein ioBroker läuft in nem Docker Container oder?

                                          Ja, ich hab ihn auf der Synology unter Docker installiert.

                                          ° Node.js: 20.17.0 NPM: 10.8.2
                                          ° Proxmox, Ubuntu 22.04.3 LTS
                                          ° Fixer ---> iob fix

                                          D 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          796

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe