NEWS
UNSOLVED IoBroker Backup einspielen
-
@Rushmed sagte in IoBroker Backup einspielen:
Wie groß sind eure Backups ungefähr?
@simatec sagte in IoBroker Backup einspielen:
Die mit backitup oder über Konsole erstellten iobroker Backups sind in ordnung und haben keine Fehler.
Habe gerade bei mir alle Backups getestet.
Bitte pürft eure Backups ebenfalls. Dazu könnt ihr zum Beispiel unter Windows 7Zip nehmen.Woran erkenne ich ob meine Backup okay ist?
Also meine haben 3,4MB
-
Hi, mich begrüßt diese Meldung beim Backup einspielen:
pi@iobroker:/opt/iobroker $ iobroker restore 0 /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568 if (parseInt(name.trim(), 10).toString() === name.trim().toString()) { ^ TypeError: name.trim is not a function at BackupRestore.restoreBackup (/opt/iobroker/node_modules/iobroker.js-contr oller/lib/setup/setupBackup.js:568:27) at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js :1474:28) at Object.connected (/opt/iobroker/node_modules/iobroker.js-controller/lib/s etup.js:3087:29) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/ lib/states/statesInMemServer.js:184:26) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)
Nach dem Einspielen alternativ mit backitup ist der iobroker nach einem Neustart nicht mehr erreichbar. In der Fritz.box bekommt er seine IP, aber der Browser sagt nur ERR_CONNECTION_REFUSED
Über Konsole:
pi@iobroker:/opt/iobroker $ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, b ind: 0.0.0.0, run as: admin system.adapter.chromecast.0 : chromecast - disabled system.adapter.cloud.0 : cloud - disabled system.adapter.denon.0 : denon - disabled system.adapter.discovery.0 : discovery - disabled system.adapter.google-sharedlocations.0: google-sharedlocations - disabled system.adapter.history.0 : history - disabled system.adapter.hm-rega.0 : hm-rega - disabled system.adapter.hm-rpc.0 : hm-rpc - disabled, port: 0 system.adapter.info.0 : info - disabled system.adapter.iot.0 : iot - disabled system.adapter.javascript.0 : javascript - disabled system.adapter.lgtv.0 : lgtv - disabled system.adapter.mihome-vacuum.0 : mihome-vacuum - disabled, port: 54321 system.adapter.ping.0 : ping - disabled system.adapter.sayit.0 : sayit - disabled, port: 0 system.adapter.shelly.0 : shelly - disabled, port: 1882, b ind: 0.0.0.0 system.adapter.sonoff.0 : sonoff - disabled, port: 1883, b ind: 0.0.0.0 system.adapter.telegram.0 : telegram - disabled, port: 8443, b ind: 0.0.0.0 system.adapter.telegram.1 : telegram - disabled, port: 8443, b ind: 0.0.0.0 system.adapter.telegram.2 : telegram - disabled, port: 8443, b ind: 0.0.0.0 system.adapter.terminal.0 : terminal - disabled, port: 8088, b ind: 0.0.0.0, run as: admin system.adapter.text2command.0 : text2command - disabled system.adapter.tr-064.0 : tr-064 - disabled system.adapter.web.0 : web - disabled, port: 8082, b ind: 0.0.0.0, run as: admin system.adapter.wifilight.0 : wifilight - disabled system.adapter.yeelight-2.0 : yeelight-2 - disabled system.adapter.zigbee.0 : zigbee - disabled + instance is alive pi@iobroker:/opt/iobroker $ node -v4 node: bad option: -v4 pi@iobroker:/opt/iobroker $ node -v v10.19.0 pi@iobroker:/opt/iobroker $ nodejs -v v10.19.0 pi@iobroker:/opt/iobroker $ npm -v 6.13.4 pi@iobroker:/opt/iobroker $
-
@maxpd
Entweder du gibst statt der 0 den konkreten Dateinamen statt der null an, oder du suchst mal hier im Forum nach der Fehlermeldung. Da gibt es bereits einige Themen zu -
@simatec Aber die Fehlermeldung wäre ja irrelevant, wenn man es über backitup macht. dort wurde kein fehler gemeldet. Das Problem ist jetzt eigentlich, dass iobroker gar nicht mehr läuft.
-
Vielleicht sollest du besser ein neues Thema öffnen und genau beschreiben was du gemacht hast.
Habe letzte Woche dreimal restore gemacht und hatte nie Probleme.
-
-
pi@iobroker:/opt/iobroker $ iobroker status iobroker is running Objects type: file States type: file
-
@maxpd
?deineIP:8081
-
@Glasfaser Was meinst du?
-
Den Admin im Browser aufrufen ....
-
@Glasfaser Ja, dass ist das Problem. Da komm ich nicht mehr drauf.In der Fritz.box bekommt er seine IP, aber der Browser sagt nur ERR_CONNECTION_REFUSED
-
bei deinem Auszug fehlt der Eintrag bei Admin !?
oder ist das ein alter Auszug !?port: 8081, bind: 0.0.0.0, run as: admin
-
@Glasfaser der eintrag ist tatsöchlich aktuell.
Auch probiert habe ich jetzt
cd /opt/iobroker iobroker stop npm install iobroker.admin iobroker upload admin iobroker start
wobei npm install nur errors schmeißt und
cd /opt/iobroker iobroker set admin.0 --bind 0.0.0.0 iobroker set admin.0 --port 8081
-
@maxpd Ich habe jetzt auch mal versucht den admin zu löschen und neu zu installieren. Gleiche Fehlermeldung. Und installiert hat er den Admin auch nicht mehr.
pi@iobroker:/opt/iobroker $ iobroker del admin Delete adapter "admin" host.iobroker Counted 1 instances of admin host.iobroker Counted 1 adapter for admin host.iobroker Counted 1 channels of admin host.iobroker Counted 21 states of admin host.iobroker Counted 7 states (io.admin.*) from states host.iobroker Counted 17 states (system.adapter.admin.*) from states host.iobroker Deleting 24 object(s). host.iobroker Deleting 24 state(s). npm uninstall iobroker.admin --silent --save --prefix "/opt/iobroker" (System ca ll) In file included from ../node_modules/nan/nan.h:190, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope rtyAttribute)’: ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m ember named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v 8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v 8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v 8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d eclarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v 8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d eclarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v 8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>* )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>* )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac k::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ : ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] )); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] )); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declare d here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in defin ition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor ker*)’: ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t ypes from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_ cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock et(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] domain = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] type = info[1]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] protocol = info[2]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind (Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send To(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject () const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declare d here Local<Object> Value::ToObject() const { ^~~~~ ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] offset = info[2]->Uint32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] length = info[3]->Uint32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[4]); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send (Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject () const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declare d here Local<Object> Value::ToObject() const { ^~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Conn ect(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Clos e(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2 6, from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in d efinition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: ../src/unix_dgram.cc: At global scope: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘ node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::V alue>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expan sion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h :63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘v oid v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callbac k, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8 ::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::Obje ctWrap>&)]’: /home/iobroker/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78: required from here /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap> ::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘ Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-t ype] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘v oid v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callbac k, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8: :WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::Object Wrap>&)]’: ../node_modules/nan/nan_object_wrap.h:66:61: required from here /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>: :Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Ca llback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-typ e] make: *** [unix_dgram.target.mk:101: Release/obj.target/unix_dgram/src/unix_dgra m.o] Error 1 pi@iobroker:/opt/iobroker $ iobroker stop npmpi@iobroker:/opt/iobroker $ npm install iobroker.admin > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../node_modules/nan/nan.h:190, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope rtyAttribute)’: ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m ember named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v 8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v 8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v 8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d eclarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v 8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d eclarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v 8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>* )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>* )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac k::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ : ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] )); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated -declarations] )); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor ker*)’: ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t ypes from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_ cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock et(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] domain = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] type = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] protocol = info[2]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind (Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send To(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject () const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] offset = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] length = info[3]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[4]); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send (Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject () const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buf = info[1]->ToObject(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Conn ect(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value path(info[1]); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Clos e(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definit ion of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: ../src/unix_dgram.cc: At global scope: /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast betwe en incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node:: addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion o f macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8 ::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8: :WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::Weak CallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap >&)]’: /home/pi/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78: requir ed from here /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast betwee n incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Call back’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callba ck’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8 ::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8: :WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakC allbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>& )]’: ../node_modules/nan/nan_object_wrap.h:66:61: required from here /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast betwee n incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callb ack’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callbac ’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] make: *** [unix_dgram.target.mk:101: Release/obj.target/unix_dgram/src/unix_dgra m.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module s/node-gyp/lib/build.js:191:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:248:12) gyp ERR! System Linux 4.19.97-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy p/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram gyp ERR! node -v v10.19.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.3 (n ode_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-tempe rature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux" ,"arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/u nix-dgram): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node- gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 + iobroker.admin@4.0.5 added 28 packages from 21 contributors, updated 1 package and audited 8073 packa ges in 25.753s 13 packages are looking for funding run `npm fund` for details found 200 vulnerabilities (189 low, 11 high) run `npm audit fix` to fix them, or `npm audit` for details ╭────────────────────────────────────────────────────────────────╮ │ │ │ New minor version of npm available! 6.13.4 → 6.14.4 │ │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.4 │ │ Run npm install -g npm to update! │ │ │ ╰────────────────────────────────────────────────────────────────╯ pi@iobroker:/opt/iobroker $ iobroker upload amin Cannot find io-package.json in null Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json' pi@iobroker:/opt/iobroker $ iobroker start
-
@maxpd
Zeige mal deine Versionen .iobroker list adapters
Edit :
installiere mal diese Version .cd /opt/iobroker npm install iobroker.admin@3.7.8 iobroker upload admin iobroker start admin.0
-
Lief iobroker denn bevor du den restore gemacht hast überhaupt bzw. War die Admin Seite erreichbar?
-
@wendy2702 Jap, das ging.
pi@iobroker:~ $ iobroker list adapters system.adapter.discovery : discovery - v1.3.0 system.adapter.cloud : cloud - v2.7.1 system.adapter.hm-rpc : hm-rpc - v1.12.6 system.adapter.hm-rega : hm-rega - v2.5.4 system.adapter.mihome-vacuum : mihome-vacuum - v1.1.5 system.adapter.yeelight-2 : yeelight-2 - v1.0.3 system.adapter.telegram : telegram - v1.4.3 system.adapter.google-sharedlocations : google-sharedlocations - v1.5.2 system.adapter.wifilight : wifilight - v0.2.0 system.adapter.javascript : javascript - v4.3.4 system.adapter.web : web - v2.4.10 system.adapter.sonoff : sonoff - v2.2.2 system.adapter.lgtv : lgtv - v1.1.5 system.adapter.terminal : terminal - v0.1.2 system.adapter.text2command : text2command - v1.2.5 system.adapter.ping : ping - v1.3.2 system.adapter.tr-064 : tr-064 - v0.4.18 system.adapter.denon : denon - v1.7.2 system.adapter.info : info - v1.5.7 system.adapter.iot : iot - v1.2.0 system.adapter.zigbee : zigbee - v1.0.2 system.adapter.chromecast : chromecast - v2.3.1 system.adapter.sayit : sayit - v1.9.0 system.adapter.history : history - v1.8.6 system.adapter.shelly : shelly - v3.1.6
pi@iobroker:/opt/iobroker $ iobroker upload admin got /opt/iobroker/node_modules/iobroker.admin/admin upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png system.adapter.admin does not exist pi@iobroker:/opt/iobroker $ iobroker start admin.0 Adapter "admin.0" does not exist. pi@iobroker:/opt/iobroker $
pi@iobroker:/opt/iobroker $ npm audit fix npm ERR! code ELOCKVERIFY npm ERR! Errors were found in your package-lock.json, run npm install to fix them. npm ERR! Invalid: lock file's iobroker.admin@3.6.2 does not satisfy iobroker.admin@^3.7.8
-
Wie genau bist du vorgegangen beim Restore?
Ich habe z.B. ein Full Backup gemacht.
Dann auf einer VM mit Debian Buster nach dieser Linux Anleitung ioBroker neu installiert:
https://www.iobroker.net/#de/documentation/install/linux.md
Kutz getestet ob Admin erreichbar.
Dann mein Backup per ftp auf den neuen Server in einen beliebigen ordner kopiert und mit
iobroker restore /opt/iobroker/backups/2020_03_20-19_51_43_backupiobroker.tar.gz
die Wiederherstellung angestoßen.
Nachdem die Meldung im Terminal kam das alles OK war iobroker gestartet und mit
tail -f /opt/iobroker/log....
das logfile beobachtet und gewartet bis alles fertig installiert wurde. Kann je nach System etwas dauern.
Hast du von diesen Schritten zufällig die logs?
Aktuell würde ich behaupten etwas an deiner Admin installation stimmt nicht. Ob ich da noch mehr Zeit ins Troubleshooting stecken würde weiß ich nicht. Eher noch einmal sauber beginnen. Geht ja eigentlich relativ schnell.
-
Ich habe
ein image auf sd karte
update gemacht
admin getestet
backup (über konsole erstellt) eingespielt über konsole mit obigem error. allerdings nur restore 0, nicht den exakten dateinamen.
admin gestartet und backitup installiert
dort das backup wieder eingespielt
restart von backitup abgewartet, der nicht kam (hier ist der admin schon kaputt gegangen)Logs habe ich keine mehr.
Ich denke wenn ich es nochmal mache (dabei den Restore über Konsole weg lasse), wird der gleiche Fehler nochmal auftreten. Müssen alle Adapter vor dem Backup herstellen installiert werden? -
@maxpd sagte in IoBroker Backup einspielen:
backup (über konsole erstellt) eingespielt über konsole mit obigem error. allerdings nur restore 0, nicht den exakten dateinamen.
admin gestartet und backitup installiert
dort das backup wieder eingespieltDas ist doch dann doppelt gemoppelt.
Wenn du doch schon ein Backup über Konsole eingespielt hast, warum noch einmal über den Adapter?