ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
315 stars 190 forks source link

Zigbee Adapter macht öfter mal einen rebuilt #1284

Closed LastPerfectTobi closed 2 years ago

LastPerfectTobi commented 2 years ago

Der Zigbee Adapter läuft grundsätzlich gut und stabil, seit dem Node.JS Update auf 14.18.1 stürzt der Adapter alle 1-2 Tage (mal mehr mal weniger) urplötzlich ab und es gibt einen automatischen rebuilt. Danach tut auch alles wieder wie gewohnt.

Node.JS: 14.18.1 NPM: 6.14.15 JS-Controller: 3.2.16 Zigbee-Adapter: 1.6.1 ioBroker auf RaspberryPi 4G mit CC2531 Zigbee USB-Stick

Folgendes steht im Log:

2021-11-27 17:15:00.706 - error: smartgarden.0 (1752) Error: request returned 400 Bad Request
2021-11-27 18:28:19.336 - error: zigbee.0 (17743) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2021-11-27 18:28:19.365 - error: zigbee.0 (17743) unhandled promise rejection: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/package.json'
2021-11-27 18:28:19.367 - error: zigbee.0 (17743) Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/package.json'
2021-11-27 18:28:19.367 - error: zigbee.0 (17743) Exception-Code: ENOENT: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/package.json'
2021-11-27 18:28:19.992 - warn: zigbee.0 (17743) Terminated (UNCAUGHT_EXCEPTION): Without reason
2021-11-27 18:28:20.022 - error: zigbee.0 (17743) Failed to stop zigbee (Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/package.json')
2021-11-27 18:28:20.695 - error: host.raspberrypi Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2021-11-27 18:28:20.700 - error: host.raspberrypi Caught by controller[1]: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/package.json'
2021-11-27 18:28:20.701 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2021-11-27 18:28:20.702 - info: host.raspberrypi Restart adapter system.adapter.zigbee.0 because enabled
2021-11-27 18:28:50.762 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 18698
2021-11-27 18:28:51.510 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
2021-11-27 18:28:51.510 - error: host.raspberrypi Caught by controller[0]: throw e;
2021-11-27 18:28:51.511 - error: host.raspberrypi Caught by controller[0]: ^
2021-11-27 18:28:51.511 - error: host.raspberrypi Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
2021-11-27 18:28:51.511 - error: host.raspberrypi Caught by controller[0]: was compiled against a different Node.js version using
2021-11-27 18:28:51.512 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
2021-11-27 18:28:51.512 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
2021-11-27 18:28:51.512 - error: host.raspberrypi Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
2021-11-27 18:28:51.513 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
2021-11-27 18:28:51.513 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
2021-11-27 18:28:51.513 - error: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
2021-11-27 18:28:51.513 - error: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
2021-11-27 18:28:51.513 - error: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
2021-11-27 18:28:51.514 - error: host.raspberrypi Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
2021-11-27 18:28:51.514 - error: host.raspberrypi Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
2021-11-27 18:28:51.514 - error: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
2021-11-27 18:28:51.514 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
2021-11-27 18:28:51.514 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
2021-11-27 18:28:51.515 - error: host.raspberrypi Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
2021-11-27 18:28:51.515 - error: host.raspberrypi Caught by controller[0]: }
2021-11-27 18:28:51.515 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2021-11-27 18:28:51.515 - info: host.raspberrypi Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
2021-11-27 18:28:51.516 - info: host.raspberrypi system.adapter.zigbee.0 will be rebuilt
2021-11-27 18:28:51.517 - warn: host.raspberrypi adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
2021-11-27 18:28:51.517 - info: host.raspberrypi iobroker rebuild zigbee
2021-11-27 18:28:52.391 - info: host.raspberrypi iobroker npm-rebuild: npm rebuild --loglevel error (System call) in "/opt/iobroker/node_modules/iobroker.zigbee"
2021-11-27 18:28:53.560 - info: host.raspberrypi iobroker npm-rebuild:
2021-11-27 18:28:53.561 - info: host.raspberrypi iobroker npm-rebuild: Rebuild zigbee done
2021-11-27 18:28:54.579 - info: host.raspberrypi iobroker npm-rebuild: exit 0
2021-11-27 18:28:54.679 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 18724
2021-11-27 18:28:55.429 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
2021-11-27 18:28:55.429 - error: host.raspberrypi Caught by controller[0]: throw e;
2021-11-27 18:28:55.432 - error: host.raspberrypi Caught by controller[0]: ^
2021-11-27 18:28:55.432 - error: host.raspberrypi Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
2021-11-27 18:28:55.432 - error: host.raspberrypi Caught by controller[0]: was compiled against a different Node.js version using
2021-11-27 18:28:55.433 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
2021-11-27 18:28:55.433 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
2021-11-27 18:28:55.433 - error: host.raspberrypi Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
2021-11-27 18:28:55.433 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)
2021-11-27 18:28:55.434 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
2021-11-27 18:28:55.434 - error: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
2021-11-27 18:28:55.434 - error: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
2021-11-27 18:28:55.434 - error: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
2021-11-27 18:28:55.435 - error: host.raspberrypi Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
2021-11-27 18:28:55.435 - error: host.raspberrypi Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
2021-11-27 18:28:55.435 - error: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
2021-11-27 18:28:55.435 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
2021-11-27 18:28:55.435 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) {
2021-11-27 18:28:55.436 - error: host.raspberrypi Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
2021-11-27 18:28:55.436 - error: host.raspberrypi Caught by controller[0]: }
2021-11-27 18:28:55.436 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2021-11-27 18:28:55.436 - info: host.raspberrypi Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
2021-11-27 18:28:55.437 - info: host.raspberrypi system.adapter.zigbee.0 will be rebuilt
2021-11-27 18:28:55.437 - warn: host.raspberrypi adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
2021-11-27 18:28:55.437 - info: host.raspberrypi iobroker rebuild zigbee --install
2021-11-27 18:28:56.138 - info: host.raspberrypi iobroker npm-rebuild: npm install --loglevel error --production (System call) in "/opt/iobroker/node_modules/iobroker.zigbee"
2021-11-27 18:31:48.189 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-27 18:31:48.197 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~~
2021-11-27 18:31:48.201 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~
2021-11-27 18:31:48.204 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~
2021-11-27 18:31:48.207 - info: host.raspberrypi 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); ^~~~~~~~~~~~
2021-11-27 18:31:48.210 - info: host.raspberrypi 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); ^~~~~~~~~~~~
2021-11-27 18:31:48.219 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-27 18:31:48.220 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~~~~~~~
2021-11-27 18:31:48.226 - info: host.raspberrypi iobroker npm-rebuild: ../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); ^~~~~~~~~~~~~~
2021-11-27 18:31:48.227 - info: host.raspberrypi 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& v8str)) { ^
2021-11-27 18:31:48.233 - info: host.raspberrypi iobroker npm-rebuild: ../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.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.1/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); ^~~~~~~~~~~
2021-11-27 18:31:52.235 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
2021-11-27 18:31:52.237 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp:176: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:176: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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-27 18:31:52.278 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:86: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:86: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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-27 18:32:01.166 - info: host.raspberrypi 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); ^~~~~~~~~~~~~
2021-11-27 18:32:01.173 - info: host.raspberrypi iobroker npm-rebuild: ../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); ^~~~~~~~~~~~~~~
2021-11-27 18:32:01.177 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~
2021-11-27 18:32:01.181 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~
2021-11-27 18:32:01.186 - info: host.raspberrypi 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); ^~~~~~~~~~~~
2021-11-27 18:32:01.190 - info: host.raspberrypi 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); ^~~~~~~~~~~~
2021-11-27 18:32:01.200 - info: host.raspberrypi 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); ^~~~~~~~~~~~~~~~~~~~
2021-11-27 18:32:01.206 - info: host.raspberrypi iobroker npm-rebuild: ../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); ^~~~~~~~~~~~~~
2021-11-27 18:32:01.208 - info: host.raspberrypi 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& v8str)) { ^
2021-11-27 18:32:01.211 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
2021-11-27 18:32:01.214 - info: host.raspberrypi 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.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.1/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); ^~~~~~~~~~~
2021-11-27 18:32:05.088 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:../src/serialport_unix.cpp:176: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:176: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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-27 18:32:05.128 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:86: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:86: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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-27 18:32:32.357 - info: host.raspberrypi iobroker npm-rebuild:
2021-11-27 18:32:32.359 - info: host.raspberrypi iobroker npm-rebuild: Rebuild zigbee done
2021-11-27 18:32:33.369 - info: host.raspberrypi iobroker npm-rebuild: exit 0
2021-11-27 18:32:33.440 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 19234
arteck commented 2 years ago

machmal folgendes

adapter stop

auf der console rm -R /opt/iobroker/node_modules/zigbee-herdsman rm -R /opt/iobroker/node_modules/serialport rm -R /opt/iobroker/node_modules/@serialport

dann direkt adapter von GIT installieren adapter starten

nachtrag: es bleibt alles erhalten

LastPerfectTobi commented 2 years ago

Sorry bin erst heute dazugekommen das durchzuführen. Hat soweit geklappt, kamen unmengen an Infomeldungen aber lief durch und konnte gestartet werden.

Jetzt ist Adapterversion 1.6.7 installiert.

Ich beobachte das mal die nächsten Tage. Danke schonmal 🙂

2021-11-29 20:00:09.079 - info: host.raspberrypi "system.adapter.zigbee.0" disabled
2021-11-29 20:00:09.085 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true)
2021-11-29 20:00:09.178 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal
2021-11-29 20:00:10.196 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 killing pid 19234
2021-11-29 20:00:10.385 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2021-11-29 20:03:44.200 - info: host.raspberrypi iobroker url https://github.com/ioBroker/ioBroker.zigbee.git --host raspberrypi
2021-11-29 20:03:46.976 - info: host.raspberrypi iobroker install ioBroker/ioBroker.zigbee#633a3f1c168d99d738df42bdca31bdf762cde69e
2021-11-29 20:03:47.779 - info: host.raspberrypi iobroker NPM version: 6.14.15npm install ioBroker/ioBroker.zigbee#633a3f1c168d99d738df42bdca31bdf762cde69e --loglevel error --prefix "/opt/iobroker" (System call)
2021-11-29 20:07:29.418 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~
2021-11-29 20:07:29.427 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:29.435 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:29.439 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~
2021-11-29 20:07:29.444 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~
2021-11-29 20:07:29.451 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:29.457 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:29.460 - info: host.raspberrypi iobroker ../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& v8str)) { ^
2021-11-29 20:07:29.465 - info: host.raspberrypi iobroker ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^In file included from ../node_modules/nan/nan.h:58, from ../src/./serialport.h:13, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.1/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); ^~~~~~~~~~~
2021-11-29 20:07:33.392 - info: host.raspberrypi iobroker ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
2021-11-29 20:07:33.394 - info: host.raspberrypi iobroker ../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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:33.436 - info: host.raspberrypi iobroker ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
2021-11-29 20:07:33.438 - info: host.raspberrypi iobroker ../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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:41.557 - info: host.raspberrypi iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-29 20:07:41.559 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~
2021-11-29 20:07:41.567 - info: host.raspberrypi iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-29 20:07:41.568 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~~
2021-11-29 20:07:41.572 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:41.578 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:41.584 - info: host.raspberrypi iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-29 20:07:41.585 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~
2021-11-29 20:07:41.591 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~
2021-11-29 20:07:41.598 - info: host.raspberrypi iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-29 20:07:41.600 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:41.605 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:41.609 - info: host.raspberrypi iobroker ../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& v8str)) { ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
2021-11-29 20:07:41.613 - info: host.raspberrypi iobroker 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.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.1/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); ^~~~~~~~~~~
2021-11-29 20:07:45.846 - info: host.raspberrypi iobroker ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
2021-11-29 20:07:45.848 - info: host.raspberrypi iobroker ../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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:45.888 - info: host.raspberrypi iobroker ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
2021-11-29 20:07:45.889 - info: host.raspberrypi iobroker ../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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:53.781 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~
2021-11-29 20:07:53.788 - info: host.raspberrypi iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-29 20:07:53.790 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~~
2021-11-29 20:07:53.795 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:53.799 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:53.804 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~
2021-11-29 20:07:53.808 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~
2021-11-29 20:07:53.815 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:53.821 - info: host.raspberrypi iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-11-29 20:07:53.822 - info: host.raspberrypi iobroker ../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); ^~~~~~~~~~~~~~
2021-11-29 20:07:53.827 - info: host.raspberrypi iobroker ../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& v8str)) { ^../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
2021-11-29 20:07:53.832 - info: host.raspberrypi iobroker 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.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/14.18.1/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); ^~~~~~~~~~~
2021-11-29 20:07:57.887 - info: host.raspberrypi iobroker ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
2021-11-29 20:07:57.888 - info: host.raspberrypi iobroker ../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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-29 20:07:57.930 - info: host.raspberrypi iobroker ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
2021-11-29 20:07:57.932 - info: host.raspberrypi iobroker ../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); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-11-29 20:08:24.849 - info: host.raspberrypi iobroker upload [300] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/moment.min.js moment.min.js application/javascript
2021-11-29 20:08:28.411 - info: host.raspberrypi iobroker upload [250] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/qujiabao_gas.png img/qujiabao_gas.png image/png
2021-11-29 20:08:38.161 - info: host.raspberrypi iobroker upload [200] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/owvfni3.png img/owvfni3.png image/png
2021-11-29 20:08:41.354 - info: host.raspberrypi iobroker upload [150] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/konke_kpdr.png img/konke_kpdr.png image/png
2021-11-29 20:08:45.183 - info: host.raspberrypi iobroker upload [100] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/group_4.png img/group_4.png image/png
2021-11-29 20:08:45.822 - info: host.raspberrypi iobroker upload [90] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/gledopto.png img/gledopto.png image/png
2021-11-29 20:08:46.636 - info: host.raspberrypi iobroker upload [80] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/exp_light.png img/exp_light.png image/png
2021-11-29 20:08:47.220 - info: host.raspberrypi iobroker upload [70] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/danfoss_ally.png img/danfoss_ally.png image/png
2021-11-29 20:08:47.913 - info: host.raspberrypi iobroker upload [60] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/cc2538_router_v1.png img/cc2538_router_v1.png image/png
2021-11-29 20:08:48.578 - info: host.raspberrypi iobroker upload [50] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/basiczbr3.png img/basiczbr3.png image/png
2021-11-29 20:08:49.171 - info: host.raspberrypi iobroker upload [40] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/TS0502A.png img/TS0502A.png image/png
2021-11-29 20:08:49.831 - info: host.raspberrypi iobroker upload [30] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Paulmann_50067.png img/Paulmann_50067.png image/png
2021-11-29 20:08:50.488 - info: host.raspberrypi iobroker upload [20] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/HG06104A.png img/HG06104A.png image/png
2021-11-29 20:08:50.556 - info: host.raspberrypi iobroker upload [19] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/FLOALT.panel.WS.png img/FLOALT.panel.WS.png image/png
2021-11-29 20:08:50.624 - info: host.raspberrypi iobroker upload [18] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Eurotronic_Spirit_04.png img/Eurotronic_Spirit_04.png image/png
2021-11-29 20:08:50.691 - info: host.raspberrypi iobroker upload [17] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ_R8_8.png img/DIYRuZ_R8_8.png image/png
2021-11-29 20:08:50.758 - info: host.raspberrypi iobroker upload [16] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ_Geiger.png img/DIYRuZ_Geiger.png image/png
2021-11-29 20:08:50.826 - info: host.raspberrypi iobroker upload [15] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ_FreePad_LeTV_8.png img/DIYRuZ_FreePad_LeTV_8.png image/png
2021-11-29 20:08:50.892 - info: host.raspberrypi iobroker upload [14] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ_FreePad.png img/DIYRuZ_FreePad.png image/png
2021-11-29 20:08:50.958 - info: host.raspberrypi iobroker upload [13] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ_Flower.png img/DIYRuZ_Flower.png image/png
2021-11-29 20:08:51.025 - info: host.raspberrypi iobroker upload [12] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ_CO2.png img/DIYRuZ_CO2.png image/png
2021-11-29 20:08:51.090 - info: host.raspberrypi iobroker upload [11] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ.png img/DIYRuZ.png image/png
2021-11-29 20:08:51.159 - info: host.raspberrypi iobroker upload [10] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DGNWG05LM.png img/DGNWG05LM.png image/png
2021-11-29 20:08:51.227 - info: host.raspberrypi iobroker upload [9] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Bitron_AV201021A.png img/Bitron_AV201021A.png image/png
2021-11-29 20:08:51.292 - info: host.raspberrypi iobroker upload [8] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/BW-IS5.png img/BW-IS5.png image/png
2021-11-29 20:08:51.359 - info: host.raspberrypi iobroker upload [7] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/BW-IS3.png img/BW-IS3.png image/png
2021-11-29 20:08:51.434 - info: host.raspberrypi iobroker upload [6] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/AV2010_32.png img/AV2010_32.png image/png
2021-11-29 20:08:51.523 - info: host.raspberrypi iobroker upload [5] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw2.png img/86sw2.png image/png
2021-11-29 20:08:51.587 - info: host.raspberrypi iobroker upload [4] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw1.png img/86sw1.png image/png
2021-11-29 20:08:51.651 - info: host.raspberrypi iobroker upload [3] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86plug.png img/86plug.png image/png
2021-11-29 20:08:51.717 - info: host.raspberrypi iobroker upload [2] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/14147206L.png img/14147206L.png image/png
2021-11-29 20:08:51.784 - info: host.raspberrypi iobroker upload [1] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/admin.js admin.js application/javascript
2021-11-29 20:08:51.880 - info: host.raspberrypi iobroker upload [0] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/adapter-settings.js adapter-settings.js application/javascript
2021-11-29 20:08:52.014 - info: host.raspberrypi iobroker Update "system.adapter.zigbee.0"
2021-11-29 20:08:53.083 - info: host.raspberrypi iobroker exit 0
2021-11-29 20:09:12.244 - info: host.raspberrypi "system.adapter.zigbee.0" enabled
2021-11-29 20:09:12.329 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 8411
Claus1985 commented 2 years ago

Hab das gleiche Problem, probiere nun auch mal die o.g. Lösung. Bleiben die Daten also das Netzwerk dabei erhalten? Würde das nur ungern alles neu aufsetzen..

mswiridow commented 2 years ago

Das selbe bei mir ! Allerdinsg älterer Zigbee Adapter ( latest stable ) Node.JS: 14.18.1 NPM: 6.14.15 JS-Controller: 3.2.16 Zigbee-Adapter: 1.5.6 Proxmox VM Debian 11

Nach Update des NodeJS auf 14.18.1 kam bei mir auch der Absturz danach ging es wieder. Die Frage von Claus1985 würde ich auch gern wissen bevor ich da dran gehe

Grüße

LastPerfectTobi commented 2 years ago

Bei mir blieb alles erhalten. Musste nichts neu Anlernen oder konfigurieren.

Hatte auch seitdem jetzt keinen rebuilt mehr. Aber werd noch paar Tage schauen bevor ich die endgültige i.O.-Meldung hier gebe.

Nicht wundern beim neu installieren vom Adapter. Dauert sehr lange und kommen viele Meldungen.. Aber läuft trotzdem durch und funktioniert.

mswiridow commented 2 years ago

@LastPerfectTobi hast mir Mut gemacht :) Ich habe jetzt auch alles nach Anleitung durchlaufen, hatte in der Installation einige Warnings ( ging aber zu schnell um zu sehen was ) . Adapter war sofort wieder grün , Geräte scheine alle da zu sein , ich berichte in 2 Tage mehr !! Vielen Dank !

LastPerfectTobi commented 2 years ago

@LastPerfectTobi hast mir Mut gemacht :)

Ich habe jetzt auch alles nach Anleitung durchlaufen, hatte in der Installation einige Warnings ( ging aber zu schnell um zu sehen was ) . Adapter war sofort wieder grün , Geräte scheine alle da zu sein , ich berichte in 2 Tage mehr !!

Vielen Dank !

Vermutlich die gleichen die ich zur Info gepostet hab. Wahrscheinlich muss das einfach so sein 🤷‍♂️

arteck commented 2 years ago

dann mach ich zu hier