Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Beta Test js-controller 3.0.x auf GitHub

    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

    Beta Test js-controller 3.0.x auf GitHub

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

      Ich habe den 3.0.6 installiert und dabei auch gleich node.js auf v12.16.2 hochgezogen. Danach hatte ich zwei Probleme:

      • Der rflink-Adapter konnte keinen Serial-Port finden. Auch eine Neuinstallation des Adapters hat nicht geholfen. Dieses Problem konnte ich dann durch folgenden Befehl im iobroker-Verzeichnis lösen (hat halt dann rund 15 Minuten gedauert alle Adapter neu zu installieren):
      node reinstall.js
      
      • Pushover v1.2.3 funktioniert nicht. Die alte v.1.1.1 hingegen schon. Folgender Fehler im Log beim Versenden einer Nachricht (nicht beim Adapterstart):
      2020-04-12 11:32:47.320 - error: pushover.0 (9266) uncaught exception: application token is invalid
      2020-04-12 11:32:47.322 - error: pushover.0 (9266) Error: application token is invalid
      at Pushover.errors (/opt/iobroker/node_modules/pushover-notifications/lib/pushover.js:146:13)
      at IncomingMessage. (/opt/iobroker/node_modules/pushover-notifications/lib/pushover.js:250:12)
      at IncomingMessage.emit (events.js:322:22)
      at endReadableNT (_stream_readable.js:1187:12)
      at processTicksAndRejections (internal/process/task_queues.js:84:21)
      2020-04-12 11:32:47.829 - info: pushover.0 (9266) terminating
      2020-04-12 11:32:47.830 - info: pushover.0 (9266) Terminated (NO_ERROR): Without reason
      

      Ob es am Controller oder an node.js liegt? Vermutlich an node.js (in Verbindung mit den Adaptern).

      foxriver76 apollon77 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @apollon77 last edited by sigi234

        @apollon77
        @Homer-J
        Das Problem mit dem TR-064 habe ich jetzt auch, nach ausschalten der Anruflisten läuft er wieder.

        Ok, ist bei mir auch beim tr-064 und der Adapter springt von Rot auf Grün und zurück.

        tr-064.0	2020-04-12 11:44:04.779	error	at Parser.exports.Parser.Parser.parseString (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\xml2js\lib\parser.js:323:31)
        tr-064.0	2020-04-12 11:44:04.779	error	at SAXParser.write (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\sax\lib\sax.js:1436:13)
        tr-064.0	2020-04-12 11:44:04.779	error	at closeTag (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\sax\lib\sax.js:889:7)
        tr-064.0	2020-04-12 11:44:04.779	error	at emitNode (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\sax\lib\sax.js:629:5)
        tr-064.0	2020-04-12 11:44:04.779	error	at emit (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\sax\lib\sax.js:624:35)
        tr-064.0	2020-04-12 11:44:04.779	error	at SAXParser.onclosetag (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\xml2js\lib\parser.js:262:26)
        tr-064.0	2020-04-12 11:44:04.779	error	at Parser.emit (events.js:198:13)
        tr-064.0	2020-04-12 11:44:04.779	error	at Parser.<anonymous> (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\node_modules\xml2js\lib\parser.js:304:18)
        tr-064.0	2020-04-12 11:44:04.779	error	at xmlParser.parseString (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\lib\calllist.js:53:67)
        tr-064.0	2020-04-12 11:44:04.779	error	at getHttpData (C:\Program Files\iobroker\Test\node_modules\iobroker.tr-064\lib\calllist.js:272:20)
        tr-064.0	2020-04-12 11:44:04.779	error	(4280) TypeError: systemData.save is not a function
        tr-064.0	2020-04-12 11:44:04.778	error	(4280) uncaught exception: systemData.save is not a function
        
        1 Reply Last reply Reply Quote 0
        • foxriver76
          foxriver76 Developer @Dr. Bakterius last edited by

          @Dr-Bakterius pushover brauchst du die Version von GitHub 1.2.4

          Dr. Bakterius Homer.J. 2 Replies Last reply Reply Quote 0
          • D
            deta Most Active last edited by

            Hallo,
            hab gerade auch das Update auf 3.0 gemacht, funktioniert zwar alles, habe dennoch ein paar Fehler bei der Install gehabt, vielleicht könnt Ihr mir da bitte mal helfen, diese zu beseitigen.

            Hier das Install..

            root@rock:/opt/iobroker# npm install ioBroker/ioBroker.js-controller
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            
            > iobroker.js-controller@3.0.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
            > node lib/preinstallCheck.js
            
            NPM version: 6.14.4
            
            > sharp@0.24.1 install /opt/iobroker/node_modules/sharp
            > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
            
            ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.0
            info sharp Attempting to build from source via node-gyp but this may fail due to the above error
            info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
            make: Entering directory '/opt/iobroker/node_modules/sharp/build'
              TOUCH Release/obj.target/libvips-cpp.stamp
              CXX(target) Release/obj.target/sharp/src/common.o
            In file included from ../src/common.cc:25:0:
            /usr/include/vips/vips8:35:25: fatal error: glib-object.h: No such file or directory
             #include <glib-object.h>
                                     ^
            compilation terminated.
            sharp.target.mk:127: recipe for target 'Release/obj.target/sharp/src/common.o' failed
            make: *** [Release/obj.target/sharp/src/common.o] Error 1
            make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
            gyp ERR! build error 
            gyp ERR! stack Error: `make` failed with exit code: 2
            gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)
            gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
            gyp ERR! System Linux 4.4.192-rockchip64
            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/sharp
            gyp ERR! node -v v10.20.0
            gyp ERR! node-gyp -v v5.1.0
            gyp ERR! not ok 
            
            > iobroker.js-controller@3.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
            > node iobroker.js setup first
            
            object system.certificates updated
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/@abandonware/.noble.DELETE/package.json'
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/unix-dgram/package.json'
            npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.24.1 (node_modules/sharp):
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.24.1 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
            
            + iobroker.js-controller@3.0.6
            updated 1 package and audited 31342 packages in 145.011s
            
            16 packages are looking for funding
              run `npm fund` for details
            
            found 171 vulnerabilities (167 low, 1 moderate, 3 high)
              run `npm audit fix` to fix them, or `npm audit` for details
            
            

            Das bekomme ich nicht in Griff..

            Danke schon mal

            cu Deta

            mikeal created this issue in request/request

            open Request’s Past, Present and Future #3142

            AlCalzone 1 Reply Last reply Reply Quote 0
            • Dr. Bakterius
              Dr. Bakterius Most Active @foxriver76 last edited by

              @foxriver76 sagte in Beta Test js-controller 3.0.x auf GitHub:

              @Dr-Bakterius pushover brauchst du die Version von GitHub 1.2.4

              Danke, schon gemerkt. 😊

              1 Reply Last reply Reply Quote 0
              • Homer.J.
                Homer.J. @foxriver76 last edited by

                @foxriver76 👍 läuft wieder.

                1 Reply Last reply Reply Quote 0
                • foxriver76
                  foxriver76 Developer last edited by

                  tr064 schaue ich dann an ob Controller was kaputt gemacht hat oder tr-064 was net passt.

                  1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer @deta last edited by

                    @deta sagte in Beta Test js-controller 3.0.x auf GitHub:

                    + iobroker.js-controller@3.0.6
                    updated 1 package

                    Alles gut!

                    D 1 Reply Last reply Reply Quote 0
                    • BBTown
                      BBTown last edited by BBTown

                      Sodele, ich habe die v3.0.6 auch einmal zusammen mit node.js v12.16.2 installiert.
                      Die Installation verlief fehlerfrei, alle Adapter sind grün! 👍

                      In den Logs habe ich zum Einen die hier bereits erwähnte Warnung
                      adapter.objects.getObjectView is deprecated ...
                      Bei mir kommen diese wiederkehrend vom iot.0 und vom web.0 Adapter sowie einmalig vom admin.0

                      Vom broadlink2.0 Adapter erhalte ich wiederholt die Warnung:
                      State value to set is invalid for broadlink2.0.RMproWohnzimmer.Temperature: The state contains the forbidden properties user!

                      Beim Start des iot.0 Adapter kommen dann noch diese Meldungen:

                      
                      iot.0	2020-04-12 12:29:17.324	warn	(2413) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
                      iot.0	2020-04-12 12:29:17.281	warn	(2413) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
                      iot.0	2020-04-12 12:29:17.143	warn	(2413) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
                      iot.0	2020-04-12 12:29:16.779	warn	(2413) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
                      iot.0	2020-04-12 12:29:16.779	warn	(2413) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
                      iot.0	2020-04-12 12:29:16.771	warn	the module (for instance, using `npm rebuild` or `npm install`).
                      iot.0	2020-04-12 12:29:16.771	warn	NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                      iot.0	2020-04-12 12:29:16.771	warn	NODE_MODULE_VERSION 64. This version of Node.js requires
                      iot.0	2020-04-12 12:29:16.771	warn	was compiled against a different Node.js version using
                      iot.0	2020-04-12 12:29:16.771	warn	(2413) Cannot initialize getImage: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
                      

                      Ach ja, schöne Ostern an alle 😉

                      apollon77 Dr. Bakterius 2 Replies Last reply Reply Quote 0
                      • D
                        deta Most Active @AlCalzone last edited by

                        @AlCalzone Und die Fehler? mit dem RR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.0
                        Bekomme ich nicht in Griff...

                        Welches ist eigentlich jetzt die aktuelle richtige lauffähige Version vom tr-064 Adapter? Link?
                        Der Spinnt bei mir noch.

                        Und Radar2 bringt im Log Fehler jetzt.

                        AlCalzone apollon77 2 Replies Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @deta last edited by

                          @deta sagte in Beta Test js-controller 3.0.x auf GitHub:

                          Und die Fehler? mit dem RR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.0
                          Bekomme ich nicht in Griff...

                          Für welchen Adapter wird das denn benötigt? Der Controller braucht die nicht, deshalb auch die Erfolgsmeldung am Ende. Hat also mit JS-Controller 3.x nichts zu tun.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            deta Most Active @AlCalzone last edited by

                            @AlCalzone Weis ich leider nicht, der Fehler kommt fast bei jeden Update von Adaptern.

                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @deta last edited by

                              @deta Einen Hinweis könnte folgender Befehl bieten:

                              cd /opt/iobroker
                              npm ls sharp
                              
                              1 Reply Last reply Reply Quote 0
                              • D
                                deta Most Active last edited by

                                ok das kommt

                                iobroker.inst@2.0.2 /opt/iobroker
                                └─┬ iobroker.iot@1.4.2
                                  └── UNMET OPTIONAL DEPENDENCY sharp@~0.24.1
                                
                                
                                

                                Wohl vom iot Adapter Mal da fragen danke oder hast du ne Idee?

                                AlCalzone 1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer @deta last edited by

                                  @deta Ne frag ruhig mal in dem Kontext nach.

                                  1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @Kueppert last edited by

                                    @Kueppert dann müssten die Verzeichnis rechte Schuld sein. Aber support für root Systeme ist so ne Sache 😉

                                    1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @Dr. Bakterius last edited by

                                      @Dr-Bakterius sagte in Beta Test js-controller 3.0.x auf GitHub:

                                      Der rflink-Adapter konnte keinen Serial-Port finden. Auch eine Neuinstallation des Adapters hat nicht geholfen. Dieses Problem konnte ich dann durch folgenden Befehl im iobroker-Verzeichnis lösen (hat halt dann rund 15 Minuten gedauert alle Adapter neu zu installieren):

                                      Ja ich fürchte hier greif das Auto-Rebuild nicht weil das nicht verfügbare Serialport im ersten schritt für Admin abgefangen wird und somit keine Exception fliegt. Was hat das Log genau gesagt?

                                      Dr. Bakterius 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @BBTown last edited by

                                        @BBTown Und tut bewi iot was nicht trotz der meldung? Wenn Du den Adapter beendest sollte er versuchen zu rebuilden. mach mal ... Bzw mehr log bitte 🙂

                                        BBTown 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @deta last edited by

                                          @deta sagte in Beta Test js-controller 3.0.x auf GitHub:

                                          libvips

                                          Wir AlCalzone schon sagt nix vom Controller ... Aber die Meldungbesagt das Du ein Linux Paket in einer minimalen Version brauchst ... versuch mal "apt install libvips-dev" ... kommt da eine >=8.9.0 ?

                                          D 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 last edited by apollon77

                                            Hey All,

                                            habe gerade mal alles gecheckt was seit heute früh auf kam.

                                            Am Ende ist es:

                                            • tr-064 wo @foxriver76 gerade schaut
                                            • serialport bei rflink wo ggf. die Rebuild-Exception nicht fliegt und daher kein Auto Rebuild passiert
                                            • iot mit auch nem Warn wegen nicht rebuild Paketen ... da sollte man mal einen Neustart des Adapters versuchen ob er das dann erkennt und rebuildet.
                                            • pushover 1.2.4 muss noch ins Latest 🙂

                                            Hab ich alles erwischt?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            790
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            39
                                            416
                                            54316
                                            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