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 jetzt für alle im Stable

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2 jetzt für alle im Stable

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

      @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

      @bahnuhr wer sagt denn das das was du da tust nicht mehr geht?!

      Ließ nochmal genau was ich geschrieben habe. Von der Limitierung sind nur Daten betroffen die in iobroker-data/files liegen.

      Ist das bei dir der Fall? Ich glaube nicht.

      Also geht das alles weiter wie bisher auch.

      Dann lies bitte auch mal genau was ich geschrieben habe.
      Der write Befehl geht nicht !

      Es wird ein Verzeichnis verlangt unterhalb von ...data/files...

      mfg

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

        Hallo zusammen,

        mal ne doofe Anfängerfrage, welchen Befehl muss ich ins Terminal eingeben, damit ich auf die Version 2.1.1 updaten kann, mit dem Befehl "iobroker upgrade self"
        klappt es nicht.

        Ich habe ioBroker auf einer Qnap in der Docker Station installiert.

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

          @bahnuhr ich verstehe nicht was du meinst? Wenn du außerhalb des iobroker-data/files Verzeichnisses und damit außerhalb der iobroker Stores arbeitest dann nutzt die weiterhin fs.writeFileSync oder so ... hat doch dann mit dem iobroker store nichts zu tun.

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

            @Oli definiere bitte „Klappe nicht“ etwas näher. Hast du vorher „iobroker update“ gemacht und da wird der js-Controller als updatable angezeigt?

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

              @apollon77

              ioBroker Update habe ich gemacht, der js-Controller wird nicht als update angezeigt.

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

                @apollon77

                sorry falscher Alarm, anscheinend war die Version 2.1.1 schon installiert.

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

                  @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

                  fs.writeFileSync

                  Danke für die Info.

                  1 x hat es klappt. Danach leider nicht mehr.
                  anbei Script:

                      var fs = require('fs'); 
                          const datei= fs.readFileSync("C:/ioBroker/node_modules/iobroker.sayit/sayit.2.say.mp3"); 
                          setTimeout(function(){
                              fs.writeFileSync('c:/tmp/test.mp3', datei, function (error) { });
                          }, 500);
                  

                  endet mit Fehler mit log:

                  javascript.1	2019-11-24 16:38:28.530	error	at Timer.listOnTimeout (timers.js:290:5)
                  javascript.1	2019-11-24 16:38:28.530	error	at tryOnTimeout (timers.js:323:5)
                  javascript.1	2019-11-24 16:38:28.530	error	at ontimeout (timers.js:511:34)
                  javascript.1	2019-11-24 16:38:28.530	error	at Timeout._onTimeout (C:\ioBroker\node_modules\iobroker.javascript\lib\sandbox.js:1869:34)
                  javascript.1	2019-11-24 16:38:28.530	error	at Object.<anonymous> (script.js.Scripte.test4:147:12)
                  javascript.1	2019-11-24 16:38:28.530	error	at ProtectFs.writeFileSync (C:\ioBroker\node_modules\iobroker.javascript\lib\protectFs.js:31:37)
                  javascript.1	2019-11-24 16:38:28.530	error	at fs.writeFileSync (fs.js:1299:33)
                  javascript.1	2019-11-24 16:38:28.530	error	at Object.fs.openSync (fs.js:646:18)
                  javascript.1	2019-11-24 16:38:28.530	error	Error in callback: Error: EPERM: operation not permitted, open 'c:\tmp\test.mp3'
                  javascript.1	2019-11-24 16:38:28.530	info	script.js.Scripte.test4: C:/tmp/test.mp3
                  

                  ...operation not permitted...

                  versteh ich nicht. Warum soll dieses Verzeichnis nicht erlaubt sein.
                  Bzw. warum hat es 1x geklappt und danach nicht mehr.

                  Windows oder/und iob BUG ?

                  mfg

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

                    Ist es eigentlich korrekt dass die Logfiles unter /opt/iobroker/log/ nicht mehr wöchentlich rotieren?
                    Ich habe mittlerweile 16 Logfiles, logischerweise der letzten 16 Tage. Am 15.11. hatte ich das Update auf JS-Controller 2 gemacht. Seit dem haben die Logfiles Berechtigung 664, alle davor haben 777. Aber das sollte ja erst recht keine Probleme beim Weglöschen machen.

                    SBorg nieIP 2 Replies Last reply Reply Quote 1
                    • SBorg
                      SBorg Forum Testing Most Active @Diginix last edited by

                      @Diginix sagte in js-controller 2 jetzt für alle im Stable:

                      Ist es eigentlich korrekt dass die Logfiles unter /opt/iobroker/log/ nicht mehr wöchentlich rotieren?

                      Korrekt, bzw. wohl eher nicht korrekt.
                      Durch den Betatest sind es bei mir noch paar mehr 😁
                      Bild 1.png

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

                        @bahnuhr prüfe mal die Rechte vom File, Verzeichnis und so ... EPERM ist ein Permission/Rechte Problem beim Zugriff. Würde ich jetzt erst einmal "bei Dir" am System sehen.

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

                          @SBorg Hm. Bisher nicht aufgefallen. Bitte legt mal ein Issue im js-controller an. Danke

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

                            @apollon77 Issue angelegt.
                            https://github.com/ioBroker/ioBroker.js-controller/issues/537

                            Diginix created this issue in ioBroker/ioBroker.js-controller

                            closed Log rotate funktioniert nicht mehr #537

                            1 Reply Last reply Reply Quote 1
                            • B
                              BigUsh last edited by

                              Hallo zusammen,

                              verfolge das Forum schon sehr lange. Bis dato passiv immer sehr erfolgreich ;).

                              Erstmal zu meiner Lage:

                              iobroker läuft im Docker auf einer Synology.
                              Vorgestern den js-controller von 1.15.XX auf 2.1.1 geupdatet.
                              Nach dem Update ist der Dienst nicht mehr gestartet. Hatte dann durch 1000 Tipps im Netz das System wieder zum Laufen gebracht.
                              Hier im Forum habe ich dann gelesen erstmal node.js zu aktualisieren. (ja Schande über mein Haupt)

                              Habe node.js aktualisiert auf 12.13.1
                              (ja ich habe gelesen, zu spät, dass Version 10 stabiler ist. Ich habe allerdings keine Ahnung wie ich es wieder "downgrade" und ob es wirklich nötig ist)
                              Und im Anschluss den js-controller auf 2.1.1

                              iobroker läuft nun wieder.

                              Jetzt zu meinem Problem:

                              Ich habe heute Morgen nun festgestellt das viele meiner Scripte (Java und Blockly) nicht mehr richtig laufen.
                              Bewegungsmelder und Lichter verhalten sich eigenartig. Heizung wurde nicht geschaltet.
                              Telegram Scripte laufen allerdings. Auch ein Script welches die Gartenbeleuchtung schaltet läuft.
                              Finde kein Zusammenhang und bin etwas verwirrt.

                              Gibt es sowas wie ein Java Cache der geleert werden sollte/kann?
                              Oder hat jemand einen anderen Tipp?

                              Gruß
                              Oli

                              AlCalzone apollon77 2 Replies Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer @BigUsh last edited by

                                @BigUsh sagte in js-controller 2 jetzt für alle im Stable:

                                Oder hat jemand einen anderen Tipp?

                                Hast du mal die gesamte Maschine sauber neu gestartet?

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

                                  @BigUsh Sagt denn das Logfile irgendwa?

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    BigUsh @AlCalzone last edited by

                                    @AlCalzone sagte in js-controller 2 jetzt für alle im Stable:

                                    @BigUsh sagte in js-controller 2 jetzt für alle im Stable:

                                    Oder hat jemand einen anderen Tipp?

                                    Hast du mal die gesamte Maschine sauber neu gestartet?

                                    Dies schon 2 mal. Ohne Erfolg

                                    @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

                                    @BigUsh Sagt denn das Logfile irgendwa?

                                    anbei ein Logfile was hoffentlich hilft:

                                    2019-11-25 19:56:16	stdout	Starting node restart.js
                                    2019-11-25 19:56:16	stdout	Chmod finished. Restart controller
                                    2019-11-25 19:56:15	stdout	Execute: chmod -R 777 /opt/iobroker
                                    2019-11-25 19:56:15	stdout	Host "ioBroker" (linux) updated
                                    2019-11-25 19:56:13	stdout	
                                    2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                    2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.2 install: `node-gyp rebuild`
                                    2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.2 (node_modules/unix-dgram):
                                    2019-11-25 19:56:13	stdout	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                                    2019-11-25 19:56:13	stdout	npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    2019-11-25 19:56:13	stdout	npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                                    2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
                                    2019-11-25 19:56:09	stdout	    at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
                                    2019-11-25 19:56:09	stdout	    at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
                                    2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                                    2019-11-25 19:56:09	stdout	(node:1873) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                    2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                                    2019-11-25 19:56:09	stdout	    at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
                                    2019-11-25 19:56:09	stdout	    at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
                                    2019-11-25 19:56:09	stdout	(node:1873) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                                    2019-11-25 19:56:08	stdout	gyp ERR! not ok 
                                    2019-11-25 19:56:08	stdout	gyp ERR! node-gyp -v v5.0.5
                                    2019-11-25 19:56:08	stdout	gyp ERR! node -v v12.13.1
                                    2019-11-25 19:56:08	stdout	gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                                    2019-11-25 19:56:08	stdout	gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                    2019-11-25 19:56:08	stdout	gyp ERR! System Linux 4.4.59+
                                    2019-11-25 19:56:08	stdout	gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
                                    2019-11-25 19:56:08	stdout	gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
                                    2019-11-25 19:56:08	stdout	gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                    2019-11-25 19:56:08	stdout	gyp ERR! stack Error: `make` failed with exit code: 2
                                    2019-11-25 19:56:08	stdout	gyp ERR! build error 
                                    2019-11-25 19:56:08	stdout	make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                                              ^
                                    2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Close)->GetFunction());
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:414:62: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                                                ^
                                    2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Connect)->GetFunction());
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:411:64: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                                             ^
                                    2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Send)->GetFunction());
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:408:61: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                                               ^
                                    2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(SendTo)->GetFunction());
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:405:63: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                                             ^
                                    2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Bind)->GetFunction());
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:402:61: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                                               ^
                                    2019-11-25 19:56:08	stdout	               Nan::New<FunctionTemplate>(Socket)->GetFunction());
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:399:63: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                    2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-11-25 19:56:08	stdout	                      ^
                                    2019-11-25 19:56:08	stdout	                 bool Set(Local<Value> key, Local<Value> value));
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3403:22: note: declared here
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                    2019-11-25 19:56:08	stdout	                                                                            ^
                                    2019-11-25 19:56:08	stdout	   target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM));
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:396:76: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-11-25 19:56:08	stdout	                      ^
                                    2019-11-25 19:56:08	stdout	                 bool Set(Local<Value> key, Local<Value> value));
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3403:22: note: declared here
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                    2019-11-25 19:56:08	stdout	                                                                      ^
                                    2019-11-25 19:56:08	stdout	   target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX));
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:395:70: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘void {anonymous}::Initialize(v8::Local<v8::Object>)’:
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                            ^
                                    2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:361:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note:   candidate expects 2 arguments, 1 provided
                                    2019-11-25 19:56:08	stdout	     ^~~~~~~~~
                                    2019-11-25 19:56:08	stdout	     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                 ^
                                    2019-11-25 19:56:08	stdout	   String::Utf8Value path(info[1]);
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:341:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                            ^
                                    2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:340:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-11-25 19:56:08	stdout	                               ^
                                    2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-11-25 19:56:08	stdout	                               ^
                                    2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                            ^~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                           ^
                                    2019-11-25 19:56:08	stdout	   buf = info[1]->ToObject();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:303:27: error: no matching function for call to ‘v8::Value::ToObject()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                            ^
                                    2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:302:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note:   candidate expects 2 arguments, 1 provided
                                    2019-11-25 19:56:08	stdout	     ^~~~~~~~~
                                    2019-11-25 19:56:08	stdout	     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                 ^
                                    2019-11-25 19:56:08	stdout	   String::Utf8Value path(info[4]);
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:262:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                         ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                 ^
                                    2019-11-25 19:56:08	stdout	   length = info[3]->Uint32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:261:33: error: no matching function for call to ‘v8::Value::Uint32Value()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                         ^~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2611:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                 ^
                                    2019-11-25 19:56:08	stdout	   offset = info[2]->Uint32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:260:33: error: no matching function for call to ‘v8::Value::Uint32Value()’
                                    2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-11-25 19:56:08	stdout	                               ^
                                    2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	   ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   declarator __attribute__((deprecated(message)))
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
                                    2019-11-25 19:56:08	stdout	                               ^
                                    2019-11-25 19:56:08	stdout	                 Local<Object> ToObject(Isolate* isolate) const);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2590:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63,
                                    2019-11-25 19:56:08	stdout	                 from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:25,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/v8-internal.h:14:0,
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                            ^~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                           ^
                                    2019-11-25 19:56:08	stdout	   buf = info[1]->ToObject();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:259:27: error: no matching function for call to ‘v8::Value::ToObject()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                            ^
                                    2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:258:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note:   candidate expects 2 arguments, 1 provided
                                    2019-11-25 19:56:08	stdout	     ^~~~~~~~~
                                    2019-11-25 19:56:08	stdout	     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:3039:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                 ^
                                    2019-11-25 19:56:08	stdout	   String::Utf8Value path(info[1]);
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:231:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                            ^
                                    2019-11-25 19:56:08	stdout	   fd = info[0]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:230:28: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                     ^
                                    2019-11-25 19:56:08	stdout	   protocol    = info[2]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:191:37: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                     ^
                                    2019-11-25 19:56:08	stdout	   type        = info[1]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:190:37: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
                                    2019-11-25 19:56:08	stdout	                                        ^~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
                                    2019-11-25 19:56:08	stdout	/home/iobroker/.cache/node-gyp/12.13.1/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
                                    2019-11-25 19:56:08	stdout	                 from ../src/unix_dgram.cc:5:
                                    2019-11-25 19:56:08	stdout	                 from ../../nan/nan.h:54,
                                    2019-11-25 19:56:08	stdout	In file included from /home/iobroker/.cache/node-gyp/12.13.1/include/node/node.h:63:0,
                                    2019-11-25 19:56:08	stdout	                                     ^
                                    2019-11-25 19:56:08	stdout	   domain      = info[0]->Int32Value();
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:189:37: error: no matching function for call to ‘v8::Value::Int32Value()’
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                    2019-11-25 19:56:08	stdout	../../nan/nan.h:1024:46: note: declared here
                                    2019-11-25 19:56:08	stdout	In file included from ../src/unix_dgram.cc:5:0:
                                    2019-11-25 19:56:08	stdout	                            ^
                                    2019-11-25 19:56:08	stdout	                     0, NULL);
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:129:28: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
                                    2019-11-25 19:56:08	stdout	                                              ^~~~~~~~~~~~
                                    2019-11-25 19:56:08	stdout	   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                    2019-11-25 19:56:08	stdout	../../nan/nan.h:1024:46: note: declared here
                                    2019-11-25 19:56:08	stdout	In file included from ../src/unix_dgram.cc:5:0:
                                    2019-11-25 19:56:08	stdout	                         ^
                                    2019-11-25 19:56:08	stdout	                     argv);
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                    2019-11-25 19:56:08	stdout	../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
                                    2019-11-25 19:55:29	stdout	npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
                                    2019-11-25 19:55:29	stdout	NPM version: 6.13.1
                                    2019-11-25 19:55:28	stdout	Update js-controller from @1.5.14 to @2.1.1
                                    2019-11-25 19:55:26	stdout	sudo: Hostname ioBroker kann nicht aufgelöst werden
                                    2019-11-25 19:55:26	stdout	root@ioBroker:/opt/iobroker# iobroker upgrade self
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 last edited by

                                      Das Logfile von Upgrade sieht an sich ok aus ... Wie sieht denn ein Logfile aus denn Du es jetzt starten willst.

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

                                        @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

                                        Das Logfile von Upgrade sieht an sich ok aus ... Wie sieht denn ein Logfile aus denn Du es jetzt starten willst.

                                        ganz normal ohne Fehlermeldung

                                        root@ioBroker:/opt/iobroker# iobroker stop
                                        sudo: Hostname ioBroker kann nicht aufgelöst werden
                                        Stopping iobroker controller daemon...
                                        iobroker controller daemon stopped.
                                        No "killall.sh" script found. Just stop.
                                        root@ioBroker:/opt/iobroker# iobroker stopart
                                        sudo: Hostname ioBroker kann nicht aufgelöst werden
                                        Starting iobroker controller daemon...
                                        iobroker controller daemon started. PID: 30843
                                        
                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @BigUsh last edited by

                                          @BigUsh Und was sagt das Logfile? Liegt normalerweise im Unterverzeichnis logs da wo iobroker installiert ist

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

                                            @apollon77 sagte in js-controller 2 jetzt für alle im Stable:

                                            @BigUsh Und was sagt das Logfile? Liegt normalerweise im Unterverzeichnis logs da wo iobroker installiert ist

                                            ahh ok ...

                                            Sieht auch alles gut aus...nur "info" Meldungen.
                                            Einzige "Error" Meldung ist

                                            2019-11-26 09:21:00.072  - error: tr-064.0 (30952) --- To use the callmonitor, enable connects to port 1012 on FritsBox by dialing #96*5* and restart this adapter
                                            

                                            Alles was die javascripte betrifft:

                                            2019-11-26 09:21:33.352  - info: javascript.0 (31091) starting. Version 4.1.12 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.13.1
                                            2019-11-26 09:21:33.451  - info: javascript.0 (31091) requesting all states
                                            2019-11-26 09:21:33.454  - info: javascript.0 (31091) requesting all objects
                                            2019-11-26 09:21:34.661  - info: javascript.0 (31091) received all objects
                                            2019-11-26 09:21:34.766  - info: javascript.0 (31091) received all states
                                            2019-11-26 09:21:35.637  - info: javascript.0 (31091) Start javascript script.js.Anwesenheit.Anwesend_Nachricht
                                            2019-11-26 09:21:35.662  - info: javascript.0 (31091) script.js.Anwesenheit.Anwesend_Nachricht: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.663  - info: javascript.0 (31091) Start javascript script.js.Astro.AstroZeiten
                                            2019-11-26 09:21:35.683  - info: javascript.0 (31091) script.js.Astro.AstroZeiten: registered 0 subscriptions and 1 schedule
                                            2019-11-26 09:21:35.684  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_Buttons_Licht
                                            2019-11-26 09:21:35.693  - info: javascript.0 (31091) script.js.Telegram.Telegram_Buttons_Licht: registered 0 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.694  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_Temperaturen
                                            2019-11-26 09:21:35.702  - info: javascript.0 (31091) script.js.Telegram.Telegram_Temperaturen: registered 0 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.703  - info: javascript.0 (31091) Start javascript script.js.Das_Wetter.DasWetter_Symbole
                                            2019-11-26 09:21:35.735  - info: javascript.0 (31091) script.js.Das_Wetter.DasWetter_Symbole: registered 10 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.736  - info: javascript.0 (31091) Start javascript script.js.Telegram.Waschmaschine_Status
                                            2019-11-26 09:21:35.744  - info: javascript.0 (31091) script.js.Telegram.Waschmaschine_Status: registered 2 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.744  - info: javascript.0 (31091) Start javascript script.js.Licht.Astro_Garten_Strahler
                                            2019-11-26 09:21:35.756  - info: javascript.0 (31091) script.js.Licht.Astro_Garten_Strahler: registered 0 subscriptions and 2 schedules
                                            2019-11-26 09:21:35.757  - info: javascript.0 (31091) Start javascript script.js.Anwesenheit.Status_Jemand_Zuhause
                                            2019-11-26 09:21:35.769  - info: javascript.0 (31091) script.js.Anwesenheit.Status_Jemand_Zuhause: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.770  - info: javascript.0 (31091) Start javascript script.js.Licht.FlurLicht_Bewegung_an
                                            2019-11-26 09:21:35.781  - info: javascript.0 (31091) script.js.Licht.FlurLicht_Bewegung_an: registered 1 subscription and 1 schedule
                                            2019-11-26 09:21:35.782  - info: javascript.0 (31091) Start javascript script.js.Licht.BewegungFlur_zurücksetzen
                                            2019-11-26 09:21:35.789  - info: javascript.0 (31091) script.js.Licht.BewegungFlur_zurücksetzen: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.790  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_Infos_Morgen
                                            2019-11-26 09:21:35.798  - info: javascript.0 (31091) script.js.Telegram.Telegram_Infos_Morgen: registered 0 subscriptions and 1 schedule
                                            2019-11-26 09:21:35.799  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_Button_Garage
                                            2019-11-26 09:21:35.807  - info: javascript.0 (31091) script.js.Telegram.Telegram_Button_Garage: registered 0 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.807  - info: javascript.0 (31091) Start javascript script.js.Telegram.Garage_Status.Garage_öffnen_mit_Abfrage_Sensor
                                            2019-11-26 09:21:35.814  - info: javascript.0 (31091) script.js.Telegram.Garage_Status.Garage_öffnen_mit_Abfrage_Sensor: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.815  - info: javascript.0 (31091) Start javascript script.js.Alarm.Abwesend_Bewegung_erkannt
                                            2019-11-26 09:21:35.822  - info: javascript.0 (31091) script.js.Alarm.Abwesend_Bewegung_erkannt: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.823  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_Button_Übersicht
                                            2019-11-26 09:21:35.863  - info: javascript.0 (31091) script.js.Telegram.Telegram_Button_Übersicht: registered 0 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.878  - info: javascript.0 (31091) Start javascript script.js.Alarm.Abwesend_Fenster_offen
                                            2019-11-26 09:21:35.917  - info: javascript.0 (31091) script.js.Alarm.Abwesend_Fenster_offen: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.918  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_FensterKontakt_EG
                                            2019-11-26 09:21:35.948  - info: javascript.0 (31091) script.js.Telegram.Telegram_FensterKontakt_EG: registered 0 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.954  - info: javascript.0 (31091) Start javascript script.js.MiCube.MiCube_Alexa_Wohn
                                            2019-11-26 09:21:35.966  - info: javascript.0 (31091) script.js.MiCube.MiCube_Alexa_Wohn: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.968  - info: javascript.0 (31091) Start javascript script.js.Alarm.Zuhause_verlassen_Fenster
                                            2019-11-26 09:21:35.977  - info: javascript.0 (31091) script.js.Alarm.Zuhause_verlassen_Fenster: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:35.978  - info: javascript.0 (31091) Start javascript script.js.Telegram.Telegram_Licht
                                            2019-11-26 09:21:35.986  - info: javascript.0 (31091) script.js.Telegram.Telegram_Licht: registered 0 subscriptions and 0 schedules
                                            2019-11-26 09:21:35.988  - info: javascript.0 (31091) Start javascript script.js.Licht.Zeit_Vorgarten_Weihnachten_An_Aus
                                            2019-11-26 09:21:36.006  - info: javascript.0 (31091) script.js.Licht.Zeit_Vorgarten_Weihnachten_An_Aus: registered 0 subscriptions and 4 schedules
                                            2019-11-26 09:21:36.009  - info: javascript.0 (31091) Start javascript script.js.Heizung.Romeo_Heizung_Fenster
                                            2019-11-26 09:21:36.016  - info: javascript.0 (31091) script.js.Heizung.Romeo_Heizung_Fenster: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:36.017  - info: javascript.0 (31091) Start javascript script.js.Heizung.Schlafzimmer_Heizung_Fenster
                                            2019-11-26 09:21:36.027  - info: javascript.0 (31091) script.js.Heizung.Schlafzimmer_Heizung_Fenster: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:36.028  - info: javascript.0 (31091) Start javascript script.js.Heizung.Robin_Heizung_Fenster
                                            2019-11-26 09:21:36.036  - info: javascript.0 (31091) script.js.Heizung.Robin_Heizung_Fenster: registered 1 subscription and 0 schedules
                                            2019-11-26 09:21:36.036  - info: javascript.0 (31091) Start javascript script.js.Heizung.Robin_Heizung_Zeit
                                            2019-11-26 09:21:36.057  - info: javascript.0 (31091) script.js.Heizung.Robin_Heizung_Zeit: registered 0 subscriptions and 6 schedules
                                            2019-11-26 09:21:36.058  - info: javascript.0 (31091) Start javascript script.js.Heizung.Romy_Heizung_Zeit
                                            2019-11-26 09:21:36.078  - info: javascript.0 (31091) script.js.Heizung.Romy_Heizung_Zeit: registered 0 subscriptions and 6 schedules
                                            2019-11-26 09:21:36.078  - info: javascript.0 (31091) Start javascript script.js.Heizung.Romy_Heizung_Fenster
                                            2019-11-26 09:21:36.089  - info: javascript.0 (31091) script.js.Heizung.Romy_Heizung_Fenster: registered 1 subscription and 0 schedules
                                            

                                            Welche Scripte heute morgen nicht funktioniert haben sind folgende:

                                            2019-11-26 09:21:35.988  - info: javascript.0 (31091) Start javascript script.js.Licht.Zeit_Vorgarten_Weihnachten_An_Aus
                                            2019-11-26 09:21:36.006  - info: javascript.0 (31091) script.js.Licht.Zeit_Vorgarten_Weihnachten_An_Aus: registered 0 subscriptions and 4 schedules
                                            
                                            2019-11-26 09:21:35.770  - info: javascript.0 (31091) Start javascript script.js.Licht.FlurLicht_Bewegung_an
                                            2019-11-26 09:21:35.781  - info: javascript.0 (31091) script.js.Licht.FlurLicht_Bewegung_an: registered 1 subscription and 1 schedule
                                            

                                            Bezüglich der Heizungsscripten muss ich selbst nochmal heute Abend testen. Es kann sein das mein 2 Jähriger wieder an den Thermostaten war. Da meine Frau die sperre immer raus nimmt, spielt das Kind gerne daran rum 😉

                                            B 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

                                            871
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller js-controller 2
                                            74
                                            556
                                            133281
                                            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