@thomas-braun
Danke für den schnellen Rat,
leider hat das rumhampeln per sudo in den scripten das gleiche Ergebnis. Der Vollständigkeit habe ich auch wie geraten die komplette Ausgabe bis auf das abklappern der Quellen gepostet. Der NPM cache wurde vorher auch noch mal geleert.
olli@openmediavault:~$ curl -sL https://iobroker.net/install.sh | bash -
library: loaded
Library version=2021-12-27
==========================================================================
Welcome to the ioBroker installer!
Installer version: 2021-12-27
You might need to enter your password a couple of times.
==========================================================================
==========================================================================
Installing prerequisites (1/4)
==========================================================================
...
...
Reading package lists... Done
Changing npm registry to https://registry.npmjs.org
Installed gcc-c++
Installed python-dev
==========================================================================
Creating ioBroker user and directory (2/4)
==========================================================================
Created /etc/sudoers.d/iobroker
Directory /opt/iobroker created
==========================================================================
Installing ioBroker (3/4)
==========================================================================
In file included from ../../nan/nan.h:58,
from ../src/main.cpp:3:
/home/olli/.cache/node-gyp/14.19.0/include/node/node.h:793:7: warning: cast betw een incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node: :addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value> , void*)’} [-Wcast-function-type]
793 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olli/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_ usage)
| ^~~~~~~~~~~~~
../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
42 | NODE_MODULE(diskusage, Init)
| ^~~~~~~~~~~
In file included from ../../nan/nan.h:58,
from ../src/unix_dgram.cc:5:
/home/olli/.cache/node-gyp/14.19.0/include/node/node.h:793:7: warning: cast betw een incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node: :addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value> , void*)’} [-Wcast-function-type]
793 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/olli/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_ usage)
| ^~~~~~~~~~~~~
../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
404 | NODE_MODULE(unix_dgram, Initialize)
| ^~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 22
npm ERR! iobroker.js-controller@3.3.22 install: `node iobroker.js setup first`
npm ERR! Exit status 22
npm ERR!
npm ERR! Failed at the iobroker.js-controller@3.3.22 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/olli/.npm/_logs/2022-02-04T21_40_48_160Z-debug.log
==========================================================================
Finalizing installation (4/4)
==========================================================================
Enabling autostart...
Autostart enabled!
Fixing directory permissions...
==========================================================================
ioBroker was installed successfully
Open http://192.168.2.10:8081 in a browser and start configuring!
==========================================================================
You need to re-login before doing anything else on the console!