NEWS
ioBroker startet nach Update nicht mehr
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi4 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: Debian Node-Version: v10.16.3 Nodejs-Version: v10.16.3 NPM-Version: 6.9.0 Installationsart: Manuell Image genutzt: Nein Ort/Name der Imagedatei: Link Hallo zusammen,
nachdem ich heute ioBroker aktualisiert habe, bekomme ich ihn nicht mehr gestartet.
Alle Fehlerlösungen welche mir in der Vergangenheit halfen, bringen leider auch nichts...Ich stelle mal wieder fest (wie immer wenn der ioBroker mal streikt), dass ich mich viel zu wenig mit Linux auseinandersetze...
Kann sich bitte mal jemand von den Spezis mein letztes Log anschauen, und mich in die richtige Richtung schubsen?Vielen Dank im Voraus und besten Gruß
OlliLinux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Jun 6 16:10:44 2022 from 192.168.99.44 pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ iobroker start pi@raspberrypi:/opt/iobroker $ Iobroker start admin -bash: Iobroker: command not found pi@raspberrypi:/opt/iobroker $ iobroker start admin internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) pi@raspberrypi:/opt/iobroker $ iobroker start pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' -bash: Error:: command not found pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ sudo chmod 777 * -R pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller –production npm ERR! code EINVALIDTAGNAME npm ERR! Invalid tag name "–production": Tags may not have any characters that encodeURIComponent encodes. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-06T15_37_41_466Z-debug.log pi@raspberrypi:/opt/iobroker $ iobroker start pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.9.0 > @serialport/bindings-cpp@10.7.0 install /opt/iobroker/node_modules/@serialport/bindings-cpp > node-gyp-build gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.16.3" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/@serialport/bindings-cpp/build' gyp ERR! System Linux 4.19.66-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings-cpp gyp ERR! node -v v10.16.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > canvas@2.9.1 install /opt/iobroker/node_modules/canvas > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.1 and node@10.16.3 (no de-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error ENOENT: no such file or directory, mkdir gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/ build' gyp ERR! System Linux 4.19.66-v7l+ 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/canvas/bui ld/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/c anvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "- -node_napi_label=node-v64" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v10.16.3 gyp ERR! node-gyp -v v3.8.0 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/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iob roker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build _version=0 --node_napi_label=node-v64' (1) node-pre-gyp ERR! stack at ChildProcess.cmd.on (/opt/iobroker/node_modules/@mapbox/nod e-pre-gyp/lib/util/compile.js:89:23) 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.19.66-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" " install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas node-pre-gyp ERR! node -v v10.16.3 node-pre-gyp ERR! node-pre-gyp -v v1.0.9 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/canvas/build/Rele ase/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build /Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=no de-v64' (1) > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/unix-dg ram/build' gyp ERR! System Linux 4.19.66-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram gyp ERR! node -v v10.16.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat' Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat' Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iob.bat' fs.js:114 throw err; ^ Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller /lib/setup/../../tmp' at Object.mkdirSync (fs.js:757:3) at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup .js:690:58) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:238: 23) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/li b/setup.js:2472:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1 :24) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/nod e_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wan ted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_module s/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sen sor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa- remote2/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios /package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google -auth-library/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken /package.json' npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You mu st install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 (node_modu les/@serialport/bindings-cpp): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 install: ` node-gyp-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 (node_modules/canvas): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 install: `node-pre-gyp instal l --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 (node_modules/unix-dgram) : npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 install: `node-gyp rebuil d` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.js-controller@2.2.10 install: `node iobroker.js setup first` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.js-controller@2.2.10 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging outpu t above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-06T15_41_26_133Z-debug.log pi@raspberrypi:/opt/iobroker $ iobroker start pi@raspberrypi:/opt/iobroker $ iobroker start admin internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modu les npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules /fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os" :"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroke r.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7 : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-remote2/p ackage.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios/package. json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google-auth-lib rary/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken/package. json' npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You must instal l peer dependencies yourself. npm ERR! path /opt/iobroker/node_modules/le-acme-core/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node_mod ules' npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node _modules'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/le-acme-core/nod e_modules\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/opt/iobroker/node_modules/le-acme-core/node_modules' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended). npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-06T15_47_12_538Z-debug.log pi@raspberrypi:/opt/iobroker $ iobroker start admin internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) pi@raspberrypi:/opt/iobroker $ iobroker start pi@raspberrypi:/opt/iobroker $ iobroker fix library: loaded Library version=2022-06-03 ioBroker is not installed in /opt/iobroker! Cannot fix anything... pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ node -v v10.16.3 pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ nodejs -v v10.16.3 pi@raspberrypi:/opt/iobroker $ npm -v 6.9.0 pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ : pi pi@raspberrypi:/opt/iobroker $ pi@192.168.99.38's password: > Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l > o> The programs included with the Debian GNU/Linux system are free software; > the exact distribution terms for each program are described in the > individual files in /usr/share/doc/*/copyright. > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent > permitted by applicable law. > Last login: Mon Jun 6 16:10:44 2022 from 192.168.99.44 > pi@raspberrypi:~ $ cd /opt/iobroker > pi@raspberrypi:/opt/iobroker $ iobroker start > pi@raspberrypi:/opt/iobroker $ Iobroker start admin > -bash: Iobroker: command not found > pi@raspberrypi:/opt/iobroker $ iobroker start admin > internal/modules/cjs/loader.js:638 > throw err; > ^ > > Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob roker.js' > at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) > at Function.Module._load (internal/modules/cjs/loader.js:562:25) > at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) > at startup (internal/bootstrap/node.js:283:19) > at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) > pi@raspberrypi:/opt/iobroker $ iobroker start > pi@raspberrypi:/opt/iobroker $ ^C > pi@raspberrypi:/opt/iobroker $ ^C > pi@raspberrypi:/opt/iobroker $ Error: Cannot find module '/opt/iobroker/node_mod ules/iobroker.js-controller/iobroker.js' > -bash: Error:: command not found > pi@raspberrypi:/opt/iobroker $ ^C > pi@raspberrypi:/opt/iobroker $ sudo chmod 777 * -R > pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller –producti on > npm ERR! code EINVALIDTAGNAME > npm ERR! Invalid tag name "–production": Tags may not have any characters that encodeURICo mponent encodes. > p> npm ERR! A complete log of this run can be found in: > npm ERR! /root/.npm/_logs/2022-06-06T15_37_41_466Z-debug.log > pi@raspberrypi:/opt/iobroker $ iobroker start > pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller > > > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controll er > > node lib/preinstallCheck.js > > NPM version: 6.9.0 > > > @serialport/bindings-cpp@10.7.0 install /opt/iobroker/node_modules/@serialport/bindings- cpp > > node-gyp-build > > gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3" > gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" > gyp ERR! configure error > gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/@serial port/bindings-cpp/build' > gyp ERR! System Linux 4.19.66-v7l+ > gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild" > gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings-cpp > gyp ERR! node -v v10.16.3 > gyp ERR! node-gyp -v v3.8.0 > gyp ERR! not ok > m> > canvas@2.9.1 install /opt/iobroker/node_modules/canvas > > node-pre-gyp install --fallback-to-build > p> node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.1 and node@10.16.3 (no de-v64 ABI, glibc) (falling back to source compile with node-gyp) > node-pre-gyp WARN Hit error ENOENT: no such file or directory, mkdir > gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3" > gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" > gyp ERR! configure error > gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/ build' > gyp ERR! System Linux 4.19.66-v7l+ > 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/canvas/bui ld/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/c anvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "- -node_napi_label=node-v64" > gyp ERR! cwd /opt/iobroker/node_modules/canvas > gyp ERR! node -v v10.16.3 > gyp ERR! node-gyp -v v3.8.0 > 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/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iob roker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build _version=0 --node_napi_label=node-v64' (1) > node-pre-gyp ERR! stack at ChildProcess.cmd.on (/opt/iobroker/node_modules/@mapbox/nod e-pre-gyp/lib/util/compile.js:89:23) > 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.19.66-v7l+ > node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" " install" "--fallback-to-build" > node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas > node-pre-gyp ERR! node -v v10.16.3 > node-pre-gyp ERR! node-pre-gyp -v v1.0.9 > 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/canvas/build/Rele ase/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build /Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=no de-v64' (1) > > > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram > > node-gyp rebuild > > gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3" > gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" > gyp ERR! configure error > gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/unix-dg ram/build' > gyp ERR! System Linux 4.19.66-v7l+ > gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild" > gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram > gyp ERR! node -v v10.16.3 > gyp ERR! node-gyp -v v3.8.0 > gyp ERR! not ok > > > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller > > node iobroker.js setup first > > Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat' > Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat' > Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iob.bat' > fs.js:114 > throw err; > ^ > > Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller /lib/setup/../../tmp' > at Object.mkdirSync (fs.js:757:3) > at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup .js:690:58) > at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:238: 23) > at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/li b/setup.js:2472:5) > at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1 :24) > at Module._compile (internal/modules/cjs/loader.js:778:30) > at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) > at Module.load (internal/modules/cjs/loader.js:653:32) > at tryModuleLoad (internal/modules/cjs/loader.js:593:12) > at Function.Module._load (internal/modules/cjs/loader.js:585:3) > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/nod e_modules/fsevents): > npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wan ted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_module s/iobroker.info/node_modules/osx-temperature-sensor): > npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sen sor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa- remote2/package.json' > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios /package.json' > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google -auth-library/package.json' > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken /package.json' > npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. > npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. > npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. > npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You mu st install peer dependencies yourself. > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 (node_modu les/@serialport/bindings-cpp): > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 install: ` node-gyp-build` > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 (node_modules/canvas): > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 install: `node-pre-gyp instal l --fallback-to-build` > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 (node_modules/unix-dgram) : > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 install: `node-gyp rebuil d` > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 > b> npm ERR! code ELIFECYCLE > npm ERR! errno 1 > npm ERR! iobroker.js-controller@2.2.10 install: `node iobroker.js setup first` > npm ERR! Exit status 1 > npm ERR! > npm ERR! Failed at the iobroker.js-controller@2.2.10 install script. > npm ERR! This is probably not a problem with npm. There is likely additional logging outpu t above. > d> npm ERR! A complete log of this run can be found in: > npm ERR! /root/.npm/_logs/2022-06-06T15_41_26_133Z-debug.log > pi@raspberrypi:/opt/iobroker $ iobroker start > pi@raspberrypi:/opt/iobroker $ iobroker start admin > internal/modules/cjs/loader.js:638 > throw err; > ^ > > Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' > at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) > at Function.Module._load (internal/modules/cjs/loader.js:562:25) > at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) > at startup (internal/bootstrap/node.js:283:19) > at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) > pi@raspberrypi:/opt/iobroker $ ^C > pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller > npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modu les > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules /fsevents): > npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os" :"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) > npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroke r.info/node_modules/osx-temperature-sensor): > npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7 : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-remote2/p ackage.json' > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios/package. json' > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google-auth-lib rary/package.json' > npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken/package. json' > npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. > npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. > npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. > npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You must instal l peer dependencies yourself. > > npm ERR! path /opt/iobroker/node_modules/le-acme-core/node_modules > npm ERR! code EACCES > npm ERR! errno -13 > npm ERR! syscall access > npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node_mod ules' > npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node _modules'] > npm ERR! stack: > npm ERR! 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/le-acme-core/nod e_modules\'', > npm ERR! errno: -13, > npm ERR! code: 'EACCES', > npm ERR! syscall: 'access', > npm ERR! path: '/opt/iobroker/node_modules/le-acme-core/node_modules' } > npm ERR! > npm ERR! The operation was rejected by your operating system. > npm ERR! It is likely you do not have the permissions to access this file as the current user > npm ERR! > npm ERR! If you believe this might be a permissions issue, please double-check the > npm ERR! permissions of the file and its containing directories, or try running > npm ERR! the command again as root/Administrator (though this is not recommended). > > npm ERR! A complete log of this run can be found in: > npm ERR! /home/iobroker/.npm/_logs/2022-06-06T15_47_12_538Z-debug.log > pi@raspberrypi:/opt/iobroker $ iobroker start admin > internal/modules/cjs/loader.js:638 > throw err; > ^ > > Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' > at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) > at Function.Module._load (internal/modules/cjs/loader.js:562:25) > at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) > at startup (internal/bootstrap/node.js:283:19) > at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) ```|Systemdata| Bitte Ausfüllen| |--|--| |Hardwaresystem:| NUC/Pi3/etc.| |Arbeitsspeicher:| 1GB | |Festplattenart:| SD-Karte/SSD/HDD | |Betriebssystem:| Ubuntu/Windows/Mac | |Node-Version:| 10.x.x | |Nodejs-Version:| 10.x.x | |NPM-Version:| 6.x.x | |Installationsart:| Skript/Manuell | |Image genutzt:| Ja/Nein | |Ort/Name der Imagedatei:| Link ||Systemdata| Bitte Ausfüllen| |--|--| |Hardwaresystem:| Pi4| |Arbeitsspeicher:| 4GB | |Festplattenart:| SD-Karte | |Betriebssystem:| Debian | |Node-Version:| v10.16.3 | |Nodejs-Version:| v10.16.3 | |NPM-Version:| 6.9.0 | |Installationsart:| Manuell | |Image genutzt:| Nein | |Ort/Name der Imagedatei:| Link | Hallo zusammen, nachdem ich heute ioBroker aktualisiert habe, bekomme ich ihn nicht mehr gestartet. Alle Fehlerlösungen welche mir in der Vergangenheit halfen, bringen leider auch nichts... Ich stelle mal wieder fest (wie immer wenn der ioBroker mal streikt), dass ich mich viel zu wenig mit Linux auseinandersetze... Kann sich bitte mal jemand von den Spezis mein letztes Log anschauen, und mich in die richtige Richtung schubsen? Vielen Dank im Voraus und besten Gruß Olli
Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun 6 16:10:44 2022 from 192.168.99.44
pi@raspberrypi:~ $ cd /opt/iobroker
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ Iobroker start admin
-bash: Iobroker: command not found
pi@raspberrypi:/opt/iobroker $ iobroker start admin
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
-bash: Error:: command not found
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ sudo chmod 777 * -R
pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller –production
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "–production": Tags may not have any characters that encodeURIComponent encodes.npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-06T15_37_41_466Z-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controlleriobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
node lib/preinstallCheck.jsNPM version: 6.9.0
@serialport/bindings-cpp@10.7.0 install /opt/iobroker/node_modules/@serialport/bindings-cpp
node-gyp-buildgyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.16.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/@serialport/bindings-cpp/build'
gyp ERR! System Linux 4.19.66-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings-cpp
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okcanvas@2.9.1 install /opt/iobroker/node_modules/canvas
node-pre-gyp install --fallback-to-buildnode-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.1 and node@10.16.3 (no de-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error ENOENT: no such file or directory, mkdir
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/ build'
gyp ERR! System Linux 4.19.66-v7l+
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/canvas/bui ld/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/c anvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "- -node_napi_label=node-v64"
gyp ERR! cwd /opt/iobroker/node_modules/canvas
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
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/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iob roker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build _version=0 --node_napi_label=node-v64' (1)
node-pre-gyp ERR! stack at ChildProcess.cmd.on (/opt/iobroker/node_modules/@mapbox/nod e-pre-gyp/lib/util/compile.js:89:23)
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.19.66-v7l+
node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" " install" "--fallback-to-build"
node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v1.0.9
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/canvas/build/Rele ase/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build /Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=no de-v64' (1)unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram
node-gyp rebuildgyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/unix-dg ram/build'
gyp ERR! System Linux 4.19.66-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okiobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
node iobroker.js setup firstCannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iob.bat'
fs.js:114
throw err;
^Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller /lib/setup/../../tmp'
at Object.mkdirSync (fs.js:757:3)
at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup .js:690:58)
at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:238: 23)
at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/li b/setup.js:2472:5)
at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1 :24)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/nod e_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wan ted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_module s/iobroker.info/node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sen sor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa- remote2/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios /package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google -auth-library/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken /package.json'
npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You mu st install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 (node_modu les/@serialport/bindings-cpp):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 install:node-gyp-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 (node_modules/canvas):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 install:node-pre-gyp instal l --fallback-to-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 (node_modules/unix-dgram) :
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 install:node-gyp rebuil d
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! iobroker.js-controller@2.2.10 install:node iobroker.js setup first
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker.js-controller@2.2.10 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging outpu t above.npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-06T15_41_26_133Z-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ iobroker start admin
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modu les
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules /fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os" :"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroke r.info/node_modules/osx-temperature-sensor
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7 : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-remote2/p ackage.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios/package. json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google-auth-lib rary/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken/package. json'
npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You must instal l peer dependencies yourself.npm ERR! path /opt/iobroker/node_modules/le-acme-core/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node_mod ules'
npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node _modules']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/nod e_modules'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/opt/iobroker/node_modules/le-acme-core/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2022-06-06T15_47_12_538Z-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start admin
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ iobroker fix
library: loaded
Library version=2022-06-03
ioBroker is not installed in /opt/iobroker! Cannot fix anything...
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ node -v
v10.16.3
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ nodejs -v
v10.16.3
pi@raspberrypi:/opt/iobroker $ npm -v
6.9.0
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ : pi
pi@raspberrypi:/opt/iobroker $ pi@192.168.99.38's password:Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l
o> The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun 6 16:10:44 2022 from 192.168.99.44
pi@raspberrypi:~ $ cd /opt/iobroker
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ Iobroker start admin
-bash: Iobroker: command not found
pi@raspberrypi:/opt/iobroker $ iobroker start admin
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob roker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ Error: Cannot find module '/opt/iobroker/node_mod ules/iobroker.js-controller/iobroker.js'
-bash: Error:: command not found
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ sudo chmod 777 * -R
pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller –producti on
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "–production": Tags may not have any characters that encodeURICo mponent encodes.p> npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-06T15_37_41_466Z-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controlleriobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controll er
node lib/preinstallCheck.jsNPM version: 6.9.0
@serialport/bindings-cpp@10.7.0 install /opt/iobroker/node_modules/@serialport/bindings- cpp
node-gyp-buildgyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/@serial port/bindings-cpp/build'
gyp ERR! System Linux 4.19.66-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings-cpp
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okm> > canvas@2.9.1 install /opt/iobroker/node_modules/canvas
node-pre-gyp install --fallback-to-build
p> node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.1 and node@10.16.3 (no de-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error ENOENT: no such file or directory, mkdir
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/ build'
gyp ERR! System Linux 4.19.66-v7l+
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/canvas/bui ld/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/c anvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "- -node_napi_label=node-v64"
gyp ERR! cwd /opt/iobroker/node_modules/canvas
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
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/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iob roker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build _version=0 --node_napi_label=node-v64' (1)
node-pre-gyp ERR! stack at ChildProcess.cmd.on (/opt/iobroker/node_modules/@mapbox/nod e-pre-gyp/lib/util/compile.js:89:23)
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.19.66-v7l+
node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" " install" "--fallback-to-build"
node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v1.0.9
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/canvas/build/Rele ase/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build /Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=no de-v64' (1)unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram
node-gyp rebuildgyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy p/10.16.3"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/unix-dg ram/build'
gyp ERR! System Linux 4.19.66-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node -gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not okiobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
node iobroker.js setup firstCannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/ node_modules/iobroker.js-controller/lib/setup/../../iob.bat'
fs.js:114
throw err;
^Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller /lib/setup/../../tmp'
at Object.mkdirSync (fs.js:757:3)
at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup .js:690:58)
at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:238: 23)
at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/li b/setup.js:2472:5)
at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1 :24)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/nod e_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wan ted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_module s/iobroker.info/node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sen sor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa- remote2/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios /package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google -auth-library/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken /package.json'
npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must ins tall peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You mu st install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 (node_modu les/@serialport/bindings-cpp):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @serialport/bindings-cpp@10.7.0 install:node-gyp-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 (node_modules/canvas):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.9.1 install:node-pre-gyp instal l --fallback-to-build
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 (node_modules/unix-dgram) :
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@2.0.4 install:node-gyp rebuil d
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1b> npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! iobroker.js-controller@2.2.10 install:node iobroker.js setup first
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker.js-controller@2.2.10 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging outpu t above.d> npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-06T15_41_26_133Z-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start
pi@raspberrypi:/opt/iobroker $ iobroker start admin
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modu les
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules /fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os" :"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroke r.info/node_modules/osx-temperature-sensor
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7 : wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/alexa-remote2/p ackage.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios/package. json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/google-auth-lib rary/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gtoken/package. json'
npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.0 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@8.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.5 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN node-fetch@2.6.7 requires a peer of encoding@^0.1.0 but none is installed. You must instal l peer dependencies yourself.npm ERR! path /opt/iobroker/node_modules/le-acme-core/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node_mod ules'
npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/node _modules']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/le-acme-core/nod e_modules'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/opt/iobroker/node_modules/le-acme-core/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2022-06-06T15_47_12_538Z-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start admin
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) -
@olli-s sagte in ioBroker startet nach Update nicht mehr:
Setz das in CodeTags!
pi@raspberrypi:/opt/iobroker $ sudo chmod 777 * -R pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller –production
Und verfummel das System NICHT mit so einem Quark.
Ich stelle mal wieder fest (wie immer wenn der ioBroker mal streikt), dass ich mich viel zu wenig mit Linux auseinandersetze...
Das sieht man an dem Rumgewürge da oben.
-
Unten anfangen:
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
sagt?
-
@thomas-braun sagte in ioBroker startet nach Update nicht mehr:
Das sieht man an dem Rumgewürge da oben.- Beispiel X aus deinem Log
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gy
Erliche Meinung ... lohnt sich dort nicht mehr rumzuschrauben .
ioBroker neu / frisch aufsetzen und Backup rein.
-
Ja, das kommt von sowas:
pi@raspberrypi:/opt/iobroker $ sudo chmod 777 * -R pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller –production
Aber du hast vermutlich Recht, das Ding ist an so vielen Stellen zerschossen, das lohnt nicht mehr.
-
@olli-s sagte in ioBroker startet nach Update nicht mehr:
pi@raspberrypi:/opt/iobroker $ node -v
v10.16.3
pi@raspberrypi:/opt/iobroker $ ^C
pi@raspberrypi:/opt/iobroker $ nodejs -v
v10.16.3
pi@raspberrypi:/opt/iobroker $ npm -v
6.9.0Ich habe so eine Befürchtung ... er hat kein Backup ... nach dem Stand seines Log´s
-
@glasfaser sagte in ioBroker startet nach Update nicht mehr:
Ich habe so eine Befürchtung ... er hat kein Backup ... nach dem Stand seines Log´s
Zumindest ist das System vermutlich von schon reichlich angegammelt. Node10 ist ja auch längst tot. Und auf die krumme Basis setzt dann die windschief zusammengekloppte ioBroker-Installation auf.
Das Ding ist kernschrott... -
Danke erstmal für eure Antworten.
Die Installation ist schon etwas älter, und frei nach dem Motto "never touch a running system" auch nicht sonderlich oft aktualisiert.
Ich wollte die Installation eigentlich schon längst auf nen Lenovo-Tiny mit SSD migriert haben, (der hier seit nem Jahr rumliegt) leider hat das beim letzten Anlauf nicht richtig funktioniert. Irgendwie hat er das damalige Backup nicht ordentlich übernommen. Aus Zeitmangel hab ich es dann wieder liegengelassen, der Pi lief ja noch.Nen Update mit Backitup war eigentlich konfiguriert, und sollte somit auf der SD-Karte schlummern.
Vielleicht wäre das der richtige Zeitpunkt die Migration endlich durchzuziehen...
Leider fehlt mir grad mal wieder die Zeit.
Habt ihr noch ne Idee ob ich die alte Installation nochmal für ne Woche reanimieren kann, um die Migration dann in Ruhe zu machen?Vielen Dank im Voraus und VG
-
@olli-s sagte in ioBroker startet nach Update nicht mehr:
Die Installation ist schon etwas älter, und frei nach dem Motto "never touch a running system"
Niemals so denken !
Leider fehlt mir grad mal wieder die Zeit.
Das ist nicht mal eben .... in zwei , drei Befehlen zu reparieren ...
Dann Warte die Woche und mache es Ordentlich .
-
@olli-s sagte in ioBroker startet nach Update nicht mehr:
Nen Update mit Backitup war eigentlich konfiguriert, und sollte somit auf der SD-Karte schlummern.
Ein Backup auf dem gleichen Datenträger ist keins.
-
Das ist mal wieder der Beweis, "der Schuster hat die schlechtesten Schuhe".
Ich schlage mich mich ansonsten täglich mit nem 100 User Windwos-Netzwerk, mit allem drum und dran, rum.
Da bleibt leider zu häufig die Muße bei den eigenen Systemen auf der StreckeOk, wie könnte ich überprüfen ob ich nen aktuelles Backup habe?
VG
-
@thomas-braun
Oh damn, das wäre echt suboptimal... -
@olli-s sagte in ioBroker startet nach Update nicht mehr:
Ich schlage mich mich ansonsten täglich mit nem 100 User Windwos-Netzwerk, mit allem drum und dran, rum.
Auch mit dem Denkfehler 'Never change a running system'?
-
@olli-s sagte in ioBroker startet nach Update nicht mehr:
Ok, wie könnte ich überprüfen ob ich nen aktuelles Backup habe?
System neuinstallieren, ioBroker neuinstallieren, Backup einspielen, schauen ob das Backup nicht auch schon Murks im Bauch hatte.
-
Ich hab grad nochmal geschaut.
Habe hier noch vom letzten Migrationsversuch ne Backup "2020_11_19-13_47_34_backupiobroker.tar.gz"
Die ist zwar schon älter, aber seit dem hat sich jetzt auch nicht so viel verändert.Aber das ist natürlich dann auch wieder der alte Schrunz.
Wahrscheinlich wär es doch sinnvoller das Ganze auf der grünen Wiese aufzusetzen, und keine Altlasten mitzuschleppen, oder? -
-
@olli-s sagte in ioBroker startet nach Update nicht mehr:
aber seit dem hat sich jetzt auch nicht so viel verändert.
NodeJS-Version, das Datenbankformat, der js-controller, der Admin usw.
Aber sonst nix, stimmt. -
@thomas-braun said in ioBroker startet nach Update nicht mehr:
Auch mit dem Denkfehler 'Never change a running system'?
Ganz sicher nicht, das ist Job, und nicht Hobby ^^@olli-s sagte in ioBroker startet nach Update nicht mehr:
aber seit dem hat sich jetzt auch nicht so viel verändert.
NodeJS-Version, das Datenbankformat usw.
Aber sonst nix, stimmt.Ich meinte nur dass sich nicht so viel in meiner Installation verändert hatte.
Dass sich ioBroker weiterentwickelt hat ist mir schon klar... -
Das (ich setze es mal in Anführungszeichen) "Backup" wirst du nicht in eine frische Neuinstallation des ioBrokers einfach reinbekommen.
-
@thomas-braun said in ioBroker startet nach Update nicht mehr:
Das Backup wirst du nicht in eine frische Neuinstallation des ioBrokers einfach reinbekommen.
Das wird schon das Problem bei der letzten Migration gewesen sein.