Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. ZigBee Adapter nach Stromausfall nicht mehr Grün

    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 Adapter nach Stromausfall nicht mehr Grün

    This topic has been deleted. Only users with topic management privileges can see it.
    • Creaven
      Creaven @Thomas Braun last edited by

      @thomas-braun Ja leider hab ich da eine nicht so passende Version installiert gehabt. Wie bekomm ich die Fehler den weg?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Creaven last edited by

        @creaven

        Bei der Masse? Keine Ahnung...

        Creaven 1 Reply Last reply Reply Quote 0
        • Creaven
          Creaven @Thomas Braun last edited by

          @thomas-braun Glaubst du eine komplette Neuinstallation von npm bringt hier was? Oder besser ein neues Image aufspielen?

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Creaven last edited by

            @creaven

            Was du mal probieren kannst:

            SAUBER! ein nodeJS 16 installieren. In meiner Signatur steht wie es geht.

            Creaven 1 Reply Last reply Reply Quote 0
            • Creaven
              Creaven @Thomas Braun last edited by

              @thomas-braun Danke für deine Anleitung. Folgendes habe ich dadurch festgestellt:

              node -v ergibt: 14.19.3
              nodejs -v ergibt: 16.15.0
              npm -v ergibt: 6.14.17

              Interssanterweise wird mir im ioBroker interface aber folgendes angezeigt:
              19a85026-e995-403b-b17c-bc3786c96005-image.png
              Also noch die alte Version.

              Durch deine Abfrage:

              sudo ln -s /usr/bin/node /usr/bin/nodejs
              uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              
              

              kommt folgendes:

              armv7l
              /usr/bin/nodejs
              /usr/local/bin/node
              /usr/local/bin/npm
              v16.15.0
              v14.19.3
              6.14.17
              iobroker
              /home/iobroker
              Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
              Hit:2 https://repos.influxdata.com/debian buster InRelease                                                       
              Hit:3 http://archive.raspberrypi.org/debian buster InRelease                                                     
              Hit:4 https://deb.nodesource.com/node_14.x buster InRelease                                                      
              Hit:5 https://deb.nodesource.com/node_16.x buster InRelease    
              Reading package lists... Done
              Building dependency tree       
              Reading state information... Done
              All packages are up to date.
              nodejs:
                Installed: 16.15.0-deb-1nodesource1
                Candidate: 16.15.0-deb-1nodesource1
                Version table:
               *** 16.15.0-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
                   14.19.3-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                   10.24.0~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              
              

              Sprich mein node und npm ist im falschen Verzeichnis.

              Seit der Installation ist der Pi auch deutlich langsamer mit der ssh Verbindung und im iobroker geworden.

              Aber die Fehler sind auch weniger:

              npm ERR! extraneous: form-data@2.3.3 /home/iobroker/node_modules/request/node_modules/form-data
              npm ERR! extraneous: @iobroker/adapter-core@2.3.1 /home/iobroker/node_modules/iobroker.shelly/node_modules/@iobroker/adapter-core
              npm ERR! extraneous: es6-symbol@3.1.1 /home/iobroker/node_modules/es6-set/node_modules/es6-symbol
              npm ERR! extraneous: pump@2.0.1 /home/iobroker/node_modules/pumpify/node_modules/pump
              npm ERR! extraneous: debug@4.1.1 /home/iobroker/node_modules/mqtt-packet/node_modules/debug
              npm ERR! extraneous: safe-buffer@5.1.2 /home/iobroker/node_modules/readable-stream/node_modules/safe-buffer
              npm ERR! extraneous: safe-buffer@5.1.2 /home/iobroker/node_modules/string_decoder/node_modules/safe-buffer
              npm ERR! extraneous: readable-stream@3.6.0 /home/iobroker/node_modules/split2/node_modules/readable-stream
              npm ERR! extraneous: safe-buffer@5.1.2 /home/iobroker/node_modules/ws/node_modules/safe-buffer
              npm ERR! extraneous: debug@2.6.9 /home/iobroker/node_modules/coap/node_modules/debug
              npm ERR! extraneous: debug@2.2.0 /home/iobroker/node_modules/node-rest-client/node_modules/debug
              npm ERR! extraneous: xmlbuilder@11.0.1 /home/iobroker/node_modules/xml2js/node_modules/xmlbuilder
              

              Der Zigbee Adapter geht leider immernoch nicht.

              Vermutlich wird nur ein altes Image von vor dem Stromausfall helfen oder?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Creaven last edited by

                @creaven sagte in ZigBee Adapter nach Stromausfall nicht mehr Grün:

                Sprich mein node und npm ist im falschen Verzeichnis.

                Dann räum es halt auf. Steht ja drin wie man das macht.

                Creaven 1 Reply Last reply Reply Quote 0
                • Creaven
                  Creaven @Thomas Braun last edited by

                  @thomas-braun Mit sauberen Node, Nodejs und npm funktioniert der Adapter nun endlich wieder.

                  Vielen Dank für eure Hilfen!

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Creaven last edited by

                    @creaven

                    Wie schaut jetzt

                    uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    cd /opt/iobroker 
                    npm ls | grep ERR
                    

                    aus?

                    Creaven 1 Reply Last reply Reply Quote 0
                    • Creaven
                      Creaven @Thomas Braun last edited by

                      @thomas-braun said in ZigBee Adapter nach Stromausfall nicht mehr Grün:

                      uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                      uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      armv7l
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v16.15.0
                      v16.15.0
                      8.5.5
                      iobroker
                      /home/iobroker
                      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                  
                      Hit:3 https://repos.influxdata.com/debian buster InRelease                                                       
                      Hit:4 https://deb.nodesource.com/node_14.x buster InRelease                                                      
                      Hit:5 https://deb.nodesource.com/node_16.x buster InRelease                                                      
                      Reading package lists... Done                                   
                      Building dependency tree       
                      Reading state information... Done
                      All packages are up to date.
                      nodejs:
                        Installed: 16.15.0-deb-1nodesource1
                        Candidate: 16.15.0-deb-1nodesource1
                        Version table:
                       *** 16.15.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                              100 /var/lib/dpkg/status
                           14.19.3-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      

                      für "npm ls | grep ERR" wird nichts ausgegeben.

                      Danke dir für die Anleitung und Hilfe.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Creaven last edited by

                        @creaven
                        Okay, dann lass künftig die Finger von 'wilden' Installationen von nodejs und npm. Die beiden Pakete werden AUSSCHLIESSLICH über den Paketmanager angepackt.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        620
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        5
                        35
                        1264
                        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