Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter lassen sich nicht mehr updaten ?

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    9
    1
    98

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.4k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

Adapter lassen sich nicht mehr updaten ?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
updateerrorlog
66 Beiträge 5 Kommentatoren 5.3k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • tr1plxT tr1plx

    @Thomas-Braun

    max@iobroker:~$ apt policy node
    N: Paket node kann nicht gefunden werden.
    max@iobroker:~$
    
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #10

    @tr1plx Okay, also irgendwie am Paketmanager vorbei ins System gedonnert.
    Mal so ganz unter uns: Wie kommt man an solche 'Anleitungen'? Ich vermute mal du hast dir da irgendwelchen Mist zusammengegoogelt, oder?

    sudo rm /usr/local/bin/node
    sudo apt update
    sudo apt install nodejs --reinstall
    which node
    node -v
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    tr1plxT 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @tr1plx Okay, also irgendwie am Paketmanager vorbei ins System gedonnert.
      Mal so ganz unter uns: Wie kommt man an solche 'Anleitungen'? Ich vermute mal du hast dir da irgendwelchen Mist zusammengegoogelt, oder?

      sudo rm /usr/local/bin/node
      sudo apt update
      sudo apt install nodejs --reinstall
      which node
      node -v
      
      tr1plxT Offline
      tr1plxT Offline
      tr1plx
      schrieb am zuletzt editiert von
      #11

      @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

      @tr1plx Okay, also irgendwie am Paketmanager vorbei ins System gedonnert.
      Mal so ganz unter uns: Wie kommt man an solche 'Anleitungen'? Ich vermute mal du hast dir da irgendwelchen Mist zusammengegoogelt, oder?

      sudo rm /usr/local/bin/node
      sudo apt update
      sudo apt install nodejs --reinstall
      which node
      node -v
      

      Ja sicher, was bleibt einem denn als Laie anderes übrig :-)
      Vermutlich habe ich mal was probiert, eine falsche Anleitung gefunden und damit was kaputt gemacht ohne es zu merken. ioBroker selbst funktioniert ja noch. Habe nur eben festgestellt, dass sich die Adapter nicht mehr updaten lassen und damit erst gemerkt, dass ich wohl mal was verpfuscht habe :-)

      max@iobroker:~$ sudo rm /usr/local/bin/node
      [sudo] Passwort für max:
      max@iobroker:~$ sudo apt update
      Holen:1 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
      OK:2 http://deb.debian.org/debian buster InRelease
      OK:3 http://deb.debian.org/debian buster-updates InRelease
      OK:4 https://deb.nodesource.com/node_12.x buster InRelease
      Holen:5 http://security.debian.org/debian-security buster/updates/main Sources [119 kB]
      Holen:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [197 kB]
      Holen:7 http://security.debian.org/debian-security buster/updates/main Translation-en [106 kB]
      Es wurden 487 kB in 1 s geholt (801 kB/s).
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      max@iobroker:~$ sudo apt install nodejs --reinstall
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
      Es müssen 18,0 MB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
      Holen:1 https://deb.nodesource.com/node_12.x buster/main amd64 nodejs amd64 12.16.3-1nodesource1 [18,0 MB]
      Es wurden 18,0 MB in 0 s geholt (36,3 MB/s).
      (Lese Datenbank ... 46205 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_amd64.deb ...
      Detected old npm client, removing...
      Entpacken von nodejs (12.16.3-1nodesource1) über (12.16.3-1nodesource1) ...
      nodejs (12.16.3-1nodesource1) wird eingerichtet ...
      Trigger für man-db (2.8.5-2) werden verarbeitet ...
      max@iobroker:~$ which node
      /usr/bin/node
      max@iobroker:~$ node -v
      v12.16.3
      max@iobroker:~$
      
      

      Danach mal einen reboot ausgeführt, hat leider aber keine Besserung gebracht:

      $ ./iobroker upgrade
      Adapter "accuweather"    is not installed.
      Adapter "admin"          is up to date.
      Adapter "alarm"          is not installed.
      Adapter "alexa2"         is up to date.Adapter "alpha2"         is not installed.Adapter "amazon-dash"    is not installed.
      Adapter "artnet"         is not installed.Adapter "asterisk"       is not installed.
      Adapter "asuswrt"        is not installed.
      Adapter "b-control-em"   is not installed.
      Update backitup from @1.5.6 to @1.5.7
      host.iobroker Adapter "system.adapter.backitup.0" is stopped.
      NPM version: 6.14.5
      npm install iobroker.backitup@1.5.7 --loglevel error --prefix "/opt/iobroker" (System call)
      In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../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/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
      ../src/serialport.cpp:78:69: 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]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
      ../src/serialport.cpp:135:71: 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]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
      ../src/serialport.cpp:270:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
      ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: 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]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^
      In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^
      ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’
      ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~
      ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~                                    tzset
      In file included from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
      ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’ NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
      make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
      gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialportgyp ERR! node -v v12.16.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      npm 
      ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-05-13T19_24_27_565Z-debug.log
      upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
      upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
      upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
      upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
      Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • tr1plxT tr1plx

        @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

        @tr1plx Okay, also irgendwie am Paketmanager vorbei ins System gedonnert.
        Mal so ganz unter uns: Wie kommt man an solche 'Anleitungen'? Ich vermute mal du hast dir da irgendwelchen Mist zusammengegoogelt, oder?

        sudo rm /usr/local/bin/node
        sudo apt update
        sudo apt install nodejs --reinstall
        which node
        node -v
        

        Ja sicher, was bleibt einem denn als Laie anderes übrig :-)
        Vermutlich habe ich mal was probiert, eine falsche Anleitung gefunden und damit was kaputt gemacht ohne es zu merken. ioBroker selbst funktioniert ja noch. Habe nur eben festgestellt, dass sich die Adapter nicht mehr updaten lassen und damit erst gemerkt, dass ich wohl mal was verpfuscht habe :-)

        max@iobroker:~$ sudo rm /usr/local/bin/node
        [sudo] Passwort für max:
        max@iobroker:~$ sudo apt update
        Holen:1 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
        OK:2 http://deb.debian.org/debian buster InRelease
        OK:3 http://deb.debian.org/debian buster-updates InRelease
        OK:4 https://deb.nodesource.com/node_12.x buster InRelease
        Holen:5 http://security.debian.org/debian-security buster/updates/main Sources [119 kB]
        Holen:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [197 kB]
        Holen:7 http://security.debian.org/debian-security buster/updates/main Translation-en [106 kB]
        Es wurden 487 kB in 1 s geholt (801 kB/s).
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Alle Pakete sind aktuell.
        max@iobroker:~$ sudo apt install nodejs --reinstall
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
        Es müssen 18,0 MB an Archiven heruntergeladen werden.
        Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
        Holen:1 https://deb.nodesource.com/node_12.x buster/main amd64 nodejs amd64 12.16.3-1nodesource1 [18,0 MB]
        Es wurden 18,0 MB in 0 s geholt (36,3 MB/s).
        (Lese Datenbank ... 46205 Dateien und Verzeichnisse sind derzeit installiert.)
        Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_amd64.deb ...
        Detected old npm client, removing...
        Entpacken von nodejs (12.16.3-1nodesource1) über (12.16.3-1nodesource1) ...
        nodejs (12.16.3-1nodesource1) wird eingerichtet ...
        Trigger für man-db (2.8.5-2) werden verarbeitet ...
        max@iobroker:~$ which node
        /usr/bin/node
        max@iobroker:~$ node -v
        v12.16.3
        max@iobroker:~$
        
        

        Danach mal einen reboot ausgeführt, hat leider aber keine Besserung gebracht:

        $ ./iobroker upgrade
        Adapter "accuweather"    is not installed.
        Adapter "admin"          is up to date.
        Adapter "alarm"          is not installed.
        Adapter "alexa2"         is up to date.Adapter "alpha2"         is not installed.Adapter "amazon-dash"    is not installed.
        Adapter "artnet"         is not installed.Adapter "asterisk"       is not installed.
        Adapter "asuswrt"        is not installed.
        Adapter "b-control-em"   is not installed.
        Update backitup from @1.5.6 to @1.5.7
        host.iobroker Adapter "system.adapter.backitup.0" is stopped.
        NPM version: 6.14.5
        npm install iobroker.backitup@1.5.7 --loglevel error --prefix "/opt/iobroker" (System call)
        In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../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/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
        ../src/serialport.cpp:78:69: 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]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
        ../src/serialport.cpp:135:71: 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]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^
        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
        ../src/serialport.cpp:270:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
        ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^
        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: 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]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^
        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
        ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^
        In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^
        ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’
        ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~
        ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~                                    tzset
        In file included from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
        ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’ NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
        make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
        gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialportgyp ERR! node -v v12.16.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
        npm 
        ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-05-13T19_24_27_565Z-debug.log
        upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
        upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
        upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
        upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
        Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #12

        @tr1plx Hatte ich das mit dem Reboot gesagt? Kann mich nicht erinnern...

        iobroker version 
        iobroker stop
        iobroker fix
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        tr1plxT 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @tr1plx Hatte ich das mit dem Reboot gesagt? Kann mich nicht erinnern...

          iobroker version 
          iobroker stop
          iobroker fix
          
          tr1plxT Offline
          tr1plxT Offline
          tr1plx
          schrieb am zuletzt editiert von
          #13

          @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

          @tr1plx Hatte ich das mit dem Reboot gesagt? Kann mich nicht erinnern...

          iobroker version 
          iobroker stop
          iobroker fix
          

          Tut mir leid, ich hatte danach versucht die Adapter zu installieren und es kamen die Fehler, da dachte ich vielleicht ein reboot wäre nicht schlecht.

          max@iobroker:~$ iobroker version
          [sudo] Passwort für max:
          3.1.4
          max@iobroker:~$ iobroker stop
          max@iobroker:~$ iobroker fix
          library: loaded
          Library version=2020-04-12
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2020-04-12
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          OK:1 https://deb.nodesource.com/node_12.x buster InRelease
          OK:2 http://security.debian.org/debian-security buster/updates InRelease
          OK:3 http://deb.debian.org/debian buster InRelease
          OK:4 http://deb.debian.org/debian buster-updates InRelease
          Paketlisten werden gelesen... Fertig
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/3)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_09-02_00_21_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_09-02_00_32_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_10-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_10-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_11-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_11-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_12-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_12-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_13-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_13-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_09-02_00_21_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_09-02_00_32_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_10-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_10-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_11-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_11-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_12-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_12-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_13-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_13-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
          chown: der Eigentümer von '/opt/iobroker/backups' wird geändert: Keine Berechtigung
          This system does not support setting default permissions.
          Do not use npm to manually install adapters unless you know what you are doing!
          
          ==========================================================================
              Checking autostart (3/3)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          max@iobroker:~$
          
          

          und nun ?
          iobroker start und nochmal versuchen?

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • tr1plxT tr1plx

            @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

            @tr1plx Hatte ich das mit dem Reboot gesagt? Kann mich nicht erinnern...

            iobroker version 
            iobroker stop
            iobroker fix
            

            Tut mir leid, ich hatte danach versucht die Adapter zu installieren und es kamen die Fehler, da dachte ich vielleicht ein reboot wäre nicht schlecht.

            max@iobroker:~$ iobroker version
            [sudo] Passwort für max:
            3.1.4
            max@iobroker:~$ iobroker stop
            max@iobroker:~$ iobroker fix
            library: loaded
            Library version=2020-04-12
            
            ==========================================================================
            
                Welcome to the ioBroker installation fixer!
                Script version: 2020-04-12
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/3)
            ==========================================================================
            
            OK:1 https://deb.nodesource.com/node_12.x buster InRelease
            OK:2 http://security.debian.org/debian-security buster/updates InRelease
            OK:3 http://deb.debian.org/debian buster InRelease
            OK:4 http://deb.debian.org/debian buster-updates InRelease
            Paketlisten werden gelesen... Fertig
            Installed gcc-c++
            
            ==========================================================================
                Checking ioBroker user and directory permissions (2/3)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Fixing directory permissions...
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_09-02_00_21_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_09-02_00_32_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_10-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_10-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_11-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_11-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_12-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_12-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_13-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_13-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_09-02_00_21_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_09-02_00_32_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_10-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_10-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_11-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_11-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_12-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_12-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/iobroker_2020_05_13-02_00_20_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups/mysql_2020_05_13-02_00_26_iobroker_backupiobroker.tar.gz' wird geändert: Keine Berechtigung
            chown: der Eigentümer von '/opt/iobroker/backups' wird geändert: Keine Berechtigung
            This system does not support setting default permissions.
            Do not use npm to manually install adapters unless you know what you are doing!
            
            ==========================================================================
                Checking autostart (3/3)
            ==========================================================================
            
            Enabling autostart...
            Autostart enabled!
            
            ==========================================================================
            
                Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            
            max@iobroker:~$
            
            

            und nun ?
            iobroker start und nochmal versuchen?

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #14

            @tr1plx

            ls -la /opt/iobroker/ | grep backups
            

            Warum willst du immer rebooten? Das ist ein Linux, kein Windows.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            harrymH tr1plxT 2 Antworten Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @tr1plx

              ls -la /opt/iobroker/ | grep backups
              

              Warum willst du immer rebooten? Das ist ein Linux, kein Windows.

              harrymH Offline
              harrymH Offline
              harrym
              schrieb am zuletzt editiert von
              #15

              @Thomas-Braun ;) das stimmt! ... der fixer hat aber jetzt erst den user iobroker zu sudoers hinzugefügt .... ergo ausloggen, neu einloggen und den fixer nochmals laufen lassen ;)

              ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

              Thomas BraunT 2 Antworten Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @tr1plx

                ls -la /opt/iobroker/ | grep backups
                

                Warum willst du immer rebooten? Das ist ein Linux, kein Windows.

                tr1plxT Offline
                tr1plxT Offline
                tr1plx
                schrieb am zuletzt editiert von
                #16

                @Thomas-Braun

                max@iobroker:~$ ls -la /opt/iobroker/ | grep backups
                drwxrwxrwx     1 max   max        0 Mai 13 02:00 backups
                max@iobroker:~$
                
                1 Antwort Letzte Antwort
                0
                • harrymH harrym

                  @Thomas-Braun ;) das stimmt! ... der fixer hat aber jetzt erst den user iobroker zu sudoers hinzugefügt .... ergo ausloggen, neu einloggen und den fixer nochmals laufen lassen ;)

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #17

                  @harrym Stimmt auffallend. Und ich hatte mich jetzt natürlich über die fehlenden Rechte an dem Verzeichnis gewundert.

                  Also ausloggen und nochmal als 'max' rein.

                  sudo -u iobroker groups
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  0
                  • tr1plxT Offline
                    tr1plxT Offline
                    tr1plx
                    schrieb am zuletzt editiert von
                    #18

                    Sieht in der Tat besser aus

                    max@iobroker:~$ iobroker stop
                    max@iobroker:~$ iobroker fix
                    library: loaded
                    Library version=2020-04-12
                    
                    ==========================================================================
                    
                        Welcome to the ioBroker installation fixer!
                        Script version: 2020-04-12
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/3)
                    ==========================================================================
                    
                    [sudo] Passwort für max:
                    OK:1 http://security.debian.org/debian-security buster/updates InRelease
                    OK:2 http://deb.debian.org/debian buster InRelease
                    OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                    OK:4 http://deb.debian.org/debian buster-updates InRelease
                    Paketlisten werden gelesen... Fertig
                    Installed gcc-c++
                    
                    ==========================================================================
                        Checking ioBroker user and directory permissions (2/3)
                    ==========================================================================
                    
                    Created /etc/sudoers.d/iobroker
                    Fixing directory permissions...
                    
                    ==========================================================================
                        Checking autostart (3/3)
                    ==========================================================================
                    
                    Enabling autostart...
                    Autostart enabled!
                    
                    ==========================================================================
                    
                        Your installation was fixed successfully
                        Run iobroker start to start ioBroker again!
                    
                    ==========================================================================
                    
                    max@iobroker:~$
                    
                    

                    iobroker start und nochmals versuchen?

                    harrymH 1 Antwort Letzte Antwort
                    0
                    • tr1plxT tr1plx

                      Sieht in der Tat besser aus

                      max@iobroker:~$ iobroker stop
                      max@iobroker:~$ iobroker fix
                      library: loaded
                      Library version=2020-04-12
                      
                      ==========================================================================
                      
                          Welcome to the ioBroker installation fixer!
                          Script version: 2020-04-12
                      
                          You might need to enter your password a couple of times.
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/3)
                      ==========================================================================
                      
                      [sudo] Passwort für max:
                      OK:1 http://security.debian.org/debian-security buster/updates InRelease
                      OK:2 http://deb.debian.org/debian buster InRelease
                      OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                      OK:4 http://deb.debian.org/debian buster-updates InRelease
                      Paketlisten werden gelesen... Fertig
                      Installed gcc-c++
                      
                      ==========================================================================
                          Checking ioBroker user and directory permissions (2/3)
                      ==========================================================================
                      
                      Created /etc/sudoers.d/iobroker
                      Fixing directory permissions...
                      
                      ==========================================================================
                          Checking autostart (3/3)
                      ==========================================================================
                      
                      Enabling autostart...
                      Autostart enabled!
                      
                      ==========================================================================
                      
                          Your installation was fixed successfully
                          Run iobroker start to start ioBroker again!
                      
                      ==========================================================================
                      
                      max@iobroker:~$
                      
                      

                      iobroker start und nochmals versuchen?

                      harrymH Offline
                      harrymH Offline
                      harrym
                      schrieb am zuletzt editiert von
                      #19

                      @tr1plx ja ... start den broker

                      ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                      1 Antwort Letzte Antwort
                      0
                      • harrymH harrym

                        @Thomas-Braun ;) das stimmt! ... der fixer hat aber jetzt erst den user iobroker zu sudoers hinzugefügt .... ergo ausloggen, neu einloggen und den fixer nochmals laufen lassen ;)

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von Thomas Braun
                        #20

                        @harrym sagte in Adapter lassen sich nicht mehr updaten ?:

                        @Thomas-Braun ;) das stimmt! ... der fixer hat aber jetzt erst den user iobroker zu sudoers hinzugefügt .... ergo ausloggen, neu einloggen und den fixer nochmals laufen lassen ;)

                        Hmmm.... Mein 'ioboker' ist aber gar kein sudoer...
                        Dem gehört einfach alles in /opt/iobroker

                        sudo -u iobroker groups
                        iobroker tty dialout audio video bluetooth redis gpio i2c
                        

                        Aber wurscht, der Fixer ist ja jetzt durch.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        harrymH 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @harrym sagte in Adapter lassen sich nicht mehr updaten ?:

                          @Thomas-Braun ;) das stimmt! ... der fixer hat aber jetzt erst den user iobroker zu sudoers hinzugefügt .... ergo ausloggen, neu einloggen und den fixer nochmals laufen lassen ;)

                          Hmmm.... Mein 'ioboker' ist aber gar kein sudoer...
                          Dem gehört einfach alles in /opt/iobroker

                          sudo -u iobroker groups
                          iobroker tty dialout audio video bluetooth redis gpio i2c
                          

                          Aber wurscht, der Fixer ist ja jetzt durch.

                          harrymH Offline
                          harrymH Offline
                          harrym
                          schrieb am zuletzt editiert von
                          #21

                          @Thomas-Braun gugg mal im fixer .... iobroker braucht teilweise sudo rechte ;)

                          ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • harrymH harrym

                            @Thomas-Braun gugg mal im fixer .... iobroker braucht teilweise sudo rechte ;)

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #22

                            @harrym Das wollte ich mir eigentlich immer mal angeschaut haben, was da so gezaubert wird im Fixer. Mach ich mal bei Gelegenheit.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            harrymH 1 Antwort Letzte Antwort
                            0
                            • tr1plxT Offline
                              tr1plxT Offline
                              tr1plx
                              schrieb am zuletzt editiert von
                              #23

                              @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

                              sudo -u iobroker groups

                              max@iobroker:~$ sudo -u iobroker groups
                              iobroker tty dialout audio video bluetooth
                              max@iobroker:~$
                              
                              
                              

                              ich habe iobroker gestartet, aber leider lassen sich die Adapter noch immer nicht updaten.

                              harrymH 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @harrym Das wollte ich mir eigentlich immer mal angeschaut haben, was da so gezaubert wird im Fixer. Mach ich mal bei Gelegenheit.

                                harrymH Offline
                                harrymH Offline
                                harrym
                                schrieb am zuletzt editiert von
                                #24

                                @Thomas-Braun Bildschirmfoto vom 2020-05-13 21-56-58.png

                                Bildschirmfoto vom 2020-05-13 21-57-11.png

                                ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • tr1plxT tr1plx

                                  @Thomas-Braun said in Adapter lassen sich nicht mehr updaten ?:

                                  sudo -u iobroker groups

                                  max@iobroker:~$ sudo -u iobroker groups
                                  iobroker tty dialout audio video bluetooth
                                  max@iobroker:~$
                                  
                                  
                                  

                                  ich habe iobroker gestartet, aber leider lassen sich die Adapter noch immer nicht updaten.

                                  harrymH Offline
                                  harrymH Offline
                                  harrym
                                  schrieb am zuletzt editiert von
                                  #25

                                  @tr1plx fehler? noch immer der mim serialport?

                                  ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                  tr1plxT 1 Antwort Letzte Antwort
                                  0
                                  • harrymH harrym

                                    @tr1plx fehler? noch immer der mim serialport?

                                    tr1plxT Offline
                                    tr1plxT Offline
                                    tr1plx
                                    schrieb am zuletzt editiert von
                                    #26

                                    @harrym said in Adapter lassen sich nicht mehr updaten ?:

                                    @tr1plx fehler? noch immer der mim serialport?

                                    Ja. ich habe jetzt mal nur den Backitup einzeln versucht:

                                    $ ./iobroker upgrade backitup
                                    Update backitup from @1.5.6 to @1.5.7
                                    host.iobroker Adapter "system.adapter.backitup.0" is stopped.
                                    NPM version: 6.14.5
                                    npm install iobroker.backitup@1.5.7 --loglevel error --prefix "/opt/iobroker" (System call)
                                    In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../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/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                    ../src/serialport.cpp:78:69: 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]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
                                    ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:135:71: 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]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
                                    ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
                                    ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                    ../src/serialport.cpp:270:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: 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]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~
                                    ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~                                    tzsetIn file included from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
                                    ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’ NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
                                    make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
                                    gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialportgyp ERR! node -v v12.16.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                    npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-05-13T19_58_42_071Z-debug.log
                                    upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                    upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                    upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                    upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                    Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started
                                    process exited with code 0
                                    
                                    nach kurzer Zeit erscheit er erneut unter updates.
                                    
                                    harrymH 1 Antwort Letzte Antwort
                                    0
                                    • harrymH harrym

                                      @Thomas-Braun Bildschirmfoto vom 2020-05-13 21-56-58.png

                                      Bildschirmfoto vom 2020-05-13 21-57-11.png

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #27

                                      @harrym Ah, direkt drin, nicht über die Gruppe. Alles klar...

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      1 Antwort Letzte Antwort
                                      0
                                      • tr1plxT tr1plx

                                        @harrym said in Adapter lassen sich nicht mehr updaten ?:

                                        @tr1plx fehler? noch immer der mim serialport?

                                        Ja. ich habe jetzt mal nur den Backitup einzeln versucht:

                                        $ ./iobroker upgrade backitup
                                        Update backitup from @1.5.6 to @1.5.7
                                        host.iobroker Adapter "system.adapter.backitup.0" is stopped.
                                        NPM version: 6.14.5
                                        npm install iobroker.backitup@1.5.7 --loglevel error --prefix "/opt/iobroker" (System call)
                                        In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../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/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                        ../src/serialport.cpp:78:69: 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]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:135:71: 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]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^~~~~~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                        ../src/serialport.cpp:270:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: 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]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: 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]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: 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]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~
                                        ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~                                    tzsetIn file included from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
                                        ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’ NODE_MODULE(serialport, init);                         ^~~~/home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
                                        make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
                                        gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:310:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.wm-bus/node_modules/serialportgyp ERR! node -v v12.16.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                        npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@6.2.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-05-13T19_58_42_071Z-debug.log
                                        upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                        upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                        upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                        upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                        Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started
                                        process exited with code 0
                                        
                                        nach kurzer Zeit erscheit er erneut unter updates.
                                        
                                        harrymH Offline
                                        harrymH Offline
                                        harrym
                                        schrieb am zuletzt editiert von
                                        #28

                                        @tr1plx sagte in Adapter lassen sich nicht mehr updaten ?:

                                        Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started

                                        alles gut! adapter ist up2date .... ignoriere den "fehler" vom serialport

                                        ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                                        tr1plxT 1 Antwort Letzte Antwort
                                        0
                                        • harrymH harrym

                                          @tr1plx sagte in Adapter lassen sich nicht mehr updaten ?:

                                          Adapter "backitup" updatedhost.iobroker Adapter "system.adapter.backitup.0" is started

                                          alles gut! adapter ist up2date .... ignoriere den "fehler" vom serialport

                                          tr1plxT Offline
                                          tr1plxT Offline
                                          tr1plx
                                          schrieb am zuletzt editiert von
                                          #29

                                          @harrym

                                          nochmal, wie ganz am Anfang bereits gesagt.
                                          Die Updates kommen nach ein paar Minuten wieder !

                                          Zwischenablage01.jpg

                                          Die Instanz läuft, aber sie lässt sich nicht updaten.

                                          Was hat es denn mit dem Serialport auf sich?

                                          Thomas BraunT harrymH 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          842

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe