NEWS
UNSOLVED Fehlermeldung Controller
-
Hallo,
ich habe nodejs auf v 12 upgedatet und nun bekomme ich im Log diese Fehlermeldung, wie behebe ich das?host.Mastermind 2020-01-11 20:22:17.676 error instance system.adapter.sql.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.Mastermind 2020-01-11 20:22:17.676 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:723:14) host.Mastermind 2020-01-11 20:22:17.676 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:811:32) host.Mastermind 2020-01-11 20:22:17.676 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10) host.Mastermind 2020-01-11 20:22:17.676 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:955:30) host.Mastermind 2020-01-11 20:22:17.676 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/lib/index.js:1:13) host.Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:848:19) host.Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:723:14) host.Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:811:32) host.Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1021:18) host.Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). host.Mastermind 2020-01-11 20:22:17.674 error Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing host.Mastermind 2020-01-11 20:22:17.674 error Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires host.Mastermind 2020-01-11 20:22:17.674 error Caught by controller[0]: was compiled against a different Node.js version using host.Mastermind 2020-01-11 20:22:17.674 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/iobroker.sql/node_modules/mmmagic/build/Release/magic.node' host.Mastermind 2020-01-11 20:22:17.674 error Caught by controller[0]: ^ host.Mastermind 2020-01-11 20:22:17.673 error Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); host.Mastermind 2020-01-11 20:22:17.673 error Caught by controller[0]: internal/modules/cjs/loader.js:1021
-
Warum hast du auf 12 hochgezogen .... aktuell ist 10.18.1 .
was compiled against a different Node.js version using
Mastermind 2020-01-11 20:22:17.675 error Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install
npm rebuild
-
weil der hue-Adapter nach einem Adapter-update gemeckert und nicht mehr funktioniert hat
-
Ich bekomm's nicht hin. Der Sql Adapter lässt sich nicht mehr starten und mit npm rebuild steigt er mit einer Fehlermeldung aus. Ich habe iobroker übrigens auf einem Ubuntu 18 Server laufen.
> sqlite3@4.1.1 install /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3 > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Pre-built binaries not installable for sqlite3@4.1.1 and node@10.18.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64' gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/build' gyp ERR! System Linux 4.15.0-74-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3 gyp ERR! node -v v10.18.1 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.15.0-74-generic node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.sql/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3 node-pre-gyp ERR! node -v v10.18.1 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/opt/iobroker/node_modules/iobroker.sql/node_modules/sqlite3/lib/binding/node-v64-linux-x64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sqlite3@4.1.1 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@4.1.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/rascal/.npm/_logs/2020-01-11T20_08_16_060Z-debug.log rascal@Mastermind:/opt/iobroker$
-
ok, habe mir mittlerweile iobroker zerschossen.... backups for the win
ich habe mir wieder nodejs v8 installiert und alles funkt wieder.Ich hasse es, wenn ein Adapter eine neue Node -v möchte und 3 andere sind dafür noch nicht bereit