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-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-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)