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 @arteck last edited by

      @arteck Ich hab im Code kaputt gemacht mit letzter Version 😞

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

        @apollon77 waaaaaaaaaaatttttttttt...

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

          @arteck na klar, der läuft auch.

          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Tue Oct  1 12:02:55 2019 from 192.168.66.55
          root@debian:~# systemctl status redis-server
          ● redis-server.service - Advanced key-value store
             Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor pre
             Active: active (running) since Tue 2019-10-01 12:02:46 CEST; 42min ago
               Docs: http://redis.io/documentation,
                     man:redis-server(1)
            Process: 327 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exite
           Main PID: 380 (redis-server)
              Tasks: 4 (limit: 3482)
             Memory: 10.4M
             CGroup: /system.slice/redis-server.service
                     └─380 /usr/bin/redis-server 127.0.0.1:6379
          
          Okt 01 12:02:45 debian systemd[1]: Starting Advanced key-value store...
          Okt 01 12:02:46 debian systemd[1]: redis-server.service: Can't open PID file /ru
          Okt 01 12:02:46 debian systemd[1]: Started Advanced key-value store.
          
          

          @apollon77 ah ok, dann bin ich ja beruhigt, dachte ich mache was falsch 😏

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

            @coyote ok.... 😊

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

              @darkiop Und immer noch diese EHOSTUNREACH?? Das kapier ich nicht weil das für mch was mit Netzwerk und DNS und so ist .. .nichts wo der js-controller auch nur irgendeine Auswirkung haben sollte

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

                @msauer Den Fehler behebe ich, Der ist hier errelevant

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

                  @darkiop Wie startest und stoppst du das denn so? iobroker start/stop auf dem Raspi? Wie im Docker? Details

                  D 1 Reply Last reply Reply Quote 0
                  • SBorg
                    SBorg Forum Testing Most Active last edited by

                    Außer dem Node-RED Dashboard habe ich dann noch zwei Adapter die wohl ein Upgrade brauchen:

                    host.Ubuntu	2019-10-01 08:58:03.795	error	instance system.adapter.daswetter.0 terminated with code 15 (15)
                    daswetter.0	2019-10-01 08:58:03.774	error	(32174) force terminate, objects still in list: 1571
                    

                    läuft unter 1.15.14 problemlos, und

                    broadlink2.0	2019-10-01 09:12:24.100	warn	(865) sendState could not find command or scene named 'LG_TV-Power'
                    

                    als Beispiel. Den state gibt es definitiv und läuft ebenfalls unter 1.15.14 klaglos.

                    apollon77 1 Reply Last reply Reply Quote 0
                    • coyote
                      coyote Most Active last edited by

                      @SBorg den Fehler von daswetter hatte ich aber auch vor dem Update schon

                      @apollon77 @arteck ist es normal, dass mir das angezeigt wird bei der Umstellung auf redis/redis?

                      Host name of this machine [debian]:
                      It appears that this host should be connected to an existing ioBroker System as Slave. Data Migration will be skipped. Is this correct? [Y/n]: n
                       
                      

                      Ich hab kein Master/Slave System

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

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

                        @SBorg den Fehler von daswetter hatte ich aber auch vor dem Update schon

                        Bei mir nicht. Bis heute morgen mit dem JS 1.15.14 lief es auch und die Daten waren korrekt, jetzt mit dem 2er steigt er mit dem error aus und liefert auch keine Daten mehr. Liegt aber am Adapter, nicht am Controller.

                        coyote 1 Reply Last reply Reply Quote 0
                        • coyote
                          coyote Most Active @SBorg last edited by

                          @SBorg Hm ok, komisch. Bei mir war es vorher schon, hier ein Auszug vom Log von gestern, da war ich noch bei 1.5.14

                          2019-09-30 10:31:07.279  - error: daswetter.0 force terminate, objects still in list: 1887
                          2019-09-30 10:31:07.441  - info: host.debian instance system.adapter.daswetter.0 terminated with code 11 (Desired termination)
                          
                          arteck 1 Reply Last reply Reply Quote 0
                          • SBorg
                            SBorg Forum Testing Most Active last edited by

                            Nicht ganz, du hast eine "desired termination" mit Code 11 (also eine 'erwünschte', die ist normal), ich habe eine "echte" Terminierung mit Code 15 (=harter Abbruch wegen Fehler).

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

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

                              broadlink2.0 2019-10-01 09:12:24.100 warn (865) sendState could not find command or scene named 'LG_TV-Power'

                              Naja ich fürchte das gleiche Problem könnte es sein wie bei radar2, das die myadapter-Klasse falsch ist. Kannst Du mal testen bitte:
                              File /opt/iobroker/node_modules/@frankjoke/myadapter/myadapter.js und dort die Änderungen aus https://github.com/frankjoke/myAdapter/pull/1/files einbauen (oder ganzes file mit https://github.com/frankjoke/myAdapter/blob/f06343bfe6e132536f6740a7f025b2122ecef6b6/myAdapter.js ersetzen)

                              Ist der Fehler dann weg? Wenn ja bitte Issue bei broadlink2 anlegen und reinschreiben und mir schicken, dann müssen wir ggf wie bei radar2 ein Zwischenrelease bauen.

                              Zu Daswetter weiss ich nix ... kommt das immer? Bzw war es schon vorher da. Kannst ja mal durch die alten Logfiles der 7 Tage in /opt/iobroker/logs suchen ...

                              Apollon77 created this issue in frankjoke/myAdapter

                              open create a new Promise wrapper that also binds correctly for the class #1

                              SBorg 1 Reply Last reply Reply Quote 0
                              • coyote
                                coyote Most Active @SBorg last edited by

                                @SBorg ja ok, da hast du recht. Ich hatte nur nach dem "force terminate, objects still in list:" geschaut

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

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

                                  daswetter

                                  ist ja komisch.. das wetter nutzt ich auch ... ich hab die Meldung nicht..

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

                                    @coyote Wenn Du komplett auf Redis umstellst weiss der Migrationsprozess nicht ob da schon ein anderer "Iobroker" seine Daten drin hat und weiss damit nicht ob das der "erste" ist der Redis nutzen soll oder er ein weiterer neuer Slave ist der dran soll.

                                    Da die Frage aber auf ja/nein ausgelegt ist sagst Du hier einfach "n(ein)" dann macht er alles korrekt weiter. vllt ergänze ich das in der Meldung noch

                                    coyote 1 Reply Last reply Reply Quote 0
                                    • coyote
                                      coyote Most Active @apollon77 last edited by

                                      @apollon77 ok, also alles normal. Ja wäre vllt nicht schlecht, die Meldung verwirrt auf den ersten Blick etwas.

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • SBorg
                                        SBorg Forum Testing Most Active last edited by

                                        @apollon77 Mache ich heute abend.
                                        Bzgl. DasWetter: Jepp, seit der 2er (alte Logfiles angeschaut), ist mir bis dato aber nicht aufgefallen. Erst als die Wetterprognose heute mal überhaupt nicht stimmte, und da für "heute" auch Sonntag stand... 😉

                                        Mal noch eine prinzipielle Frage, gerade wegen aktuell Wetter oder Dashboard: besteht ein Unterschied für den Controller/Node-RED zwischen 32/64Bit ? Da man Linux ja nicht ohne weiteres switchen kann, bin ich auf meinem 32 Bit Linux auch noch mit NPM 8 unterwegs, da 10 ja nur noch unter 64 Bit läuft...

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

                                          @coyote Würde es ändern in:

                                          VORHER:
                                          It appears that this host should be connected to an existing ioBroker System as Slave. Data Migration will be skipped. Is this correct? [Y/n]:

                                          NACHHER:
                                          Please choose if this is a Master/single host (enter "m") or a Slave host (enter "s") you are about to edit. For Slave hosts the data migration will be skipped. [S/m]:

                                          Besser? Sonst gern textvorschläge 🙂

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

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

                                            Bzgl. DasWetter: Jepp, seit der 2er (alte Logfiles angeschaut), ist mir bis dato aber nicht aufgefallen. Erst als die Wetterprognose heute mal überhaupt nicht stimmte, und da für "heute" auch Sonntag stand...

                                            Komisch. Dann starte es mal an der Kommandozeile, vllt gibt es da mehr logs:
                                            Shell ins ioBroker Verzeichnis, dann

                                            node node_modules/iobroker.daswetter/main.js --force --logs

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            856
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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