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

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

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

[How-to] Node.js ioBroker richtig updaten-2021/22 Edition

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
812 Beiträge 97 Kommentatoren 364.4k Aufrufe 83 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Offline
    S Offline
    Supernils
    schrieb am zuletzt editiert von Supernils
    #283

    Hallo,
    ich habe node.js erfolgreich nach dieser Anleitung auf v14 geupdated.
    Allerdings wird nach jedem iobroker Neustart ein Rebuild des zwave- und des zigbee Adapters angestoßen.

    Beispielsweise:

    2022-01-11 18:07:43.015  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 1234
    2022-01-11 18:07:43.978  - error: host.raspberrypi4-iobroker Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
    2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]:         throw e;
    2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]:         ^
    2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
    2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
    2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
    2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
    2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
    2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
    2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
    2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
    2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
    2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
    2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
    2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
    2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32) {
    2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
    2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]: }
    2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    2022-01-11 18:07:43.984  - info: host.raspberrypi4-iobroker Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
    2022-01-11 18:07:43.984  - info: host.raspberrypi4-iobroker system.adapter.zigbee.0 will be rebuilt
    2022-01-11 18:07:43.985  - warn: host.raspberrypi4-iobroker adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
    2022-01-11 18:07:43.986  - info: host.raspberrypi4-iobroker iobroker rebuild zigbee
    2022-01-11 18:07:44.984  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm rebuild --loglevel error (System call1) in "/opt/iobroker/node_modules/iobroker.zigbee"
    2022-01-11 18:07:45.863  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
    2022-01-11 18:07:45.864  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zigbee done
    2022-01-11 18:07:46.874  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
    2022-01-11 18:07:46.987  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 1262
    2022-01-11 18:07:47.131  - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 started with pid 1269
    2022-01-11 18:07:47.855  - error: host.raspberrypi4-iobroker Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
    2022-01-11 18:07:47.855  - error: host.raspberrypi4-iobroker Caught by controller[0]:         throw e;
    2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]:         ^
    2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
    2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
    2022-01-11 18:07:47.859  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
    2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
    2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
    2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
    2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
    2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
    2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
    2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
    2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
    2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
    2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32) {
    2022-01-11 18:07:47.864  - error: host.raspberrypi4-iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
    2022-01-11 18:07:47.864  - error: host.raspberrypi4-iobroker Caught by controller[0]: }
    2022-01-11 18:07:47.865  - error: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    2022-01-11 18:07:47.865  - info: host.raspberrypi4-iobroker Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
    2022-01-11 18:07:47.866  - info: host.raspberrypi4-iobroker system.adapter.zigbee.0 will be rebuilt
    2022-01-11 18:07:47.866  - warn: host.raspberrypi4-iobroker adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
    2022-01-11 18:07:47.866  - info: host.raspberrypi4-iobroker iobroker rebuild zigbee --install
    ..................................................................
    2022-01-11 18:10:23.934  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:10:23.941  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
    2022-01-11 18:10:23.944  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
    2022-01-11 18:10:23.949  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
    2022-01-11 18:10:23.954  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:10:23.955  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
    2022-01-11 18:10:23.958  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
    2022-01-11 18:10:23.965  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:10:23.966  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:10:23.971  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:10:23.972  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
    2022-01-11 18:10:23.975  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^
    2022-01-11 18:10:23.977  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
    2022-01-11 18:10:23.980  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
    2022-01-11 18:10:27.896  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
    2022-01-11 18:10:27.897  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:10:27.902  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:10:27.943  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
    2022-01-11 18:10:27.944  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:10:36.685  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
    2022-01-11 18:10:40.270  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
    2022-01-11 18:10:40.271  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:10:40.318  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:11:00.048  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Schlafzimmer value: 0%
    2022-01-11 18:11:04.818  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
    2022-01-11 18:11:04.819  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zigbee done
    2022-01-11 18:11:05.837  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
    2022-01-11 18:11:05.926  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 2831
    2022-01-11 18:11:06.841  - warn: host.raspberrypi4-iobroker adapter "zwave2" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
    2022-01-11 18:11:06.842  - info: host.raspberrypi4-iobroker iobroker rebuild zwave2
    2022-01-11 18:11:07.680  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm rebuild --loglevel error (System call1) in "/opt/iobroker/node_modules/iobroker.zwave2"
    2022-01-11 18:11:08.946  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zwave2 done
    2022-01-11 18:11:09.716  - info: zigbee.0 (2831) starting. Version 1.6.12 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.18.3, js-controller: 3.3.22
    2022-01-11 18:11:09.958  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
    2022-01-11 18:11:09.831  - info: zigbee.0 (2831) Starting Zigbee  npm ...
    2022-01-11 18:11:10.466  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Links value: 0%
    2022-01-11 18:11:10.663  - info: zigbee.0 (2831) Installed Version: iobroker.zigbee@1.6.12
    2022-01-11 18:11:10.768  - info: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 started with pid 2867
    2022-01-11 18:11:12.966  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zwave-js/node_modules/@serialport/bindings/build/Release/bindings.node'
    2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
    2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
    2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
    2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
    2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
    2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
    2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
    2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
    2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
    2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zwave-js/node_modules/@serialport/bindings/lib/linux.js:2:36)
    2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
    2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
    2022-01-11 18:11:12.970  - error: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    2022-01-11 18:11:12.970  - info: host.raspberrypi4-iobroker Adapter system.adapter.zwave2.0 needs rebuild and will be restarted afterwards.
    2022-01-11 18:11:12.970  - info: host.raspberrypi4-iobroker system.adapter.zwave2.0 will be rebuilt
    2022-01-11 18:11:12.970  - warn: host.raspberrypi4-iobroker adapter "zwave2" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
    2022-01-11 18:11:12.971  - info: host.raspberrypi4-iobroker iobroker rebuild zwave2 --install
    2022-01-11 18:11:13.724  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm install --loglevel error --production (System call1) in "/opt/iobroker/node_modules/iobroker.zwave2"
    2022-01-11 18:11:18.769  - warn: zigbee.0 (2831) Extended PAN ID is reversed (expected=aaaadddddddddddd, actual=ddddddddddddaaaa)
    2022-01-11 18:11:20.786  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Mitte value: 0%
    2022-01-11 18:11:21.652  - info: zigbee.0 (2831) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20210708}}
    2022-01-11 18:11:21.660  - info: zigbee.0 (2831) Disable LED
    2022-01-11 18:11:21.662  - info: zigbee.0 (2831) Unable to disable LED, unsupported function.
    2022-01-11 18:11:21.672  - info: zigbee.0 (2831)   --> transmitPower : normal
    2022-01-11 18:11:21.685  - info: zigbee.0 (2831) Currently 30 devices are joined:
    2022-01-11 18:11:21.813  - info: zigbee.0 (2831) Configuring 0x00158d00040c17c4 lumi.sensor_magnet.aq2
    2022-01-11 18:11:21.817  - info: zigbee.0 (2831) 0x7cb03eaa00b21a19 (addr 55059): AB3257001NJ - OSRAM Smart+ plug (Router)
    2022-01-11 18:11:21.836  - info: zigbee.0 (2831) 0x001788011049d02e (addr 42129): 324131092621 - Philips Hue dimmer switch (EndDevice)
    2022-01-11 18:11:21.839  - info: zigbee.0 (2831) DeviceConfigure successful 0x00158d00040c17c4 lumi.sensor_magnet.aq2
    2022-01-11 18:11:21.841  - info: zigbee.0 (2831) 0x001788010209ec9b (addr 31036): 9290011370 - Philips Hue white A60 bulb E27/B22 (Router)
    2022-01-11 18:11:21.843  - info: zigbee.0 (2831) 0x84182600000f10ae (addr 53590): AB3257001NJ - OSRAM Smart+ plug (Router)
    2022-01-11 18:11:21.845  - info: zigbee.0 (2831) Configuring 0x00158d00040c17b4 lumi.sensor_magnet.aq2
    2022-01-11 18:11:21.847  - info: zigbee.0 (2831) 0x00158d00020919d7 (addr 9109): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
    2022-01-11 18:11:21.851  - info: zigbee.0 (2831) 0x00124b000ee9b698 (addr 28451): AV2010/25 - SMaBiT (Bitron Video) Wireless socket with metering (Router)
    2022-01-11 18:11:21.864  - info: zigbee.0 (2831) DeviceConfigure successful 0x00158d00040c17b4 lumi.sensor_magnet.aq2
    2022-01-11 18:11:21.866  - info: zigbee.0 (2831) 0x00158d00027bf8b8 (addr 52098): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
    2022-01-11 18:11:21.868  - info: zigbee.0 (2831) 0x00158d000549b346 (addr 11106): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.883  - info: zigbee.0 (2831) 0x00158d00040c17c4 (addr 40514): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
    2022-01-11 18:11:21.885  - info: zigbee.0 (2831) 0x00158d00023291c8 (addr 8145): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.887  - info: zigbee.0 (2831) 0xbc33acfffe17cad4 (addr 57420): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
    2022-01-11 18:11:21.889  - info: zigbee.0 (2831) 0x00158d000232334d (addr 6018): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.890  - info: zigbee.0 (2831) 0x00158d0002379626 (addr 53901): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
    2022-01-11 18:11:21.892  - info: zigbee.0 (2831) 0x00158d00040c17b4 (addr 39633): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
    2022-01-11 18:11:21.893  - info: zigbee.0 (2831) 0x00158d0002904ecf (addr 28571): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
    2022-01-11 18:11:21.895  - info: zigbee.0 (2831) 0x00158d000404d4f2 (addr 15034): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
    2022-01-11 18:11:21.897  - info: zigbee.0 (2831) 0x00158d000578e284 (addr 19394): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.899  - info: zigbee.0 (2831) 0x00158d000548a99d (addr 33375): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.901  - info: zigbee.0 (2831) 0x588e81fffef9f0d5 (addr 50798): HG06492B - Lidl Livarno Lux E14 candle CCT (Router)
    2022-01-11 18:11:21.902  - info: zigbee.0 (2831) 0xec1bbdfffeaecf1e (addr 8338): HG06337 - Lidl Silvercrest smart plug (EU, CH, FR, BS, DK) (Router)
    2022-01-11 18:11:21.904  - info: zigbee.0 (2831) 0x00158d000549b2f5 (addr 21211): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.906  - info: zigbee.0 (2831) 0x04cf8cdf3c7d2188 (addr 58007): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice)
    2022-01-11 18:11:21.907  - info: zigbee.0 (2831) 0xbc33acfffe1ee15c (addr 46822): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
    2022-01-11 18:11:21.909  - info: zigbee.0 (2831) 0x00158d000578a820 (addr 23310): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.911  - info: zigbee.0 (2831) 0x00158d0005792276 (addr 31460): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.913  - info: zigbee.0 (2831) 0x00158d00054c63eb (addr 22937): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.915  - info: zigbee.0 (2831) 0x00158d000533c07a (addr 53305): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
    2022-01-11 18:11:21.916  - info: zigbee.0 (2831) 0x00158d00049dbe44 (addr 34026): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice)
    2022-01-11 18:11:21.917  - info: zigbee.0 (2831) 0x00158d00024602e3 (addr 6000): MCCGQ01LM - Xiaomi MiJia door & window contact sensor (EndDevice)
    2022-01-11 18:11:21.919  - info: zigbee.0 (2831) 0xbc33acfffe2c10d4 (addr 24559): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
    2022-01-11 18:11:21.920  - warn: zigbee.0 (2831) config :{"port":"/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_21_CB_F3_91-if00-port0","panID":"6755","extPanID":"DDDDDDDDDDDDAAAA","channel":"26","disableLed":true,"precfgkey":"01030507090B0D0F00020406080A0C0D","countDown":"60","adapterType":"zstack","debugHerdsman":false,"extPanIdFix":true,"transmitPower":"0","disablePing":false,"external":"","startWithInconsistent":false}
    2022-01-11 18:11:21.921  - info: zigbee.0 (2831) Zigbee started
    2022-01-11 18:11:22.048  - warn: zigbee.0 (2831) State "zigbee.0.info.undefinedDevices" has no existing object, this might lead to an error in future versions
    2022-01-11 18:11:30.815  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Rechts value: 0%
    2022-01-11 18:11:32.201  - warn: zigbee.0 (2831) DeviceAvailability:Failed to ping 0x00124b000ee9b698 902010/25
    2022-01-11 18:11:40.855  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Esszimmer value: 0%
    2022-01-11 18:11:44.119  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:11:44.127  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
    2022-01-11 18:11:44.132  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
    2022-01-11 18:11:44.135  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
    2022-01-11 18:11:44.139  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
    2022-01-11 18:11:44.142  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:11:44.146  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
    2022-01-11 18:11:44.152  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:11:44.158  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
    2022-01-11 18:11:44.160  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
    2022-01-11 18:11:44.163  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
    2022-01-11 18:11:44.166  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
    2022-01-11 18:11:45.520  - warn: zigbee.0 (2831) DeviceAvailability:Failed to ping 0xbc33acfffe17cad4 TRADFRI bulb E27 WW 806lm
    2022-01-11 18:11:47.935  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
    2022-01-11 18:11:47.937  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:11:47.976  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
    2022-01-11 18:11:47.977  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2022-01-11 18:11:50.887  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Nils Zimmer value: 0%
    2022-01-11 18:11:53.574  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
    2022-01-11 18:11:53.575  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zwave2 done
    2022-01-11 18:11:54.588  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
    2022-01-11 18:11:55.186  - info: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 started with pid 3173
    2022-01-11 18:11:58.646  - info: zwave2.0 (3173) starting. Version 2.4.2 in /opt/iobroker/node_modules/iobroker.zwave2, node: v14.18.3, js-controller: 3.3.22
    2022-01-11 18:12:00.313  - info: host.raspberrypi4-iobroker instance system.adapter.weatherunderground.0 started with pid 3194
    2022-01-11 18:12:00.999  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Sportzimmer value: 0%
    2022-01-11 18:12:01.016  - warn: zwave2.0 (3173) The driver is not yet ready, ignoring state change for "zwave2.0.Node_015.Multilevel_Switch.targetValue"
    

    Anschleißed läuft alles.
    Gibt es eine Lösung für die wiederholenden Rebuilds?

    Thomas BraunT apollon77A 2 Antworten Letzte Antwort
    0
    • S Supernils

      Hallo,
      ich habe node.js erfolgreich nach dieser Anleitung auf v14 geupdated.
      Allerdings wird nach jedem iobroker Neustart ein Rebuild des zwave- und des zigbee Adapters angestoßen.

      Beispielsweise:

      2022-01-11 18:07:43.015  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 1234
      2022-01-11 18:07:43.978  - error: host.raspberrypi4-iobroker Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
      2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]:         throw e;
      2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]:         ^
      2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
      2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
      2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
      2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
      2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
      2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
      2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
      2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
      2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
      2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
      2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
      2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
      2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
      2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32) {
      2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
      2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]: }
      2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2022-01-11 18:07:43.984  - info: host.raspberrypi4-iobroker Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
      2022-01-11 18:07:43.984  - info: host.raspberrypi4-iobroker system.adapter.zigbee.0 will be rebuilt
      2022-01-11 18:07:43.985  - warn: host.raspberrypi4-iobroker adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
      2022-01-11 18:07:43.986  - info: host.raspberrypi4-iobroker iobroker rebuild zigbee
      2022-01-11 18:07:44.984  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm rebuild --loglevel error (System call1) in "/opt/iobroker/node_modules/iobroker.zigbee"
      2022-01-11 18:07:45.863  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
      2022-01-11 18:07:45.864  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zigbee done
      2022-01-11 18:07:46.874  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
      2022-01-11 18:07:46.987  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 1262
      2022-01-11 18:07:47.131  - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 started with pid 1269
      2022-01-11 18:07:47.855  - error: host.raspberrypi4-iobroker Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
      2022-01-11 18:07:47.855  - error: host.raspberrypi4-iobroker Caught by controller[0]:         throw e;
      2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]:         ^
      2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
      2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
      2022-01-11 18:07:47.859  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
      2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
      2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
      2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
      2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
      2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
      2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
      2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
      2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
      2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
      2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
      2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32) {
      2022-01-11 18:07:47.864  - error: host.raspberrypi4-iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
      2022-01-11 18:07:47.864  - error: host.raspberrypi4-iobroker Caught by controller[0]: }
      2022-01-11 18:07:47.865  - error: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2022-01-11 18:07:47.865  - info: host.raspberrypi4-iobroker Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
      2022-01-11 18:07:47.866  - info: host.raspberrypi4-iobroker system.adapter.zigbee.0 will be rebuilt
      2022-01-11 18:07:47.866  - warn: host.raspberrypi4-iobroker adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
      2022-01-11 18:07:47.866  - info: host.raspberrypi4-iobroker iobroker rebuild zigbee --install
      ..................................................................
      2022-01-11 18:10:23.934  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:10:23.941  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
      2022-01-11 18:10:23.944  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
      2022-01-11 18:10:23.949  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
      2022-01-11 18:10:23.954  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:10:23.955  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
      2022-01-11 18:10:23.958  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
      2022-01-11 18:10:23.965  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:10:23.966  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:10:23.971  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:10:23.972  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
      2022-01-11 18:10:23.975  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^
      2022-01-11 18:10:23.977  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
      2022-01-11 18:10:23.980  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
      2022-01-11 18:10:27.896  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
      2022-01-11 18:10:27.897  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:10:27.902  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:10:27.943  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
      2022-01-11 18:10:27.944  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:10:36.685  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
      2022-01-11 18:10:40.270  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
      2022-01-11 18:10:40.271  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:10:40.318  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:11:00.048  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Schlafzimmer value: 0%
      2022-01-11 18:11:04.818  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
      2022-01-11 18:11:04.819  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zigbee done
      2022-01-11 18:11:05.837  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
      2022-01-11 18:11:05.926  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 2831
      2022-01-11 18:11:06.841  - warn: host.raspberrypi4-iobroker adapter "zwave2" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
      2022-01-11 18:11:06.842  - info: host.raspberrypi4-iobroker iobroker rebuild zwave2
      2022-01-11 18:11:07.680  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm rebuild --loglevel error (System call1) in "/opt/iobroker/node_modules/iobroker.zwave2"
      2022-01-11 18:11:08.946  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zwave2 done
      2022-01-11 18:11:09.716  - info: zigbee.0 (2831) starting. Version 1.6.12 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.18.3, js-controller: 3.3.22
      2022-01-11 18:11:09.958  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
      2022-01-11 18:11:09.831  - info: zigbee.0 (2831) Starting Zigbee  npm ...
      2022-01-11 18:11:10.466  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Links value: 0%
      2022-01-11 18:11:10.663  - info: zigbee.0 (2831) Installed Version: iobroker.zigbee@1.6.12
      2022-01-11 18:11:10.768  - info: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 started with pid 2867
      2022-01-11 18:11:12.966  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zwave-js/node_modules/@serialport/bindings/build/Release/bindings.node'
      2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
      2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
      2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
      2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
      2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
      2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
      2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
      2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
      2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
      2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
      2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zwave-js/node_modules/@serialport/bindings/lib/linux.js:2:36)
      2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
      2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
      2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
      2022-01-11 18:11:12.970  - error: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2022-01-11 18:11:12.970  - info: host.raspberrypi4-iobroker Adapter system.adapter.zwave2.0 needs rebuild and will be restarted afterwards.
      2022-01-11 18:11:12.970  - info: host.raspberrypi4-iobroker system.adapter.zwave2.0 will be rebuilt
      2022-01-11 18:11:12.970  - warn: host.raspberrypi4-iobroker adapter "zwave2" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
      2022-01-11 18:11:12.971  - info: host.raspberrypi4-iobroker iobroker rebuild zwave2 --install
      2022-01-11 18:11:13.724  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm install --loglevel error --production (System call1) in "/opt/iobroker/node_modules/iobroker.zwave2"
      2022-01-11 18:11:18.769  - warn: zigbee.0 (2831) Extended PAN ID is reversed (expected=aaaadddddddddddd, actual=ddddddddddddaaaa)
      2022-01-11 18:11:20.786  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Mitte value: 0%
      2022-01-11 18:11:21.652  - info: zigbee.0 (2831) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20210708}}
      2022-01-11 18:11:21.660  - info: zigbee.0 (2831) Disable LED
      2022-01-11 18:11:21.662  - info: zigbee.0 (2831) Unable to disable LED, unsupported function.
      2022-01-11 18:11:21.672  - info: zigbee.0 (2831)   --> transmitPower : normal
      2022-01-11 18:11:21.685  - info: zigbee.0 (2831) Currently 30 devices are joined:
      2022-01-11 18:11:21.813  - info: zigbee.0 (2831) Configuring 0x00158d00040c17c4 lumi.sensor_magnet.aq2
      2022-01-11 18:11:21.817  - info: zigbee.0 (2831) 0x7cb03eaa00b21a19 (addr 55059): AB3257001NJ - OSRAM Smart+ plug (Router)
      2022-01-11 18:11:21.836  - info: zigbee.0 (2831) 0x001788011049d02e (addr 42129): 324131092621 - Philips Hue dimmer switch (EndDevice)
      2022-01-11 18:11:21.839  - info: zigbee.0 (2831) DeviceConfigure successful 0x00158d00040c17c4 lumi.sensor_magnet.aq2
      2022-01-11 18:11:21.841  - info: zigbee.0 (2831) 0x001788010209ec9b (addr 31036): 9290011370 - Philips Hue white A60 bulb E27/B22 (Router)
      2022-01-11 18:11:21.843  - info: zigbee.0 (2831) 0x84182600000f10ae (addr 53590): AB3257001NJ - OSRAM Smart+ plug (Router)
      2022-01-11 18:11:21.845  - info: zigbee.0 (2831) Configuring 0x00158d00040c17b4 lumi.sensor_magnet.aq2
      2022-01-11 18:11:21.847  - info: zigbee.0 (2831) 0x00158d00020919d7 (addr 9109): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
      2022-01-11 18:11:21.851  - info: zigbee.0 (2831) 0x00124b000ee9b698 (addr 28451): AV2010/25 - SMaBiT (Bitron Video) Wireless socket with metering (Router)
      2022-01-11 18:11:21.864  - info: zigbee.0 (2831) DeviceConfigure successful 0x00158d00040c17b4 lumi.sensor_magnet.aq2
      2022-01-11 18:11:21.866  - info: zigbee.0 (2831) 0x00158d00027bf8b8 (addr 52098): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
      2022-01-11 18:11:21.868  - info: zigbee.0 (2831) 0x00158d000549b346 (addr 11106): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.883  - info: zigbee.0 (2831) 0x00158d00040c17c4 (addr 40514): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
      2022-01-11 18:11:21.885  - info: zigbee.0 (2831) 0x00158d00023291c8 (addr 8145): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.887  - info: zigbee.0 (2831) 0xbc33acfffe17cad4 (addr 57420): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
      2022-01-11 18:11:21.889  - info: zigbee.0 (2831) 0x00158d000232334d (addr 6018): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.890  - info: zigbee.0 (2831) 0x00158d0002379626 (addr 53901): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
      2022-01-11 18:11:21.892  - info: zigbee.0 (2831) 0x00158d00040c17b4 (addr 39633): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
      2022-01-11 18:11:21.893  - info: zigbee.0 (2831) 0x00158d0002904ecf (addr 28571): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
      2022-01-11 18:11:21.895  - info: zigbee.0 (2831) 0x00158d000404d4f2 (addr 15034): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
      2022-01-11 18:11:21.897  - info: zigbee.0 (2831) 0x00158d000578e284 (addr 19394): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.899  - info: zigbee.0 (2831) 0x00158d000548a99d (addr 33375): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.901  - info: zigbee.0 (2831) 0x588e81fffef9f0d5 (addr 50798): HG06492B - Lidl Livarno Lux E14 candle CCT (Router)
      2022-01-11 18:11:21.902  - info: zigbee.0 (2831) 0xec1bbdfffeaecf1e (addr 8338): HG06337 - Lidl Silvercrest smart plug (EU, CH, FR, BS, DK) (Router)
      2022-01-11 18:11:21.904  - info: zigbee.0 (2831) 0x00158d000549b2f5 (addr 21211): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.906  - info: zigbee.0 (2831) 0x04cf8cdf3c7d2188 (addr 58007): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice)
      2022-01-11 18:11:21.907  - info: zigbee.0 (2831) 0xbc33acfffe1ee15c (addr 46822): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
      2022-01-11 18:11:21.909  - info: zigbee.0 (2831) 0x00158d000578a820 (addr 23310): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.911  - info: zigbee.0 (2831) 0x00158d0005792276 (addr 31460): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.913  - info: zigbee.0 (2831) 0x00158d00054c63eb (addr 22937): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.915  - info: zigbee.0 (2831) 0x00158d000533c07a (addr 53305): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
      2022-01-11 18:11:21.916  - info: zigbee.0 (2831) 0x00158d00049dbe44 (addr 34026): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice)
      2022-01-11 18:11:21.917  - info: zigbee.0 (2831) 0x00158d00024602e3 (addr 6000): MCCGQ01LM - Xiaomi MiJia door & window contact sensor (EndDevice)
      2022-01-11 18:11:21.919  - info: zigbee.0 (2831) 0xbc33acfffe2c10d4 (addr 24559): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
      2022-01-11 18:11:21.920  - warn: zigbee.0 (2831) config :{"port":"/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_21_CB_F3_91-if00-port0","panID":"6755","extPanID":"DDDDDDDDDDDDAAAA","channel":"26","disableLed":true,"precfgkey":"01030507090B0D0F00020406080A0C0D","countDown":"60","adapterType":"zstack","debugHerdsman":false,"extPanIdFix":true,"transmitPower":"0","disablePing":false,"external":"","startWithInconsistent":false}
      2022-01-11 18:11:21.921  - info: zigbee.0 (2831) Zigbee started
      2022-01-11 18:11:22.048  - warn: zigbee.0 (2831) State "zigbee.0.info.undefinedDevices" has no existing object, this might lead to an error in future versions
      2022-01-11 18:11:30.815  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Rechts value: 0%
      2022-01-11 18:11:32.201  - warn: zigbee.0 (2831) DeviceAvailability:Failed to ping 0x00124b000ee9b698 902010/25
      2022-01-11 18:11:40.855  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Esszimmer value: 0%
      2022-01-11 18:11:44.119  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:11:44.127  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
      2022-01-11 18:11:44.132  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
      2022-01-11 18:11:44.135  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
      2022-01-11 18:11:44.139  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
      2022-01-11 18:11:44.142  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:11:44.146  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
      2022-01-11 18:11:44.152  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:11:44.158  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
      2022-01-11 18:11:44.160  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
      2022-01-11 18:11:44.163  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
      2022-01-11 18:11:44.166  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
      2022-01-11 18:11:45.520  - warn: zigbee.0 (2831) DeviceAvailability:Failed to ping 0xbc33acfffe17cad4 TRADFRI bulb E27 WW 806lm
      2022-01-11 18:11:47.935  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
      2022-01-11 18:11:47.937  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:11:47.976  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
      2022-01-11 18:11:47.977  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      2022-01-11 18:11:50.887  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Nils Zimmer value: 0%
      2022-01-11 18:11:53.574  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
      2022-01-11 18:11:53.575  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zwave2 done
      2022-01-11 18:11:54.588  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
      2022-01-11 18:11:55.186  - info: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 started with pid 3173
      2022-01-11 18:11:58.646  - info: zwave2.0 (3173) starting. Version 2.4.2 in /opt/iobroker/node_modules/iobroker.zwave2, node: v14.18.3, js-controller: 3.3.22
      2022-01-11 18:12:00.313  - info: host.raspberrypi4-iobroker instance system.adapter.weatherunderground.0 started with pid 3194
      2022-01-11 18:12:00.999  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Sportzimmer value: 0%
      2022-01-11 18:12:01.016  - warn: zwave2.0 (3173) The driver is not yet ready, ignoring state change for "zwave2.0.Node_015.Multilevel_Switch.targetValue"
      

      Anschleißed läuft alles.
      Gibt es eine Lösung für die wiederholenden Rebuilds?

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

      @supernils sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

      Gibt es eine Lösung für die wiederholenden Rebuild?

      Was soll es da für eine Lösung geben? Technisch müssen die binairies halt gegeben eine neue ABI gebaut werden. Wie willst du das lösen?
      Es werden ja schon versuche unternommen die 'still und heimlich' im Hintergrund auszuführen. Klappt nur nicht immer.

      Und wenn das bei jedem Neustart passiert, dann ist da vermutlich was doppelt/falsch installiert. Das hatte ich mal beim ble Adapter, da war irgendwas doppelt bei mir eingetragen. Ist aber ewig her.

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

      1 Antwort Letzte Antwort
      1
      • S Supernils

        Hallo,
        ich habe node.js erfolgreich nach dieser Anleitung auf v14 geupdated.
        Allerdings wird nach jedem iobroker Neustart ein Rebuild des zwave- und des zigbee Adapters angestoßen.

        Beispielsweise:

        2022-01-11 18:07:43.015  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 1234
        2022-01-11 18:07:43.978  - error: host.raspberrypi4-iobroker Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
        2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]:         throw e;
        2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]:         ^
        2022-01-11 18:07:43.979  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
        2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
        2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
        2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
        2022-01-11 18:07:43.980  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
        2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
        2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
        2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
        2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
        2022-01-11 18:07:43.981  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
        2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
        2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
        2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
        2022-01-11 18:07:43.982  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32) {
        2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
        2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker Caught by controller[0]: }
        2022-01-11 18:07:43.983  - error: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        2022-01-11 18:07:43.984  - info: host.raspberrypi4-iobroker Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
        2022-01-11 18:07:43.984  - info: host.raspberrypi4-iobroker system.adapter.zigbee.0 will be rebuilt
        2022-01-11 18:07:43.985  - warn: host.raspberrypi4-iobroker adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
        2022-01-11 18:07:43.986  - info: host.raspberrypi4-iobroker iobroker rebuild zigbee
        2022-01-11 18:07:44.984  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm rebuild --loglevel error (System call1) in "/opt/iobroker/node_modules/iobroker.zigbee"
        2022-01-11 18:07:45.863  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
        2022-01-11 18:07:45.864  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zigbee done
        2022-01-11 18:07:46.874  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
        2022-01-11 18:07:46.987  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 1262
        2022-01-11 18:07:47.131  - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 started with pid 1269
        2022-01-11 18:07:47.855  - error: host.raspberrypi4-iobroker Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
        2022-01-11 18:07:47.855  - error: host.raspberrypi4-iobroker Caught by controller[0]:         throw e;
        2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]:         ^
        2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
        2022-01-11 18:07:47.856  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
        2022-01-11 18:07:47.859  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
        2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
        2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
        2022-01-11 18:07:47.860  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
        2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
        2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
        2022-01-11 18:07:47.861  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
        2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
        2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
        2022-01-11 18:07:47.862  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
        2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
        2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        2022-01-11 18:07:47.863  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32) {
        2022-01-11 18:07:47.864  - error: host.raspberrypi4-iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
        2022-01-11 18:07:47.864  - error: host.raspberrypi4-iobroker Caught by controller[0]: }
        2022-01-11 18:07:47.865  - error: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        2022-01-11 18:07:47.865  - info: host.raspberrypi4-iobroker Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
        2022-01-11 18:07:47.866  - info: host.raspberrypi4-iobroker system.adapter.zigbee.0 will be rebuilt
        2022-01-11 18:07:47.866  - warn: host.raspberrypi4-iobroker adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
        2022-01-11 18:07:47.866  - info: host.raspberrypi4-iobroker iobroker rebuild zigbee --install
        ..................................................................
        2022-01-11 18:10:23.934  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:10:23.941  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
        2022-01-11 18:10:23.944  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
        2022-01-11 18:10:23.949  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
        2022-01-11 18:10:23.954  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:10:23.955  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
        2022-01-11 18:10:23.958  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
        2022-01-11 18:10:23.965  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:10:23.966  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:10:23.971  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:10:23.972  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
        2022-01-11 18:10:23.975  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^
        2022-01-11 18:10:23.977  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
        2022-01-11 18:10:23.980  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
        2022-01-11 18:10:27.896  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
        2022-01-11 18:10:27.897  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:10:27.902  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:10:27.943  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
        2022-01-11 18:10:27.944  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:10:36.685  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
        2022-01-11 18:10:40.270  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
        2022-01-11 18:10:40.271  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:10:40.318  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:11:00.048  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Schlafzimmer value: 0%
        2022-01-11 18:11:04.818  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
        2022-01-11 18:11:04.819  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zigbee done
        2022-01-11 18:11:05.837  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
        2022-01-11 18:11:05.926  - info: host.raspberrypi4-iobroker instance system.adapter.zigbee.0 started with pid 2831
        2022-01-11 18:11:06.841  - warn: host.raspberrypi4-iobroker adapter "zwave2" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
        2022-01-11 18:11:06.842  - info: host.raspberrypi4-iobroker iobroker rebuild zwave2
        2022-01-11 18:11:07.680  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm rebuild --loglevel error (System call1) in "/opt/iobroker/node_modules/iobroker.zwave2"
        2022-01-11 18:11:08.946  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zwave2 done
        2022-01-11 18:11:09.716  - info: zigbee.0 (2831) starting. Version 1.6.12 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.18.3, js-controller: 3.3.22
        2022-01-11 18:11:09.958  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
        2022-01-11 18:11:09.831  - info: zigbee.0 (2831) Starting Zigbee  npm ...
        2022-01-11 18:11:10.466  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Links value: 0%
        2022-01-11 18:11:10.663  - info: zigbee.0 (2831) Installed Version: iobroker.zigbee@1.6.12
        2022-01-11 18:11:10.768  - info: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 started with pid 2867
        2022-01-11 18:11:12.966  - error: host.raspberrypi4-iobroker Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zwave-js/node_modules/@serialport/bindings/build/Release/bindings.node'
        2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: was compiled against a different Node.js version using
        2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
        2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
        2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
        2022-01-11 18:11:12.967  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
        2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
        2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
        2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.require (internal/modules/cjs/loader.js:974:19)
        2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at require (internal/modules/cjs/helpers.js:93:18)
        2022-01-11 18:11:12.968  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
        2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zwave-js/node_modules/@serialport/bindings/lib/linux.js:2:36)
        2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
        2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        2022-01-11 18:11:12.969  - error: host.raspberrypi4-iobroker Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:950:32)
        2022-01-11 18:11:12.970  - error: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        2022-01-11 18:11:12.970  - info: host.raspberrypi4-iobroker Adapter system.adapter.zwave2.0 needs rebuild and will be restarted afterwards.
        2022-01-11 18:11:12.970  - info: host.raspberrypi4-iobroker system.adapter.zwave2.0 will be rebuilt
        2022-01-11 18:11:12.970  - warn: host.raspberrypi4-iobroker adapter "zwave2" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
        2022-01-11 18:11:12.971  - info: host.raspberrypi4-iobroker iobroker rebuild zwave2 --install
        2022-01-11 18:11:13.724  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: npm install --loglevel error --production (System call1) in "/opt/iobroker/node_modules/iobroker.zwave2"
        2022-01-11 18:11:18.769  - warn: zigbee.0 (2831) Extended PAN ID is reversed (expected=aaaadddddddddddd, actual=ddddddddddddaaaa)
        2022-01-11 18:11:20.786  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Mitte value: 0%
        2022-01-11 18:11:21.652  - info: zigbee.0 (2831) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20210708}}
        2022-01-11 18:11:21.660  - info: zigbee.0 (2831) Disable LED
        2022-01-11 18:11:21.662  - info: zigbee.0 (2831) Unable to disable LED, unsupported function.
        2022-01-11 18:11:21.672  - info: zigbee.0 (2831)   --> transmitPower : normal
        2022-01-11 18:11:21.685  - info: zigbee.0 (2831) Currently 30 devices are joined:
        2022-01-11 18:11:21.813  - info: zigbee.0 (2831) Configuring 0x00158d00040c17c4 lumi.sensor_magnet.aq2
        2022-01-11 18:11:21.817  - info: zigbee.0 (2831) 0x7cb03eaa00b21a19 (addr 55059): AB3257001NJ - OSRAM Smart+ plug (Router)
        2022-01-11 18:11:21.836  - info: zigbee.0 (2831) 0x001788011049d02e (addr 42129): 324131092621 - Philips Hue dimmer switch (EndDevice)
        2022-01-11 18:11:21.839  - info: zigbee.0 (2831) DeviceConfigure successful 0x00158d00040c17c4 lumi.sensor_magnet.aq2
        2022-01-11 18:11:21.841  - info: zigbee.0 (2831) 0x001788010209ec9b (addr 31036): 9290011370 - Philips Hue white A60 bulb E27/B22 (Router)
        2022-01-11 18:11:21.843  - info: zigbee.0 (2831) 0x84182600000f10ae (addr 53590): AB3257001NJ - OSRAM Smart+ plug (Router)
        2022-01-11 18:11:21.845  - info: zigbee.0 (2831) Configuring 0x00158d00040c17b4 lumi.sensor_magnet.aq2
        2022-01-11 18:11:21.847  - info: zigbee.0 (2831) 0x00158d00020919d7 (addr 9109): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
        2022-01-11 18:11:21.851  - info: zigbee.0 (2831) 0x00124b000ee9b698 (addr 28451): AV2010/25 - SMaBiT (Bitron Video) Wireless socket with metering (Router)
        2022-01-11 18:11:21.864  - info: zigbee.0 (2831) DeviceConfigure successful 0x00158d00040c17b4 lumi.sensor_magnet.aq2
        2022-01-11 18:11:21.866  - info: zigbee.0 (2831) 0x00158d00027bf8b8 (addr 52098): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
        2022-01-11 18:11:21.868  - info: zigbee.0 (2831) 0x00158d000549b346 (addr 11106): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.883  - info: zigbee.0 (2831) 0x00158d00040c17c4 (addr 40514): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
        2022-01-11 18:11:21.885  - info: zigbee.0 (2831) 0x00158d00023291c8 (addr 8145): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.887  - info: zigbee.0 (2831) 0xbc33acfffe17cad4 (addr 57420): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
        2022-01-11 18:11:21.889  - info: zigbee.0 (2831) 0x00158d000232334d (addr 6018): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.890  - info: zigbee.0 (2831) 0x00158d0002379626 (addr 53901): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
        2022-01-11 18:11:21.892  - info: zigbee.0 (2831) 0x00158d00040c17b4 (addr 39633): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
        2022-01-11 18:11:21.893  - info: zigbee.0 (2831) 0x00158d0002904ecf (addr 28571): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
        2022-01-11 18:11:21.895  - info: zigbee.0 (2831) 0x00158d000404d4f2 (addr 15034): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
        2022-01-11 18:11:21.897  - info: zigbee.0 (2831) 0x00158d000578e284 (addr 19394): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.899  - info: zigbee.0 (2831) 0x00158d000548a99d (addr 33375): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.901  - info: zigbee.0 (2831) 0x588e81fffef9f0d5 (addr 50798): HG06492B - Lidl Livarno Lux E14 candle CCT (Router)
        2022-01-11 18:11:21.902  - info: zigbee.0 (2831) 0xec1bbdfffeaecf1e (addr 8338): HG06337 - Lidl Silvercrest smart plug (EU, CH, FR, BS, DK) (Router)
        2022-01-11 18:11:21.904  - info: zigbee.0 (2831) 0x00158d000549b2f5 (addr 21211): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.906  - info: zigbee.0 (2831) 0x04cf8cdf3c7d2188 (addr 58007): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice)
        2022-01-11 18:11:21.907  - info: zigbee.0 (2831) 0xbc33acfffe1ee15c (addr 46822): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
        2022-01-11 18:11:21.909  - info: zigbee.0 (2831) 0x00158d000578a820 (addr 23310): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.911  - info: zigbee.0 (2831) 0x00158d0005792276 (addr 31460): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.913  - info: zigbee.0 (2831) 0x00158d00054c63eb (addr 22937): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.915  - info: zigbee.0 (2831) 0x00158d000533c07a (addr 53305): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
        2022-01-11 18:11:21.916  - info: zigbee.0 (2831) 0x00158d00049dbe44 (addr 34026): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice)
        2022-01-11 18:11:21.917  - info: zigbee.0 (2831) 0x00158d00024602e3 (addr 6000): MCCGQ01LM - Xiaomi MiJia door & window contact sensor (EndDevice)
        2022-01-11 18:11:21.919  - info: zigbee.0 (2831) 0xbc33acfffe2c10d4 (addr 24559): LED1836G9 - IKEA TRADFRI LED bulb E26/E27 806 lumen, dimmable, warm white (Router)
        2022-01-11 18:11:21.920  - warn: zigbee.0 (2831) config :{"port":"/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_21_CB_F3_91-if00-port0","panID":"6755","extPanID":"DDDDDDDDDDDDAAAA","channel":"26","disableLed":true,"precfgkey":"01030507090B0D0F00020406080A0C0D","countDown":"60","adapterType":"zstack","debugHerdsman":false,"extPanIdFix":true,"transmitPower":"0","disablePing":false,"external":"","startWithInconsistent":false}
        2022-01-11 18:11:21.921  - info: zigbee.0 (2831) Zigbee started
        2022-01-11 18:11:22.048  - warn: zigbee.0 (2831) State "zigbee.0.info.undefinedDevices" has no existing object, this might lead to an error in future versions
        2022-01-11 18:11:30.815  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Wohnzimmer Rechts value: 0%
        2022-01-11 18:11:32.201  - warn: zigbee.0 (2831) DeviceAvailability:Failed to ping 0x00124b000ee9b698 902010/25
        2022-01-11 18:11:40.855  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Esszimmer value: 0%
        2022-01-11 18:11:44.119  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:11:44.127  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
        2022-01-11 18:11:44.132  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
        2022-01-11 18:11:44.135  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
        2022-01-11 18:11:44.139  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
        2022-01-11 18:11:44.142  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:11:44.146  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
        2022-01-11 18:11:44.152  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:11:44.158  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
        2022-01-11 18:11:44.160  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
        2022-01-11 18:11:44.163  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
        2022-01-11 18:11:44.166  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: In file included from ../../../nan/nan.h:58,                 from ../src/./serialport.h:13,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘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/iobroker/.cache/node-gyp/14.18.3/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
        2022-01-11 18:11:45.520  - warn: zigbee.0 (2831) DeviceAvailability:Failed to ping 0xbc33acfffe17cad4 TRADFRI bulb E27 WW 806lm
        2022-01-11 18:11:47.935  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
        2022-01-11 18:11:47.937  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:179:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:179:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:11:47.976  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
        2022-01-11 18:11:47.977  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: ../src/serialport_unix.cpp:89:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:89:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        2022-01-11 18:11:50.887  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Nils Zimmer value: 0%
        2022-01-11 18:11:53.574  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: 
        2022-01-11 18:11:53.575  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: Rebuild zwave2 done
        2022-01-11 18:11:54.588  - info: host.raspberrypi4-iobroker iobroker npm-rebuild: exit 0
        2022-01-11 18:11:55.186  - info: host.raspberrypi4-iobroker instance system.adapter.zwave2.0 started with pid 3173
        2022-01-11 18:11:58.646  - info: zwave2.0 (3173) starting. Version 2.4.2 in /opt/iobroker/node_modules/iobroker.zwave2, node: v14.18.3, js-controller: 3.3.22
        2022-01-11 18:12:00.313  - info: host.raspberrypi4-iobroker instance system.adapter.weatherunderground.0 started with pid 3194
        2022-01-11 18:12:00.999  - info: shuttercontrol.0 (2083) Sunset #12 Set ID: Sportzimmer value: 0%
        2022-01-11 18:12:01.016  - warn: zwave2.0 (3173) The driver is not yet ready, ignoring state change for "zwave2.0.Node_015.Multilevel_Switch.targetValue"
        

        Anschleißed läuft alles.
        Gibt es eine Lösung für die wiederholenden Rebuilds?

        apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #285

        @supernils ja das typische rebuild Problem wo die Art automatisch vom Controller zu rebuilders nicht tut. Musst du manuell tun. Gibts in diesem thread gefühlt schon tausend mal und vor allem
        Im
        Ersten post steht es sogar ganz genau.

        Der Controller 4 der bald kommt sollte das dann automatisch hinbekommen in mehr Fällen ;-)

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        H 1 Antwort Letzte Antwort
        1
        • apollon77A apollon77

          @supernils ja das typische rebuild Problem wo die Art automatisch vom Controller zu rebuilders nicht tut. Musst du manuell tun. Gibts in diesem thread gefühlt schon tausend mal und vor allem
          Im
          Ersten post steht es sogar ganz genau.

          Der Controller 4 der bald kommt sollte das dann automatisch hinbekommen in mehr Fällen ;-)

          H Offline
          H Offline
          homecineplexx
          schrieb am zuletzt editiert von
          #286

          Hallo
          wenn ich folgendes probiere:

          iobroker rebuild zigbee
          

          kommt leider nur folgendes:

          Path argument needs to be an absolute path!
          

          was genau muss ich da angeben?

          Thomas BraunT apollon77A 2 Antworten Letzte Antwort
          0
          • H homecineplexx

            Hallo
            wenn ich folgendes probiere:

            iobroker rebuild zigbee
            

            kommt leider nur folgendes:

            Path argument needs to be an absolute path!
            

            was genau muss ich da angeben?

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

            @homecineplexx
            js-controller 4.0.4 in einem Container eingedost?

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

            H 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @homecineplexx
              js-controller 4.0.4 in einem Container eingedost?

              H Offline
              H Offline
              homecineplexx
              schrieb am zuletzt editiert von
              #288

              @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

              js-controller 4.0.4 in einem Container eingedost?

              js-controller 4.0.4 läuft auf einer Proxmox VM ja, genau

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • H homecineplexx

                @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                js-controller 4.0.4 in einem Container eingedost?

                js-controller 4.0.4 läuft auf einer Proxmox VM ja, genau

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

                @homecineplexx

                Auf 4.0.5 warten.

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

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

                  @homecineplexx

                  Auf 4.0.5 warten.

                  H Offline
                  H Offline
                  homecineplexx
                  schrieb am zuletzt editiert von
                  #290

                  @thomas-braun wenn das die Lösung ist dann dankeschön --- das sitz ich aus :-)

                  1 Antwort Letzte Antwort
                  0
                  • H homecineplexx

                    Hallo
                    wenn ich folgendes probiere:

                    iobroker rebuild zigbee
                    

                    kommt leider nur folgendes:

                    Path argument needs to be an absolute path!
                    

                    was genau muss ich da angeben?

                    apollon77A Offline
                    apollon77A Offline
                    apollon77
                    schrieb am zuletzt editiert von
                    #291

                    @homecineplexx ääähhmm ...Warum willst Du zigbee rebuilden? (Und nein davon hat nichts mit Docker zu tun) ... An sich ist bisher eher bekannt das es bei Zigbee sehr gut automatisch funktioniert.

                    Also bitte mal Logs zeigen

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    H 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @homecineplexx

                      Auf 4.0.5 warten.

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #292

                      @thomas-braun Neeeeeee, Docker geht alles, man muss nur ggf. nach einem ersten Start nochmal den Fixer laufen lassen weil beim ersten Start keine Adapter startet. Hat aber an sich mit rebuild cases nichts zu tun

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      0
                      • apollon77A apollon77

                        @homecineplexx ääähhmm ...Warum willst Du zigbee rebuilden? (Und nein davon hat nichts mit Docker zu tun) ... An sich ist bisher eher bekannt das es bei Zigbee sehr gut automatisch funktioniert.

                        Also bitte mal Logs zeigen

                        H Offline
                        H Offline
                        homecineplexx
                        schrieb am zuletzt editiert von homecineplexx
                        #293

                        @apollon77 Hallo, naja warum möchte ich das, weils nicht funktioniert und nein ich hab auch nichts mit Docker erwähnt!! Also was soll/kann ich in meinem Fall tun?
                        Vielleicht noch als info:

                        node -v      v14.19.0
                        npm -v       6.14.16
                        

                        bzw das ist auch recht interessant:

                        iobroker info
                         Cannot determine Lua scripts strategy: Connection is closed. ["cfg.o.system.host.IoBrokerSmartHome"]
                        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                        
                        
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.718	info	Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.718	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.717	error	Caught by controller[0]: }
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.717	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.716	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.716	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.716	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.715	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/lib/linux.js:2:36)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.715	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.714	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.714	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.713	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.713	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.712	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.712	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.712	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.711	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.711	error	Caught by controller[0]: was compiled against a different Node.js version using
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.710	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/build/Release/bindings.node'
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.709	error	Caught by controller[0]: ^
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.709	error	Caught by controller[0]: throw e;
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:29.708	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:27.389	info	instance system.adapter.zigbee.0 started with pid 10214
                        host.IoBrokerSmartHome
                        2022-02-08 06:25:23.624	info	"system.adapter.zigbee.0" enabled
                        
                        apollon77A 1 Antwort Letzte Antwort
                        0
                        • H homecineplexx

                          @apollon77 Hallo, naja warum möchte ich das, weils nicht funktioniert und nein ich hab auch nichts mit Docker erwähnt!! Also was soll/kann ich in meinem Fall tun?
                          Vielleicht noch als info:

                          node -v      v14.19.0
                          npm -v       6.14.16
                          

                          bzw das ist auch recht interessant:

                          iobroker info
                           Cannot determine Lua scripts strategy: Connection is closed. ["cfg.o.system.host.IoBrokerSmartHome"]
                          Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                          
                          
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.718	info	Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.718	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.717	error	Caught by controller[0]: }
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.717	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.716	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.716	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.716	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.715	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/lib/linux.js:2:36)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.715	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.714	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.714	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.713	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.713	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.712	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.712	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.712	error	Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.711	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.711	error	Caught by controller[0]: was compiled against a different Node.js version using
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.710	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/build/Release/bindings.node'
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.709	error	Caught by controller[0]: ^
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.709	error	Caught by controller[0]: throw e;
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:29.708	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:27.389	info	instance system.adapter.zigbee.0 started with pid 10214
                          host.IoBrokerSmartHome
                          2022-02-08 06:25:23.624	info	"system.adapter.zigbee.0" enabled
                          
                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #294

                          @homecineplexx Ok, also ja in dem Fall braucht es einen rebuild. Am besten im /opt/iobroker ein "npm rebuil" ausführen. Das sollte das fixen.

                          Der "iobroker info" Fehler ist komisch. Der sollte nur passieren wenn er versucht die DB zwei mal zu öffnen ... läuft da irgendwas parallel?

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          H 1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            @homecineplexx Ok, also ja in dem Fall braucht es einen rebuild. Am besten im /opt/iobroker ein "npm rebuil" ausführen. Das sollte das fixen.

                            Der "iobroker info" Fehler ist komisch. Der sollte nur passieren wenn er versucht die DB zwei mal zu öffnen ... läuft da irgendwas parallel?

                            H Offline
                            H Offline
                            homecineplexx
                            schrieb am zuletzt editiert von
                            #295

                            @apollon77 said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                            @homecineplexx Ok, also ja in dem Fall braucht es einen rebuild. Am besten im /opt/iobroker ein "npm rebuil" ausführen. Das sollte das fixen.

                            Der "iobroker info" Fehler ist komisch. Der sollte nur passieren wenn er versucht die DB zwei mal zu öffnen ... läuft da irgendwas parallel?

                            ob da etwas doppelt läuft, weiss ich nicht, wie find ich das raus?

                            also das "npm rebuild" war nicht sehr erfolgreich:

                            
                            > iobroker.js-controller@4.0.4 install /opt/iobroker/node_modules/iobroker.js-controller
                            > node iobroker.js setup first
                            
                            Uncaught Rejection: Error: Connection is closed.
                                at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                at Object.onceWrapper (events.js:520:26)
                                at Socket.emit (events.js:400:28)
                                at TCP.<anonymous> (net.js:686:12)
                             Unable to subscribe to expiry Keyspace events from Redis Server: Connection is closed.
                             Unable to subscribe to evicted Keyspace events from Redis Server: Connection is closed.
                             Unable to subscribe to meta namespace "meta." changes: Connection is closed.
                            Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 24
                            npm ERR! iobroker.js-controller@4.0.4 install: `node iobroker.js setup first`
                            npm ERR! Exit status 24
                            npm ERR! 
                            npm ERR! Failed at the iobroker.js-controller@4.0.4 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-02-08T07_47_46_047Z-debug.log
                            root@IoBrokerSmartHome:/opt/iobroker# less /home/iobroker/.npm/_logs/2022-02-08T07_47_46_047Z-debug.log
                            
                            
                            Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                            0
                            • H homecineplexx

                              @apollon77 said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                              @homecineplexx Ok, also ja in dem Fall braucht es einen rebuild. Am besten im /opt/iobroker ein "npm rebuil" ausführen. Das sollte das fixen.

                              Der "iobroker info" Fehler ist komisch. Der sollte nur passieren wenn er versucht die DB zwei mal zu öffnen ... läuft da irgendwas parallel?

                              ob da etwas doppelt läuft, weiss ich nicht, wie find ich das raus?

                              also das "npm rebuild" war nicht sehr erfolgreich:

                              
                              > iobroker.js-controller@4.0.4 install /opt/iobroker/node_modules/iobroker.js-controller
                              > node iobroker.js setup first
                              
                              Uncaught Rejection: Error: Connection is closed.
                                  at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                  at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                  at Object.onceWrapper (events.js:520:26)
                                  at Socket.emit (events.js:400:28)
                                  at TCP.<anonymous> (net.js:686:12)
                               Unable to subscribe to expiry Keyspace events from Redis Server: Connection is closed.
                               Unable to subscribe to evicted Keyspace events from Redis Server: Connection is closed.
                               Unable to subscribe to meta namespace "meta." changes: Connection is closed.
                              Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                              npm ERR! code ELIFECYCLE
                              npm ERR! errno 24
                              npm ERR! iobroker.js-controller@4.0.4 install: `node iobroker.js setup first`
                              npm ERR! Exit status 24
                              npm ERR! 
                              npm ERR! Failed at the iobroker.js-controller@4.0.4 install script.
                              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-02-08T07_47_46_047Z-debug.log
                              root@IoBrokerSmartHome:/opt/iobroker# less /home/iobroker/.npm/_logs/2022-02-08T07_47_46_047Z-debug.log
                              
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #296

                              @homecineplexx
                              Lösch den npm cache mal.
                              Und eier nicht als root herum.

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

                              H 1 Antwort Letzte Antwort
                              0
                              • H homecineplexx

                                @apollon77 said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                @homecineplexx Ok, also ja in dem Fall braucht es einen rebuild. Am besten im /opt/iobroker ein "npm rebuil" ausführen. Das sollte das fixen.

                                Der "iobroker info" Fehler ist komisch. Der sollte nur passieren wenn er versucht die DB zwei mal zu öffnen ... läuft da irgendwas parallel?

                                ob da etwas doppelt läuft, weiss ich nicht, wie find ich das raus?

                                also das "npm rebuild" war nicht sehr erfolgreich:

                                
                                > iobroker.js-controller@4.0.4 install /opt/iobroker/node_modules/iobroker.js-controller
                                > node iobroker.js setup first
                                
                                Uncaught Rejection: Error: Connection is closed.
                                    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                    at Object.onceWrapper (events.js:520:26)
                                    at Socket.emit (events.js:400:28)
                                    at TCP.<anonymous> (net.js:686:12)
                                 Unable to subscribe to expiry Keyspace events from Redis Server: Connection is closed.
                                 Unable to subscribe to evicted Keyspace events from Redis Server: Connection is closed.
                                 Unable to subscribe to meta namespace "meta." changes: Connection is closed.
                                Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 24
                                npm ERR! iobroker.js-controller@4.0.4 install: `node iobroker.js setup first`
                                npm ERR! Exit status 24
                                npm ERR! 
                                npm ERR! Failed at the iobroker.js-controller@4.0.4 install script.
                                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-02-08T07_47_46_047Z-debug.log
                                root@IoBrokerSmartHome:/opt/iobroker# less /home/iobroker/.npm/_logs/2022-02-08T07_47_46_047Z-debug.log
                                
                                
                                apollon77A Offline
                                apollon77A Offline
                                apollon77
                                schrieb am zuletzt editiert von
                                #297

                                @homecineplexx sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!

                                Neee ich denke das hier ist die Ursache. Das JSONL File ist gelockt ... Und damit kann er die DB nicht öffnen. Ich sag mal so: Reboote mal ... oder finde raus welcher prozess das File lockt ...

                                @AlCalzone noch ne idee?

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                H AlCalzoneA 2 Antworten Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @homecineplexx
                                  Lösch den npm cache mal.
                                  Und eier nicht als root herum.

                                  H Offline
                                  H Offline
                                  homecineplexx
                                  schrieb am zuletzt editiert von
                                  #298

                                  @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                  Und eier nicht als root herum

                                  npm cache clear --force
                                  und
                                  das hab ich nun befolgt aber keine Änderung

                                  node-pre-gyp WARN Using request for node-pre-gyp https download 
                                  [lzma-native] Success: "/opt/iobroker/node_modules/iobroker.javascript/node_modules/lzma-native/binding-v4.0.6-node-v83-linux-x64/lzma_native.node" already installed
                                  Pass --update-binary to reinstall or --build-from-source to recompile
                                  
                                  > iobroker.javascript@5.2.21 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                  > node ./install/installTypings.js
                                  
                                  Installing NodeJS typings...
                                  latest @types: 17, installed node: 14
                                  
                                  > lzma-native@4.0.6 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/lzma-native
                                  > node-pre-gyp install --fallback-to-build && rimraf build
                                  
                                  node-pre-gyp WARN Using request for node-pre-gyp https download 
                                  [lzma-native] Success: "/opt/iobroker/node_modules/iobroker.javascript/node_modules/lzma-native/binding-v4.0.6-node-v83-linux-x64/lzma_native.node" already installed
                                  Pass --update-binary to reinstall or --build-from-source to recompile
                                  
                                  > iobroker.js-controller@4.0.4 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                  > node lib/preinstallCheck.js
                                  
                                  NPM version: 6.14.16
                                  
                                  > iobroker.js-controller@4.0.4 install /opt/iobroker/node_modules/iobroker.js-controller
                                  > node iobroker.js setup first
                                  
                                   Connection is closed.
                                  Uncaught Rejection: Error: States DB is not allowed to start in the current Multihost environment
                                      at Redis.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:579:23)
                                      at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                  Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 24
                                  npm ERR! iobroker.js-controller@4.0.4 install: `node iobroker.js setup first`
                                  npm ERR! Exit status 24
                                  npm ERR! 
                                  npm ERR! Failed at the iobroker.js-controller@4.0.4 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-02-08T08_11_00_567Z-debug.log
                                  chris@IoBrokerSmartHome:/opt/iobroker$ 
                                  
                                  
                                  1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @homecineplexx sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                    Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!

                                    Neee ich denke das hier ist die Ursache. Das JSONL File ist gelockt ... Und damit kann er die DB nicht öffnen. Ich sag mal so: Reboote mal ... oder finde raus welcher prozess das File lockt ...

                                    @AlCalzone noch ne idee?

                                    H Offline
                                    H Offline
                                    homecineplexx
                                    schrieb am zuletzt editiert von
                                    #299

                                    @apollon77 said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                    @homecineplexx sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                    Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!

                                    Neee ich denke das hier ist die Ursache. Das JSONL File ist gelockt ... Und damit kann er die DB nicht öffnen. Ich sag mal so: Reboote mal ... oder finde raus welcher prozess das File lockt ...

                                    @AlCalzone noch ne idee?

                                    reboot des systems hab ich durchgeführt
                                    wenn du mir jetzt noch bitte sagen könntest, wie ich raus finde, was hier blockieren könnte...?

                                    chris@IoBrokerSmartHome:/opt/iobroker$ iobroker status
                                    (node:1354) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
                                    (Use `node --trace-warnings ...` to show where the warning was created)
                                    (node:1354) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
                                    (node:1354) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
                                    (node:1354) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
                                    iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    
                                    
                                    apollon77A 1 Antwort Letzte Antwort
                                    0
                                    • apollon77A apollon77

                                      @homecineplexx sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                      Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!

                                      Neee ich denke das hier ist die Ursache. Das JSONL File ist gelockt ... Und damit kann er die DB nicht öffnen. Ich sag mal so: Reboote mal ... oder finde raus welcher prozess das File lockt ...

                                      @AlCalzone noch ne idee?

                                      AlCalzoneA Offline
                                      AlCalzoneA Offline
                                      AlCalzone
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #300

                                      @apollon77 sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                      @AlCalzone noch ne idee?

                                      paar Sekunden warten. Das passiert eigentlich nur wenn innerhalb der letzen 10s der DB-Prozess abgeschmiert ist ohne die DB sauber zu schließen.

                                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                      H 1 Antwort Letzte Antwort
                                      0
                                      • AlCalzoneA AlCalzone

                                        @apollon77 sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                        @AlCalzone noch ne idee?

                                        paar Sekunden warten. Das passiert eigentlich nur wenn innerhalb der letzen 10s der DB-Prozess abgeschmiert ist ohne die DB sauber zu schließen.

                                        H Offline
                                        H Offline
                                        homecineplexx
                                        schrieb am zuletzt editiert von homecineplexx
                                        #301

                                        @alcalzone said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                        @apollon77 sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                        @AlCalzone noch ne idee?

                                        paar Sekunden warten. Das passiert eigentlich nur wenn innerhalb der letzen 10s der DB-Prozess abgeschmiert ist ohne die DB sauber zu schließen.

                                        also das warten wäre es nicht...hab ja gestern schon versucht und heute..also zeit hätte das teil ja genug.

                                        ich finde auch das recht spannend (was auch immer redis damit zu tun hat):

                                        node-pre-gyp WARN Using request for node-pre-gyp https download 
                                        [lzma-native] Success: "/opt/iobroker/node_modules/iobroker.javascript/node_modules/lzma-native/binding-v4.0.6-node-v83-linux-x64/lzma_native.node" already installed
                                        Pass --update-binary to reinstall or --build-from-source to recompile
                                        
                                        > iobroker.js-controller@4.0.4 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                        > node lib/preinstallCheck.js
                                        
                                        NPM version: 6.14.16
                                        
                                        > iobroker.js-controller@4.0.4 install /opt/iobroker/node_modules/iobroker.js-controller
                                        > node iobroker.js setup first
                                        
                                         Connection is closed.
                                        Uncaught Rejection: Error: States DB is not allowed to start in the current Multihost environment
                                            at Redis.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:579:23)
                                            at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 24
                                        npm ERR! iobroker.js-controller@4.0.4 install: `node iobroker.js setup first`
                                        npm ERR! Exit status 24
                                        npm ERR! 
                                        npm ERR! Failed at the iobroker.js-controller@4.0.4 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-02-08T08_21_08_680Z-debug.log
                                        chris@IoBrokerSmartHome:/opt/iobroker$ 
                                        
                                        
                                        AlCalzoneA 1 Antwort Letzte Antwort
                                        0
                                        • apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #302

                                          Ok, kannst Du denn "iob setup first" generell aufrufen ... nicht im Rahmen des Rebuilds?

                                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          H 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          453

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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