NEWS
Kein Admin Zugriff
-
Hallo zusammen
Was mache ich verkehrt :?
Ich habe auf meinen RASPBERRY PI 3 MODEL B+ das ioBroker_Image_RPi_2-3_20180401 installiert. Es wurde von mir nur ein neuer Hostname und SSH aktiviert weiter nichts. IP Adresse ist auch erst mal nicht Static
Wenn ich den Admin bereich nun über 192.xxx.xxx.xxx:8081 aufrufe passiert nichts, nur das es in einer Dauerschleife lädt. Auch ein Browsercache löschen und Iobroker neustarten brachte nichts.
Hier ein paar Auflistungen
:~ $ npm -v 5.8.0 :~ $ node -v v8.11.1
:~ $ iobroker status iobroker is running
:~ $ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.cloud.0 : cloud - disabled system.adapter.discovery.0 : discovery - enabled system.adapter.flot.0 : flot - enabled system.adapter.history.0 : history - enabled system.adapter.hm-rega.0 : hm-rega - disabled system.adapter.hm-rpc.0 : hm-rpc - disabled, port: 0 system.adapter.javascript.0 : javascript - enabled system.adapter.mobile.0 : mobile - disabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.socketio.0 : socketio - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
:~ $ iobroker list adapters system.adapter.admin : admin - 3.3.5 system.adapter.discovery : discovery - 1.1.0 system.adapter.hm-rpc : hm-rpc - 1.6.1 system.adapter.hm-rega : hm-rega - 1.7.0 system.adapter.web : web - 2.1.9 system.adapter.flot : flot - 1.7.7 system.adapter.rpi2 : rpi2 - 0.3.2 system.adapter.socketio : socketio - 1.8.6 system.adapter.cloud : cloud - 2.5.0 system.adapter.vis : vis - 1.1.2 system.adapter.history : history - 1.7.3 system.adapter.javascript : javascript - 3.6.4 system.adapter.mobile : mobile - 0.4.11
und der LOG
! * 2018-09-20 19:18:33.536 - [32minfo[39m: iobroker _restart
2018-09-20 19:18:34.149 - [32minfo[39m: iobroker Starting node restart.js 2018-09-20 19:18:34.193 - [32minfo[39m: iobroker exit 0 2018-09-20 19:18:34.508 - [32minfo[39m: host.RPiMain received SIGTERM 2018-09-20 19:18:35.832 - [32minfo[39m: admin.0 States connected to redis: 127.0.0.1:6379 2018-09-20 19:18:35.966 - [32minfo[39m: admin.0 starting. Version 3.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v8.11.1 2018-09-20 19:18:35.993 - [32minfo[39m: admin.0 requesting all states 2018-09-20 19:18:35.996 - [32minfo[39m: admin.0 requesting all objects 2018-09-20 19:18:36.555 - [32minfo[39m: admin.0 received all states 2018-09-20 19:18:37.785 - [32minfo[39m: admin.0 received all objects 2018-09-20 19:18:37.893 - [32minfo[39m: admin.0 http server listening on port 8081 2018-09-20 19:18:37.893 - [32minfo[39m: admin.0 Use link "[http://localhost:8081](http://localhost:8081)" to configure. 2018-09-20 19:18:38.094 - [32minfo[39m: admin.0 Request actual repository… 2018-09-20 19:18:38.148 - [32minfo[39m: host.RPiMain Update repository "default" under "[http://download.iobroker.net/sources-dist.json](http://download.iobroker.net/sources-dist.json)" 2018-09-20 19:18:39.517 - [32minfo[39m: host.RPiMain received SIGTERM 2018-09-20 19:18:40.745 - [32minfo[39m: admin.0 Repository received successfully. 2018-09-20 19:18:43.706 - [32minfo[39m: host.RPiMain force terminating 2018-09-20 19:18:43.707 - [32minfo[39m: Adapter admin still running 2018-09-20 19:18:50.994 - [32minfo[39m: host.RPiMain iobroker.js-controller version 1.4.0 js-controller starting 2018-09-20 19:18:51.001 - [32minfo[39m: host.RPiMain Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker 2018-09-20 19:18:51.002 - [32minfo[39m: host.RPiMain hostname: RPiMain, node: v8.11.1 2018-09-20 19:18:51.006 - [32minfo[39m: host.RPiMain ip addresses: 192.xxx.x.xxx 2003:5f:7f10:9b43:2eee:9bcd:71d0:72be 2003:6:234e:a756:d300:e03a:fdc7:af72 2003:5f:7f0b:a030:fa0a:3ad3:2f06:e375 fe80::69af:e4ad:49c0:9e82 2018-09-20 19:18:51.280 - [32minfo[39m: host.RPiMain inMem-objects listening on port 9001 2018-09-20 19:18:51.300 - [32minfo[39m: host.RPiMain InMemoryDB connected 2018-09-20 19:18:51.317 - [32minfo[39m: host.RPiMain 13 instances found 2018-09-20 19:18:51.332 - [32minfo[39m: host.RPiMain starting 8 instances 2018-09-20 19:18:51.376 - [32minfo[39m: host.RPiMain instance system.adapter.admin.0 started with pid 17685 2018-09-20 19:18:51.394 - [32minfo[39m: host.RPiMain States connected to redis: 127.0.0.1:6379 2018-09-20 19:18:51.404 - [31merror[39m: uncaught exception: Cannot convert undefined or null to object 2018-09-20 19:18:51.407 - [31merror[39m: TypeError: Cannot convert undefined or null to object at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:863:9) at runCallback (timers.js:798:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) 2018-09-20 19:18:51.415 - [32minfo[39m: iobroker _restart 2018-09-20 19:18:52.021 - [32minfo[39m: iobroker Starting node restart.js 2018-09-20 19:18:52.052 - [32minfo[39m: iobroker exit 0 2018-09-20 19:18:52.380 - [32minfo[39m: host.RPiMain received SIGTERM 2018-09-20 19:18:53.766 - [32minfo[39m: host.RPiMain instance system.adapter.admin.0 terminated with code 7 (Adapter already running) 2018-09-20 19:18:53.767 - [32minfo[39m: host.RPiMain All instances are stopped. 2018-09-20 19:18:53.912 - [32minfo[39m: host.RPiMain terminated Ich danke für jede Hilfe
-
iobroker.js-controller version 1.4.0 js-controller starting
1.4.2 ist aktuell
mach mal
iobroker stop npm cache clean npm install iobroker.js-controller@1.4.2 iobroker start
-
Hi Enno,
Es wurde von mir nur ein neuer Hostname und SSH aktiviert weiter nichts. `
wenn Du schreibst „… weiter nichts“, hast Du dann diesen Schritt aus der Readme auch nicht ausgeführt?~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 652cdb.jpg">https://uploads.tapatalk-cdn.com/20180920/e9ea9d5fb672e953914eff197d652cdb.jpg</link_text>" />
Gruß
Eric
Von unterwegs getippert~~
-
iobroker.js-controller version 1.4.0 js-controller starting
1.4.2 ist aktuell
mach mal
iobroker stop npm cache clean npm install iobroker.js-controller@1.4.2 iobroker start ```` `
/opt/iobroker $ npm install iobroker.js-controller@1.4.2 npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/cli ui npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/lru -cache npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/mom ent npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-l imit npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/whi ch npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/yar gs npm ERR! path /opt/iobroker/node_modules/cliui npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/cl iui' npm ERR! { Error: EACCES: permission denied, access '/opt/iobroker/node_modules /cliui' npm ERR! stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node _modules/cliui\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/opt/iobroker/node_modules/cliui' } 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 t he 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/pi/.npm/_logs/2018-09-20T19_02_32_340Z-debug.log
das ganze nochmal mit sudo probiert
pi@RPiMain:/opt/iobroker $ sudo npm install iobroker.js-controller@1.4.2 npm ERR! write after end npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-09-20T19_08_23_151Z-debug.log
Keine Ahnung wo der Wurm drin steckt :?
Hi Enno,
Es wurde von mir nur ein neuer Hostname und SSH aktiviert weiter nichts. `
wenn Du schreibst „… weiter nichts“, hast Du dann diesen Schritt aus der Readme auch nicht ausgeführt?~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 652cdb.jpg">https://uploads.tapatalk-cdn.com/20180920/e9ea9d5fb672e953914eff197d652cdb.jpg</link_text>" />
Gruß
Eric
Von unterwegs getippert~~ `
Das hat auch leider nichts ergeben.