NEWS

JS-Controller Update IOBroker läuft nicht mehr


  • Hallo,
    nachdem ich keine Adapter mehr updaten konnte, habe ich ein Update auf JS-Controller 1.5.14 gemacht. Seit dem läuft IOBroker nicht mehr sauber. Das Verzeichnis

     "/opt/iobroker/node_modules/iobroker.js-controller"
    

    fehlt komplett. Auch nachinstallieren funktioniert nicht.

    "sudo npm install iobroker.js-controller --production"
    

    gibt mir:

    sudo npm install iobroker.js-controller
    
    > iobroker.js-controller@1.5.14 preinstall /home/pi/node_modules/iobroker.js-controller
    > node lib/preinstallCheck.js
    
    NPM version: 6.4.1
    npm version >= 5: disabling package-lock
    
    > ursa-optional@0.9.10 install /home/pi/node_modules/ursa-optional
    > node rebuild.js
    
    ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
    fs.js:646
     return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                    ^
    
    Error: EACCES: permission denied, open './stdout.log'
       at Object.fs.openSync (fs.js:646:18)
       at Object.fs.writeFileSync (fs.js:1299:33)
       at Object.<anonymous> (/home/pi/node_modules/ursa-optional/rebuild.js:13:10)
       at Module._compile (module.js:653:30)
       at Object.Module._extensions..js (module.js:664:10)
       at Module.load (module.js:566:32)
       at tryModuleLoad (module.js:506:12)
       at Function.Module._load (module.js:498:3)
       at Function.Module.runMain (module.js:694:10)
       at startup (bootstrap_node.js:204:16)
    
    > diskusage@1.1.3 install /home/pi/node_modules/diskusage
    > node-gyp rebuild
    
    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.16.0"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/diskusage/.node-gyp"
    gyp WARN install got an error, rolling back install
    gyp WARN install got an error, rolling back install
    gyp ERR! configure error
    gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/pi/node_modules/diskusage/.node-gyp'
    gyp ERR! System Linux 4.19.57-v7+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /home/pi/node_modules/diskusage
    gyp ERR! node -v v8.16.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok
    
    > iobroker.js-controller@1.5.14 install /home/pi/node_modules/iobroker.js-controller
    > node iobroker.js setup first
    
    Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/home/pi/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
    Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/home/pi/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
    fs.js:885
     return binding.mkdir(pathModule._makeLong(path),
                    ^
    
    Error: EACCES: permission denied, mkdir '/home/pi/node_modules/iobroker.js-controller/lib/setup/../../tmp'
       at Object.fs.mkdirSync (fs.js:885:18)
       at Setup.setup (/home/pi/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:189:58)
       at /home/pi/node_modules/iobroker.js-controller/lib/setup.js:653:27
       at processCommand (/home/pi/node_modules/iobroker.js-controller/lib/setup.js:691:15)
       at Object.module.exports.execute (/home/pi/node_modules/iobroker.js-controller/lib/setup.js:3193:5)
       at Object.<anonymous> (/home/pi/node_modules/iobroker.js-controller/iobroker.js:1:100)
       at Module._compile (module.js:653:30)
       at Object.Module._extensions..js (module.js:664:10)
       at Module.load (module.js:566:32)
       at tryModuleLoad (module.js:506:12)
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
    npm WARN pi No description
    npm WARN pi No repository field.
    npm WARN pi No README data
    npm WARN pi No license field.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa-optional@0.9.10 (node_modules/ursa-optional):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa-optional@0.9.10 install: `node rebuild.js`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@1.1.3 (node_modules/diskusage):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@1.1.3 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! iobroker.js-controller@1.5.14 install: `node iobroker.js setup first`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the iobroker.js-controller@1.5.14 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2019-07-30T08_18_16_443Z-debug.log
    

    Hab schon im Forum gelesen, aber bisher hat nichts geholfen. 😞 Hat jemand ne Idee?

    Vielen Dank schonmal!


  • [Stabilostick, 30.07.2019, Thema ist kein Problem mit Scripting. Deshalb verschoben nach Error/Bug.]

  • Forum Testing Most Active

  • Developer

Suggested Topics

2.0k
Online

35.1k
Users

41.1k
Topics

565.0k
Posts