> das ist aber auch schon tausendmal durchgekaut worden
Entschuldigung,
aber es läuft nicht bei mir. Auch wenn ich im Verzeichnis /opt/iobroker bin.
pi@raspberrypi:/opt/iobroker $ iobroker stop
module.js:327
throw err;
^
Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
at node.js:1043:3
pi@raspberrypi:/opt/iobroker $ npm i iobroker.js-controller --production
npm ERR! Linux 4.9.24-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i" "iobroker.js-controller" "--production"
npm ERR! node v4.8.3
npm ERR! npm v2.15.11
npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall unlink
npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'unlink',
npm ERR! path: '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! error rolling back Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back { [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime']
npm ERR! error rolling back errno: -13,
npm ERR! error rolling back code: 'EACCES',
npm ERR! error rolling back syscall: 'unlink',
npm ERR! error rolling back path: '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime' }
npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log
pi@raspberrypi:/opt/iobroker $ iobroker start
module.js:327
throw err;
^
Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
at node.js:1043:3
auch ein Neustart hat nicht weitergeholfen.