Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test js-controller v2.0.x (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

    Test js-controller v2.0.x (GitHub)

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @darkiop last edited by

      @darkiop wenn du die viele „connection closed“ meinst dann doch. Wenn die 20 Verbindungsversuche rum sind werden alle Kommandos die in der Zeit gewartet haben auf einen Schlag mit einem Fehler beantwortet. Und je nach Adapter werden die dann geloggt. Das wäre ok Weil es ist ja so passiert.

      Gibt nachher noch ein Update was die reconnect delay Synct und auf 5s stellt. Dann sollte es besser zusammenpassen. Melde mich

      1 Reply Last reply Reply Quote 0
      • D
        darkiop Most Active last edited by

        Ja, die meinte ich - das waren ja auch ein paar Tausend ... das Logvon gestern das ich dir geschickt habe hat ja auch ein MB dadurch 😄

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

          Soooo, ich habs jetzt 🙂 (hoffe ich) 2.0.33 auf GitHub. Ich habe alle Testcases meinerseits gecheckt, wäre super wenn Du nochmal könntest.

          Das Update hinterlegt die gleichen Default Reconnection-Delay für States und Objects in der Konfig, was dann jetzt 5 Sekunden sind!
          Bedeutet: Er versucht ca. 90-95 Sekunden zu reconnecten in 5s intervallen, danach (egal ob States oder Objects weg ist) beenden sich Adapter und Controller und restarten. Dann sollte der controller wieder "lauern" bzw alle 30s restarted werden.

          Und ja, wenn die 95s rum sind hagelt es "Connection Close" Meldungen im Log. Würde ich so lassen erstmal. Wenn es zu oft passiert (was es nicht sollte) kann man es erkennen und nicht loggen, aber dann fehlen die Infos das was passiert ...

          Danke für Feedback

          1 Reply Last reply Reply Quote 0
          • D
            darkiop Most Active last edited by

            @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

            Soooo, ich habs jetzt 🙂 (hoffe ich) 2.0.33 auf GitHub. Ich habe alle Testcases meinerseits gecheckt, wäre super wenn Du nochmal könntest.

            Testfall 1:
            master + slave = alive
            master beenden
            nicht wieder starten
            = iobroker-hwr lauert

            2019-10-16 12:45:46.903  - error: host.iobroker-hwr No connection to databases possible, restart                                                                                                                                                                                               
            2019-10-16 12:45:46.912  - info: host.iobroker-hwr iobroker _restart                                                                                                                                                                                                                           
            2019-10-16 12:45:47.467  - info: host.iobroker-hwr iobroker Starting node restart.js                                                                                                                                                                                                           
            2019-10-16 12:45:48.878  - info: host.iobroker-hwr iobroker.js-controller version 2.0.33 js-controller starting                                                                                                                                                                                
            2019-10-16 12:45:48.885  - info: host.iobroker-hwr Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker                                                                                                                                                                                           
            2019-10-16 12:45:48.886  - info: host.iobroker-hwr hostname: iobroker-hwr, node: v10.16.3                                                                                                                                                                                                      
            2019-10-16 12:45:48.888  - info: host.iobroker-hwr ip addresses: 10.3.1.22 fe80::561e:8619:1900:f27                                                                                                                                                                                            
            2019-10-16 12:45:48.892  - debug: host.iobroker-hwr Redis Objects: Use Redis connection: 192.168.1.82:9001
            

            Testfall 2:
            master + slave = alive
            master beenden
            20s warten
            master starten
            = beide wieder verbunden

            Testfall 3:
            master + slave = alive
            redis beenden
            einige Minuten warten, wieder starten
            = Reconnect nach 2min, wieder verbunden

            Testfall 4:
            master + slave = alive
            redis beenden
            paar Sekunden warten
            redis starten
            prüfen ob States die innerhalb der 40s erzeugt werden nach dem starten von redis verfügbar sind

            ┬─[darkiop@odin:~]─[13:12:42]
            ╰─>$ docker stop iobroker-redis

            ┬─[darkiop@odin:~]─[13:13:45]
            ╰─>$ docker start iobroker-redis

            --> Ich habe keine Werte dazwischen. Habe extra die Entprellzeit runtergestellt damit aufjedenfall kommen - sieht man auch nachdem der Redis wieder da war (nach 13:13:51).

            8715ebdb-9550-489f-bc0f-101b40d47556-grafik.png

            Und ja, wenn die 95s rum sind hagelt es "Connection Close" Meldungen im Log. Würde ich so lassen erstmal. Wenn es zu oft passiert (was es nicht sollte) kann man es erkennen und nicht loggen, aber dann fehlen die Infos das was passiert ...

            Die Frage ist dann aber wie groß das Log wird wenn der Redis mal unbemerkt einen Tag oder mehr ausfällt 😄 Nach ein paar Minuten hatte ich schon 8MB reinen Text 🙂

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

              Ich will ja nicht unverschämt klingen.
              Aber könnte man diesen Threat nicht vielleicht schließen?
              Ersatzweise dazu gibt es ja diesen:
              https://forum.iobroker.net/topic/25692/js-controller-2-0-ab-sofort-im-latest-repo?page=1
              Nun muß man sich bei 2 Threats durch wursteln, um (vielleicht) auf die Lösung mancher Probleme zu kommen.

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @MathiasJ last edited by

                @MathiasJ
                Nö weil hier ist Beta, der andere eigentlich latest 😜

                MathiasJ 1 Reply Last reply Reply Quote 1
                • MathiasJ
                  MathiasJ @Jan1 last edited by

                  @Jan1
                  Der damalige Beta, um den es hier geht, ist jetzt lastet, oder sehe ich das falsch?

                  J apollon77 2 Replies Last reply Reply Quote 0
                  • J
                    Jan1 @MathiasJ last edited by Jan1

                    @MathiasJ
                    So sollte das eigentlich sein, wobei Du ja schon gemerkt hast, dass alles kreuz und quer gepostet wird.
                    apollon77 hat da ein paar mal versucht die User in den richtigen Thread zu leiten, hat aber anscheinend aufgegeben.😄

                    Beta ist immer das was man über NPM installiert und was man "normal" updatet ist latest. Deshalb steht der NPM Befehl auch nur im Beta Thread im ersten Post.

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

                      @darkiop Vielen Dank, also nehmen wir die 2.0.33 als nächste Latest Version.

                      Ich denke mal: Jemand der einen Tag kein ioBroker hat (und das Log ist ja nur einmalig so voll, dann sind es die 20-30 Teilen alle 30Sekunden ... Aber ja ... mal schauen

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

                        @MathiasJ Ich nutze diesen Thread für Beta Versionen, die - wie korrekt erwähnt - per GitHub direkt installiert werden. Auch nach dem Release der 2.0.25 gab es noch fixes die zur 2.0.29 geführt haben und jetzt als nächstes kommt die 2.0.33 auf NPM ... Alle Versionen dzwischen waren Betas die hier gecheckt wurden.

                        1 Reply Last reply Reply Quote 0
                        • D
                          darkiop Most Active last edited by

                          @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                          Vielen Dank, also nehmen wir die 2.0.33 als nächste Latest Version.

                          Keine Ursache! 🙂

                          1 Reply Last reply Reply Quote 0
                          • E
                            e-i-k-e last edited by

                            Guten Abend zusammen,

                            habe soeben meine Slave von 2.0.25 auf 2.0.33 gebracht.

                            Folgendes habe ich im Terminal entdecken können.

                            make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                            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_module                 s/node-gyp/lib/build.js:196:23)
                            gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                 s.js:248:12)
                            gyp ERR! System Linux 4.19.66-v7+
                            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                 p/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                            gyp ERR! node -v v10.16.3
                            gyp ERR! node-gyp -v v5.0.3
                            gyp ERR! not ok
                            ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketC                 ontext*)’:
                            ../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8                 ::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is de                 precated [-Wdeprecated-declarations]
                            
                            

                            anbei das log-file.
                            iobroker.2019-10-16.log
                            syslog
                            Das Update habe ich gegen 22.30 Uhr gemacht.

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @e-i-k-e last edited by

                              @e-i-k-e Die üblichen unix-dgram Compile Fehler ... Tut alles?

                              1 Reply Last reply Reply Quote 0
                              • E
                                e-i-k-e last edited by

                                Bis jetzt läuft alles. 👍

                                Bei diesem Slave hatte ich auch schon des öfters Probleme mit dem rpi-Adapter. Ist dies ein Indiz dafür?

                                Komplette System soeben auf 2.0.33 redis/redis. Soll noch etwas bestimmtest getestet werden?

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @e-i-k-e last edited by

                                  @e-i-k-e Ja doch epoll ist glaube was was der rpi braucht.

                                  Ansonsten nichts besonderes mehr zu testen

                                  D 1 Reply Last reply Reply Quote 1
                                  • D
                                    darkiop Most Active @apollon77 last edited by

                                    @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                    Ansonsten nichts besonderes mehr zu testen

                                    Läuft wie geschmiert die 2.0.33 🙂

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

                                      Und weils so schön ist 2.0.34 auf GitHub 😉

                                      Die 2.0.33 hatte ein Problem "custom" state Settings (History und so) bei nutzung von "file" für Objekte wieder zu deaktivieren 😉

                                      D sigi234 2 Replies Last reply Reply Quote 0
                                      • D
                                        darkiop Most Active @apollon77 last edited by darkiop

                                        @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                        Die 2.0.33 hatte ein Problem "custom" state Settings (History und so) bei nutzung von "file" für Objekte wieder zu deaktivieren

                                        Alla Hopp, dann werf ich mal die Skripte zum Updaten an 🙂

                                        1 Reply Last reply Reply Quote 1
                                        • sigi234
                                          sigi234 Forum Testing Most Active @apollon77 last edited by sigi234

                                          @apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:

                                          Und weils so schön ist 2.0.34 auf GitHub 😉

                                          Die 2.0.33 hatte ein Problem "custom" state Settings (History und so) bei nutzung von "file" für Objekte wieder zu deaktivieren 😉

                                          Host "Medion(Test)" is up to date ?
                                          Edit:
                                          Dauerte ein wenig.

                                          1 Reply Last reply Reply Quote 0
                                          • smartboart
                                            smartboart last edited by smartboart

                                            hi, hab immer mal wieder nen System Restart. Bemerke ich nur wegen der Telegramm Meldung & iobroker started telegramm. Hier der log dazu..
                                            Alle Versionen latest und Aktuell...Jemand ne idee


                                            2019-10-18 14:16:40.126 - info: host.ioBroker-Rock iobroker.js-controller version 2.0.34 js-controller starting
                                            2019-10-18 14:16:40.144 - info: host.ioBroker-Rock Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
                                            2019-10-18 14:16:40.146 - info: host.ioBroker-Rock hostname: ioBroker-Rock, node: v10.16.3
                                            2019-10-18 14:16:40.150 - info: host.ioBroker-Rock ip addresses: fe80::e118:30d6:9c4:76da
                                            2019-10-18 14:16:40.368 - info: host.ioBroker-Rock connected to Objects and States
                                            2019-10-18 14:16:40.457 - error: host.ioBroker-Rock uncaught exception: addMembership ENODEV
                                            2019-10-18 14:16:40.459 - error: host.ioBroker-Rock Error: addMembership ENODEV
                                            at Socket.addMembership (dgram.js:581:11)
                                            at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/multihostServer.js:258:20)
                                            at Socket.emit (events.js:198:13)
                                            at startListening (dgram.js:128:10)
                                            at state.handle.lookup (dgram.js:249:7)
                                            at process._tickCallback (internal/process/next_tick.js:63:19)
                                            2019-10-18 14:16:40.473 - info: host.ioBroker-Rock iobroker _restart
                                            2019-10-18 14:16:41.696 - info: host.ioBroker-Rock 38 instances found
                                            2019-10-18 14:16:41.857 - info: host.ioBroker-Rock starting 26 instances
                                            2019-10-18 14:16:41.945 - info: host.ioBroker-Rock instance system.adapter.admin.0 started with pid 1333
                                            2019-10-18 14:16:41.952 - info: host.ioBroker-Rock terminated
                                            2019-10-18 14:16:43.868 - info: host.ioBroker-Rock iobroker.js-controller version 2.0.34 js-controller starting
                                            2019-10-18 14:16:43.884 - info: host.ioBroker-Rock Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
                                            2019-10-18 14:16:43.886 - info: host.ioBroker-Rock hostname: ioBroker-Rock, node: v10.16.3
                                            2019-10-18 14:16:43.890 - info: host.ioBroker-Rock ip addresses: fe80::e118:30d6:9c4:76da
                                            2019-10-18 14:16:44.067 - info: host.ioBroker-Rock connected to Objects and States
                                            2019-10-18 14:16:44.148 - error: host.ioBroker-Rock uncaught exception: addMembership ENODEV
                                            2019-10-18 14:16:44.150 - error: host.ioBroker-Rock Error: addMembership ENODEV
                                            at Socket.addMembership (dgram.js:581:11)
                                            at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/multihostServer.js:258:20)
                                            at Socket.emit (events.js:198:13)
                                            at startListening (dgram.js:128:10)
                                            at state.handle.lookup (dgram.js:249:7)
                                            at process._tickCallback (internal/process/next_tick.js:63:19)
                                            2019-10-18 14:16:44.163 - info: host.ioBroker-Rock iobroker _restart
                                            2019-10-18 14:16:45.442 - info: host.ioBroker-Rock 38 instances found
                                            2019-10-18 14:16:45.543 - info: host.ioBroker-Rock starting 26 instances
                                            2019-10-18 14:16:45.598 - info: host.ioBroker-Rock instance system.adapter.admin.0 started with pid 1537
                                            2019-10-18 14:16:45.604 - info: host.ioBroker-Rock terminated
                                            2019-10-18 14:16:45.616 - info: host.ioBroker-Rock iobroker Starting node restart.js
                                            2019-10-18 14:16:47.422 - info: host.ioBroker-Rock iobroker.js-controller version 2.0.34 js-controller starting
                                            2019-10-18 14:16:47.437 - info: host.ioBroker-Rock Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker
                                            2019-10-18 14:16:47.439 - info: host.ioBroker-Rock hostname: ioBroker-Rock, node: v10.16.3
                                            2019-10-18 14:16:47.443 - info: host.ioBroker-Rock ip addresses: 192.168.1.42 fe80::e118:30d6:9c4:76da
                                            2019-10-18 14:16:47.622 - info: host.ioBroker-Rock connected to Objects and States
                                            2019-10-18 14:16:47.702 - warn: host.ioBroker-Rock Multihost discovery server: service started on 0.0.0.0:50005
                                            2019-10-18 14:16:48.815 - info: host.ioBroker-Rock 38 instances found
                                            2019-10-18 14:16:48.907 - info: host.ioBroker-Rock starting 26 instances
                                            2019-10-18 14:16:48.980 - info: host.ioBroker-Rock instance system.adapter.admin.0 started with pid 1566
                                            2019-10-18 14:17:10.510 - info: host.ioBroker-Rock instance system.adapter.backitup.0 started with pid 1581
                                            2019-10-18 14:17:14.503 - info: host.ioBroker-Rock instance system.adapter.broadlink2.0 started with pid 1589
                                            2019-10-18 14:17:18.499 - info: host.ioBroker-Rock instance system.adapter.email.0 started with pid 1612
                                            2019-10-18 14:17:22.498 - info: host.ioBroker-Rock instance system.adapter.fritzbox.0 started with pid 1635
                                            2019-10-18 14:17:24.752 - warn: broadlink2.0 (1589) sendT1Packed error 'socket not created/bound or closed or waiting!'
                                            2019-10-18 14:17:24.768 - warn: broadlink2.0 (1589) sendT1Packed error 'socket not created/bound or closed or waiting!'
                                            2019-10-18 14:17:26.500 - info: host.ioBroker-Rock instance system.adapter.fullybrowser.0 started with pid 1653
                                            2019-10-18 14:17:30.501 - info: host.ioBroker-Rock instance system.adapter.gruenbeck.0 started with pid 1668
                                            2019-10-18 14:17:34.499 - info: host.ioBroker-Rock instance system.adapter.history.0 started with pid 1683
                                            2019-10-18 14:17:38.502 - info: host.ioBroker-Rock instance system.adapter.hm-rega.0 started with pid 1698
                                            2019-10-18 14:17:42.501 - info: host.ioBroker-Rock instance system.adapter.hm-rpc.0 started with pid 1713
                                            2019-10-18 14:17:46.503 - info: host.ioBroker-Rock instance system.adapter.info.0 started with pid 1728
                                            2019-10-18 14:17:50.511 - info: host.ioBroker-Rock instance system.adapter.javascript.0 started with pid 1747
                                            2019-10-18 14:17:54.501 - info: host.ioBroker-Rock instance system.adapter.modbus.0 started with pid 2169
                                            2019-10-18 14:17:57.657 - info: javascript.0 (1747) starting. Version 4.3.1 in /opt/iobroker/node_modules/iobroker.javascript, node: v10.16.3
                                            2019-10-18 14:17:57.765 - info: javascript.0 (1747) requesting all states
                                            2019-10-18 14:17:57.770 - info: javascript.0 (1747) requesting all objects
                                            2019-10-18 14:17:58.501 - info: host.ioBroker-Rock instance system.adapter.socketio.0 started with pid 2197
                                            2019-10-18 14:17:59.579 - info: javascript.0 (1747) received all states
                                            2019-10-18 14:18:00.749 - info: javascript.0 (1747) received all objects
                                            2019-10-18 14:18:02.510 - info: host.ioBroker-Rock instance system.adapter.sonoff.0 started with pid 2401
                                            2019-10-18 14:18:06.501 - info: host.ioBroker-Rock instance system.adapter.statistics.0 started with pid 2421
                                            2019-10-18 14:18:10.565 - info: host.ioBroker-Rock instance system.adapter.telegram.0 started with pid 2621
                                            2019-10-18 14:18:12.356 - info: javascript.0 (1747) Start javascript script.js.common.Alarmanlage.Alarm_output

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            415
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            48
                                            1047
                                            254851
                                            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