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. Error/Bug
  4. Zigbee startet nicht mehr

NEWS

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

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

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

Zigbee startet nicht mehr

Geplant Angeheftet Gesperrt Verschoben Error/Bug
32 Beiträge 5 Kommentatoren 1.8k Aufrufe 5 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.
  • David G.D David G.

    @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 BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #9

    @david-g
    Swap: 999Mi

    Du hast 999MB Swap? Warum das?

    nodeJS auf die letzte Version bringen.

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    David G.D 2 Antworten Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @david-g
      Swap: 999Mi

      Du hast 999MB Swap? Warum das?

      nodeJS auf die letzte Version bringen.

      David G.D Online
      David G.D Online
      David G.
      schrieb am zuletzt editiert von
      #10

      @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....

      Zeigt eure Lovelace-Visualisierung klick
      (Auch ideal um sich Anregungen zu holen)

      Meine Tabellen für eure Visualisierung klick

      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @david-g
        Swap: 999Mi

        Du hast 999MB Swap? Warum das?

        nodeJS auf die letzte Version bringen.

        David G.D Online
        David G.D Online
        David G.
        schrieb am zuletzt editiert von
        #11

        @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
        

        Zeigt eure Lovelace-Visualisierung klick
        (Auch ideal um sich Anregungen zu holen)

        Meine Tabellen für eure Visualisierung klick

        1 Antwort Letzte Antwort
        0
        • BananaJoeB 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

          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          schrieb am zuletzt editiert von arteck
          #12

          @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

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          David G.D P 2 Antworten Letzte Antwort
          0
          • arteckA 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.D Online
            David G.D Online
            David G.
            schrieb am zuletzt editiert von David G.
            #13

            @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
            

            Zeigt eure Lovelace-Visualisierung klick
            (Auch ideal um sich Anregungen zu holen)

            Meine Tabellen für eure Visualisierung klick

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • David G.D 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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #14

              @david-g

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

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              David G.D 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @david-g

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

                David G.D Online
                David G.D Online
                David G.
                schrieb am zuletzt editiert von
                #15

                @thomas-braun

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

                Zeigt eure Lovelace-Visualisierung klick
                (Auch ideal um sich Anregungen zu holen)

                Meine Tabellen für eure Visualisierung klick

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • David G.D David G.

                  @thomas-braun

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

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #16

                  @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?

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  David G.D 2 Antworten Letzte Antwort
                  0
                  • Thomas BraunT 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.D Online
                    David G.D Online
                    David G.
                    schrieb am zuletzt editiert von
                    #17

                    @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.

                    Zeigt eure Lovelace-Visualisierung klick
                    (Auch ideal um sich Anregungen zu holen)

                    Meine Tabellen für eure Visualisierung klick

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • David G.D David G.

                      @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 BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #18

                      @david-g

                      git-Versionen sind nie produktiv.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      David G.D arteckA 2 Antworten Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @david-g

                        git-Versionen sind nie produktiv.

                        David G.D Online
                        David G.D Online
                        David G.
                        schrieb am zuletzt editiert von David G.
                        #19

                        @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.

                        Zeigt eure Lovelace-Visualisierung klick
                        (Auch ideal um sich Anregungen zu holen)

                        Meine Tabellen für eure Visualisierung klick

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT 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.D Online
                          David G.D Online
                          David G.
                          schrieb am zuletzt editiert von David G.
                          #20

                          @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

                          Zeigt eure Lovelace-Visualisierung klick
                          (Auch ideal um sich Anregungen zu holen)

                          Meine Tabellen für eure Visualisierung klick

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • David G.D 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 BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #21

                            @david-g
                            Mach den Cache mal leer:

                            cd /opt/iobroker
                            npm cache clean --force
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            David G.D 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @david-g
                              Mach den Cache mal leer:

                              cd /opt/iobroker
                              npm cache clean --force
                              
                              David G.D Online
                              David G.D Online
                              David G.
                              schrieb am zuletzt editiert von David G.
                              #22

                              @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.

                              Zeigt eure Lovelace-Visualisierung klick
                              (Auch ideal um sich Anregungen zu holen)

                              Meine Tabellen für eure Visualisierung klick

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • David G.D 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 BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #23

                                @david-g

                                cd /opt/iobroker
                                npm ls
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                David G.D 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @david-g

                                  cd /opt/iobroker
                                  npm ls
                                  
                                  David G.D Online
                                  David G.D Online
                                  David G.
                                  schrieb am zuletzt editiert von
                                  #24

                                  @thomas-braun

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

                                  npm ls.txt

                                  Zeigt eure Lovelace-Visualisierung klick
                                  (Auch ideal um sich Anregungen zu holen)

                                  Meine Tabellen für eure Visualisierung klick

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • David G.D David G.

                                    @thomas-braun

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

                                    npm ls.txt

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #25

                                    @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.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    David G.D 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @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.D Online
                                      David G.D Online
                                      David G.
                                      schrieb am zuletzt editiert von David G.
                                      #26

                                      @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.

                                      Zeigt eure Lovelace-Visualisierung klick
                                      (Auch ideal um sich Anregungen zu holen)

                                      Meine Tabellen für eure Visualisierung klick

                                      1 Antwort Letzte Antwort
                                      0
                                      • arteckA 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

                                        P Offline
                                        P Offline
                                        Philipp.Schlegel
                                        schrieb am zuletzt editiert von
                                        #27

                                        @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 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #28

                                          @philipp-schlegel

                                          same panId or extendedPanId

                                          Setz die beiden Werte mal neu.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          P 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

                                          802

                                          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