NEWS
Upgrade zigbee immer error
-
@chucky666
Das ist doch mit Sicherheit nicht aus einem Terminal.
Bitte ein richtiges Terminal/Konsole/shell/Eingabeaufforderung verwenden. -
@thomas-braun
Sorry der hat das nicht richtig kopiert , er sagte immer etwas mit serialport error .Jetzt habe ich versucht ein downgrade vom zigbee Adapter zu machen , gleicher Fehler
-
@chucky666
Ich möchte bitte die kompletten Ein- und Ausgeben in einem Terminal sehen. -
So sehen alle Updates aus
$ ./iobroker upgrade openligadb Update openligadb from @1.1.0 to @1.2.0 NPM version: 6.14.10 npm install iobroker.openligadb@1.2.0 --loglevel error --prefix "/opt/iobroker" (System call) ../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.20.1/include/node/node.h:67:0, from ../../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/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.20.1/include/node/node.h:67:0, from ../../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../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:0, 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.20.1/include/node/node.h:67:0, from ../../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../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:0, 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 ‘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:0, 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 ‘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:0, 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.20.1/include/node/node.h:67:0, from ../../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../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:0, 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 ‘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.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^/home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^/home/iobroker/.cache/node-gyp/12.20.1/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:0, 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 ‘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.20.1/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.20.1/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.20.1/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^/home/iobroker/.cache/node-gyp/12.20.1/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:0, 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 ‘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:0, 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:460:17: error: variable or field ‘init’ declared void void init(v8::Handle<v8::Object> target) { ^~~~~~../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’ void init(v8::Handle<v8::Object> target) { ^~../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) { ^~~~~~In file included from ../../../../nan/nan.h:54:0, 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.20.1/include/node/node.h:737: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: *** [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/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:314:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 4.9.0-14-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/cc-znp/node_modules/serialportgyp ERR! node -v v12.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok upload [8] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/words.js words.js application/javascript Adapter "system.adapter.vis.0" restarted. upload [7] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/tsconfig.json tsconfig.json application/json upload [6] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/style.css style.css text/css upload [5] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/openligadb_b.png openligadb_b.png image/png upload [4] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/openligadb.png openligadb.png image/png upload [3] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/index_m.html index_m.html text/html upload [2] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/cb_true.png cb_true.png image/png upload [1] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/cb_false.png cb_false.png image/png upload [0] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/admin.d.ts admin.d.ts video/mp2t Adapter "openligadb" updated process exited with code 0
-
@chucky666
Da liegt immer noch der angeknabberte serialport build rum.iobroker del zigbee cd /opt/iobroker npm cache clean --force
Bitte vollständige Ein- und Ausgabe posten.
-
@thomas-braun sagte in Upgrade zigbee immer error:
npm cache clean --force
root@iobroker:~# iobroker del zigbee Delete adapter "zigbee" npm uninstall iobroker.zigbee --error --prefix "/opt/iobroker" (System call) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/avrgirl-arduino/package.json' npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.20.1","npm":"6.14.10"}) npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3 npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3 npm ERR! notsup Required: {"node":"~0.10.0"} npm ERR! notsup Actual: {"npm":"6.14.10","node":"12.20.1"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-01-22T14_27_41_981Z-debug.log Error deleting adapter zigbee from disk: Error: host.iobroker: Cannot uninstall iobroker.zigbee: 1 You might have to delete it yourself! root@iobroker:~# cd /opt/iobroker root@iobroker:/opt/iobroker# npm cache clean --force npm WARN using --force I sure hope you know what you are doing. root@iobroker:/opt/iobroker# root@iobroker:/opt/iobroker#
-
@chucky666 sagte in Upgrade zigbee immer error:
root@iobroker
Ist schon mal Obermurks.
Und eigentlich verschwende ich auch keine Zeit an so verfummelte Systeme.
Als user anmelden und per sudo das System administrieren. Ist das vielleicht auch noch Docker/Container-Gefummel? -
@thomas-braun
erstmal danke für deine Hilfe , macht es sinn iobroker zu löschen und per Backitup wiederherzustellen ?das system läuft auf einen Proxmox server , ich hatte damals alles nach Anleitung gemacht
-
@chucky666
Bei der Kombi root und Proxmox bin ich raus. -
Ich habe es jetzt so gemacht und siehe da jetzt klappt alles .
Hat zwar etwas gedauert aber egalDankeschön für eure Hilfe und Geduld