NEWS
IOBroker startet nach update auf jscontroller *.*.11 nicht
-
erich@SmartHome:/opt/iobroker$ sudo 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-controller/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/setup.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) erich@SmartHome:/opt/iobroker$das funktioniert auch nicht.
-
so, fullbackup in der cli eingespielt mit
sudo tar -xzvf total_2019_05_25-03_00_10_backupiobroker.tar.gz -C /opt/iobroker1.) system funktioniert wieder.
2.) ABER: beim updaten der adapter kommen folgende warnings und errors. Der/die Adapter werden allerdings upgedatet! KENNT DAS WER?
3.) jscontroller ist natürlich wieder auf 1.5.7
4.) ein update auf 1.5.11 trau ich mich jetzt nicht mehr machen.
...$ ./iobroker upgrade weatherunderground Update weatherunderground from @3.0.9 to @3.0.10 NPM version: 6.4.1 npm install iobroker.weatherunderground@3.0.10 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) ../src/contextify.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE ContextifyContext::New(Nan::NAN_METHOD_ARGS_TYPE)’:../src/contextify.cc:62:74: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ContextifyContext* ctx = new ContextifyContext(info[0]->ToObject()); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc: In static member function ‘static v8::Local<v8::Context> ContextWrap::createV8Context(v8::Local<v8::Object>)’:../src/contextify.cc:131:68: error: no matching function for call to ‘v8::Function::NewInstance()’ Local<Object> wrapper = Nan::New(constructor)->NewInstance(); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( ^~~~~~~~~~~ /home/erich/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 0 provided /home/erich/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( ^~~~~~~~~~~ /home/erich/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate expects 1 argument, 0 provided ../src/contextify.cc:150:16: error: ‘class v8::ObjectTemplate’ has no member named ‘SetAccessCheckCallbacks’; did you mean ‘SetAccessCheckCallback’? otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck, ^~~~~~~~~~~~~~~~~~~~~~~ SetAccessCheckCallback ../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertyGetter(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&)’:../src/contextify.cc:176:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> data = info.Data()->ToObject(); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc:182:80: error: no matching function for call to ‘v8::Object::GetRealNamedProperty(v8::Local<v8::String>&)’ Local<Value> rv = Nan::New(ctx->sandbox)->GetRealNamedProperty(property); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:3562:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::GetRealNamedProperty(v8::Local<v8::Context>, v8::Local<v8::Name>) V8_WARN_UNUSED_RESULT MaybeLocal<Value> GetRealNamedProperty( ^~~~~~~~~~~~~~~~~~~~ /home/erich/.node-gyp/10.16.0/include/node/v8.h:3562:43: note: candidate expects 2 arguments, 1 provided ../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertySetter(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&)’: ../src/contextify.cc:192:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> data = info.Data()->ToObject(); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertyQuery(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&)’: ../src/contextify.cc:203:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> data = info.Data()->ToObject(); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc:209:67: error: no matching function for call to ‘v8::Object::GetRealNamedProperty(v8::Local<v8::String>&)’ if (!Nan::New(ctx->sandbox)->GetRealNamedProperty(property).IsEmpty() || ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:3562:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::GetRealNamedProperty(v8::Local<v8::Context>, v8::Local<v8::Name>) V8_WARN_UNUSED_RESULT MaybeLocal<Value> GetRealNamedProperty( ^~~~~~~~~~~~~~~~~~~~ /home/erich/.node-gyp/10.16.0/include/node/v8.h:3562:43: note: candidate expects 2 arguments, 1 provided ../src/contextify.cc:210:71: error: no matching function for call to ‘v8::Object::GetRealNamedProperty(v8::Local<v8::String>&)’ !Nan::New(ctx->proxyGlobal)->GetRealNamedProperty(property).IsEmpty()) { ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:3562:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Object::GetRealNamedProperty(v8::Local<v8::Context>, v8::Local<v8::Name>) V8_WARN_UNUSED_RESULT MaybeLocal<Value> GetRealNamedProperty( ^~~~~~~~~~~~~~~~~~~~ /home/erich/.node-gyp/10.16.0/include/node/v8.h:3562:43: note: candidate expects 2 arguments, 1 provided ../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertyDeleter(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&)’:../src/contextify.cc:218:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> data = info.Data()->ToObject(); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc: In static member function ‘static void ContextWrap::GlobalPropertyEnumerator(const Nan::PropertyCallbackInfo<v8::Array>&)’:../src/contextify.cc:229:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> data = info.Data()->ToObject(); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE ContextifyScript::RunInContext(Nan::NAN_METHOD_ARGS_TYPE)’:../src/contextify.cc:319:62: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] if (!ContextifyContext::InstanceOf(info[0]->ToObject())) ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/contextify.cc:322:95: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ContextifyContext* ctx = Nan::ObjectWrap::Unwrap<ContextifyContext>(info[0]->ToObject()); ^ In file included from /home/erich/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/contextify.cc:1: /home/erich/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ make: *** [Release/obj.target/contextify/src/contextify.o] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.15.0-50-generic gyp 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/contextify gyp ERR! node -v v10.16.0 gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/engine.io-parser/node_modules/arraybuffer.slic/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/engine.io-parser/node_modules/base64-arraybuff/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/node-schedule/node_modules/cron-parser/node_modules/is-nan/node_modules/define-properties/node_modules/obj/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/yargs/node_modules/cliui/node_modules/wrap-ansi/node_modules/string-width/node_modules/is-fullwidth-code-p/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/prompt/node_modules/utile/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/yargs/node_modules/os-locale/node_modules/execa/node_modules/cross-spawn/node_modules/which/node_modules/i/package.json' npm WARN winston-daily-rotate-file@1.7.2 requires a peer of winston@2.x but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: contextify@0.1.15 (node_modules/contextify):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: contextify@0.1.15 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.weatherunderground" npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x. npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm notice created a lockfile as package-lock.json. You should commit this file. got /opt/iobroker/node_modules/iobroker.weatherunderground/admin Update "system.adapter.weatherunderground.0" upload [3] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/wu.png wu.png image/png upload [2] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/words.js words.js application/javascript upload [1] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/index_m.html index_m.html text/html upload [0] weatherunderground.admin /opt/iobroker/node_modules/iobroker.weatherunderground/admin/DOCS.md DOCS.md text/markdown Adapter "weatherunderground" updated process exited with code 0