Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alte Adapter lassen sich nicht löschen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Alte Adapter lassen sich nicht löschen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Hiltex
      Hiltex last edited by

      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 0
      

      Weiß jemand, was ich tun kann, um das System wieder in Ordnung zu bringen?

      sigi234 1 Reply Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @Hiltex last edited by

        @Hiltex

        JS Version?

        Hiltex 1 Reply Last reply Reply Quote 0
        • Hiltex
          Hiltex @sigi234 last edited by

          @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 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @Hiltex last edited by

            @Hiltex

            Was kommt bei:

            cd /opt/iobroker
            iobroker list instances
            node -v
            nodejs -v
            npm -v

            Hiltex 1 Reply Last reply Reply Quote 0
            • Hiltex
              Hiltex @sigi234 last edited by

              @sigi234

              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.

              sigi234 Homoran 2 Replies Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Hiltex last edited by

                @Hiltex

                Schaut eigentlich gut aus,
                Admin Version?
                Habe schon so einen Fehler im Forum gesehen. Vielleicht finde ich ihn.

                Hiltex 1 Reply Last reply Reply Quote 0
                • Hiltex
                  Hiltex @sigi234 last edited by

                  @sigi234
                  Die Admin-Version ist 3.7.7

                  Hilft 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 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @Hiltex last edited by sigi234

                    @Hiltex

                    Nochmal installieren und wieder deinstallieren.
                    Wie deinstalliert du ihn?

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Hiltex last edited by Homoran

                      @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

                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @Homoran last edited by

                        @Homoran sagte in Alte Adapter lassen sich nicht löschen:

                        Sourceanalytics ist doch gar nicht mehr drin

                        Wer lesen kann ist klar im Vorteil. 😏

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

                          Vielleicht hab ich mich nicht ganz eindeutig ausgedrückt 😄

                          Das Ziel ist, Adapter ohne Instanzen vom System zu entfernen.
                          Bildschirmfoto 2020-01-27 um 11.59.03.png

                          Hier wird Sourceanalytix noch angezeigt und soll eigentlich über die Tonne gelöscht werden.

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Hiltex last edited by

                            @Hiltex
                            Wenn ich das richtig erkenne ist das die Adapterliste aller möglichen installierbaren Adapter.
                            Da kannst du nichts herauslöschen

                            Wenn der Installiert wäre, stünde unter der Spalte vor der Version eine 1

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

                              @Homoran
                              Wenn ich mit der Maus über die Tonne fahre steht da "Adapter löschen". Und früher hat das ja auch funktioniert.

                              Bildschirmfoto 2020-01-27 um 12.06.29.png

                              Sprechen wir wirklich vom Gleichen?

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

                                @Hiltex
                                Wurde der Adapter über GitHub installiert?
                                Ist der Adapter schon über npm verfügbar?

                                • wenn nicht wie soll npm ihn deinstallieren?
                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @Hiltex last edited by Jan1

                                  @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:
                                  25ce3cfe-3148-44d6-b295-595235a251f8-grafik.png

                                  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.

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Jan1 last edited by Homoran

                                    @Jan1
                                    @Hiltex

                                    Nicht dass wir weiter aneinander vorbeireden.
                                    Was @Jan1 zeigt ist eine installierte Instanz - die durch iobroker del AdapterName.0 deinstalliert wird.

                                    Die gesamten Installationsdateien des Adapters werden tatsächlich mit iobroker del AdapterName incl. 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

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

                                      @Homoran
                                      Jup, ich lag falsch, das ist ja tatsächlich ein installierter Adapter, also vergess was ich geschrieben habe.

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

                                        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

                                        Bildschirmfoto 2020-01-27 um 12.09.59.png

                                        Schritt 1: installieren
                                        Instanz läuft, alles gut.
                                        Bildschirmfoto 2020-01-27 um 12.10.44.png

                                        Schritt 2: löschen
                                        Mach ich gleich über die Tonne auf der entsprechenden Zeile
                                        Bildschirmfoto 2020-01-27 um 12.10.59.png

                                        So sieht dann die Ausgabe aus:
                                        Bildschirmfoto 2020-01-27 um 12.13.39.png

                                        Aber der Adapter scheint gelöscht zu sein
                                        Bildschirmfoto 2020-01-27 um 12.13.53.png

                                        Schritt 3: den nächsten unliebsamen Adapter löschen
                                        Ich nehme hier einfach Bars-Widget
                                        Bildschirmfoto 2020-01-27 um 12.14.01.png

                                        Bildschirmfoto 2020-01-27 um 12.14.14.png

                                        Bildschirmfoto 2020-01-27 um 12.14.32.png

                                        Ergebnis
                                        Der zuvor gelöschte Adapter 1Wire OWFS wird wieder als installiert, nur eben ohne Instanz angezeigt
                                        Bildschirmfoto 2020-01-27 um 12.14.44.png

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

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Hiltex
                                          Hiltex last edited by

                                          Vielleicht noch als Ergänzung:
                                          Ich habe nun auch mal versucht, einen Adapter zu löschen, der bei reinstall eine Instanz hatte - geht auch nicht.

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

                                            Welcher js-controller?

                                            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

                                            793
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            npm fehler
                                            6
                                            41
                                            4447
                                            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