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

      @MathiasJ Am Ende ist der Fix "einfach" und weiter oben hier kommentiert. Man muss ein File ändern wie hier ersichtlich. https://github.com/frankjoke/myAdapter/pull/1/files
      File liegt normslerweise in node_modules/@frankjoke/myadapter/myAdapter.js Dann passt es wieder. ggf suchen ob es noch irgendwo in node_modules/iobroker.radar2/node_modules oder node_modules/iobroker.boradlink2/node_modules liegt

      Apollon77 created this issue in frankjoke/myAdapter

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

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

        @darkiop Bitte bissl mehr log context (par Zeilen mehr davor und dahinter ... sonst ist es ein schönes Raten weil ich dann fragen muss ... wo verwendest Du denn irgendwas mit tplink?

        Kann es hs100 Adapter sein?

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

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

          ...Für broadlink2 fehlt noch eine Version. Aber da bereite ich heute meinen fork vor so dass man davon installieren kann.

          Falls es dir hilft: myAdapter.js
          Fertig gepatcht (mit beiden Änderungen, also auch .bind(adapter) ) und seit etlichen Tagen getestet und im Einsatz 🙂

          1 Reply Last reply Reply Quote 1
          • ?
            A Former User last edited by A Former User

            erledigt
            ich gebe es auf

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

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

              ich gebe es auf

              Was. einst Du ?

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

                Hallo an alle Tester,

                auf GitHub gibt es jetzt die 2.0.25 (aka RC2) von neuen js-controller.

                @Nuggelbeb Ich glaube warst nicht "verrückt". Dein Grossbuchstabe deiner eigenen Objekte war nicht ganz erwartet 😉 Tut jetzt.
                @SBorg Die Redis Meldungen beim Start sollten jetzt auch weg sein.
                @darkiop "iobroker state get ..." geht jetzt auch wieder wie vorher.

                Ansonsten sind noch ein paar Kleinigkeiten drin.

                Bitte jetzt nochmal ALLE aktualisieren und checken. Wenn von Euch nichts mehr kommt geht die 2.0.25 am Freitag ins Latest Repo für alle!! Endspurt 😉

                Ingo

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

                  @apollon77 gerade die 2.0.25 installiert. Läuft eigentlich unaufällig hoch, alle Adapter grün.
                  Keine Redis Warnings mehr vorhanden 👍

                  Ein Error im Log während hochlauf:

                  javascript.1	2019-10-10 05:04:36.627	error	(23932)
                  javascript.1	2019-10-10 05:04:36.626	error	(23932) Using request for node-pre-gyp https download
                  javascript.1	2019-10-10 05:04:36.624	error	(23932)
                  javascript.1	2019-10-10 05:04:36.622	error	(23932) WARN
                  javascript.1	2019-10-10 05:04:36.621	error	(23932)
                  javascript.1	2019-10-10 05:04:36.619	error	(23932) node-pre-gyp
                  
                  

                  Das hier hatte ich noch im Log;

                  host.debian	2019-10-10 05:05:32.727	info	instance system.adapter.javascript.1 terminated with code 0 (NO_ERROR)
                  host.debian	2019-10-10 05:05:32.727	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
                  host.debian	2019-10-10 05:05:32.727	error	Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                  host.debian	2019-10-10 05:05:32.726	error	Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                  host.debian	2019-10-10 05:05:32.725	error	Caught by controller[0]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:85081)
                  host.debian	2019-10-10 05:05:32.724	error	Caught by controller[0]: TypeError: Cannot read property '_id' of null
                  javascript.1	2019-10-10 05:05:31.677	info	(23932) Terminated (NO_ERROR): Without reason
                  javascript.1	2019-10-10 05:05:31.675	info	(23932) terminating
                  javascript.1	2019-10-10 05:05:31.596	error	(23932) TypeError: Cannot read property '_id' of null at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:85081) at tryCatcher (/opt/iob
                  javascript.1	2019-10-10 05:05:31.595	error	(23932) uncaught exception: Cannot read property '_id' of null
                  javascript.1	2019-10-10 05:05:31.590	info	(23932) received all states
                  host.debian	2019-10-10 05:05:28.381	info	Restart adapter system.adapter.javascript.0 because enabled
                  host.debian	2019-10-10 05:05:28.381	error	instance system.adapter.javascript.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                  host.debian	2019-10-10 05:05:28.380	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
                  host.debian	2019-10-10 05:05:28.380	error	Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                  host.debian	2019-10-10 05:05:28.380	error	Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                  host.debian	2019-10-10 05:05:28.380	error	Caught by controller[0]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:85081)
                  host.debian	2019-10-10 05:05:28.379	error	Caught by controller[0]: TypeError: Cannot read property '_id' of null
                  javascript.0	2019-10-10 05:05:27.219	info	(24104) received all states
                  javascript.0	2019-10-10 05:05:26.102	error	(24104) TypeError: Cannot read property '_id' of null at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:85081) at tryCatcher (/opt/iob
                  javascript.0	2019-10-10 05:05:26.101	error	(24104) uncaught exception: Cannot read property '_id' of null
                  
                  

                  Javascript Adapter hat sich dann neu gestartet und wieder gefangen, keine Fehler mehr. Schätze das war von irgend einem Script

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

                    @coyote zum ersten fehlt mir komplett context. Ich tippe auf npm Modul Installation beim start von JavaScript. Aber ohne bissl Mehring von drumrum dem Fehler kann ich das nur raten.

                    Das zweite ist die Frage ob du es irgendwie provoziert bekommst?! Dann könnten wir versuchen die Stelle zu finden.
                    Bzw auch hier zeig mal wie das log danach beim restart des JavaScript Adapters aussieht ...

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

                      @apollon77 Guten Morgen!

                      Dann wollen wir mal zum Endspurt 🙂

                      608e4f9b-5578-4d2f-b215-4daec2e8ceb7-grafik.png

                      Das mit den Logs beim Container-Start schaue ich mir nochmal an und melde mich ggf.

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

                        @apollon77

                        Alles absolut unauffällig, state get läuft auch! Ich lass die Logs mal noch ne Weile offen und werf ab und zu nen Blick drauf.

                        1 Reply Last reply Reply Quote 1
                        • M
                          msauer last edited by msauer

                          Hi.

                          soeben 2.0.25 installiert. Alles startet fehlerlos.
                          Ich muss allerdings den Update immer mit

                          sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
                          

                          machen. Der eigentliche Befehl "npm install ioBroker/ioBroker.js-controller" führt nur zu Fehlern

                          1266 verbose stack Error: Command failed: git clone --mirror -q git://github.com/ioBroker/ioBroker.js-controller.git /root/.npm/_cacache/tmp/git-clone-5e92596b/.git
                          1266 verbose stack fatal: Konnte führende Verzeichnisse von '/root/.npm/_cacache/tmp/git-clone-5e92596b/.git' nicht erstellen.
                          1266 verbose stack
                          1266 verbose stack     at ChildProcess.exithandler (child_process.js:294:12)
                          1266 verbose stack     at ChildProcess.emit (events.js:198:13)
                          1266 verbose stack     at maybeClose (internal/child_process.js:982:16)
                          1266 verbose stack     at Socket.stream.socket.on (internal/child_process.js:389:11)
                          1266 verbose stack     at Socket.emit (events.js:198:13)
                          1266 verbose stack     at Pipe._handle.close (net.js:606:12)
                          1267 verbose cwd /opt/iobroker
                          1268 verbose Linux 4.19.0-6-amd64
                          1269 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "ioBroker/ioBroker.js-controller"
                          1270 verbose node v10.16.3
                          1271 verbose npm  v6.11.3
                          1272 error code 128
                          1273 error Command failed: git clone --mirror -q git://github.com/ioBroker/ioBroker.js-controller.git /root/.npm/_cacache/tmp/git-clone-5e92596b/.git
                          1273 error fatal: Konnte führende Verzeichnisse von '/root/.npm/_cacache/tmp/git-clone-5e92596b/.git' nicht erstellen.
                          
                          

                          Wie kann ich das denn beheben, bzw. wird dies auch beim späteren "iobroker upgrade self" auftreten?

                          AlCalzone apollon77 2 Replies Last reply Reply Quote 1
                          • AlCalzone
                            AlCalzone Developer @msauer last edited by

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

                            Wie kann ich das denn beheben

                            Bist du normalerweise als ein nicht-root-User angemeldet? Dann haben wir ggf. einen Fix in der Mache, der braucht aber noch ein bisschen Feinschliff.

                            1 Reply Last reply Reply Quote 0
                            • M
                              msauer last edited by

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

                              Bist du normalerweise als ein nicht-root-User angemeldet?

                              Nein..immer nur als root

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

                                @msauer Ok, aber das könnte die gleiche Ursache haben. Müssen wir sehen... Wird dann ggf. in naher Zukunft vom Fixer gerade gebogen.

                                J E 2 Replies Last reply Reply Quote 0
                                • J
                                  Jan1 @AlCalzone last edited by

                                  @apollon77
                                  Also mit 2.0.25 sind sämtliche Errors und Warnungen aus dem Log verschwunden die ich oben gepostet hatte.

                                  @AlCalzone
                                  bei mir geht auch nur die zweite Variante des Update Befehl, egal ob root oder normaler User.

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

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

                                    bei mir geht auch nur die zweite Variante des Update Befehl, egal ob root oder normaler User.

                                    Dem schließ mich mich an, sowohl im Container (immer root) als auch aufm RPI (mein User).

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      e-s @AlCalzone last edited by

                                      @AlCalzone
                                      das mit dem sudo kommt erst wenn man npm auf 6.11.3 updated, alle User die dies noch nicht gemacht haben, die brauchen den sudo Befehl auch nicht.

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

                                        @msauer Ja das ist irgendwelcher npm Rechte-Foo ...

                                        Ein iobroker upgrade selfsollte immer mit automatisch alles quasi mit "sudo -u iobroker -H" ausführen was es startet, damit sollte das Problem hier nicht auftreten.

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

                                          @apollon77
                                          OK, muss meine Aussage von oben doch noch mal korrigieren. Eben noch mal in die Logs geschaut und das hier gefunden:

                                          host.Beelink	2019-10-10 08:45:02.335	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.335	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.335	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.335	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.334	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.333	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.331	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.331	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.330	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.329	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.328	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.327	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.326	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[14]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[13]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.325	error	Caught by controller[13]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[13]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[13]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[13]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[13]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[12]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[12]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[12]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[12]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.324	error	Caught by controller[12]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[12]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[11]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[11]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[11]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[11]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[11]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[11]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[10]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.323	error	Caught by controller[10]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[10]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[10]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[10]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[10]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[9]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[9]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[9]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[9]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.322	error	Caught by controller[9]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[9]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[8]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[8]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[8]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[8]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[8]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[8]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[7]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[7]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                          host.Beelink	2019-10-10 08:45:02.321	error	Caught by controller[7]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                          host.Beelink	2019-10-10 08:45:02.320	error	Caught by controller[7]: at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:436:21)
                                          host.Beelink	2019-10-10 08:45:02.320	error	Caught by controller[7]: at /opt/iobroker/node_modules/iobroker.fritzdect/main.js:127:46
                                          host.Beelink	2019-10-10 08:45:02.320	error	Caught by controller[7]: ReferenceError: log is not defined
                                          host.Beelink	2019-10-10 08:45:02.320	error	Caught by controller[6]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                          
                                          

                                          Müsste wieder das DB Problemchen sein, nur der Neustart liegt lag zu dem Zeitpunkt schon ein paar Minuten in der Vergangenheit.

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

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

                                            iobroker.fritzdect

                                            Ne, Adapter Bug
                                            https://github.com/Apollon77/ioBroker.fritzdect/blob/master/main.js#L127 das "-" ist falsch

                                            Ist 'Comet_' + id + '.targettemp' (musst mal schauen welch "id" das betreffen kann) leer?

                                            Fix für dich zum checken: Editiere /opt/iobroker/node_modules/iobroker.fritzdect/main.js: zeile 127 und schreibe "adapter.log" anstelle "adapter-log". Geht es dann wieder wie erwartet? Wirst halt diese "log meldung als Fehler" bekommen... aber da kenne ich die semantik des Adapters nicht

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            531
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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