Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ZIGBEE bleibt rot

    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 bleibt rot

    This topic has been deleted. Only users with topic management privileges can see it.
    • Asgothian
      Asgothian Developer @xlklwr last edited by

      @xlklwr

      erst mal folgendes machen und die Ausgaben posten:

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      

      Zum Node Update, siehe hier:

      https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

      A.

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

        @xlklwr

        Wenn die node-Installation nicht gerade ist, dann würde ich dieses HowTo empfehlen:
        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

        Da wird auch darauf eingegangen, wie man den schrägen Kram ggf. wieder los wird.

        X 1 Reply Last reply Reply Quote 0
        • X
          xlklwr @Asgothian last edited by

          @asgothian

          xlklwr@xlklwr-VPCSB4M9E:/opt/iobroker$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          /usr/bin/nodejs
          v12.20.1
          /usr/bin/node
          v12.20.1
          /usr/bin/npm
          6.14.11
          nodejs:
            Installiert:           12.20.1-1nodesource1
            Installationskandidat: 12.20.1-1nodesource1
            Versionstabelle:
           *** 12.20.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages
                  100 /var/lib/dpkg/status
               8.10.0~dfsg-2ubuntu0.4 500
                  500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
               8.10.0~dfsg-2ubuntu0.2 500
                  500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
               8.10.0~dfsg-2 500
                  500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
          
          
          1 Reply Last reply Reply Quote 0
          • X
            xlklwr @Thomas Braun last edited by

            @thomas-braun Dank - da ich das erst alles neu aufgesetzt hab (bin iobroker Frischling) habe ich hier auch noch keine Updates von vorherigen Version etc. gemacht. Nur beim googeln habe ich jetzt gefunden, dass das Node Module 88 offenbar von Node 15 ist, und hier wurde offenbar das Module zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node gegen kompiliert, es hätte aber gegen Version 72 kompiliert werden sollen, also Node 12, was ich ja korrekterweise installiert habe. Auch ein rebuild und auch install --production in den entsprechenden Ordnern habe ich durchgeführt, keine Änderung. Auch nach kompletter Löschung wie von @Asgothian empfohlen und Neuinstallation wieder das selbe. Node 15 hatte ich hier ja noch nie drauf. Kann ich das irgendwie "manuell" kompilieren, außer mit rebuild oder install --production?

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

              @xlklwr

              Ja, ich habe auch den Eindruck, dass der zigbee-herdsman / serialport oft für Probleme mit den Dependencies sorgt. Ich habe den zigbee-Adapter deswegen bei mir auch vorübergehend rausgeworfen, weil es da immer Trouble gab.

              Eigentlich sollte man das mit

              cd /in/den/ordner/mit/dem/node/modul
              npm rebuild modul
              

              hinkriegen.

              1 Reply Last reply Reply Quote 0
              • R
                rebel85 last edited by

                ich ich ahbe auch probleme mit dem adapter.
                habe schon node.js auf version 15 geupdatet und neustarts gemacht udn hin und her
                versionen sind:
                pi: '1.0.0',
                npm: '7.5.1',
                node: '15.8.0',
                v8: '8.6.395.17-node.23',
                uv: '1.40.0',
                zlib: '1.2.11',
                brotli: '1.0.9',
                ares: '1.17.1',
                modules: '88',
                nghttp2: '1.42.0',
                napi: '7',
                llhttp: '2.1.3',
                openssl: '1.1.1i',
                cldr: '38.1',
                icu: '68.2',
                tz: '2020d',
                unicode: '13.0'

                zigbee adapter ist 1.4.4

                host.PI-4-Horus 2021-02-15 20:16:30.738 error instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                host.PI-4-Horus 2021-02-15 20:16:30.737 error Caught by controller[0]: }
                host.PI-4-Horus 2021-02-15 20:16:30.737 error Caught by controller[0]: ]
                host.PI-4-Horus 2021-02-15 20:16:30.737 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js'
                host.PI-4-Horus 2021-02-15 20:16:30.737 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/seriallist.js',
                host.PI-4-Horus 2021-02-15 20:16:30.736 error Caught by controller[0]: requireStack: [
                host.PI-4-Horus 2021-02-15 20:16:30.736 error Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                host.PI-4-Horus 2021-02-15 20:16:30.736 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:997:19) {
                host.PI-4-Horus 2021-02-15 20:16:30.736 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:813:14)
                host.PI-4-Horus 2021-02-15 20:16:30.735 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:973:32)
                host.PI-4-Horus 2021-02-15 20:16:30.735 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
                host.PI-4-Horus 2021-02-15 20:16:30.735 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
                host.PI-4-Horus 2021-02-15 20:16:30.735 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/lib/seriallist.js:3:25)
                host.PI-4-Horus 2021-02-15 20:16:30.735 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:92:18)
                host.PI-4-Horus 2021-02-15 20:16:30.734 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:997:19)
                host.PI-4-Horus 2021-02-15 20:16:30.734 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:769:27)
                host.PI-4-Horus 2021-02-15 20:16:30.734 error Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
                host.PI-4-Horus 2021-02-15 20:16:30.734 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
                host.PI-4-Horus 2021-02-15 20:16:30.733 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/seriallist.js
                host.PI-4-Horus 2021-02-15 20:16:30.733 error Caught by controller[0]: Require stack:
                host.PI-4-Horus 2021-02-15 20:16:30.733 error Caught by controller[0]: Error: Cannot find module 'zigbee-herdsman/dist/adapter/serialPortUtils'
                host.PI-4-Horus 2021-02-15 20:16:30.733 error Caught by controller[0]: ^
                host.PI-4-Horus 2021-02-15 20:16:30.732 error Caught by controller[0]: throw err;
                host.PI-4-Horus 2021-02-15 20:16:30.732 error Caught by controller[0]: node:internal/modules/cjs/loader:928

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • arteck
                  arteck Developer Most Active last edited by

                  @rebel85 sagte in ZIGBEE bleibt rot:

                  node.js auf version 15

                  ist jetzt nicht dein ernst oder... also entwerder 12 oder 14.. und IMMER GERADE Versionen... dann nochmal probieren

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

                    @rebel85 sagte in ZIGBEE bleibt rot:

                    habe schon node.js auf version 15 geupdatet

                    Fehler. Installier node12.

                    Und Texte immer in CodeTags setzen.

                    1 Reply Last reply Reply Quote 0
                    • R
                      rebel85 @arteck last edited by

                      @arteck okay und was wie woher soll ich das wissen
                      den fehler also die fehler logs hatte ich auch mit node 10.23.3 oder so also gerade undgerade kann nicht sein

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

                        @rebel85
                        Doch kann sein, denn ungerade node-Versionen sind IMMER für Entwickler gedacht. Stable ist zur Zeit node 12 oder 14. Wobei für den ioBroker node12 empfohlen wird.

                        Stutz dem Horus die Flügel und installier node12:

                        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

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

                          @thomas-braun
                          wust ich auch nicht 😉
                          also bitte mal etwas freundlicher wenn man um hilfe fragt und sich erst in google durchsucht und versucht selber das zu lösen weil es vllt. ein versions problem sein kann?
                          mein raspi mit software läuft im auto update modus und das 24/7 so das ich selber aktiv wenig an dem amchen muss und das was drauf ist kahm drauf oder musste drauf bzgl. abhängigkeiten

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

                            @rebel85
                            Node15 kommt nicht von alleine drauf, das muss man aktiv auf das System schaufeln.
                            Übrigens ist deine Umschalttaste defekt.

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

                              @thomas-braun
                              kahm durch meine aktive fehlersuche drauf wie oben gesagt
                              aktiv kanpp 2 stunden bei google gesucht warum der adapter nicht läuft und was evtl. sein kann.

                              habe sourcelist umgestellt

                              aber muss ich nun erst node deinstallieren damit dann die 12 er installiert wird?

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

                                @rebel85
                                Steht im HowTo drin, wie man spezifische Versionen installiert.

                                R 1 Reply Last reply Reply Quote -1
                                • R
                                  rebel85 @Thomas Braun last edited by rebel85

                                  @thomas-braun
                                  sehr hilfreich 👎 wenn man so gleich auf einen los geht der hilfe sucht und gewollt ist es zu lösen

                                  npm ERR! path /home/pi/node_modules/iobroker.js-controller
                                  npm ERR! command failed
                                  npm ERR! command sh -c node iobroker.js setup first

                                  kann der fehler mit sowas zusammen hängen?

                                  wie gesagt aufgefallen wo noch node 10.23.3 aktiv war und es trotzdem die fehler gab, warum auch immer

                                  Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @rebel85 last edited by

                                    @rebel85
                                    Was willst du überhaupt?
                                    Warum soll ich mir mehr Zeit für dein Problem als du selber?

                                    R 1 Reply Last reply Reply Quote -1
                                    • Thomas Braun
                                      Thomas Braun Most Active @rebel85 last edited by

                                      @rebel85 sagte in ZIGBEE bleibt rot:

                                      /home/pi/node_modules

                                      Falsches Verzeichnis. In ~ von pi liegen keine node Module.

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

                                        @thomas-braun naja eigentlich forum regel helfen und einfach zurück ahlten und nciht blöd von der seite anmachen.
                                        sie wissen wohl was wie wo zu lösen ist , ich nicht so aber okay vllt. kann ja wer anders mehr helfen kann ja schlecht sein das ich allein bin , da ja meine hardware erkannt wird und verfügbar ist.

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

                                          @rebel85
                                          Andere Forumsregel:
                                          Ich poste in einer leserlichen Form, damit Helfer sich nicht mit kreativem Schreibstil herumschlagen müssen.

                                          1 Reply Last reply Reply Quote 0
                                          • arteck
                                            arteck Developer Most Active last edited by arteck

                                            Leutz ruhig Blut...

                                            @rebel85 wenn du nicht weiss was du machst dann bleibt mit allem auf Stable und lass das System zur DEINER Sicherheit auch drauf laufen.. ansonsten würde ich dir raten nur das was Empfphlen wird zu installieren (node Version steht in der Doku welche genutzt werden sollte... ok lesen musst du selbst)

                                            wenn dein System im update modus 24/7 läuft dann wundere dich nicht wenn was nicht geht.. ergo solltest schon wissen was du machst.. oder dir jemanden suchen den DU bezahlst der das für dich macht..

                                            ich für mich bin raus hier...hab ja ehh keine Ahnung

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

                                            Support us

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

                                            398
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            73
                                            3612
                                            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