Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee startet nicht mehr

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

      Nachtrag: tja, aber da steht ganz klar was von bindings in deinem Logs.
      Ich hab bei mir mal geschaut ,den Pfad

      /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsmann
      

      gibt es bei mir gar nicht, der zigbee-herdsman Ordner liegt bei mir direkt im /opt/iobroker/node_modules Ordner

      arteck 1 Reply Last reply Reply Quote 0
      • David G.
        David G. last edited by David G.

        Nodejs hab ich nicht bewusst upgedatet.
        Bin nach dieser Anleitung vorgegangen.
        https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye?_=1638334513500

        Hier der Log vom rebuild.
        Hat nichts gebracht......

        Last login: Tue Nov 30 23:11:41 2021 from 192.168.99.77
        
        Wi-Fi is currently blocked by rfkill.
        Use raspi-config to set the country before use.
        
        pi@iobroker:~ $ iobroker rebuild zigbee --install
        npm install --loglevel error --production (System call1) in "/opt/iobroker/node_modules/iobroker.zigbee"
        Traceback (most recent call last):
          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module>
            import gyp
          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module>
            import gyp.input
          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module>
            import ast
        ImportError: No module named ast
        gyp ERR! configure error
        gyp ERR! stack Error: `gyp` failed with exit code: 1
        gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
        gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
        gyp ERR! System Linux 5.10.63-v7l+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindings
        gyp ERR! node -v v14.18.1
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the @serialport/bindings@9.2.5 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!     /home/iobroker/.npm/_logs/2021-12-01T04_53_18_917Z-debug.log
        
        Rebuild zigbee done
        pi@iobroker:~ $
        

        EDIT:
        Hab grad mal ganz frech die Instanz und den Adapter gelöscht.
        Hab ja ein Backup von Zigbee.

        Beim neuen installieren bricht er nun mit einem Fehler ab:

        ERROR: Process exited with code 25
        weniger
        mehr
        $ iobroker add zigbee auto --host iobroker
        
        NPM version: 6.14.15
        
        npm install iobroker.zigbee@1.6.6 --loglevel error --prefix "/opt/iobroker" (System call)
        
        Traceback (most recent call last):
        
        File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast
        
        gyp ERR! configure error
        
        gyp ERR! stack Error: `gyp` failed with exit code: 1
        
        gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
        
        gyp ERR! stack at ChildProcess.emit (events.js:400:28)
        
        gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
        
        gyp ERR! System Linux 5.10.63-v7l+
        
        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/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
        
        npm ERR! code ELIFECYCLE
        
        npm ERR! errno 1
        
        npm ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
        
        npm ERR! Exit status 1
        
        npm ERR!
        
        npm ERR! Failed at the @serialport/bindings@9.2.5 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! /home/iobroker/.npm/_logs/2021-12-01T06_09_25_754Z-debug.log
        
        host.iobroker Cannot install iobroker.zigbee@1.6.6: 1
        
        ERROR: Process exited with code 25
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @David G. last edited by

          @david-g

          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
           
          
          free -ht
          
          David G. 1 Reply Last reply Reply Quote 0
          • David G.
            David G. @Thomas Braun last edited by

            @thomas-braun sagte in Zigbee startet nicht mehr:

            @david-g

            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
             
            
            Last login: Wed Dec  1 07:21:43 2021 from 192.168.99.77
            
            Wi-Fi is currently blocked by rfkill.
            Use raspi-config to set the country before use.
            
            pi@iobroker:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v14.18.1
            v14.18.1
            6.14.15
            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
            Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
            OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
            Es wurden 15,0 kB in 1 s geholt (15,0 kB/s).
            Paketlisten werden gelesen… Fertig
            Abhängigkeitsbaum wird aufgebaut… Fertig
            Statusinformationen werden eingelesen… Fertig
            Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
            OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
            Paketlisten werden gelesen… Fertig
            Abhängigkeitsbaum wird aufgebaut… Fertig
            Statusinformationen werden eingelesen… Fertig
            Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
            nodejs:
              Installiert:           14.18.1-deb-1nodesource1
              Installationskandidat: 14.18.2-deb-1nodesource1
              Versionstabelle:
                 14.18.2-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
             *** 14.18.1-deb-1nodesource1 100
                    100 /var/lib/dpkg/status
                 12.22.5~dfsg-2~11u1 500
                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
            pi@iobroker:~ $
            pi@iobroker:~ $
            
            free -ht
            
            Last login: Wed Dec  1 07:37:08 2021 from 192.168.99.77
            
            Wi-Fi is currently blocked by rfkill.
            Use raspi-config to set the country before use.
            
            pi@iobroker:~ $ free -ht
                          gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
            Speicher:      3,7Gi       1,9Gi       610Mi        14Mi       1,2Gi       2,2Gi
            Swap:          999Mi       2,0Mi       997Mi
            Gesamt:        4,7Gi       1,9Gi       1,6Gi
            pi@iobroker:~ $
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @David G. last edited by Thomas Braun

              @david-g
              Swap: 999Mi

              Du hast 999MB Swap? Warum das?

              nodeJS auf die letzte Version bringen.

              David G. 2 Replies Last reply Reply Quote 0
              • David G.
                David G. @Thomas Braun last edited by

                @thomas-braun

                Der war mir eine Zeit lang mal vollgelaufen als er kleiner war.

                War zum testen wie es sich verhält wenn er größer ist.
                Könnte ich mal wieder ändern....

                1 Reply Last reply Reply Quote 0
                • David G.
                  David G. @Thomas Braun last edited by

                  @thomas-braun sagte in Zigbee startet nicht mehr:

                  @david-g
                  nodeJS auf die letzte Version bringen.

                  Erledigt

                  Last login: Wed Dec  1 07:48:46 2021 from 192.168.99.77
                  
                  Wi-Fi is currently blocked by rfkill.
                  Use raspi-config to set the country before use.
                  
                  pi@iobroker:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  v14.18.2
                  v14.18.2
                  6.14.15
                  OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                  OK:2 https://deb.nodesource.com/node_14.x bullseye InRelease
                  OK:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                  OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                  OK:2 https://deb.nodesource.com/node_14.x bullseye InRelease
                  OK:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                  nodejs:
                    Installiert:           14.18.2-deb-1nodesource1
                    Installationskandidat: 14.18.2-deb-1nodesource1
                    Versionstabelle:
                   *** 14.18.2-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                          100 /var/lib/dpkg/status
                       12.22.5~dfsg-2~11u1 500
                          500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                  pi@iobroker:~ $
                  

                  Bein installieren des Adapters kommt jetzt

                  ERROR: Process exited with code 25
                  weniger
                  mehr
                  $ iobroker add zigbee auto --host iobroker
                  
                  NPM version: 6.14.15npm install iobroker.zigbee@1.6.6 --loglevel error --prefix "/opt/iobroker" (System call)
                  
                  Traceback (most recent call last):
                  
                  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named astgyp ERR! configure error
                  
                  gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+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/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                  
                  npm ERR! code ELIFECYCLEnpm ERR! errno 1
                  
                  npm ERR! @serialport/bindings@9.2.5 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.5 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! /home/iobroker/.npm/_logs/2021-12-01T06_54_07_681Z-debug.log
                  
                  host.iobroker Cannot install iobroker.zigbee@1.6.6: 1
                  
                  ERROR: Process exited with code 25
                  
                  1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active @BananaJoe last edited by arteck

                    @bananajoe es kommt drauf an welche version man hat .. das ist also richtig

                    @David-G dir hats den serialport zerhauen

                    machmal

                    adapter stop

                    dann in der console

                    rm -R /opt/iobroker/node_modules/zigbee-herdsman
                    rm -R /opt/iobroker/node_modules/zigbee-herdsman-converters
                    rm -R /opt/iobroker/node_modules/@serialport
                    rm -R /opt/iobroker/node_modules/serialport
                    rm -R /opt/iobroker/node_modules/iobroker.zigbee
                    

                    zurück zum Admin und dann adapter von GIT installieren https://github.com/ioBroker/ioBroker.zigbee/wiki/GIT-install
                    adapter starten .. warten

                    und nix anderes .. sonst sind die Geräte aus iobroker weg.. nur das was ich geschrieben habe

                    David G. P 2 Replies Last reply Reply Quote 0
                    • David G.
                      David G. @arteck last edited by David G.

                      @arteck sagte in Zigbee startet nicht mehr:

                      @David-G dir hats den serialport zerhauen

                      machmal

                      adapter stop

                      Alle Adapter stop?
                      Zigbee hab ich ja garnicht erst installiert.

                      Darf ich danach ein vorher funktionierendes Backup einspielen, falls die Geräte weg sind?
                      Falls nein, wäre nicht soooo schlimm.
                      Bin mit Zigbee noch am Anfang.

                      EDIT:
                      Hab die Ordner jetzt mit den entsprechenden Befehlen gelöscht.
                      Allerdings gab es nur die mit serialport. Die anderen wurden vermutlich beim Löschen des Adapters entfernt.

                      pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/zigbee-herdsmann
                      rm: das Entfernen von '/opt/iobroker/node_modules/zigbee-herdsmann' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/zigbee-herdsman-converters
                      rm: das Entfernen von '/opt/iobroker/node_modules/zigbee-herdsman-converters' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/@serialport
                      pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/serialport
                      pi@iobroker:~ $ rm -R /opt/iobroker/node_modules/iobroker.zigbee
                      rm: das Entfernen von '/opt/iobroker/node_modules/iobroker.zigbee' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@iobroker:~ $
                      

                      Leider keine Besserung. Adapter lässt sich nicht installieren.

                      Ist glaube auch von den Fehlern her gleich:

                      $ iobroker url https://github.com/ioBroker/ioBroker.zigbee --host iobroker
                      
                      install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714
                      
                      NPM version: 6.14.15npm install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714 --loglevel error --prefix "/opt/iobroker" (System call)
                      
                      Traceback (most recent call last):
                      
                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast
                      
                      gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+
                      
                      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/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                      
                      Traceback (most recent call last):
                      
                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp
                      
                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast
                      
                      gyp ERR! configure error
                      
                      gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+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/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                      
                      npm ERR! code ELIFECYCLEnpm ERR! errno 1
                      
                      npm ERR! @serialport/bindings@9.2.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                      
                      npm ERR! Exit status 1
                      
                      npm ERR!
                      
                      npm ERR! Failed at the @serialport/bindings@9.2.7 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! /home/iobroker/.npm/_logs/2021-12-01T14_54_32_040Z-debug.log
                      
                      host.iobroker Cannot install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714: 1
                      
                      ERROR: Process exited with code 25
                      

                      EDIT 2:
                      Hab einen Adapter der jetzt regelmäßig abstürzt.
                      Scheinbar hat der auch ein Problem mit den bindings

                      TypeError: this.getSpecialValues is not a function at Object.formatBinding (/opt/iobroker/node_modules/iobroker.lovelace/lib/bindings.js:168:42) at /opt/iobroker/node_modules/iobroker.lovelace/lib/server.js:2582:50 at runNextTicks (internal/process/task_queues.js:60:5) at processImmediate (internal/timers.js:437:9)
                      

                      Mittlerweile hat sich die Fehlermeldung geändert:

                      $ iobroker url https://github.com/ioBroker/ioBroker.zigbee --host iobroker
                      
                      install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714
                      
                      NPM version: 6.14.15
                      
                      npm install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714 --loglevel error --prefix "/opt/iobroker" (System call)
                      
                      Traceback (most recent call last):
                      
                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast
                      
                      gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                      
                      gyp ERR! System Linux 5.10.63-v7l+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/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                      
                      Traceback (most recent call last):
                      
                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module> import gyp File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module> import gyp.input File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module> import astImportError: No module named ast
                      
                      gyp ERR! configure error
                      
                      gyp ERR! stack Error: `gyp` failed with exit code: 1
                      
                      gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack at ChildProcess.emit (events.js:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+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/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                      
                      npm ERR! code ELIFECYCLEnpm ERR! errno 1
                      
                      npm ERR! @serialport/bindings@9.2.7 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                      
                      npm ERR! Exit status 1
                      
                      npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.7 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! /home/iobroker/.npm/_logs/2021-12-01T18_42_47_410Z-debug.log
                      
                      host.iobroker Cannot install ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714: 1
                      
                      ERROR: Process exited with code 25
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @David G. last edited by

                        @david-g

                        Warum eigentlich die Version aus git?
                        Nimm was aus den Repos.

                        David G. 1 Reply Last reply Reply Quote 0
                        • David G.
                          David G. @Thomas Braun last edited by

                          @thomas-braun

                          Macht keinen Unterschied vom Fehlerbild.
                          Wollte nicht direkt nachdem ich mit Zigbee anfange so einen großen Versionssorung machen.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @David G. last edited by Thomas Braun

                            @david-g

                            ?

                            Die Version aus git ist die 'böse', die kleine Kätzchen fressen kann.
                            Gerade als einstieg nimmt man eine Version aus stable. Testen kannst du dann später.

                            iobroker add zigbee 
                            

                            liefert?

                            David G. 2 Replies Last reply Reply Quote 0
                            • David G.
                              David G. @Thomas Braun last edited by

                              @thomas-braun

                              Hab sie genommen weil einige hier im Forum die Produktiv nutzen und es scheinbar keine Probleme gibt.
                              Hoffe mal, mein Problem liegt nicht daran.

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @David G. last edited by

                                @david-g

                                git-Versionen sind nie produktiv.

                                David G. arteck 2 Replies Last reply Reply Quote 0
                                • David G.
                                  David G. @Thomas Braun last edited by David G.

                                  @thomas-braun

                                  Okay, verstanden.
                                  Jedoch wäre es schön jetzt wieder auf das ursprüngliche Thema zu kommen.

                                  EDIT: Hab eben deinen Befehl übersehen. Teste ich grad.

                                  1 Reply Last reply Reply Quote 0
                                  • David G.
                                    David G. @Thomas Braun last edited by David G.

                                    @thomas-braun sagte in Zigbee startet nicht mehr:

                                    @david-g

                                    iobroker add zigbee 
                                    

                                    liefert?

                                    pi@iobroker:~ $ iobroker add zigbee
                                    NPM version: 6.14.15
                                    npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                                    Traceback (most recent call last):
                                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module>
                                        import gyp
                                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module>
                                        import gyp.input
                                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module>
                                        import ast
                                    ImportError: No module named ast
                                    gyp ERR! configure error
                                    gyp ERR! stack Error: `gyp` failed with exit code: 1
                                    gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                    gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                                    gyp ERR! System Linux 5.10.63-v7l+
                                    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/bindings
                                    gyp ERR! node -v v14.18.2
                                    gyp ERR! node-gyp -v v5.1.0
                                    gyp ERR! not ok
                                    Traceback (most recent call last):
                                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module>
                                        import gyp
                                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module>
                                        import gyp.input
                                      File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module>
                                        import ast
                                    ImportError: No module named ast
                                    gyp ERR! configure error
                                    gyp ERR! stack Error: `gyp` failed with exit code: 1
                                    gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                    gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                                    gyp ERR! System Linux 5.10.63-v7l+
                                    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/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindings
                                    gyp ERR! node -v v14.18.2
                                    gyp ERR! node-gyp -v v5.1.0
                                    gyp ERR! not ok
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! @serialport/bindings@9.0.4 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the @serialport/bindings@9.0.4 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!     /home/iobroker/.npm/_logs/2021-12-01T20_54_28_658Z-debug.log
                                    host.iobroker Cannot install iobroker.zigbee@1.5.6: 1
                                    pi@iobroker:~ $
                                    

                                    Anbei das erwähnte log aus Zeile 51.
                                    2021-12-01T20_54_28_658Z-debug.log

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @David G. last edited by

                                      @david-g
                                      Mach den Cache mal leer:

                                      cd /opt/iobroker
                                      npm cache clean --force
                                      
                                      David G. 1 Reply Last reply Reply Quote 0
                                      • David G.
                                        David G. @Thomas Braun last edited by David G.

                                        @thomas-braun

                                        Leider nichts

                                        pi@iobroker:~ $ cd /opt/iobroker
                                        pi@iobroker:/opt/iobroker $ npm cache clean --force      npm WARN using --force I sure hope you know what you are doing.
                                        pi@iobroker:/opt/iobroker $ iobroker add zigbee
                                        NPM version: 6.14.15
                                        npm install iobroker.zigbee@1.5.6 --loglevel error --prefix "/opt/iobroker" (System call)
                                        Traceback (most recent call last):
                                          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module>
                                            import gyp
                                          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module>
                                            import gyp.input
                                          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module>
                                            import ast
                                        ImportError: No module named ast
                                        gyp ERR! configure error
                                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                                        gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                                        gyp ERR! System Linux 5.10.63-v7l+
                                        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/bindings
                                        gyp ERR! node -v v14.18.2
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp ERR! not ok
                                        Traceback (most recent call last):
                                          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module>
                                            import gyp
                                          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module>
                                            import gyp.input
                                          File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module>
                                            import ast
                                        ImportError: No module named ast
                                        gyp ERR! configure error
                                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                                        gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                                        gyp ERR! System Linux 5.10.63-v7l+
                                        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/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/@serialport/bindings
                                        gyp ERR! node -v v14.18.2
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp ERR! not ok
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! @serialport/bindings@9.0.4 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the @serialport/bindings@9.0.4 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!     /home/iobroker/.npm/_logs/2021-12-01T21_26_11_036Z-debug.log
                                        host.iobroker Cannot install iobroker.zigbee@1.5.6: 1
                                        pi@iobroker:/opt/iobroker $
                                        

                                        Auch ein

                                        npm rebuild
                                        

                                        hat nichts gebracht.

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @David G. last edited by

                                          @david-g

                                          cd /opt/iobroker
                                          npm ls
                                          
                                          David G. 1 Reply Last reply Reply Quote 0
                                          • David G.
                                            David G. @Thomas Braun last edited by

                                            @thomas-braun

                                            Sprengt leider, was ich hier posten darf.
                                            Hab es als txt angegangen.

                                            npm ls.txt

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            873
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            32
                                            1252
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo