Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.2 jetzt im Latest!

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 3.2 jetzt im Latest!

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

      @apollon77
      Das Update auf 3.2.11 ist problemlos durchgelaufen. Keine Auffälligkeiten bei den Adaptern.
      Guß Marco

      1 Reply Last reply Reply Quote 1
      • Chaot
        Chaot @UncleSam last edited by

        @unclesam Geht jetzt zu sehr OT. Aber daran lag es nicht. Ich habe schon sehr lange das Problem gehabt. Nach jedem Start, egal ob reboot oder Off hat der ioBroker immer mit einer pid von über 10000 angefangen. Das ist jetzt seltsamerweise weg. Ob das jetzt am Controlerupdate (heute) liegt oder ob sich beim letzten Linuxupdate (gestern) da was geändert hat kann ich nicht so genau nachvollziehen.

        1 Reply Last reply Reply Quote 0
        • K
          Kueppert last edited by

          Hallo zusammen,
          ich habe seit dem Update (hab aber zusätzlich auch apt update und upgrade gemacht) das "Problem", dass bei TOP nur noch "node" steht und nicht mehr, was dahinter steckt?
          19dd07ce-8c23-4bd2-a5f8-a9c2cb2eedc2-image.png

          Thomas Braun E 2 Replies Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @apollon77 last edited by crunchip

            @apollon77 nun sieht es so aus mit JS-C 3.2.11

            kurzvariante vom log

            alexa2.0	2021-01-25 09:15:29.849	error	(9992) Error: Error while checking Authentication: Error: no JSON
            alexa2.0	2021-01-25 09:15:14.345	error	(9675) Error: Error while checking Authentication: Error: no JSON
            alexa2.0	2021-01-25 09:15:07.705	error	(9642) Error: Error while checking Authentication: Error: no JSON
            radar2.0	2021-01-25 09:10:20.432	error	(4766) Cannot read property 'init' of null
            radar2.0	2021-01-25 09:10:20.431	error	at processTimers (internal/timers.js:497:7)
            radar2.0	2021-01-25 09:10:20.431	error	at listOnTimeout (internal/timers.js:554:17)
            radar2.0	2021-01-25 09:10:20.431	error	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.radar2/myNetworks.js:964:82)
            radar2.0	2021-01-25 09:10:20.431	error	(4766) TypeError: Cannot read property 'init' of null
            radar2.0	2021-01-25 09:10:20.404	error	(4766) uncaught exception: Cannot read property 'init' of null
            

            radar

            2021-01-25 09:10:19.478 - warn: radar2.0 (4766) arp-scan maybe without rights because no data returned!
            2021-01-25 09:10:20.404 - error: radar2.0 (4766) uncaught exception: Cannot read property 'init' of null
            2021-01-25 09:10:20.431 - error: radar2.0 (4766) TypeError: Cannot read property 'init' of null
            at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.radar2/myNetworks.js:964:82)
            at listOnTimeout (internal/timers.js:554:17)
            at processTimers (internal/timers.js:497:7)
            2021-01-25 09:10:20.432 - error: radar2.0 (4766) Cannot read property 'init' of null
            2021-01-25 09:10:20.473 - warn: radar2.0 (4766) Uncaught Exception: Cannot read property 'init' of null
            

            alexa

            2021-01-25 09:15:03.667 - info: alexa2.0 (9642) starting. Version 3.5.6 in /opt/iobroker/node_modules/iobroker.alexa2, node: v12.20.1, js-controller: 3.2.11
            2021-01-25 09:15:07.705 - error: alexa2.0 (9642) Error: Error while checking Authentication: Error: no JSON
            2021-01-25 09:15:07.707 - info: alexa2.0 (9642) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
            2021-01-25 09:15:08.380 - info: host.IoBroker instance system.adapter.alexa2.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
            2021-01-25 09:15:08.381 - info: host.IoBroker Restart adapter system.adapter.alexa2.0 because enabled
            2021-01-25 09:15:14.345 - error: alexa2.0 (9675) Error: Error while checking Authentication: Error: no JSON
            2021-01-25 09:15:14.347 - info: alexa2.0 (9675) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
            2021-01-25 09:15:29.560 - info: alexa2.0 (9992) starting. Version 3.5.6 in /opt/iobroker/node_modules/iobroker.alexa2, node: v12.20.1, js-controller: 3.2.11
            2021-01-25 09:15:29.849 - error: alexa2.0 (9992) Error: Error while checking Authentication: Error: no JSON
            2021-01-25 09:15:29.851 - info: alexa2.0 (9992) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
            2021-01-25 09:15:30.535 - info: host.IoBroker instance system.adapter.alexa2.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
            2021-01-25 09:15:30.535 - info: host.IoBroker Restart adapter system.adapter.alexa2.0 because enabled
            
            apollon77 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Kueppert last edited by

              @kueppert Das hat nichts mit dem js-controller zu tun sondern mit einer aktuellen node-Version. Die werden in top nur noch mit node aufgeführt.
              Nimm

              htop
              

              da wird mehr angezeigt.

              K 1 Reply Last reply Reply Quote 1
              • Diginix
                Diginix last edited by

                @apollon77 3.2.11 läuft soweit
                Generell erhalte ich erst seit 3.2 solche Meldungen von Adaptern die zyklisch gestartet/gestoppt werden:

                ical.0	2021-01-25 09:05:14.921	warn	(421899) slow connection to objects DB. Still waiting ...
                radar2.0	2021-01-25 09:15:23.172	warn	(423386) slow connection to objects DB. Still waiting ...
                ical.0	2021-01-25 09:20:13.375	warn	(424044) get state Error: Connection is closed.
                ical.0	2021-01-25 09:20:13.386	warn	(424044) get state Error: DB closed
                
                

                PS: Letsencrypt habe ich heute mal über den web Adapter erfolgreich aktualisieren lassen. Das neue Cert usw. wurde auch genau in dem bereits vorher verwendeten Ordner erneuert. Leider kann ich weiterhin keine über web Adapter ausgelieferten Dinge mit lokaler IP aufrufen wie: materialUI, jarvis, flot, habpanel
                Muss mal rumfragen wer LE im Einsatz hat und damit keine Probs hat. Vllt ist es nur eine falsche Einstellung irgendwo, die seit der neuen LE Implementierung anders sein muss. Mit JS-C 3.1 funktionierte es ja noch.

                UncleSam apollon77 2 Replies Last reply Reply Quote 0
                • K
                  Kueppert @Thomas Braun last edited by

                  @thomas-braun danke dir. HTOP installiert und sieht schon wieder ganz anders aus 🙂
                  2ac6b86b-5adb-4e2e-ac55-1cbaa8927453-image.png

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

                    @kueppert Wobei htop nicht als root laufen sollte.

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

                      @thomas-braun ich weiß, dass man root nicht nutzen sollte. Nutze aber seit Jahren nur root und hab mich zwar mit Usern inkl. Admin-Recht schon beschäftigt, bin aber immer wieder auf Probleme mit Rechten gestoßen - und aktuell wegen Zeitmangel auf Grund Kinder da nicht mehr näher drauf eingegangen.
                      Systeme laufen auch alle nur im internen Netz, so dass zumindest von Extern kein erhöhtes Risiko besteht.

                      1 Reply Last reply Reply Quote 1
                      • UncleSam
                        UncleSam Developer @Diginix last edited by

                        @diginix Zu LE: das ist bekannt und lässt sich (ohne Fix in Greenlock) nicht beheben. Einzige Möglichkeit ist, auch lokal auf Port 443 zu wechseln.

                        apollon77 1 Reply Last reply Reply Quote 1
                        • UncleSam
                          UncleSam Developer last edited by

                          Hat jemand Erfahrung mit 3.2 unter Windows? Soeben wurde dieses Problem gemeldet. Ist das allgemein (bekannt) oder hat der nur ein zerschossenes System?

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

                            @unclesam sagte in js-controller 3.2 jetzt im Latest!:

                            Hat jemand Erfahrung mit 3.2 unter Windows? Soeben wurde dieses Problem gemeldet. Ist das allgemein (bekannt) oder hat der nur ein zerschossenes System?

                            C:\ioBroker

                            also kaputtes System... 😄

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

                              @thomas-braun Wieso kaputtes System? Bei mir ist mein alter Entwickler-ioBroker (die Instanz heisst "dev") zum Beispiel unter D:[...]\ioBroker\app\dev abgelegt. Habe ich genau so mit dem Installer gemacht.

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

                                @unclesam
                                War ein Scherz.

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

                                  @thomas-braun Sorry, der Humor ging an mir vorüber. Ja, ioBroker sollte immer unter /opt/iobroker installiert sein, alles andere ist ein Rezept für ein Desaster - egal ob unter Linux oder Windows ;-). Die Frage (z.B. für @apollon77 ) bleibt aber...

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    fastfoot @UncleSam last edited by

                                    @apollon77 noch eine Kleinigket, nach dem upgrade auf 3.2.11 werden die repos auf der Konsole nicht mehr angezeigt, setzen funktioniert aber wenn man den Namen weiss

                                    root@new:/opt/iobroker# iobroker repo                                                                                                                                                                                                                       
                                    iobroker repo del <name>                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                
                                    Remove repository                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                
                                    Options:                                                                                                                                                                                                                                                    
                                          --help     Show help  [boolean]                                                                                                                                                                                                                       
                                      -v, --version  Show version  [boolean]                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                
                                    Not enough non-option arguments: got 0, need at least 2
                                    
                                    root@new:/opt/iobroker# iobroker repo set beta                                                                                                                                                                                                              
                                    Repository "beta" set as active.                                                                                                                                                                                                                            
                                    stable      : http://download.iobroker.net/sources-dist.json                                                                                                                                                                                                
                                    beta        : http://download.iobroker.net/sources-dist-latest.json                                                                                                                                                                                                                                                            
                                    Active repo: beta                                                                                                                                                                                                                                           
                                    root@new:/opt/iobroker#                                                                                                                                                                                                                                                            
                                    
                                    M apollon77 2 Replies Last reply Reply Quote 0
                                    • M
                                      Marty56 @fastfoot last edited by Marty56

                                      Ich habe das Update gemacht. Dabei habe ich auch die Script Engine upgedatet (Versionen siehe Bildschirmfotos).
                                      Bildschirmfoto 2021-01-25 um 17.23.18.png

                                      Ich habe ein Script, das alle erkannten Echo parsed.

                                      var selector = $('channel[state.id=alexa2.0.Echo-Devices]');
                                      
                                      selector.each(function (id, i) {
                                          var alexa_id;
                                          log("ID: " + id);
                                      });
                                      

                                      Es scheint, dass $('channel[state.id=alexa2.0.Echo-Devices]') nicht mehr funktioniert.
                                      Der Selektor Aufruf wird nicht mehr aufgerufen.

                                      Update: Ich habe die Script Engine downgegradet auf V 4.8.4. Jetzt geht der Channel Selektor wieder.
                                      Ich schließe daraus, dass es ein Bug in der Script Engine V 4.10.13 ist und NICHT ein Bug des js-controllers.
                                      Ich habe ein Issue in der Script Engine aufgemacht.

                                      paul53 1 Reply Last reply Reply Quote 1
                                      • paul53
                                        paul53 @Marty56 last edited by paul53

                                        @marty56
                                        Ändere mal den Selektor in

                                        var selector = $('alexa2.0.Echo-Devices.*');
                                        
                                        1 Reply Last reply Reply Quote 1
                                        • apollon77
                                          apollon77 @crunchip last edited by

                                          @crunchip

                                          Radar2 -> Adapter! Sollte mit controlelr nichts zu tun haben
                                          Aslexs 2 -> DIe ANtwort enhält keine JSON Daten ... sollte auch nichts mit controler zu tun haben

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

                                            Sorry, ich frage mal ganz direkt nach: hat jemand die 3.2 unter Windows getestet?

                                            apollon77 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

                                            603
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            575
                                            101725
                                            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