NEWS
Iobroker.js-controller upgrade problem
-
Hallo zusammen,
nach langer Zeit habe ich mal wieder ein generelles Upgradeproblem.
Ein````
sudo iobroker upgrade selfnpm install iobroker.js-controller@1.1.3 --production --prefix "/opt/iobroker" (System call)
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ak/.node-gyp/6.11.3"Dann kommen gefühlte 80.000 Wiederholungen von:gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/unix-dgram/.node-gyp"
gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/iobroker/node_modules/unix-dgram/.node-gyp/6.11.3"und schließlich:Host "homie" (linux) updated
Execute: chmod 777 -R /opt/iobroker
Chmod finished. Restart controller
Starting node restart.jsDanach funktioniert nix mehr. Logfile sagt: ``` `2017-09-12 22:19:11.052 - ^[[32minfo^[[39m: host.homie iobroker.js-controller version 1.1.3 js-controller starting 2017-09-12 22:19:11.066 - ^[[32minfo^[[39m: host.homie Copyright (c) 2014-2017 bluefox, hobbyquaker 2017-09-12 22:19:11.067 - ^[[32minfo^[[39m: host.homie hostname: homie, node: v6.11.3 2017-09-12 22:19:11.069 - ^[[32minfo^[[39m: host.homie ip addresses: 192.168.2.64 fe80::5054:ff:fe77:82e9 2017-09-12 22:19:11.228 - ^[[32minfo^[[39m: host.homie inMem-states listening on port 9000 2017-09-12 22:19:11.643 - ^[[32minfo^[[39m: host.homie inMem-objects listening on port 9001 2017-09-12 22:19:11.666 - ^[[32minfo^[[39m: host.homie InMemoryDB connected 2017-09-12 22:19:11.735 - ^[[32minfo^[[39m: host.homie 13 instances found 2017-09-12 22:19:11.795 - ^[[32minfo^[[39m: host.homie starting 13 instances 2017-09-12 22:19:11.929 - ^[[32minfo^[[39m: host.homie instance system.adapter.admin.0 started with pid 3504 2017-09-12 22:19:14.123 - ^[[32minfo^[[39m: admin.0 starting. Version 2.0.2 in /opt/iobroker/node_modules/iobroker.admin, node: v6.11.3 2017-09-12 22:19:14.171 - ^[[32minfo^[[39m: admin.0 requesting all states 2017-09-12 22:19:14.174 - ^[[32minfo^[[39m: admin.0 requesting all objects 2017-09-12 22:19:15.801 - ^[[33mwarn^[[39m: host.homie startInstance cannot find adapter "javascript". Try to install it... 1 attempt 2017-09-12 22:19:15.802 - ^[[32minfo^[[39m: iobroker install javascript 2017-09-12 22:19:16.191 - ^[[32minfo^[[39m: admin.0 received all states 2017-09-12 22:19:17.236 - ^[[32minfo^[[39m: admin.0 received all objects 2017-09-12 22:19:17.327 - ^[[32minfo^[[39m: admin.0 http server listening on port 8081 2017-09-12 22:19:17.328 - ^[[32minfo^[[39m: admin.0 Use link "http://localhost:8081" to configure. 2017-09-12 22:19:17.573 - ^[[32minfo^[[39m: admin.0 Request actual repository... 2017-09-12 22:19:17.869 - ^[[32minfo^[[39m: host.homie Update repository "online" under "https://raw.githubusercontent.com/ioBroker/ioBroker.repositories/master/sources-dist.json" 2017-09-12 22:19:18.608 - ^[[32minfo^[[39m: iobroker npm install iobroker.javascript --production --prefix "/opt/iobroker" (System call) 2017-09-12 22:19:19.540 - ^[[32minfo^[[39m: admin.0 Change log subscriber state: true 2017-09-12 22:19:19.825 - ^[[32minfo^[[39m: admin.0 system.adapter.admin.0: logging true 2017-09-12 22:19:50.841 - ^[[31merror^[[39m: uncaught exception: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/data/iobroker.json' 2017-09-12 22:19:50.855 - ^[[32minfo^[[39m: admin.0 terminating http server on port 8081 2017-09-12 22:19:50.848 - ^[[31merror^[[39m: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/data/iobroker.json' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at getNpmVersion (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:419:18) at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:509:33 at Request._callback (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:261:31) at Request.self.callback (/opt/iobroker/node_modules/request/request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) 2017-09-12 22:19:50.852 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.admin.0 2017-09-12 22:19:50.852 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.admin.0 killing pid 3504 2017-09-12 22:19:50.859 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.javascript.0 2017-09-12 22:19:50.860 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.javascript.0 not running 2017-09-12 22:19:50.860 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.harmony.0 2017-09-12 22:19:50.860 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.harmony.0 not running 2017-09-12 22:19:50.861 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.hue.0 2017-09-12 22:19:50.861 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.hue.0 not running 2017-09-12 22:19:50.861 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.hm-rpc.0 2017-09-12 22:19:50.861 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.hm-rpc.0 not running 2017-09-12 22:19:50.862 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.hm-rpc.1 2017-09-12 22:19:50.862 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.hm-rpc.1 not running 2017-09-12 22:19:50.862 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.hm-rega.0 2017-09-12 22:19:50.866 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.hm-rega.0 not running 2017-09-12 22:19:50.866 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.onkyo.0 2017-09-12 22:19:50.866 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.onkyo.0 not running 2017-09-12 22:19:50.866 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.web.0 2017-09-12 22:19:50.867 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.web.0 not running 2017-09-12 22:19:50.867 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.samsung.0 2017-09-12 22:19:50.867 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.samsung.0 not running 2017-09-12 22:19:50.867 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.pushover.0 2017-09-12 22:19:50.868 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.pushover.0 not running 2017-09-12 22:19:50.868 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.geofency.0 2017-09-12 22:19:50.868 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.geofency.0 not running 2017-09-12 22:19:50.868 - ^[[32minfo^[[39m: host.homie stopInstance system.adapter.fhem.0 2017-09-12 22:19:50.868 - ^[[33mwarn^[[39m: host.homie stopInstance system.adapter.fhem.0 not running 2017-09-12 22:19:50.870 - ^[[32minfo^[[39m: iobroker _restart 2017-09-12 22:19:50.906 - ^[[32minfo^[[39m: admin.0 terminating 2017-09-12 22:19:51.003 - ^[[32minfo^[[39m: host.homie instance system.adapter.admin.0 terminated with code 0 (OK) 2017-09-12 22:19:51.008 - ^[[32minfo^[[39m: host.homie All instances are stopped. 2017-09-12 22:19:51.082 - ^[[32minfo^[[39m: host.homie terminated 2017-09-12 22:19:51.122 - ^[[31merror^[[39m: host.homie Cannot save /opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json' 2017-09-12 22:19:51.186 - ^[[31merror^[[39m: iobroker module.js:471 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:502:3 2017-09-12 22:19:51.195 - ^[[32minfo^[[39m: iobroker exit 1[/code]` Wer weiß Rat? Was mache ich falsch? Danke für Hilfe. VG Alex ```
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden