NEWS
Alte Adapter lassen sich nicht löschen
-
Hallo zusammen,
ich habe in den vergangenen Tagen mein System aktualisiert und dabei ist eine Kleinigkeit schief gegangen. Das Ziel war, den JS-Controller auf Version 2 und als Vorbereitung dazu node-js auf Version 10 anzuheben. Installiert ist ioBroker auf einer Ubuntu 18-Maschine.
Während der Aktualisierung kam es zu Problemen mit NPM, und weil wichtige Sachen nicht mehr liefen und ich mir nicht anders zu helfen wusste, habe ich erst den Ordner ~/.npm gelöscht und anschließend das reinstall-Script ausgeführt. Im Prinzip läuft jetzt wieder alles, aber ich kann nun alte Adapter nicht mehr löschen, die zum Zeitpunkt der Ausführung des Scripts keine Instanz hatten. Adapter mit Instanz habe ich nicht probiert.
Beispiel Sourceanalytix. Wenn ich den löschen will, erhalte ich folgende Debug-Ausgabe:
$ ./iobroker del sourceanalytix Delete adapter "sourceanalytix" npm uninstall iobroker.sourceanalytix --silent --save --prefix "/opt/iobroker" (System call) In file included from ../node_modules/nan/nan.h:190:0, from ../src/unix/pty.cc:20:../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:164:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value file(info[0]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:175:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value arg(argv_->Get(Nan::New<Integer>(i))->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:186:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value pair(env_->Get(Nan::New<Integer>(i))->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:191:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value cwd_(info[3]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:196:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[4]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:197:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[5]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:202:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int uid = info[6]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:203:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int gid = info[7]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:288:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:289:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[1]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:339:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:342:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[1]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:343:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[2]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:369:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:371:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value tty_(info[1]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:222:29: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] if (strlen(cwd)) chdir(cwd); ~~~~~^~~~~ make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1 process exited with code 0Weiß jemand, was ich tun kann, um das System wieder in Ordnung zu bringen?
-
Hallo zusammen,
ich habe in den vergangenen Tagen mein System aktualisiert und dabei ist eine Kleinigkeit schief gegangen. Das Ziel war, den JS-Controller auf Version 2 und als Vorbereitung dazu node-js auf Version 10 anzuheben. Installiert ist ioBroker auf einer Ubuntu 18-Maschine.
Während der Aktualisierung kam es zu Problemen mit NPM, und weil wichtige Sachen nicht mehr liefen und ich mir nicht anders zu helfen wusste, habe ich erst den Ordner ~/.npm gelöscht und anschließend das reinstall-Script ausgeführt. Im Prinzip läuft jetzt wieder alles, aber ich kann nun alte Adapter nicht mehr löschen, die zum Zeitpunkt der Ausführung des Scripts keine Instanz hatten. Adapter mit Instanz habe ich nicht probiert.
Beispiel Sourceanalytix. Wenn ich den löschen will, erhalte ich folgende Debug-Ausgabe:
$ ./iobroker del sourceanalytix Delete adapter "sourceanalytix" npm uninstall iobroker.sourceanalytix --silent --save --prefix "/opt/iobroker" (System call) In file included from ../node_modules/nan/nan.h:190:0, from ../src/unix/pty.cc:20:../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix/pty.cc:20:0:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:164:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value file(info[0]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:175:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value arg(argv_->Get(Nan::New<Integer>(i))->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:186:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value pair(env_->Get(Nan::New<Integer>(i))->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:191:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value cwd_(info[3]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:196:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[4]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:197:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[5]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:202:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int uid = info[6]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:203:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int gid = info[7]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:288:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:289:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[1]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:339:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc:342:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[1]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:343:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[2]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:369:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:371:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value tty_(info[1]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:26:0, from /home/iobroker/.cache/node-gyp/10.18.1/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.18.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:222:29: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] if (strlen(cwd)) chdir(cwd); ~~~~~^~~~~ make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1 process exited with code 0Weiß jemand, was ich tun kann, um das System wieder in Ordnung zu bringen?
JS Version?
-
@sigi234
Platform: linux
Architecture: x64
CPUs: 4
Speed: 2499 MHz
Model: Intel(R) Core(TM) i5-4690T CPU @ 2.50GHz
RAM: 2.9 GB
System uptime: 1 T. 16:36:15
Node.js: v10.18.1
NPM: 6.13.4
Disk size: 49.2 GiB
Disk free: 37.3 GiB
adapters count: 265
Uptime: 1 T. 15:45:27
Active instances: 21 -
@sigi234
Platform: linux
Architecture: x64
CPUs: 4
Speed: 2499 MHz
Model: Intel(R) Core(TM) i5-4690T CPU @ 2.50GHz
RAM: 2.9 GB
System uptime: 1 T. 16:36:15
Node.js: v10.18.1
NPM: 6.13.4
Disk size: 49.2 GiB
Disk free: 37.3 GiB
adapters count: 265
Uptime: 1 T. 15:45:27
Active instances: 21 -
Das hier:
sebastian@srv-iobroker1:/opt/iobroker$ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup - disabled system.adapter.daswetter.0 : daswetter - disabled system.adapter.ebus.0 : ebus - enabled system.adapter.fhem.0 : fhem - enabled, port: 7072 system.adapter.flot.0 : flot - enabled system.adapter.gardena.0 : gardena - enabled system.adapter.hm-rega.0 : hm-rega - enabled system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc - enabled, port: 0 system.adapter.hue-extended.0 : hue-extended - disabled system.adapter.hue.0 : hue - enabled, port: 80 system.adapter.influxdb.0 : influxdb - enabled, port: 8086 system.adapter.javascript.0 : javascript - enabled system.adapter.loxone.0 : loxone - enabled, port: 80 system.adapter.ping.0 : ping - enabled system.adapter.samsung.0 : samsung - enabled system.adapter.samsung.1 : samsung - enabled system.adapter.scenes.0 : scenes - enabled system.adapter.shelly.0 : shelly - enabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.sonos.0 : sonos - enabled system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command - disabled system.adapter.unifi.0 : unifi - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.yahka.0 : yahka - enabled + instance is alive sebastian@srv-iobroker1:/opt/iobroker$ node -v v10.18.1 sebastian@srv-iobroker1:/opt/iobroker$ nodejs -v v10.18.1 sebastian@srv-iobroker1:/opt/iobroker$ npm -v 6.13.6 sebastian@srv-iobroker1:/opt/iobroker$Nicht wundern, hab ioBroker gerade gestoppt.
-
Das hier:
sebastian@srv-iobroker1:/opt/iobroker$ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup - disabled system.adapter.daswetter.0 : daswetter - disabled system.adapter.ebus.0 : ebus - enabled system.adapter.fhem.0 : fhem - enabled, port: 7072 system.adapter.flot.0 : flot - enabled system.adapter.gardena.0 : gardena - enabled system.adapter.hm-rega.0 : hm-rega - enabled system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc - enabled, port: 0 system.adapter.hue-extended.0 : hue-extended - disabled system.adapter.hue.0 : hue - enabled, port: 80 system.adapter.influxdb.0 : influxdb - enabled, port: 8086 system.adapter.javascript.0 : javascript - enabled system.adapter.loxone.0 : loxone - enabled, port: 80 system.adapter.ping.0 : ping - enabled system.adapter.samsung.0 : samsung - enabled system.adapter.samsung.1 : samsung - enabled system.adapter.scenes.0 : scenes - enabled system.adapter.shelly.0 : shelly - enabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.sonos.0 : sonos - enabled system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command - disabled system.adapter.unifi.0 : unifi - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.yahka.0 : yahka - enabled + instance is alive sebastian@srv-iobroker1:/opt/iobroker$ node -v v10.18.1 sebastian@srv-iobroker1:/opt/iobroker$ nodejs -v v10.18.1 sebastian@srv-iobroker1:/opt/iobroker$ npm -v 6.13.6 sebastian@srv-iobroker1:/opt/iobroker$Nicht wundern, hab ioBroker gerade gestoppt.
Schaut eigentlich gut aus,
Admin Version?
Habe schon so einen Fehler im Forum gesehen. Vielleicht finde ich ihn. -
Schaut eigentlich gut aus,
Admin Version?
Habe schon so einen Fehler im Forum gesehen. Vielleicht finde ich ihn.@sigi234
Die Admin-Version ist 3.7.7Hilft das hier vielleicht noch weiter?
sebastian@srv-iobroker1:/opt/iobroker$ iobroker del sourceanalytix Delete adapter "sourceanalytix" Error deleting adapter sourceanalytix from disk: Error: Cannot find module 'iobroker.sourceanalytix/io-package.json' You might have to delete it yourself! sebastian@srv-iobroker1:/opt/iobroker$ -
@sigi234
Die Admin-Version ist 3.7.7Hilft das hier vielleicht noch weiter?
sebastian@srv-iobroker1:/opt/iobroker$ iobroker del sourceanalytix Delete adapter "sourceanalytix" Error deleting adapter sourceanalytix from disk: Error: Cannot find module 'iobroker.sourceanalytix/io-package.json' You might have to delete it yourself! sebastian@srv-iobroker1:/opt/iobroker$Nochmal installieren und wieder deinstallieren.
Wie deinstalliert du ihn? -
Das hier:
sebastian@srv-iobroker1:/opt/iobroker$ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup - disabled system.adapter.daswetter.0 : daswetter - disabled system.adapter.ebus.0 : ebus - enabled system.adapter.fhem.0 : fhem - enabled, port: 7072 system.adapter.flot.0 : flot - enabled system.adapter.gardena.0 : gardena - enabled system.adapter.hm-rega.0 : hm-rega - enabled system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc - enabled, port: 0 system.adapter.hue-extended.0 : hue-extended - disabled system.adapter.hue.0 : hue - enabled, port: 80 system.adapter.influxdb.0 : influxdb - enabled, port: 8086 system.adapter.javascript.0 : javascript - enabled system.adapter.loxone.0 : loxone - enabled, port: 80 system.adapter.ping.0 : ping - enabled system.adapter.samsung.0 : samsung - enabled system.adapter.samsung.1 : samsung - enabled system.adapter.scenes.0 : scenes - enabled system.adapter.shelly.0 : shelly - enabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.sonos.0 : sonos - enabled system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command - disabled system.adapter.unifi.0 : unifi - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.yahka.0 : yahka - enabled + instance is alive sebastian@srv-iobroker1:/opt/iobroker$ node -v v10.18.1 sebastian@srv-iobroker1:/opt/iobroker$ nodejs -v v10.18.1 sebastian@srv-iobroker1:/opt/iobroker$ npm -v 6.13.6 sebastian@srv-iobroker1:/opt/iobroker$Nicht wundern, hab ioBroker gerade gestoppt.
@Hiltex sagte in Alte Adapter lassen sich nicht löschen:
Das hier:
sieht doch genauso gut aus wie das bemängelte log
@Hiltex sagte in Alte Adapter lassen sich nicht löschen:
process exited with code 0
Sourceanalytics ist doch gar nicht mehr drin
kein Wunder, dass du es nicht noch mal deinstallieren kannst
-
@Hiltex sagte in Alte Adapter lassen sich nicht löschen:
Das hier:
sieht doch genauso gut aus wie das bemängelte log
@Hiltex sagte in Alte Adapter lassen sich nicht löschen:
process exited with code 0
Sourceanalytics ist doch gar nicht mehr drin
kein Wunder, dass du es nicht noch mal deinstallieren kannst
@Homoran sagte in Alte Adapter lassen sich nicht löschen:
Sourceanalytics ist doch gar nicht mehr drin
Wer lesen kann ist klar im Vorteil. :smirk:
-
Vielleicht hab ich mich nicht ganz eindeutig ausgedrückt :D
Das Ziel ist, Adapter ohne Instanzen vom System zu entfernen.

Hier wird Sourceanalytix noch angezeigt und soll eigentlich über die Tonne gelöscht werden.
@Hiltex
Wenn ich das richtig erkenne ist das die Adapterliste aller möglichen installierbaren Adapter.
Da kannst du nichts herauslöschenWenn der Installiert wäre, stünde unter der Spalte vor der Version eine 1
-
@Hiltex
Wenn ich das richtig erkenne ist das die Adapterliste aller möglichen installierbaren Adapter.
Da kannst du nichts herauslöschenWenn der Installiert wäre, stünde unter der Spalte vor der Version eine 1
-
@Homoran
Wenn ich mit der Maus über die Tonne fahre steht da "Adapter löschen". Und früher hat das ja auch funktioniert.
Sprechen wir wirklich vom Gleichen?
@Hiltex
Wurde der Adapter über GitHub installiert?
Ist der Adapter schon über npm verfügbar?- wenn nicht wie soll npm ihn deinstallieren?
-
@Homoran
Wenn ich mit der Maus über die Tonne fahre steht da "Adapter löschen". Und früher hat das ja auch funktioniert.
Sprechen wir wirklich vom Gleichen?
@Hiltex
Wenn er installiert ist, dann geht das auch, aber in Deinem Beispiel oben ist der Adapter eben nicht installiert und wie willst den dann löschen, wenn nicht vorhanden?Hier mal ein Beispiel wenn ein Adapter installiert ist, dann sieht die Zeile so aus:

DA ist dann die Verfügbare Version und die tatsächlich installierte aufgeführt. Ist bei installiert kein EIntrag, dann ist der auch nicht auf Deinem System und kann folglich auch nicht von dem entfernt werden, was so auch noch nie funktioniert hat, da unmöglich.
-
@Hiltex
Wenn er installiert ist, dann geht das auch, aber in Deinem Beispiel oben ist der Adapter eben nicht installiert und wie willst den dann löschen, wenn nicht vorhanden?Hier mal ein Beispiel wenn ein Adapter installiert ist, dann sieht die Zeile so aus:

DA ist dann die Verfügbare Version und die tatsächlich installierte aufgeführt. Ist bei installiert kein EIntrag, dann ist der auch nicht auf Deinem System und kann folglich auch nicht von dem entfernt werden, was so auch noch nie funktioniert hat, da unmöglich.
Nicht dass wir weiter aneinander vorbeireden.
Was @Jan1 zeigt ist eine installierte Instanz - die durchiobroker del AdapterName.0deinstalliert wird.Die gesamten Installationsdateien des Adapters werden tatsächlich mit
iobroker del AdapterNameincl. aller installierten Instanzen glöscht.Die Mülltonne scheint mir gemäß log
@Hiltex sagte in Alte Adapter lassen sich nicht löschen:
npm uninstall iobroker.sourceanalytix --silent --save --prefix "/opt/iobroker" (System call)
aber npm aufzurufen
EDIT:
habe eben in der Adapterliste der repositories gesehen, dass sourceanalytics zumindest in latest mit der Version 0.3.0 vertreten ist -
Nicht dass wir weiter aneinander vorbeireden.
Was @Jan1 zeigt ist eine installierte Instanz - die durchiobroker del AdapterName.0deinstalliert wird.Die gesamten Installationsdateien des Adapters werden tatsächlich mit
iobroker del AdapterNameincl. aller installierten Instanzen glöscht.Die Mülltonne scheint mir gemäß log
@Hiltex sagte in Alte Adapter lassen sich nicht löschen:
npm uninstall iobroker.sourceanalytix --silent --save --prefix "/opt/iobroker" (System call)
aber npm aufzurufen
EDIT:
habe eben in der Adapterliste der repositories gesehen, dass sourceanalytics zumindest in latest mit der Version 0.3.0 vertreten ist -
Zur allgemeinen Entwirrung schreib ich nochmal Schritt für Schritt alles auf. Ich nutze dazu einen Adapter den ich noch nie installiert hatte: 1Wire OWFS

Schritt 1: installieren
Instanz läuft, alles gut.

Schritt 2: löschen
Mach ich gleich über die Tonne auf der entsprechenden Zeile

So sieht dann die Ausgabe aus:

Aber der Adapter scheint gelöscht zu sein

Schritt 3: den nächsten unliebsamen Adapter löschen
Ich nehme hier einfach Bars-Widget



Ergebnis
Der zuvor gelöschte Adapter 1Wire OWFS wird wieder als installiert, nur eben ohne Instanz angezeigt

Für dieses Problem suche ich gerade eine Lösung.