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.
    • 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
                                      • Thomas Braun
                                        Thomas Braun Most Active @David G. last edited by

                                        @david-g

                                        Da stimmt was mit irgendeinem vis-Zeug nicht.
                                        Mir fällt aber nix mehr dazu ein. Außer ZigBee komplett rauswerfen und nach einem Neustart noch mal ins System ziehen.

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

                                          @thomas-braun

                                          Okay,

                                          danke für deine Unterstützung.
                                          Zigbee hatte ich schonmal komplett runter geworfen (Instanz gelöscht und Adapter über den Papierkorb gelöscht).

                                          Ggf werde ich am Wochenende das System neu aufsetzen.
                                          Mal sehen, ob ich sql und nut wieder konfiguriert bekomme. Da hatte ich was Probleme mit 😅

                                          EDIT:
                                          Das System läuft jetzt wieder.
                                          Mache ca alle 3 Monate ein Image auf eine SD-Karte.
                                          Hab ich zurück auf meine SSD gespielt und das Backup durchlaufen lassen.

                                          Hätte den Fehler zwar gerne gefunden, auch um zu sehen woran es nun lag, jedoch war es mir jetzt wichtiger, dass das System wieder läuft.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            Philipp.Schlegel @arteck last edited by

                                            @arteck

                                            Hi, tatsächlich trifft mich dasselbe Problem. Der FI flog raus, sofortiger Shutdown, nach Neustart startet der Adapter nicht mehr vollständig. LOG sieht für mich ebenso nach fehlerhaftem Serialport aus:

                                            
                                            zigbee.0	2021-12-02 08:04:51.703	error	Error herdsman start
                                            
                                            zigbee.0	2021-12-02 08:04:51.702	error	Failed to start Zigbee
                                            
                                            zigbee.0	2021-12-02 08:04:51.702	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                                            
                                            zigbee.0	2021-12-02 08:04:51.465	info	Installed Version: ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714
                                            
                                            zigbee.0	2021-12-02 08:04:51.419	info	Starting Zigbee npm ...
                                            
                                            zigbee.0	2021-12-02 08:04:51.417	info	Try to reconnect. 1 attempts left
                                            
                                            zigbee.0	2021-12-02 08:04:41.415	error	Error herdsman start
                                            
                                            zigbee.0	2021-12-02 08:04:41.414	error	Failed to start Zigbee
                                            
                                            zigbee.0	2021-12-02 08:04:41.413	error	Starting zigbee-herdsman problem : "network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby"
                                            host.RaspberryPi4IoBroker-Main
                                            
                                            zigbee.0	2021-12-02 08:04:25.504	info	instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                            
                                            zigbee.0	2021-12-02 08:03:36.377	info	Installed Version: ioBroker/ioBroker.zigbee#5149bcb2392471287f6a60f855ffe690d74da714
                                            
                                            zigbee.0	2021-12-02 08:03:35.829	info	Starting Zigbee npm ...
                                            
                                            zigbee.0	2021-12-02 08:03:35.664	info	starting. Version 1.6.7 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.18.2, js-controller: 3.3.21
                                            
                                            zigbee.0	2021-12-02 08:03:35.632	info	Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                            

                                            An Deine beschriebenen Schritte des Löschens von iobroker.zigbee/serialport/@serialport/zigbee-herdsman-converters/zigbee-herdsman sowie Neuinstallation von GitHub habe ich schon versucht. Das Ergebnis ist immer analog dem Fehlerbild oben.

                                            Hat noch jemand eine Idee?

                                            Danke und beste Grüße!
                                            Phil

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            910
                                            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