Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update ioBroker klappt nicht - gelöst durch neuinstallation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update ioBroker klappt nicht - gelöst durch neuinstallation

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DLaurenz @DLaurenz last edited by

      @dlaurenz

      root@io-fhem:~# find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" \; &> /dev/null
      
      root@io-fhem:~#
      root@io-fhem:~# cd /opt/iobroker/
      root@io-fhem:/opt/iobroker# npm list
      iobroker.inst@2.0.3 /opt/iobroker
      ├── colors@1.4.0
      ├── fs-extra@7.0.1
      ├── iobroker.admin@6.2.23
      ├── iobroker.backitup@2.5.6
      ├── iobroker.ble@0.13.4
      ├── iobroker.discovery@3.2.0
      ├── iobroker.fhem@2.0.3
      ├── iobroker.flot@1.12.0
      ├── iobroker.fritzdect@2.3.1
      ├── iobroker.homeconnect@1.0.1
      ├── iobroker.info@1.9.26
      ├── iobroker.js-controller@4.0.24
      ├── iobroker.simple-api@2.7.2
      ├── iobroker.socketio@6.5.2
      ├── iobroker.vis@1.4.16
      ├── iobroker.web@5.5.3
      ├── iobroker.ws@2.5.3
      ├── iobroker.zigbee@1.8.10
      ├── iobroker@2.0.3
      ├── semver@5.7.2
      ├── serialport@7.1.5
      └── yargs@7.1.2
      
      root@io-fhem:/opt/iobroker# iob upgrade fritzdect --debug
      
      This upgrade of "fritzdect" will introduce the following changes:
      ==========================================================================
      -> 2.4.1:
      correctionts reported by adapter-checker
      
      -> 2.4.0:
      new function for routines, correction for templates
      ==========================================================================
      
      Would you like to upgrade fritzdect from @2.3.1 to @2.4.1 now? [(y)es, (n)o]: y
      Update fritzdect from @2.3.1 to @2.4.1
      NPM version: 10.2.0
      Installing iobroker.fritzdect@2.4.1... (System call)
      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN cleanup Failed to remove some directories [
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build/Release'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build/Release'
      npm WARN cleanup     }
      npm WARN cleanup   ],
      npm WARN cleanup   [
      npm WARN cleanup     '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket',
      npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build/Release'] {
      npm WARN cleanup       errno: -39,
      npm WARN cleanup       code: 'ENOTEMPTY',
      npm WARN cleanup       syscall: 'rmdir',
      npm WARN cleanup       path: '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build/Release'
      npm WARN cleanup     }
      npm WARN cleanup   ]
      npm WARN cleanup ]
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! command failed
      npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten
      npm ERR!   CXX(target) Release/obj.target/bindings/src/serialport.o
      npm ERR! make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.4.0
      npm ERR! gyp info using node@18.18.1 | linux | arm
      npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
      npm ERR! gyp info spawn args   'binding.gyp',
      npm ERR! gyp info spawn args   '-f',
      npm ERR! gyp info spawn args   'make',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/@serialport/bindings/build/config.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.1/include/node/common.gypi',
      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
      npm ERR! gyp info spawn args   '-Dvisibility=default',
      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.1',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.1/<(target_arch)/node.lib',
      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/@serialport/bindings',
      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
      npm ERR! gyp info spawn args   '--depth=.',
      npm ERR! gyp info spawn args   '--no-parallel',
      npm ERR! gyp info spawn args   '--generator-output',
      npm ERR! gyp info spawn args   'build',
      npm ERR! gyp info spawn args   '-Goutput_dir=.'
      npm ERR! gyp info spawn args ]
      npm ERR! gyp info spawn make
      npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
      npm ERR!                                                                      ^~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
      npm ERR!                                                                        ^~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
      npm ERR!                                                                       ^~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
      npm ERR!                                                                       ^~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:270: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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
      npm ERR!                                                                     ^~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:314: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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
      npm ERR!                                                                     ^~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
      npm ERR! ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
      npm ERR!      results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
      npm ERR!                                                                                                 ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
      npm ERR!      results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
      npm ERR!                                                                                                 ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
      npm ERR!      results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
      npm ERR!                                                                                                 ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:363: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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
      npm ERR!                                                                             ^~~~~~~~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
      npm ERR! ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
      npm ERR!      results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
      npm ERR!                                                                                                           ^
      npm ERR! In file included from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-array-buffer.h:13,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8.h:24,
      npm ERR!                  from /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:73,
      npm ERR!                  from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
      npm ERR!    V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      npm ERR!                                      ^~~
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
      npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
      npm ERR! ../src/serialport.cpp:409: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]
      npm ERR!    uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
      npm ERR!                                                                       ^~~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp: At global scope:
      npm ERR! ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
      npm ERR!  SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
      npm ERR!                             ^
      npm ERR! ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
      npm ERR!  SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
      npm ERR!                               ^
      npm ERR! In file included from ../../../nan/nan.h:62,
      npm ERR!                  from ../src/./serialport.h:6,
      npm ERR!                  from ../src/serialport.cpp:1:
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:1014: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]
      npm ERR!        (node::addon_register_func) (regfunc),                          \
      npm ERR!                                            ^
      npm ERR! /home/iobroker/.cache/node-gyp/18.18.1/include/node/node.h:1048:3: note: in expansion of macro ‘NODE_MODULE_X’
      npm ERR!    NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      npm ERR!    ^~~~~~~~~~~~~
      npm ERR! ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
      npm ERR!  NODE_MODULE(serialport, init);
      npm ERR!  ^~~~~~~~~~~
      npm ERR! make: *** [bindings.target.mk:114: Release/obj.target/bindings/src/serialport.o] Fehler 1
      npm ERR! gyp ERR! build error
      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
      npm ERR! gyp ERR! System Linux 5.10.103-v7+
      npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
      npm ERR! gyp ERR! node -v v18.18.1
      npm ERR! gyp ERR! node-gyp -v v9.4.0
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-12T04_24_27_413Z-debug-0.log
      Adapter "system.adapter.vis.0" restarted.
      upload [4] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/admin.d.ts admin.d.ts video/mp2t
      upload [3] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/fritzdect_logo.png fritzdect_logo.png image/png
      upload [2] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/index_m.html index_m.html text/html
      upload [1] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/style.css style.css text/css
      upload [0] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/words.js words.js application/javascript
      
      Qix- created this issue in visionmedia/debug

      closed ReDos Vulnerability Regression Visibility Notice #797

      Qix- created this issue in visionmedia/debug

      closed ReDos Vulnerability Regression Visibility Notice #797

      Qix- created this issue in visionmedia/debug

      closed ReDos Vulnerability Regression Visibility Notice #797

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @DLaurenz last edited by

        @dlaurenz

        Buster ist tot und du hampelst da als root herum und für 1GB läuft da auch viel zu viel komisches Zeug mit.

        Was ist saltprojext? Was macht webmin auf der Kiste? Was sind das für seltsame mounts?

        ? D 3 Replies Last reply Reply Quote 0
        • ?
          A Former User @Thomas Braun last edited by

          @thomas-braun sagte in Update ioBroker klappt nicht:

          saltprojext

          Moin,

          das ist ein Automatisierungstool salt, mit Client/Server, Du schreibst Dir Kochbücher für die verschiedenen Nodes, die Du dann einfach von einer zentralen Stelle, verteilen kannst oder der Node holt sich die Informationen mittel Pull vom Server.

          Ansible, Terraform, Puppet, Chef und Salt
          

          VG
          Bernd

          1 Reply Last reply Reply Quote 0
          • D
            DLaurenz @Thomas Braun last edited by

            @thomas-braun

            Salt ist eine Konfiguration Management und der RPI macht FHEM & Zigbee... die Mounts sind für Backups

            willst du mir sagen dass ein update auf bulls-eye das problem behebt?

            deine anmerkungen gehen überhaupt nicht in richtung lösungsfindung

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @DLaurenz last edited by Thomas Braun

              @dlaurenz sagte in Update ioBroker klappt nicht:

              willst du mir sagen dass ein update auf bulls-eye das problem behebt?

              Nö. Aber verschafft erstmal eine sinnvolle Basis für weiteres.

              deine anmerkungen gehen überhaupt nicht in richtung lösungsfindung

              Warum nicht?

              D 2 Replies Last reply Reply Quote 0
              • D
                DLaurenz @Thomas Braun last edited by

                @thomas-braun

                gut mache ich - melde mich

                1 Reply Last reply Reply Quote 0
                • D
                  DLaurenz @Thomas Braun last edited by

                  @thomas-braun

                  "hampelst"....

                  übirgens habe ich noch einen buster-pi, der lässt sich einwandfrei updaten und sieht genauso aus...

                  (salt, webmin, root)

                  ich betreibe das ganze schon seit den anfangstagen von iobroker

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @DLaurenz last edited by

                    @dlaurenz

                    Und das bedeutet jetzt für den Patienten genau was?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      DLaurenz @Thomas Braun last edited by

                      @thomas-braun

                      2x raspbian, 2x debian buster, 2x iobroker, 2x Node 18, einer lässt sich updaten, der andere nicht.

                      Wie wahrscheinlich ist es, dass es am OS liegt?

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @DLaurenz last edited by

                        @dlaurenz sagte in Update ioBroker klappt nicht:

                        10.2.0

                        Die NPM passt nicht zu NODE 18.18.1

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          DLaurenz @DJMarc75 last edited by

                          @djmarc75

                          laut iob diag ok....

                          Nodejs-Installation:    /usr/bin/nodejs         v18.18.1
                                                  /usr/bin/node           v18.18.1
                                                  /usr/bin/npm            10.2.0
                                                  /usr/bin/npx            10.2.0
                                                  /usr/bin/corepack       0.21.0
                           
                          Recommended versions are nodejs  and npm
                          Your nodejs installation is correct
                          

                          wie bekomme ich die hoch? bzw. welche version muss es sein?

                          Codierknecht 1 Reply Last reply Reply Quote 0
                          • D
                            DLaurenz @Thomas Braun last edited by

                            @thomas-braun sagte in Update ioBroker klappt nicht:

                            @dlaurenz

                            Buster ist tot und du hampelst da als root herum und für 1GB läuft da auch viel zu viel komisches Zeug mit.

                            Was ist saltprojext? Was macht webmin auf der Kiste? Was sind das für seltsame mounts?

                            ich muss gerade schmunzeln während das update zu bulls-eye läuft....

                            ihr liefert selber ein Image mit buster aus?

                            Image basiert auf dem aktuellen Raspberry Pi OS (Buster) Lite
                            

                            https://forum.iobroker.net/topic/41520/raspberry-os-lite-image-for-with-iobroker

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @DLaurenz last edited by

                              @dlaurenz sagte in Update ioBroker klappt nicht:

                              Wie wahrscheinlich ist es, dass es am OS liegt?

                              Egal. Die Version ist obsolet... TOT.

                              @dlaurenz sagte in Update ioBroker klappt nicht:

                              wie bekomme ich die hoch? bzw. welche version muss es sein?

                              sudo apt install --reinstall nodejs
                              
                              D 1 Reply Last reply Reply Quote 0
                              • Codierknecht
                                Codierknecht Developer Most Active @DLaurenz last edited by

                                @dlaurenz sagte in Update ioBroker klappt nicht:

                                laut iob diag ok....

                                Nö. Der sagt Dir lediglich, dass Node korrekt installiert ist.
                                Der zur Node-Version passende NPM hat immer die "halbe" Versionsnummer.
                                Node 18 also mit NPM 9. Node 20 dementsprechend NPM 10.

                                Ohne @Thomas-Braun hier zu nahe treten oder seine Arbeit an der Ecke schmälern zu wollen: iob diag ist ein Hilfsmittel ... mehr nicht.
                                Es nimmt einem nicht die Arbeit ab.

                                "hampelst"....

                                Das allererste was ein Linux-Admin lernt: Man agiert im System nicht als User "root".
                                Alles was man mit der Hand am Arm im System treibt, wird allerhöchstens mit temporären Rechten per "sudo" ausgeführt. Da mit "root" unterwegs zu sein, ist reine Bequemlichkeit und führt in aller Regel zu Fehlern.
                                Es gibt da so einen schönen Spruch, der sinngemäß lautet: "Nur ausgewiesene Profis sollten sich als root anmelden - und die werden es nicht tun"

                                Ansonsten wurde ja schon erwähnt:
                                Ein Pi3 mit 1 GB RAM ist die absolute Minimalausstattung und mittlerweile fast nicht mehr sinnvoll (produktiv) einsetzbar. Da noch zusätzliche Verwaltungstools einzusetzen verbietet sich fast von selbst.
                                Debian "buster" liegt inzwischen 2 Versionen zurück und ist definitiv tot. Inzwischen gibt's auch offiziell "bookworm" für den Pi.

                                Thomas Braun D 2 Replies Last reply Reply Quote 1
                                • Thomas Braun
                                  Thomas Braun Most Active @Codierknecht last edited by

                                  @codierknecht sagte in Update ioBroker klappt nicht:

                                  iob diag ist ein Hilfsmittel ... mehr nicht.
                                  Es nimmt einem nicht die Arbeit ab.

                                  Mehr soll es auch nicht sein.

                                  1 Reply Last reply Reply Quote 2
                                  • Homoran
                                    Homoran Global Moderator Administrators @DLaurenz last edited by

                                    @dlaurenz sagte in Update ioBroker klappt nicht:

                                    ihr liefert selber ein Image mit buster aus?

                                    datum gelesen?
                                    Das war 2021

                                    D 1 Reply Last reply Reply Quote 2
                                    • D
                                      DLaurenz @Homoran last edited by

                                      @homoran
                                      genau, deswegen ist es auch offiziell verlinkt.... wenn etwas nicht mehr freigegeben oder supported ist, gehört es entsprechend makiert, macht man so...

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @DLaurenz last edited by Homoran

                                        @dlaurenz sagte in Update ioBroker klappt nicht:

                                        @homoran
                                        genau, deswegen ist es auch offiziell verlinkt.... wenn etwas nicht mehr freigegeben oder supported ist, gehört es entsprechend makiert, macht man so...

                                        ????

                                        Wenn du den Download nutzen würdest, würdest du ein aktuelle Image bekommen, kein Buster.

                                        der Beitrag ist historisch. Den lässt man so.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          DLaurenz @Codierknecht last edited by

                                          @codierknecht

                                          können wir mal über die sinn oder unsinnhaftigkeit bei mir aufhören zu sprechen und uns dem problem widmen? bisher hat sich keiner die mühe gemacht, zu fragen warum dinge so laufen sondern es wird wie üblich der oberlehrer rausgekehrt...

                                          ich kenn linux schon seit dem es noch bookware war, ich weiß also was ich tue oder nicht tue... das dürften so ca. 25 jahre sein...

                                          danke!

                                          Codierknecht 1 Reply Last reply Reply Quote 0
                                          • D
                                            DLaurenz @Thomas Braun last edited by

                                            @thomas-braun

                                            so erledigt:

                                            root@io-fhem:~# apt install --reinstall nodejs
                                            Paketlisten werden gelesen… Fertig
                                            Abhängigkeitsbaum wird aufgebaut… Fertig
                                            Statusinformationen werden eingelesen… Fertig
                                            Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
                                              libdns-export1110 libisc-export1105 openresolv
                                            Verwenden Sie »apt autoremove«, um sie zu entfernen.
                                            0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 1 nicht aktualisiert.
                                            Es müssen noch 0 B von 26,7 MB an Archiven heruntergeladen werden.
                                            Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                                            (Lese Datenbank ... 97255 Dateien und Verzeichnisse sind derzeit installiert.)
                                            Vorbereitung zum Entpacken von .../nodejs_18.18.1-1nodesource1_armhf.deb ...
                                            Detected old npm client, removing...
                                            Entpacken von nodejs (18.18.1-1nodesource1) über (18.18.1-1nodesource1) ...
                                            nodejs (18.18.1-1nodesource1) wird eingerichtet ...
                                            Trigger für man-db (2.9.4-2) werden verarbeitet ...
                                            Prüfe Prozesse...
                                            Prüfe Kandidaten...
                                            Scanning processor microcode...
                                            Prüfe Linux-Kernel...
                                            
                                            Der laufende Kernel ist aktuell.
                                            
                                            Fehler beim Ermitteln von verfügbaren Prozessor Mikrocode-Upgrades.
                                            
                                            Dienste werden neu gestartet...
                                             systemctl restart iobroker.service
                                            
                                            Es müssen keine Container neu gestartet werden.
                                            
                                            Es gibt keine Nutzer-Sitzungen mit veralteten Prozessen.
                                            root@io-fhem:~# npm -v
                                            9.8.1
                                            

                                            übrigens OS auch aktualisiert:

                                            root@io-fhem:~# cat /etc/os-release
                                            PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                                            NAME="Raspbian GNU/Linux"
                                            VERSION_ID="11"
                                            VERSION="11 (bullseye)"
                                            VERSION_CODENAME=bullseye
                                            ID=raspbian
                                            ID_LIKE=debian
                                            HOME_URL="http://www.raspbian.org/"
                                            SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                                            BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                                            

                                            wie zu erwarten ist das alles NICHT DAS PROBLEM...

                                            root@io-fhem:~# iob upgrade fritzdect --debug
                                            
                                            This upgrade of "fritzdect" will introduce the following changes:
                                            ==========================================================================
                                            -> 2.4.1:
                                            correctionts reported by adapter-checker
                                            
                                            -> 2.4.0:
                                            new function for routines, correction for templates
                                            ==========================================================================
                                            
                                            Would you like to upgrade fritzdect from @2.3.1 to @2.4.1 now? [(y)es, (n)o]: y
                                            Update fritzdect from @2.3.1 to @2.4.1
                                            NPM version: 9.8.1
                                            Installing iobroker.fritzdect@2.4.1... (System call)
                                            npm ERR! code ENOTEMPTY
                                            npm ERR! syscall rename
                                            npm ERR! path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                            npm ERR! dest /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo
                                            npm ERR! errno -39
                                            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket' -> '/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo'
                                            
                                            npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-12T09_12_07_605Z-debug-0.log
                                            host.io-fhem Cannot install iobroker.fritzdect@2.4.1: 217
                                            

                                            achso - zur Auslastung des Systems: (die letzte 35 Tage)

                                            2023-10-12 11_16_43-Checkmk Local site homelab - Service graphs CPU utilization, io-fhem.png 2023-10-12 11_16_08-Checkmk Local site homelab - Service graphs io-fhem, Memory.png

                                            Last ist immer nur wenn Sicherungen laufen....

                                            der macht genau 2 Dinge - zigbee gateway & fhem host (für selve rolläden) das war es dann auch schon

                                            Könnten wir dann mit der analyse starten? das wäre fein

                                            Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            928
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            42
                                            2438
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo