NEWS
Kein Zugriff auf Admin Oberfläche
-
Ich kann nicht auf meine Admin Oberfläche zugreifen. Unter "iobroker list instances" kommt folgende Fehlermeldung.
pi@raspberrypi:~ $ cd /opt/iobroker
pi@raspberrypi:/opt/iobroker $ iobroker list instances
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:623:3)
pi@raspberrypi:/opt/iobroker $ -
Was hast du und wie gemacht?
-
@joergfrde welche js-controller version ??
-
Ich hatte versucht ein zigbee update zu machen.
Bei der statusabfrage kommt folgende Meldung:pi@raspberrypi:/opt/iobroker $ iobroker status
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:623:3) -
@joergfrde dann ist der wech
mach mal
npm install ioBroker/ioBroker.js-controller
wenn fehler dann posten
-
Greenlock and ACME.js v3 are on the way!
Watch for updates at https://indiegogo.com/at/greenlocknpm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})- iobroker.js-controller@2.3.0
added 392 packages from 735 contributors in 112.079s
7 packages are looking for funding
runnpm fund
for detailsScheinbar keine Fehler. Aber Admin funktioniert immer noch nicht.
- iobroker.js-controller@2.3.0
-
Statusabfrage bringt jetzt das.
pi@raspberrypi:/opt/iobroker $ iobroker status
iobroker is running on this host.At least one iobroker host is running.
Objects type: file
States type: file -
@joergfrde sagte in Kein Zugriff auf Admin Oberfläche:
Aber Admin funktioniert immer noch nicht.
wo hast du den npm Befehl ausgeführt?
hattest du vorher ins Installationsverzeichnis gewechselt?Was sagt
iobroker list instances
? -
@Homoran In /opt/iobroker
pi@raspberrypi:/opt/iobroker $ iobroker list instances + system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 - enabled system.adapter.backitup.0 : backitup - enabled system.adapter.daswetter.0 : daswetter - enabled system.adapter.devices.0 : devices - enabled + system.adapter.discovery.0 : discovery - enabled system.adapter.dwd.0 : dwd - enabled + system.adapter.egigeozone.0 : egigeozone - enabled, port: 7654 + system.adapter.email.0 : email - enabled system.adapter.exchangerates.0 : exchangerates - enabled + system.adapter.fritzbox.0 : fritzbox - enabled + system.adapter.fritzdect.0 : fritzdect - enabled system.adapter.fullcalendar.0 : fullcalendar - enabled + system.adapter.geofency.0 : geofency - enabled, port: 7999 + system.adapter.harmony.0 : harmony - enabled + system.adapter.hm-rega.0 : hm-rega - enabled + system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.2 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.3 : hm-rpc - enabled, port: 0 + system.adapter.homee.0 : homee - enabled system.adapter.ical.0 : ical - enabled + system.adapter.info.0 : info - enabled system.adapter.javascript.0 : javascript - enabled system.adapter.lifx.0 : lifx - enabled + system.adapter.meross.0 : meross - enabled + system.adapter.paw.0 : paw - enabled, port: 8898 + system.adapter.pushover.0 : pushover - enabled + system.adapter.radar2.0 : radar2 - enabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.sayit.0 : sayit - enabled + system.adapter.shelly.0 : shelly - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sony-bravia.0 : sony-bravia - enabled + system.adapter.tankerkoenig.0 : tankerkoenig - enabled + system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.telegram.1 : telegram - disabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command - enabled system.adapter.tr-064.0 : tr-064 - enabled system.adapter.trashschedule.0 : trashschedule - enabled system.adapter.vis-bars.0 : vis-bars - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets - enabled system.adapter.vis-map.0 : vis-map - enabled system.adapter.vis-weather.0 : vis-weather - enabled system.adapter.vis.0 : vis - enabled system.adapter.weatherunderground.0 : weatherunderground - enabled system.adapter.web.0 : web - disabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.yr.0 : yr - enabled + instance is alive
MOD-EDIT: Code in Code-Tags gesetzt
-
@Homoran Muß mich korrigieren, Admin läuft wieder, Danke
-
@Homoran Aber was mache ich mit meienm Admin Adapter. Ich habe hier im Forum von Fehlern nach dem Update gelesen. Mir wird jetzt ein Update von 3.7.7 auf 4.0.1 angeboten. Muß ich dabei etwas beachten?
-
@joergfrde sagte in Kein Zugriff auf Admin Oberfläche:
Ich habe hier im Forum von Fehlern nach dem Update gelesen.
Dazu sind Foren da - User mit Problemen melden sich, User ohne Probleme sagen nichts
-
@Homoran sagte in Kein Zugriff auf Admin Oberfläche:
User ohne Probleme sagen nichts
oder helfen Usern mit Problemen.
-
@joergfrde sagte in Kein Zugriff auf Admin Oberfläche:
Update von 3.7.7 auf 4.0.1 angeboten. Muß ich dabei etwas beachten?
Changelog des Admin-Adapters (und Web und Socket.io) lesen und verstehen!
Ein Major Version Update bedeutet immer, dass danach etwas nicht mehr geht (muss dich aber nicht betreffen). -
@AlCalzone Hat ohne Probleme funktioniert, danke
-
Hallo,
ich komme auch nicht mehr auf die Admin Oberfläche.
Ich habe gestern den Admin upgedatet.
C:\Users\Jörg\ioBroker>node -v v10.19.0 C:\Users\Jörg\ioBroker>npm -v 6.4.1
C:\Users\Jörg\ioBroker> npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 > iobroker.js-controller@1.5.14 preinstall C:\Users\Jörg\ioBroker\node_modules\iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.4.1 npm version >= 5: disabling package-lock > unix-dgram@0.2.3 install C:\Users\Jörg\ioBroker\node_modules\unix-dgram > node-gyp rebuild C:\Users\Jörg\ioBroker\node_modules\unix-dgram>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python2.7", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21) gyp ERR! System Windows_NT 10.0.17763 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Jörg\ioBroker\node_modules\unix-dgram gyp ERR! node -v v10.19.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > iobroker.js-controller@1.5.14 install C:\Users\Jörg\ioBroker\node_modules\iobroker.js-controller > node iobroker.js setup first npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Jörg\ioBroker\node_modules\tmp\package.json' npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Jörg\ioBroker\node_modules\iobroker.zigbee\node_modules\cc-znp\package.json' npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN onvif-snapshot@1.0.2 requires a peer of onvif@^0.5.5 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules\osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules\unix-dgram): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 + iobroker.js-controller@1.5.14 added 35 packages from 20 contributors, removed 173 packages, updated 40 packages, moved 15 packages and audited 833 packages in 77.298s found 17 vulnerabilities (11 low, 6 high) run `npm audit fix` to fix them, or `npm audit` for details
C:\Users\Jörg\ioBroker>node node_modules/iobroker.js-controller/controller.js --logs 2020-02-12 21:47:34.750 - info: host.DESKTOP-P9BVQ1I iobroker.js-controller version 1.5.14 js-controller starting 2020-02-12 21:47:34.756 - info: host.DESKTOP-P9BVQ1I Copyright (c) 2014-2018 bluefox, 2014 hobbyquaker 2020-02-12 21:47:34.757 - info: host.DESKTOP-P9BVQ1I hostname: DESKTOP-P9BVQ1I, node: v10.19.0 2020-02-12 21:47:34.772 - info: host.DESKTOP-P9BVQ1I ip addresses: 2002:bcc2:441c:0:65e2:1607:2b76:8b96 2002:bcc2:441c:0:9ce6:2d48:78e4:d66b fe80::65e2:1607:2b76:8b96 192.168.188.60 2020-02-12 21:47:35.166 - info: host.DESKTOP-P9BVQ1I inMem-states listening on port 9000 2020-02-12 21:47:36.256 - info: host.DESKTOP-P9BVQ1I inMem-objects listening on port 9001 2020-02-12 21:47:36.272 - error: Another instance is running or some application uses port! 2020-02-12 21:47:36.274 - error: uncaught exception: listen EADDRINUSE: address already in use 127.0.0.1:9000 2020-02-12 21:47:36.286 - info: host.DESKTOP-P9BVQ1I terminated 2020-02-12 21:47:36.331 - info: iobroker _restart 2020-02-12 21:47:36.353 - info: host.DESKTOP-P9BVQ1I InMemoryDB connected 2020-02-12 21:47:36.496 - info: host.DESKTOP-P9BVQ1I 66 instances found host.DESKTOP-P9BVQ1I check instance "system.adapter.admin.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.discovery.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.web.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.hue.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-hqwidgets.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.lupusec.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.javascript.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.alexa2.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.cloud.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.daswetter.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.tr-064.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.yr.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.dwd.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-jqui-mfd.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-weather.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.sonos.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.sayit.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.feiertage.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.spotify-premium.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-timeandweather.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-colorpicker.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.ical.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.shelly.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.pushover.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.yamaha.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.telegram.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.text2command.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-players.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.mihome-vacuum.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.harmony.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-metro.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-fancyswitch.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-history.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-google-fonts.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.ical.1" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.javascript.1" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.synology.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.hm-rpc.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.hm-rega.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.hm-rpc.1" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.fullybrowser.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.vis-justgage.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.unifi.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.node-red.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.backitup.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.pollenflug.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.info.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.zigbee.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.mihome.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.iqontrol.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.iot.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.onvif.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.trashschedule.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.parser.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.ical.2" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.simple-api.0" for host "DESKTOP-P9BVQ1I" host.DESKTOP-P9BVQ1I check instance "system.adapter.yahka.0" for host "DESKTOP-P9BVQ1I" 2020-02-12 21:47:36.829 - info: host.DESKTOP-P9BVQ1I starting 55 instances listen EADDRINUSE: address already in use 127.0.0.1:9001 Error: listen EADDRINUSE: address already in use 127.0.0.1:9001 at Server.setupListenHandle [as _listen2] (net.js:1280:14) at listenInCluster (net.js:1328:12) at doListen (net.js:1461:7) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
System: Win10
Mit der Bitte um Hilfe,
Jörg!
-
@nousefor82 sagte in Kein Zugriff auf Admin Oberfläche:
Error: Can't find Python executable "python2.7", you can set the PYTHON env variable.
==> https://www.npmjs.com/package/windows-build-tools installieren.
-
Servus, danke.
Leider hat "der" hingeschrieben, dass python bereits installiert ist.
Auf 8081 lässt sich immer noch nicht zugreifen.
VG
-
Noch jemand eine Idee, woran es liegen könnte, dass ich plötzlich nicht mehr auf die Admin Oberfläche zugreifen kann?
-
@nousefor82 du hast eine manell installierte iobroker version.. da können wir lange suchen..
nimm den installer und portiere deine jetzige in die neue rein.. fertig