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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    js-controller 2 jetzt für alle im Stable

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

      @apollon77

      den gibt es ja nicht, ich habe ihn auch nicht gefunden. Sollte er mit dem Upgrade nicht automatisch angelegt werden.
      Manuell anlegen mit vis importer oder auf der shell?

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

        @UweRLP Ich habe, glaube ich, erfolgreich migriert. Ein wenig holprig, und einiges ist mir unklar. Aber die Instanzen laufen (ich habe eine überschaubare Anzahl, Homematic RF und IP, vis, Flot, IOT, History und Cloud im wesentlichen). Auch stabil, jedenfalls von gestern Abend bis heute.
        Probleme: Direkt nach der Installation bekam ich die Fehlermeldung, das unter Port 8086 (wo auch der alte ioBroker war) kein admin läuft (oder so) und jetzt abgebrochen wird. Ich habe mich kurz geärgert und als typischer Windows klicki-bunti-User die Installation noch einmal gestartet. Die selbe Meldung, aber ich habe dann festgestellt, dass ich den "alten" ioBroker Dienst manuell beenden und den neuen manuell starten kann und dann war alles gut und hat auch einen Rechnerneustart überlebt. Zweite komische Sache: Welche Node-Version habe ich jetzt? ioBroker sagt im Info-Tab 10, das cmd-Fenster sagt 8. Dürfte aber nicht so wichtig sein.

        apollon77 Stabilostick 2 Replies Last reply Reply Quote 0
        • apollon77
          apollon77 @A H 0 last edited by

          @A-H-0 ja wird er an sich. Im Admin müsste er ganz oben auftauchen.

          Falls du den Ordner im Dateisystem meinst dann wird der erst mit dem ersten file was du darin anlegst erzeugt. Ja das ist durchaus blöd. Mach mal einen writeFile Aufruf. Danach ist der sichtbar. Ich leg dazu ein issue an

          A H 0 Chaot 2 Replies Last reply Reply Quote 0
          • apollon77
            apollon77 @werner_q last edited by

            @werner_q hier muss @Stabilostick genau antworten aber die nodejs Version wird für die iobroker Instanz installiert. Und damit kann eine alte Instanz eine andere haben wie eine neue und nochmal anders wie das nodejs auf deinem System was manuell global installiert ist.

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

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

              @A-H-0 ja wird er an sich. Im Admin müsste er ganz oben auftauchen.

              Falls du den Ordner im Dateisystem meinst dann wird der erst mit dem ersten file was du darin anlegst erzeugt. Ja das ist durchaus blöd. Mach mal einen writeFile Aufruf. Danach ist der sichtbar. Ich leg dazu ein issue an

              Danke! Auch etwas ungewöhnlich, dass Handling im Admin. Ich habe testweise einen DP angelegt, gibt aber kein icon um ihn wieder zu löschen.

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

                @apollon77 Könnte ich dann theoretisch versuchen, die alte Node.js Version und auch die alte ioBroker Installation zu deinstallieren? Und kann ich auch das alte ioBroker-Verzeichnis löschen? (Ich habe ursprünglich vor Jahr und Tag auch den Windows-Installer verwendet und daher eine De-Installations-Option für ioBroker in der Systemsteuerung).
                Danke für die Unterstützung!

                Stabilostick 1 Reply Last reply Reply Quote 0
                • T
                  Taliesin last edited by

                  Hallo zusammen,

                  hab eben das Update gemacht. Beim updaten gab es eine Menge Fehlermeldungen:

                  Update js-controller from @1.5.14 to @2.1.0
                  NPM version: 6.11.3
                  npm install iobroker.js-controller@2.1.0 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
                  npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                  In file included from ../src/unix_dgram.cc:5:
                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                  ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                       , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                ^
                  ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
                  ../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]
                                       argv);
                                           ^
                  In file included from ../src/unix_dgram.cc:5:
                  ../../nan/nan.h:1024:46: note: declared here
                     NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
                  ../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]
                                       argv);
                                           ^
                  In file included from ../src/unix_dgram.cc:5:
                  ../../nan/nan.h:1024:46: note: declared here
                     NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
                  ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
                  ../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]
                                       0, NULL);
                                              ^
                  In file included from ../src/unix_dgram.cc:5:
                  ../../nan/nan.h:1024:46: note: declared here
                     NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
                  ../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]
                                       0, NULL);
                                              ^
                  In file included from ../src/unix_dgram.cc:5:
                  ../../nan/nan.h:1024:46: note: declared here
                     NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                ^~~~~~~~~~~~
                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     domain      = info[0]->Int32Value();
                                                       ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     type        = info[1]->Int32Value();
                                                       ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     protocol    = info[2]->Int32Value();
                                                       ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                     String::Utf8Value path(info[1]);
                                                   ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                     explicit Utf8Value(Local<v8::Value> obj));
                                              ^~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     buf = info[1]->ToObject();
                                             ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
                   Local<Object> Value::ToObject() const {
                                 ^~~~~
                  ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     offset = info[2]->Uint32Value();
                                                   ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
                     V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                 ^~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     length = info[3]->Uint32Value();
                                                   ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
                     V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                 ^~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                     String::Utf8Value path(info[4]);
                                                   ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                     explicit Utf8Value(Local<v8::Value> obj));
                                              ^~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     buf = info[1]->ToObject();
                                             ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
                   Local<Object> Value::ToObject() const {
                                 ^~~~~
                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                     String::Utf8Value path(info[1]);
                                                   ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                     explicit Utf8Value(Local<v8::Value> obj));
                                              ^~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26,
                                   from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  ../src/unix_dgram.cc: At global scope:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                         (node::addon_register_func) (regfunc),                          \
                                                             ^
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
                     NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                     ^~~~~~~~~~~~~
                  ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
                   NODE_MODULE(unix_dgram, Initialize)
                   ^~~~~~~~~~~
                  In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                   from ../../nan/nan.h:54,
                                   from ../src/unix_dgram.cc:5:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78:   required from here
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                  reinterpret_cast<Callback>(callback), type);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                  ../../nan/nan_object_wrap.h:65:61:   required from here
                  /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                  (node:29274) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                      at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
                      at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
                  (node:29274) 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)
                  (node:29274) [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.
                  (node:29274) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.
                      at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15)
                      at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14)
                  (node:29274) 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)
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  

                  Hab danach den Installationsfixer laufen lassen aber hab jetzt trotzdem nach dem Reboot folgende fehler im iobroker Log:

                  host.phoscon	2019-11-18 09:40:39.878	info	instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
                  host.phoscon	2019-11-18 09:40:39.878	error	Caught by controller[0]: at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
                  host.phoscon	2019-11-18 09:40:39.878	error	Caught by controller[0]: at emitErrorNT (internal/streams/destroy.js:91:8)
                  host.phoscon	2019-11-18 09:40:39.877	error	Caught by controller[0]: at Socket.emit (events.js:198:13)
                  host.phoscon	2019-11-18 09:40:39.877	error	Caught by controller[0]: at Socket.socketErrorListener (_http_client.js:392:9)
                  host.phoscon	2019-11-18 09:40:39.877	error	Caught by controller[0]: at ClientRequest.emit (events.js:198:13)
                  host.phoscon	2019-11-18 09:40:39.877	error	Caught by controller[0]: at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8)
                  host.phoscon	2019-11-18 09:40:39.876	error	Caught by controller[0]: at Request.emit (events.js:198:13)
                  host.phoscon	2019-11-18 09:40:39.875	error	Caught by controller[0]: at self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                  host.phoscon	2019-11-18 09:40:39.875	error	Caught by controller[0]: at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:692:28)
                  host.phoscon	2019-11-18 09:40:39.875	error	Caught by controller[0]: at JSON.parse (<anonymous>)
                  host.phoscon	2019-11-18 09:40:39.874	error	Caught by controller[0]: SyntaxError: Unexpected token u in JSON at position 0
                  deconz.0	2019-11-18 09:40:39.281	info	(1557) Terminated (NO_ERROR): Without reason
                  deconz.0	2019-11-18 09:40:39.279	info	(1557) terminating
                  deconz.0	2019-11-18 09:40:38.773	error	at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
                  deconz.0	2019-11-18 09:40:38.773	error	at emitErrorNT (internal/streams/destroy.js:91:8)
                  deconz.0	2019-11-18 09:40:38.773	error	at Socket.emit (events.js:198:13)
                  deconz.0	2019-11-18 09:40:38.773	error	at Socket.socketErrorListener (_http_client.js:392:9)
                  deconz.0	2019-11-18 09:40:38.773	error	at ClientRequest.emit (events.js:198:13)
                  deconz.0	2019-11-18 09:40:38.773	error	at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8)
                  deconz.0	2019-11-18 09:40:38.773	error	at Request.emit (events.js:198:13)
                  deconz.0	2019-11-18 09:40:38.773	error	at self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                  deconz.0	2019-11-18 09:40:38.773	error	at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:692:28)
                  deconz.0	2019-11-18 09:40:38.773	error	at JSON.parse (<anonymous>)
                  deconz.0	2019-11-18 09:40:38.773	error	(1557) SyntaxError: Unexpected token u in JSON at position 0
                  deconz.0	2019-11-18 09:40:38.772	error	(1557) uncaught exception: Unexpected token u in JSON at position 0
                  deconz.0	2019-11-18 09:40:38.683	info	(1557) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.deconz, node: v10.17.0
                  

                  Bin um jede Hilfe dankbar. Hätte gerne wieder ein sauberes Log :-).

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

                    @A-H-0 Da sollte aber das Löasch Icon unter "Objekte" wie sonst auch existieren

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

                      @Taliesin Das waren alles nur Warnungen keine Fehler. Alles ok.

                      Deconz bitte beim Deconz Adapter schauen. AUch wenn die Zeile im GitHub was leicht anderes ist sieht es so aus als ob von dem Deconz Service wenn er die Konfig abfragt kein JSON zurückgegeben wird. Also hat nix mit controller zu tun

                      T 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @A H 0 last edited by Homoran

                        @A-H-0 sagte in js-controller 2 jetzt für alle im Stable:

                        Ich habe testweise einen DP angelegt, gibt aber kein icon um ihn wieder zu löschen

                        Loeschen01.png

                        Beim DP schon, beim Ordner nicht

                        Loeschen02.png

                        Auch bei neu angelegten

                        AlCalzone A H 0 2 Replies Last reply Reply Quote 0
                        • T
                          Taliesin @apollon77 last edited by

                          @apollon77

                          vielen Dank schon Mal :-). Hab jetzt auf Debug gestellt und mal neu gestartet. im Log sehe ich aber auch nur diese Infos:

                          
                          2019-11-18 10:36:46.779  - ESC[32minfoESC[39m: deconz.0 (1560) starting. Version 1.1.2 in /opt/iobroker/node_modul
                          es/iobroker.deconz, node: v10.17.0
                          2019-11-18 10:36:46.881  - ESC[31merrorESC[39m: deconz.0 (1560) uncaught exception: Unexpected token u in JSON at
                          position 0
                          2019-11-18 10:36:46.882  - ESC[31merrorESC[39m: deconz.0 (1560) SyntaxError: Unexpected token u in JSON at positio
                          n 0
                              at JSON.parse (<anonymous>)
                              at Request._callback (/opt/iobroker/node_modules/iobroker.deconz/main.js:692:28)
                              at self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
                              at Request.emit (events.js:198:13)
                              at Request.onRequestError (/opt/iobroker/node_modules/request/request.js:881:8)
                              at ClientRequest.emit (events.js:198:13)
                              at Socket.socketErrorListener (_http_client.js:392:9)
                              at Socket.emit (events.js:198:13)
                              at emitErrorNT (internal/streams/destroy.js:91:8)
                              at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
                          2019-11-18 10:36:47.388  - ESC[32minfoESC[39m: deconz.0 (1560) terminating
                          2019-11-18 10:36:47.389  - ESC[32minfoESC[39m: deconz.0 (1560) Terminated (NO_ERROR): Without reason
                          
                          

                          Mir ist auch aufgefallen das ich unter objekte keinen 0_userdata.0 Ordner habe. Sollte der nicht mit der neuen Version da sein?

                          Homoran apollon77 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Taliesin last edited by

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

                            Hab jetzt auf Debug gestellt

                            Die Instanz, oder nur den log-Filter?

                            T 1 Reply Last reply Reply Quote 0
                            • S
                              Superdad last edited by

                              Musste heute früh wieder den Cache in Firefox und Chrom leeren um auf die Seite zu kommen.

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

                                @Homoran Das Objekt für den Ordner hat ein Attribut dontDelete: true, also gehe ich davon aus, dass das gewollt ist.

                                Homoran apollon77 2 Replies Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @AlCalzone last edited by Homoran

                                  @AlCalzone
                                  Sehe ich auch so, gibt auch einen entsprechenden Thread, dass das Verzeichnis immer wieder von den Toten aufersteht.

                                  War aber nicht als "Kritik" sondern als Info zur Abklärung bei @A-H-0 gedacht

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Taliesin @Homoran last edited by

                                    @Homoran

                                    Die Logstufe unter Instanz.

                                    Aber glaube hab das Problem gelöst. Hab den deconz Adapter deinstalliert und den Ordner /opt/iobroker/node_modules/iobroker.deconz gelöscht. Danach den Adapter neu installiert.
                                    Log ist jetzt auch nach 2 mal neu starten sauber und der fehlende userdata Ordner ist mittlerweile auch aufgetaucht 👍

                                    1 Reply Last reply Reply Quote 0
                                    • Stabilostick
                                      Stabilostick @werner_q last edited by Stabilostick

                                      @werner_q

                                      Welche Node-Version habe ich jetzt? ioBroker sagt im Info-Tab 10, das cmd-Fenster sagt 8.

                                      Dann hast Du die Kommandozeile nicht über den Link im Startmenü aufgerufen. Jede ioBroker-Instanz hat dort zwei Links genau für den Zweck, einen für ein vorkonfiguriertes Kommandozeilenfenster und einen für den Admin.

                                      1 Reply Last reply Reply Quote 1
                                      • Stabilostick
                                        Stabilostick @werner_q last edited by Stabilostick

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

                                        Könnte ich dann theoretisch versuchen, die alte Node.js Version und auch die alte ioBroker Installation zu deinstallieren? Und kann ich auch das alte ioBroker-Verzeichnis löschen? (Ich habe ursprünglich vor Jahr und Tag auch den Windows-Installer verwendet und daher eine De-Installations-Option für ioBroker in der Systemsteuerung).

                                        Ja. Wenn Du der Meinung bist, dass in der neuen Instanz alles ok ist. Zur Sicherheit kannst Du Dir eine Kopie des alten iobroker-data-Ordners aufheben.

                                        Beginnend mit dem neuen Installer kann man einzelne Instanzen über den Installer selbst löschen. Da werden dann auch Dienste und sonstige instanzspezifische Konfigs entfernt und man hat zusätzlich die Möglichkeit, sich einen Abzug des ioBroker-data Ordners aufzuheben.

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

                                          @AlCalzone korrekt 🙂

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

                                            @Taliesin Meine Antwort ist die gleiche wie oben. Bitte Issue beim Adapter öffnen bzw rausfinden warum die Deconz seite wo die Konfig abgeholt wird kein JSON zurückgibt. Hat nichts mit dem Controller zu tun!

                                            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

                                            1.1k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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