NEWS
[How-to] Node.js für ioBroker richtig updaten
-
cd /opt/iobroker iobroker stop sudo rm -r /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket npm install @abandonware/bluetooth-hci-socket --force
ergab folgendes:
rock64@rock64:~$ cd /opt/iobroker rock64@rock64:/opt/iobroker$ iobroker stop rock64@rock64:/opt/iobroker$ sudo rm -r /opt/iobroker/node_modules/@abandonware/ bluetooth-hci-socket [sudo] password for rock64: rock64@rock64:/opt/iobroker$ npm install @abandonware/bluetooth-hci-socket --force npm WARN using --force I sure hope you know what you are doing. > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetoot h-hci-socket > npm install node-pre-gyp npm WARN using --force I sure hope you know what you are doing. npm notice created a lockfile as package-lock.json. You should commit this file. + node-pre-gyp@0.12.0 added 63 packages from 24 contributors, updated 1 package and audited 97 packages in 12.486s found 0 vulnerabilities > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_ modules/bluetooth-hci-socket > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/blu etooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()': ../src/BluetoothHciSocket.cpp:251:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../../nan/nan.h:980:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()': ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to 'v8::Function::NewInstanc e(int, v8::Local<v8::Value> [1])' Local<Value> error = errorConstructor->NewInstance(1, constructorArgs); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63:0, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v 8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( ^~~~~~~~~~~ /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 2 prov ided /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v 8::Function::NewInstance(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( ^~~~~~~~~~~ /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate expects 1 argument, 2 provi ded ../src/BluetoothHciSocket.cpp:282:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../../nan/nan.h:980:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH ciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:395:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT ED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH ciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:417:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT ED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ binding.target.mk:99: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/blue tooth-hci-socket/build' gyp 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/bu ild.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.4.132-1075-rockchip-ayufan-ga83beded8524 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/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-so cket gyp ERR! node -v v10.16.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > osx-temperature-sensor@1.0.3 install /opt/iobroker/node_modules/osx-temperature-sensor > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/osx-temperature-sensor/build' SOLINK_MODULE(target) Release/obj.target/none.node COPY Release/none.node make: Leaving directory '/opt/iobroker/node_modules/osx-temperature-sensor/build' > xpc-connection@0.1.4 install /opt/iobroker/node_modules/xpc-connection > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/xpc-connection/build' SOLINK_MODULE(target) Release/obj.target/binding.node COPY Release/binding.node make: Leaving directory '/opt/iobroker/node_modules/xpc-connection/build' > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-h ci-socket > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/re leases/download/0.5.3-1/binding-0.5.3-1-node-v64-linux-arm64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@1 0.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()': ../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()': ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH ciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:396:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT ED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH ciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:418:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT ED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/binding.node COPY Release/binding.node COPY /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build' npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-soc ket' npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-det ector' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node _modules/bluetooth-hci-socket/package.json' + @abandonware/bluetooth-hci-socket@0.5.3-1 added 8 packages from 7 contributors and audited 19313 packages in 210.767s found 99 vulnerabilities (54 low, 5 moderate, 40 high) run `npm audit fix` to fix them, or `npm audit` for details rock64@rock64:/opt/iobroker$
darauf das npm rebuild ergab:
../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()': ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH ciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:396:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT ED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH ciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:418:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT ED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/binding.node COPY Release/binding.node COPY /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build' npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-soc ket' npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-det ector' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node _modules/bluetooth-hci-socket/package.json' + @abandonware/bluetooth-hci-socket@0.5.3-1 added 8 packages from 7 contributors and audited 19313 packages in 210.767s found 99 vulnerabilities (54 low, 5 moderate, 40 high) run `npm audit fix` to fix them, or `npm audit` for details rock64@rock64:/opt/iobroker$ ^C rock64@rock64:/opt/iobroker$ clear rock64@rock64:/opt/iobroker$ npm rebuild > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket > npm install node-pre-gyp + node-pre-gyp@0.12.0 updated 1 package and audited 97 packages in 8.593s found 0 vulnerabilities > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download [@abandonware/bluetooth-hci-socket] Success: "/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > usb@1.6.0 install /opt/iobroker/node_modules/iobroker.ble/node_modules/usb > prebuild-install --verbose || node-gyp rebuild prebuild-install info begin Prebuild-install version 5.3.0 prebuild-install info looking for cached prebuild @ /home/rock64/.npm/_prebuilds/c716aa-usb-v1.6.0-node-v64-linux-arm64.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux) make: Entering directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build' CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function 'void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)': ../src/node_usb.cc:151:58: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../node_modules/nan/nan.h:1001:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)': ../src/device.cc:237:64: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declaratio ns] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o ../src/transfer.cc: In function 'void handleCompletion(Transfer*)': ../src/transfer.cc:126:72: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarat ions] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build' > @abandonware/noble@1.9.2-2 install /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build' SOLINK_MODULE(target) Release/obj.target/noble.node COPY Release/noble.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build' > usb@1.6.0 install /opt/iobroker/node_modules/iobroker.ble/node_modules/usb > prebuild-install --verbose || node-gyp rebuild prebuild-install info begin Prebuild-install version 5.3.0 prebuild-install info looking for cached prebuild @ /home/rock64/.npm/_prebuilds/c716aa-usb-v1.6.0-node-v64-linux-arm64.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux) make: Entering directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build' CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function 'void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)': ../src/node_usb.cc:151:58: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../node_modules/nan/nan.h:1001:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)': ../src/device.cc:237:64: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declaratio ns] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o ../src/transfer.cc: In function 'void handleCompletion(Transfer*)': ../src/transfer.cc:126:72: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarat ions] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build' > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket > npm install node-pre-gyp + node-pre-gyp@0.12.0 updated 1 package and audited 95 packages in 8.66s found 0 vulnerabilities > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download [@abandonware/bluetooth-hci-socket] Success: "/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux) make: Entering directory '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings/build' CXX(target) Release/obj.target/bindings/src/serialport.o CXX(target) Release/obj.target/bindings/src/serialport_unix.o CXX(target) Release/obj.target/bindings/src/poller.o CXX(target) Release/obj.target/bindings/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/bindings.node COPY Release/bindings.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings/build' > grpc@1.20.3 install /opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc > node-pre-gyp install --fallback-to-build --library=static_library node-pre-gyp WARN Using request for node-pre-gyp https download [grpc] Success: "/opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm64-glibc/grpc_node.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > protobufjs@6.8.8 postinstall /opt/iobroker/node_modules/iobroker.iogo/node_modules/@grpc/proto-loader/node_modules/protobufjs > node scripts/postinstall (node:19565) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit > grpc@1.20.3 install /opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc > node-pre-gyp install --fallback-to-build --library=static_library node-pre-gyp WARN Using request for node-pre-gyp https download [grpc] Success: "/opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm64-glibc/grpc_node.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > iobroker.javascript@4.1.14 postinstall /opt/iobroker/node_modules/iobroker.javascript > node ./install/installTypings.js Installing NodeJS typings... latest @types: 12, installed node: 10 > iobroker.js-controller@1.5.14 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.4.1 npm version >= 5: disabling package-lock > iobroker.js-controller@1.5.14 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first > unix-dgram@2.0.3 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build' > websocket@1.0.28 install /opt/iobroker/node_modules/iobroker.lgtv/node_modules/websocket > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory '/opt/iobroker/node_modules/iobroker.lgtv/node_modules/websocket/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.lgtv/node_modules/websocket/build' > ws@0.7.0 install /opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:101: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: Leaving directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build' > ws@0.6.5 install /opt/iobroker/node_modules/iobroker.owntracks/node_modules/websocket-stream/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/websocket-stream/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:101: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: Leaving directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/websocket-stream/node_modules/ws/build' > ws@0.7.0 install /opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Entering directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:101: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: Leaving directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build' > usb@1.5.0 install /opt/iobroker/node_modules/iobroker.radar/node_modules/usb > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download [usb] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()': ../src/BluetoothHciSocket.cpp:251:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated -declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../../nan/nan.h:980:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()': ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])' Local<Value> error = errorConstructor->NewInstance(1, constructorArgs); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63:0, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.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/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 2 provided /home/rock64/.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/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate expects 1 argument, 2 provided ../src/BluetoothHciSocket.cpp:282:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated -declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../../nan/nan.h:980:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:395:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:417:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63, from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ binding.target.mk:99: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket/build' gyp 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.4.132-1075-rockchip-ayufan-ga83beded8524 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/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket gyp ERR! node -v v10.16.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bluetooth-hci-socket@0.5.1 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/rock64/.npm/_logs/2019-07-27T16_07_21_234Z-debug.log rock64@rock64:/opt/iobroker$
Hab gerade Versucht ble auf die neue Version zu bringen, bekomme dann die Fehler:
$ ./iobroker upgrade ble Update ble from @0.7.4 to @0.8.1 NPM version: 6.4.1 npm install iobroker.ble@0.8.1 --production --save --prefix "/opt/iobroker" (System call) npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gypnpm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-socket'npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/package.json' npm ERR! path /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gypnpm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp'npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp'] npm ERR! stack:npm ERR! 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp\'', npm ERR! errno: -13,npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: npm ERR! '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp' }npm ERR! npm ERR! The operation was rejected by your operating system.npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended). npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-07-27T17_03_18_601Z-debug.log ERROR: host.rock64 Cannot install iobroker.ble@0.8.1: 243 ERROR: process exited with code 25
-
Hi Leute,
vielen Dank für Eure Arbeit
Ihr habt in der Zwischenzeit auch noch mal einiges verbessert wie es scheint
Erfolgreich durchgeführt bei mir ohne Fehlermeldungen. Ich habe hierzu auf Proxmox einen neuen Debian-Container erstellt, Vorgehensweise war wie folgt:
- Debian-Container (CT) erstellen
- In Proxmox den CT starten und auf die Konsole gehen
- Neuen Nicht-Admin-User anlegen:
adduser <username>
- sudo installieren:
apt-get install -y sudo
- User zur sudo-Gruppe hinzufügen:
adduser <username> sudo
- Der Befehl
ip addr
gibt uns die IP-Adresse. Damit können wir uns nun mit Putty verbinden, immer den neu angelegten User nehmen, nicht den admin. - Nun im Putty aktualisieren:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
- curl installieren:
sudo apt-get install curl
- Zur Sicherheit in Proxmox einen Snapshot erstellen
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm install -g npm
sudo reboot
curl -sL https://iobroker.net/install.sh | bash -
- Fertig
Danach noch folgendes:
- Adapter „BackitUp“ installieren.
- Full-Backup ins Verzeichnis „/opt/iobroker/backups” kopieren und im BackitUp-Adapter einspielen ("Wiederherstellen")
- Host / IP: Beim Umzug hat sich die IP und Host-Name geändert. Daher in der Konsole folgendes ausführen:
3.1iobroker stop
3.2iobroker host this
. Man kann auch einen neuen Hostnamen vergeben, dazuiobroker host set newHostName
eingeben.
3.3 Die folgenden Dateien bearbeiten:/opt/iobroker/iobroker-data/objects.json
und/opt/iobroker/iobroker-data/states.json
und dort alle IP-Adressen durch die neue IP ersetzen.
3.4iobroker start
Details: siehe https://github.com/ioBroker/ioBroker/wiki/Console-commands#iobroker-host - Sonoff-Adapter: Hier in auf der jeweiligen Site des Gerätes (z.B. http://192.168.XX.XX/? unter „Configuration > Configure MQTT“ die neue IP eintragen.
-
@Mic Super mit der Beschreibung/Auflistung.
Hast du dein System neu aufgesetzt? Warum nun IoBroker im Container? Hattest du den nicht in ner VM laufen?
Bin auch grad am überlegen, nen Container zu erstellen, für ne Testumgebung.
Produktiv läuft er auf ner VM. -
@crunchip
Ja, ich habe neu aufgesetzt, hatte aber auch vorher schon den ioBroker im Container, nicht VM. Meine persönlichen Gründe dafür:- weniger Ressourcenverbrauch
- schnellere initiale Installation
- kleinere Backups
-
@Mic ok
das muss ich mal testen ob alles in nem Container funktioniert, vllt stell ich dann auch um. -
Wenn ich den Befehl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
ausführe, wird das Update nur auf 10.16.0 gemacht - nicht auf 10.16.1
Was mache ich falsch?
-
@LJSven sagte in [How-to] Node.js für ioBroker richtig updaten:
Wenn ich den Befehl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
ausführe, wird das Update nur auf 10.16.0 gemacht - nicht auf 10.16.1
Was mache ich falsch?
Nix, v10.16.0 ist die empfohlene...............
-
@sigi234 sagte in [How-to] Node.js für ioBroker richtig updaten:
@LJSven sagte in [How-to] Node.js für ioBroker richtig updaten:
Wenn ich den Befehl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
ausführe, wird das Update nur auf 10.16.0 gemacht - nicht auf 10.16.1
Was mache ich falsch?
Nix, v10.16.0 ist die empfohlene...............
Okay, im Info Adapter zeigt er mir die "gelb" an bzw. sagt "Es gibt eine neuere Version...."
-
@LJSven sagte in [How-to] Node.js für ioBroker richtig updaten:
Okay, im Info Adapter zeigt er mir die "gelb" an bzw. sagt "Es gibt eine neuere Version...."
Aha, bei mir nicht...........
Doch bei mir jetzt auch..........
-
Bei mir ist auch 10.16.1 Empfohlen, wie kommt das ?
-
Weil es die seit ein paar Tagen gibt und SIe aktueller als die 10.1.6.0 ist
Wir EMpfehlen bei ioBroker eine LTS Version. In dem Fall "10.x"
-
Sorry für crossposting aber bei mir meldet der Info-Adapter nach einem Update auf 10.16.1, dass die Version 10.16.1 installiert ist, es aber die neuere Version 10.16.0 gibt.
-
@Dr-Bakterius Dann doch bitte anstelle dieses Cross-Posts der, korrekt, hier nicht hergehört, ein GitHub Issue im Info Adapter anlegen falls es das nicht schon gibt.
-
@apollon77 Schon klar, aber 1. wurde das Thema nunmal hier auch aufgeworfen, 2. geht es anderen vielleicht auch so und 3. ist doch ein Forum genau dafür da - sonst könnten alle gleich auf Git umziehen.
-
@Dr-Bakterius sagte in [How-to] Node.js für ioBroker richtig updaten:
ist doch ein Forum genau dafür da - sonst könnten alle gleich auf Git umziehen
Ich glaube die Intention von @apollon77 kam falsch an. Die Probleme aufdecken und Workarounds diskutieren kann man durchaus hier. Allerdings gehört eine Fehlermeldung wenn überhaupt ins entsprechende Unterforum - und nicht irgendwo in ein How-To.
Vor allem dient die Struktur eines Forums nicht gerade der Übersicht und Arbeitsplanung, wenn wild in Themen verstreut Fehler und Probleme gemeldet werden. Dafür ist GitHub (nicht git) mit seinen Issues ganz hervorragend geeignet. Da geht nichts verloren, man kann ordentlich priorisieren, etc.... Wir Entwickler machen nichts anderes, wenn im Forum Fehler diskutiert werden - Problembeschreibung extrahieren, Issue aufmachen.
Allerdings kostet das bei der Hülle und Fülle an Meldungen extrem viel Zeit. Zeit, die nicht zur Fehlerbehebung und Verbesserung von Adaptern verwendet werden kann.
Sieh es mal so:
Wenn du dir die 3-5 Minuten nimmst, die es kostet, ein Issue aufzumachen und dort das Problem so zu beschreiben, dass es ohne Rückfragen und Kontext verständlich ist, leistest du einen aktiven Beitrag dazu, dass die Entwicklung von ioBroker schneller voran geht. Ich würde wetten, dass die Zeitersparnis die sich daraus für die Entwicklung ergibt, um ein vielfaches höher ist als die paar Minuten, die es dich kostet. -
Exakt so habe ich es auch gemeint.
Ein Forum ist da um zu diskutieren und ggf Fehler zu reproduzieren und ähnliches. Es ist aber für die Entwickler nicht geeignet einen Überblick zu behalten. So schnell wie sich Threads im Forum von einem Thema zum nächsten entwickeln (da reicht ein Post) kann ein Entwickler gar nicht aktuell bleiben. Hier gilt in meinen Augen der "The best tool for the Job" Ansatz. GitHub ist ein Tool für die Entwickler um Ihre Arbeit zu organisieren. Beides hat damit klar seine Berechtigung und Nutzen.
Wir haben hier einige Entwickler die mehrere Adapter geschrieben haben und gegebenenfalls noch an zig anderen mitarbeiten die nicht von Ihnen stammen. Ich alleine müsste im Forum Threads von über 20-30 Adaptern verfolgen, selbst das relevante rausziehen und Issues anlegen ... Jetzt rechne das mit den von @AlCalzone genannten Zeiten mal schnell aus (zumal man auch Forum mal "eben fix von unterwegs" macht und man so gar nicht gescheit die Informationen überführen oder "auf Widervorlage" legen kann). Ich kann das gern tun, dann haben wir eine super Bugliste - nur Zeit diese auch abzuarbeiten habe ich dann keine mehr (und ehrlich "Lust" ggf auch nicht).
Ich denke es ist bei einem Community-getriebenen Open-Source-Projekt nicht unüblich das wir hier zusammenarbeiten. Und das bedeutet für mich das Issues von jedem User reportet werden können und sollten. Je besser aufbereitet und je detailierter wenn nötig umso einfacher für den Entwickler idealerweise direkt loszulegen.
GitHub hat weiterhin den Vorteil das man mit zB "Daumen hoch" auch Abstimmen kann bzw sagen kann das man auch betroffen ist und, das mal endlich sinnvoll genutzt, der Entwickler eine Idee bekommt wie wichtig einzelne Bugs oder Themen sind, sonst bekommt halt doch der etwas zuerst der am lautesten schreit.
Bei vielen Threads funktioniert das wunderbar und hält den Rücken frei für die Entwickler das zu tun was Sie gern tun: Software Entwickeln!
Sie es einfach als "Win-Win Situation" ...
-
Hey Leute! Das war ja auch keine Kritik von mir, habe @apollon77 aber wohl falsch verstanden. Ich bewundere und schätze eure Arbeit sehr und wenn ich dabei helfen kann, mach ich das auch gerne.
Allerdings bin ich mir nicht sicher ob es so eine große Hilfe ist, jedes Problem gleich auf GitHub zu melden? Liegt vielleicht an einem Bedienfehler. Und da ist es nicht verkehrt zuerst mal im Forum "nachzufühlen" ob auch andere das Problem beobachten oder vielleicht sogar helfen können. Dann kann man immer noch den Entwickler "quälen".
-
@Dr-Bakterius sagte in [How-to] Node.js für ioBroker richtig updaten:
Allerdings bin ich mir nicht sicher ob es so eine große Hilfe ist, jedes Problem gleich auf GitHub zu melden?
Wenn es offensichtliche Fehler sind wie in deinem Fall (eine ältere Version wird als neue vorgeschlagen), dann definitiv. Aber bitte prüfen, ob das nicht schon auf der Liste steht.
Bei Unklarheiten lieber vorher mal im Forum nachforschen, ob es nicht doch ein Bedienfehler o.ä. ist.
-
Guten Abend,
beitreibe ein redis Multihost System (1x Rock64, 5xRaspberry) und habe dieses soeben auf Node.js v10.16.3 aktualisiert (NPM: 6.9.0, jscontroller: 1.5.14).
Auf dem Master wurde die Variante "npm rebuild" mit diversen Fehlern beendet, somit habe ich das "reinstall-Skript" ausgeführt. Es wurden nach und nach alle Adapter neu installiert, diese sind aktuell auch im Zustand "grün".
Auf den Slave setze ich jeweils den Adapter RPI ein, um die GPIO zu steuern. Dies funktioniert nicht mehr, selbst wenn ich Manuel einen GPIO OUT über Objekte setze, wird dieser Zustand nicht umgesetzt. Den jeweiligen Adapter habe ich bereits händisch gelöscht und neu installiert, keine Verbesserung.
Was könnte ich noch versuchen? -