Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2.2 jetzt für Alle im Stable

    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

    js-controller 2.2 jetzt für Alle im Stable

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

      den js-controller hatte ich bereits am 25.1. installiert und läuft, Admin 3.7.9.
      Heute aufgrund eines Proxmox updates musste der Rechner neugestartet werden.
      Jedoch erhielt ich folgende Fehlermeldung

      host.IoBroker	2020-01-29 17:40:43.190	info	Restart adapter system.adapter.simple-api.0 because enabled
      host.IoBroker	2020-01-29 17:40:43.189	info	instance system.adapter.simple-api.0 terminated with code 0 (NO_ERROR)
      host.IoBroker	2020-01-29 17:40:43.189	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
      host.IoBroker	2020-01-29 17:40:43.189	error	Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
      host.IoBroker	2020-01-29 17:40:43.189	error	Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      host.IoBroker	2020-01-29 17:40:43.188	error	Caught by controller[0]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:107068)
      host.IoBroker	2020-01-29 17:40:43.188	error	Caught by controller[0]: TypeError: Cannot read property 'common' of null
      alexa2.0	2020-01-29 17:40:42.731	info	(1119) Subscribing to states...
      simple-api.0	2020-01-29 17:40:42.598	info	(2016) Terminated (NO_ERROR): Without reason
      simple-api.0	2020-01-29 17:40:42.596	info	(2016) terminating
      simple-api.0	2020-01-29 17:40:42.513	info	(2016) terminating http server on port 8087
      simple-api.0	2020-01-29 17:40:42.511	error	(2016) TypeError: Cannot read property 'common' of null at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:107068) at tryCatcher (/opt/
      simple-api.0	2020-01-29 17:40:42.510	error	(2016) uncaught exception: Cannot read property 'common' of null
      

      kann es sein, das die Datenbank noch nicht erreichbar war, oder wie soll ich den Fehler deuten?

      b2425711-c49a-4c40-975f-a355579dc167-image.png

      apollon77 2 Replies Last reply Reply Quote 0
      • apollon77
        apollon77 @crunchip last edited by

        @crunchip interessant. Kannst du es mit einem
        Weiteren Neustart von iobroker nachstellen? Ist auch nur simple-api ... hat sichbdanach neu gestartet und alles war gut. Korrekt ?!

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

          @crunchip ps: bissl mehr log von davor wäre auch interessant gewesen.

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

            @apollon77 sonst gab es im log nichts unauffälliges
            ausser das noch:

            shelly.0	2020-01-29 17:39:44.359	warn	(1869) no connection to objects DB
            info.0	2020-01-29 17:38:59.890	warn	(1316) no connection to states DB
            2020-01-29 17:38:09.773 - warn: backitup.0 (1042) no connection to states DB
            2020-01-29 17:38:11.815 - warn: broadlink2.0 (1096) no connection to objects DB
            2020-01-29 17:38:49.514 - warn: ical.0 (1265) no connection to states DB
            2020-01-29 17:38:49.921 - warn: ical.1 (1276) no connection to states DB
            

            ansonsten lief dann auch alles wieder ganz normal
            Ich kann es dann nochmal versuchen, nachzustellen
            das ist das komplette simple-api log,von vorhin

            simple-api.0	2020-01-29 17:41:15.404	info	(2481) http server listening on port 8087
            simple-api.0	2020-01-29 17:41:15.398	info	(2481) Allow states only when user is owner: false
            simple-api.0	2020-01-29 17:41:15.397	info	(2481) simpleAPI server listening on port 8087
            simple-api.0	2020-01-29 17:41:15.323	info	(2481) starting. Version 2.3.2 in /opt/iobroker/node_modules/iobroker.simple-api, node: v10.18.0
            simple-api.0	2020-01-29 17:40:42.598	info	(2016) Terminated (NO_ERROR): Without reason
            simple-api.0	2020-01-29 17:40:42.596	info	(2016) terminating
            simple-api.0	2020-01-29 17:40:42.513	info	(2016) terminating http server on port 8087
            simple-api.0	2020-01-29 17:40:42.511	error	at process._tickCallback (internal/process/next_tick.js:68:7)
            simple-api.0	2020-01-29 17:40:42.511	error	at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
            simple-api.0	2020-01-29 17:40:42.511	error	at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
            simple-api.0	2020-01-29 17:40:42.511	error	at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:107068)
            simple-api.0	2020-01-29 17:40:42.511	error	(2016) TypeError: Cannot read property 'common' of null
            simple-api.0	2020-01-29 17:40:42.510	error	(2016) uncaught exception: Cannot read property 'common' of null
            simple-api.0	2020-01-29 17:39:53.624	info	(2016) http server listening on port 8087
            simple-api.0	2020-01-29 17:39:53.617	info	(2016) Allow states only when user is owner: false
            simple-api.0	2020-01-29 17:39:53.616	info	(2016) simpleAPI server listening on port 8087
            simple-api.0	2020-01-29 17:39:53.520	info	(2016) starting. Version 2.3.2 in /opt/iobroker/node_modules/iobroker.simple-api, node: v10.18.0
            
            apollon77 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @apollon77 last edited by

              @apollon77 bei dem Versuch es nachzustellen, trat der Fehler (leider) nicht mehr auf
              was jedoch noch aufgefallen ist
              alexa2.0, socketio, wiffi-wz, tuya,
              allesamt ---terminated with code 156

              2020-01-29 19:09:24.623 - warn: host.IoBroker instance system.adapter.email.0 terminated due to SIGTERM
              2020-01-29 19:09:24.623 - info: host.IoBroker instance system.adapter.email.0 terminated with code null ()
              2020-01-29 19:09:24.625 - warn: host.IoBroker instance system.adapter.milight.0 terminated due to SIGTERM
              2020-01-29 19:09:24.625 - info: host.IoBroker instance system.adapter.milight.0 terminated with code null ()
              2020-01-29 19:09:24.627 - warn: host.IoBroker instance system.adapter.onkyo.0 terminated due to SIGTERM
              2020-01-29 19:09:24.628 - info: host.IoBroker instance system.adapter.onkyo.0 terminated with code null ()
              2020-01-29 19:09:24.629 - warn: host.IoBroker instance system.adapter.roadtraffic.0 terminated due to SIGTERM
              2020-01-29 19:09:24.630 - info: host.IoBroker instance system.adapter.roadtraffic.0 terminated with code null ()
              2020-01-29 19:09:24.632 - warn: host.IoBroker instance system.adapter.admin.0 terminated due to SIGTERM
              2020-01-29 19:09:24.632 - info: host.IoBroker instance system.adapter.admin.0 terminated with code null ()
              2020-01-29 19:09:24.634 - warn: host.IoBroker instance system.adapter.amazon-dash.0 terminated due to SIGTERM
              2020-01-29 19:09:24.635 - info: host.IoBroker instance system.adapter.amazon-dash.0 terminated with code null ()
              2020-01-29 19:09:24.637 - warn: host.IoBroker instance system.adapter.backitup.0 terminated due to SIGTERM
              2020-01-29 19:09:24.637 - info: host.IoBroker instance system.adapter.backitup.0 terminated with code null ()
              2020-01-29 19:09:24.639 - warn: host.IoBroker instance system.adapter.ble.0 terminated due to SIGTERM
              2020-01-29 19:09:24.639 - info: host.IoBroker instance system.adapter.ble.0 terminated with code null ()
              2020-01-29 19:09:24.641 - warn: host.IoBroker instance system.adapter.broadlink2.0 terminated due to SIGTERM
              2020-01-29 19:09:24.641 - info: host.IoBroker instance system.adapter.broadlink2.0 terminated with code null ()
              2020-01-29 19:09:24.643 - info: host.IoBroker instance system.adapter.alexa2.0 terminated with code 156 (156)
              2020-01-29 19:09:24.646 - warn: host.IoBroker instance system.adapter.discovery.0 terminated due to SIGTERM
              2020-01-29 19:09:24.646 - info: host.IoBroker instance system.adapter.discovery.0 terminated with code null ()
              2020-01-29 19:09:24.648 - warn: host.IoBroker instance system.adapter.fullybrowser.0 terminated due to SIGTERM
              2020-01-29 19:09:24.648 - info: host.IoBroker instance system.adapter.fullybrowser.0 terminated with code null ()
              2020-01-29 19:09:24.650 - warn: host.IoBroker instance system.adapter.info.0 terminated due to SIGTERM
              2020-01-29 19:09:24.650 - info: host.IoBroker instance system.adapter.info.0 terminated with code null ()
              2020-01-29 19:09:24.653 - warn: host.IoBroker instance system.adapter.iogo.0 terminated due to SIGTERM
              2020-01-29 19:09:24.653 - info: host.IoBroker instance system.adapter.iogo.0 terminated with code null ()
              2020-01-29 19:09:24.655 - warn: host.IoBroker instance system.adapter.iot.0 terminated due to SIGTERM
              2020-01-29 19:09:24.655 - info: host.IoBroker instance system.adapter.iot.0 terminated with code null ()
              2020-01-29 19:09:24.657 - warn: host.IoBroker instance system.adapter.mihome.0 terminated due to SIGTERM
              2020-01-29 19:09:24.657 - info: host.IoBroker instance system.adapter.mihome.0 terminated with code null ()
              2020-01-29 19:09:24.659 - warn: host.IoBroker instance system.adapter.pollenflug.0 terminated due to SIGTERM
              2020-01-29 19:09:24.660 - info: host.IoBroker instance system.adapter.pollenflug.0 terminated with code null ()
              2020-01-29 19:09:24.662 - warn: host.IoBroker instance system.adapter.radar2.0 terminated due to SIGTERM
              2020-01-29 19:09:24.662 - info: host.IoBroker instance system.adapter.radar2.0 terminated with code null ()
              2020-01-29 19:09:24.664 - warn: host.IoBroker instance system.adapter.shelly.0 terminated due to SIGTERM
              2020-01-29 19:09:24.664 - info: host.IoBroker instance system.adapter.shelly.0 terminated with code null ()
              2020-01-29 19:09:24.667 - info: host.IoBroker instance system.adapter.socketio.0 terminated with code 156 (156)
              2020-01-29 19:09:24.669 - warn: host.IoBroker instance system.adapter.sonoff.0 terminated due to SIGTERM
              2020-01-29 19:09:24.669 - info: host.IoBroker instance system.adapter.sonoff.0 terminated with code null ()
              2020-01-29 19:09:24.671 - warn: host.IoBroker instance system.adapter.sourceanalytix.0 terminated due to SIGTERM
              2020-01-29 19:09:24.671 - info: host.IoBroker instance system.adapter.sourceanalytix.0 terminated with code null ()
              2020-01-29 19:09:24.674 - warn: host.IoBroker instance system.adapter.tankerkoenig.0 terminated due to SIGTERM
              2020-01-29 19:09:24.674 - info: host.IoBroker instance system.adapter.tankerkoenig.0 terminated with code null ()
              2020-01-29 19:09:24.676 - warn: host.IoBroker instance system.adapter.telegram.0 terminated due to SIGTERM
              2020-01-29 19:09:24.676 - info: host.IoBroker instance system.adapter.telegram.0 terminated with code null ()
              2020-01-29 19:09:24.678 - warn: host.IoBroker instance system.adapter.telegram.1 terminated due to SIGTERM
              2020-01-29 19:09:24.678 - info: host.IoBroker instance system.adapter.telegram.1 terminated with code null ()
              2020-01-29 19:09:24.681 - warn: host.IoBroker instance system.adapter.text2command.0 terminated due to SIGTERM
              2020-01-29 19:09:24.681 - info: host.IoBroker instance system.adapter.text2command.0 terminated with code null ()
              2020-01-29 19:09:24.683 - warn: host.IoBroker instance system.adapter.upnp.0 terminated due to SIGTERM
              2020-01-29 19:09:24.683 - info: host.IoBroker instance system.adapter.upnp.0 terminated with code null ()
              2020-01-29 19:09:24.685 - warn: host.IoBroker instance system.adapter.virtualpowermeter.0 terminated due to SIGTERM
              2020-01-29 19:09:24.686 - info: host.IoBroker instance system.adapter.virtualpowermeter.0 terminated with code null ()
              2020-01-29 19:09:24.688 - warn: host.IoBroker instance system.adapter.web.0 terminated due to SIGTERM
              2020-01-29 19:09:24.688 - info: host.IoBroker instance system.adapter.web.0 terminated with code null ()
              2020-01-29 19:09:24.690 - info: host.IoBroker instance system.adapter.wiffi-wz.0 terminated with code 156 (156)
              2020-01-29 19:09:24.692 - warn: host.IoBroker instance system.adapter.fullcalendar.0 terminated due to SIGTERM
              2020-01-29 19:09:24.693 - info: host.IoBroker instance system.adapter.fullcalendar.0 terminated with code null ()
              2020-01-29 19:09:24.695 - warn: host.IoBroker instance system.adapter.chromecast.0 terminated due to SIGTERM
              2020-01-29 19:09:24.695 - info: host.IoBroker instance system.adapter.chromecast.0 terminated with code null ()
              2020-01-29 19:09:24.698 - warn: host.IoBroker instance system.adapter.tr-064.0 terminated due to SIGTERM
              2020-01-29 19:09:24.698 - info: host.IoBroker instance system.adapter.tr-064.0 terminated with code null ()
              2020-01-29 19:09:24.700 - warn: host.IoBroker instance system.adapter.simple-api.0 terminated due to SIGTERM
              2020-01-29 19:09:24.701 - info: host.IoBroker instance system.adapter.simple-api.0 terminated with code null ()
              2020-01-29 19:09:24.703 - warn: host.IoBroker instance system.adapter.javascript.0 terminated due to SIGTERM
              2020-01-29 19:09:24.704 - info: host.IoBroker instance system.adapter.javascript.0 terminated with code null ()
              2020-01-29 19:09:24.706 - warn: host.IoBroker instance system.adapter.javascript.1 terminated due to SIGTERM
              2020-01-29 19:09:24.706 - info: host.IoBroker instance system.adapter.javascript.1 terminated with code null ()
              2020-01-29 19:09:25.742 - info: tuya.0 (2167) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
              2020-01-29 19:09:26.270 - info: host.IoBroker instance system.adapter.tuya.0 terminated with code 156 (156)
              
              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @crunchip last edited by

                @crunchip bei was kam Das? Beim
                Stoppen? Da wurden die Prozesse gekillt.

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

                  @crunchip zu simple api ist bei mir eher die Frage was ggf für ein Zugriff über die api reinkam. Der Fehler kommt einige Zeit nachdem der Adapter Gestartet wurde. wenn du es nachstellen kannst können wir tiefer reinschauen wines genau knallt. Vllt hilft dir das ne Idee zu kriegen ? Was könnte es gewesen sein? Vllt anhand des zeitstempels?

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

                    @apollon77 ja das war das stoppen.
                    Leider kenn ich die einzelnen codes und ihre Bedeutung nicht. Da alle mit sigterm ...code null beendet wurden, bis auf die 4 genannten

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

                      @crunchip der Unterschied ist nur bissl wie schnell sie stoppen und so. Also alles ok.

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

                        @apollon77 wie schon geschrieben, konnte es leider nicht nachstellen,
                        ich wüsste auch gar nicht wo, wie und nach was ich suchen sollte.

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

                          @crunchip also meine Vermutung ist das es mit dem Start nichts zu tun hatte sondern irgendein api request an den Adapter das verursacht hat.

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

                            @apollon77 einzige was ich die letzte Zeit installiert habe, ist das Projekt https://github.com/SBorg2014/WLAN-Wetterstation/wiki/Installation---Teil-2

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

                              Ich habe seit dem Update ständige Neustarts ca alle 2 Minuten

                              im Log:

                              
                              admin.0	2020-01-29 20:24:33.044	info	(6054) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                              admin.0	2020-01-29 20:24:33.043	info	(6054) terminating
                              admin.0	2020-01-29 20:24:33.043	info	(6054) terminating http server on port 8081
                              admin.0	2020-01-29 20:24:33.041	warn	(6054) Got terminate signal. Checking desired PID: vs own PID 6054
                              

                              habe schon alle Schritte aus Post 1 versucht, ohne Erfolg.

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

                                @umbm stoppe Info mal. Lass paar mins aus und aktiviere ihn wieder.

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

                                  Leider keine Änderung nach 5 Minuten ohne info-adapter

                                  Aufgefallen ist es mir nach dem Update eigentlich nur, weil das Tablet mit dem VIS regelmäßig weiß wurde.

                                  Nachtrag:
                                  Kann ich eigentlich ohne weiteres auf die Vorversion zurück gehen?

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

                                    @apollon77 sagte in js-controller 2.2 jetzt für Alle im Stable:

                                    Moment, oben steht:

                                    iqontrol 0.2.15

                                    Mir wird aber bisher nur iqontrol 0.2.14 angeboten.
                                    Kann das die Ursache sein?

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

                                      @umbm mal js-Controller neu gestartet bzw rebootet?

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

                                        @apollon77 sagte in js-controller 2.2 jetzt für Alle im Stable:

                                        @umbm mal js-Controller neu gestartet bzw rebootet?

                                        Ja, natürlich.
                                        Habe jetzt aus dem Latest iqontrol 0.2.16 installiert.
                                        Der Fehler besteht aber auch damit weiterhin.

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

                                          @umbm nein das kann es nicht sein.

                                          Also bei Dir wird in den "sigKill" Datenpunkt scheinbar ein leerer Wert geschrieben ... das Thema ist: Das sollte niemand tun. Da sollten nur Zahlen drin landen. Die Frage ist halt wer und warum da diese Werte reinschreibt. Du hast kein Script was da irgendwas tut?

                                          Ich hätte jetzt gesagt aktiviere mal history adater für system.adapter.admin.0 (sorry war ja admin und nicht info) und zeig mal was da so geloggt wird.

                                          An sich wird da zum Adapterstart eine Zahl reingschrieben und ggf spöter auf 0 gesetzt oder -1 ... aber das sollte es gewesen sein.

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

                                            @apollon77 sagte in js-controller 2.2 jetzt für Alle im Stable:

                                            @umbm nein das kann es nicht sein.

                                            Also bei Dir wird in den "sigKill" Datenpunkt scheinbar ein leerer Wert geschrieben ...

                                            Stimmt!
                                            Durch deinen Tipp habe ich das gefunden:
                                            Anmerkung 2020-01-29 214517.png

                                            Ich habe aber keine Ahnung, woher mqtt das bekommen könnte, ein script darauf gibt es definitiv nicht.
                                            Vor dem Update des js-controllers ist es nie aufgetreten. 😕

                                            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

                                            490
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            28
                                            142
                                            16255
                                            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