NEWS
Iobroker keine webgui
-
hallo
die webgui funktioniert bei mir mit leider nicht, also iobroker.admin.
!
pi@raspberrypi:/opt/iobroker $ node node_modules/iobroker.js-controller/controll er.js --logs ! 2017-09-03 20:29:55.052 - info: host.raspberrypi iobroker.js-controller version 1.1.3 js-controller starting 2017-09-03 20:29:55.078 - info: host.raspberrypi Copyright (c) 2014-2017 bluefo x, hobbyquaker 2017-09-03 20:29:55.085 - info: host.raspberrypi hostname: raspberrypi, node: v 6.11.1 2017-09-03 20:29:55.090 - info: host.raspberrypi ip addresses: 192.168.1.9 fe80 ::53ff:7a77:1b09:dbe 2017-09-03 20:29:55.454 - info: host.raspberrypi inMem-states listening on por t 9000 2017-09-03 20:29:56.123 - info: host.raspberrypi inMem-objects listening on po rt 9001 2017-09-03 20:29:56.178 - info: host.raspberrypi InMemoryDB connected 2017-09-03 20:29:56.262 - info: host.raspberrypi 46 instances found host.raspberrypi check instance "system.adapter.admin.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.discovery.0" for host "raspberry pi" host.raspberrypi check instance "system.adapter.web.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.scenes.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.ical.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.ical.1" for host "raspberrypi" host.raspberrypi check instance "system.adapter.pushover.0" for host "raspberryp i" host.raspberrypi check instance "system.adapter.hue.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.rflink.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.harmony.0" for host "raspberrypi " host.raspberrypi check instance "system.adapter.fritzbox.0" for host "raspberryp i" host.raspberrypi check instance "system.adapter.vis-metro.0" for host "raspberry pi" host.raspberrypi check instance "system.adapter.vis-jqui-mfd.0" for host "raspbe rrypi" host.raspberrypi check instance "system.adapter.vis-hqwidgets.0" for host "raspb errypi" host.raspberrypi check instance "system.adapter.vis-timeandweather.0" for host " raspberrypi" host.raspberrypi check instance "system.adapter.cloud.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.sayit.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-fancyswitch.0" for host "ras pberrypi" host.raspberrypi check instance "system.adapter.socketio.0" for host "raspberryp i" host.raspberrypi check instance "system.adapter.mobile.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.weatherunderground.0" for host " raspberrypi" host.raspberrypi check instance "system.adapter.mysensors.0" for host "raspberry pi" host.raspberrypi check instance "system.adapter.javascript.0" for host "raspberr ypi" host.raspberrypi check instance "system.adapter.fhem.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.dwd.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-rgraph.0" for host "raspberr ypi" host.raspberrypi check instance "system.adapter.vis-history.0" for host "raspber rypi" host.raspberrypi check instance "system.adapter.hue.1" for host "raspberrypi" host.raspberrypi check instance "system.adapter.hue.2" for host "raspberrypi" host.raspberrypi check instance "system.adapter.mqtt.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.telegram.0" for host "raspberryp i" host.raspberrypi check instance "system.adapter.tvspielfilm.0" for host "raspber rypi" host.raspberrypi check instance "system.adapter.tr-064.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.sql.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.material.0" for host "raspberryp i" host.raspberrypi check instance "system.adapter.smartmeter.0" for host "raspberr ypi" host.raspberrypi check instance "system.adapter.simple-api.0" for host "raspberr ypi" host.raspberrypi check instance "system.adapter.node-red.0" for host "raspberryp i" host.raspberrypi check instance "system.adapter.parser.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.wrapper.0" for host "raspberrypi " host.raspberrypi check instance "system.adapter.kodi.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.rpi2.0" for host "raspberrypi" 2017-09-03 20:29:56.377 - info: host.raspberrypi starting 37 instances 2017-09-03 20:29:56.503 - info: host.raspberrypi instance system.adapter.admin. 0 started with pid 19661 2017-09-03 20:29:57.015 - error: uncaught exception: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt' 2017-09-03 20:29:57.040 - error: Error: EACCES: permission denied, open '/opt/i obroker/node_modules/iobroker.js-controller/pids.txt' at Error (native) at Object.fs.openSync (fs.js:641:18) at Object.fs.writeFileSync (fs.js:1347:33) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/con troller.js:1745:16) at ontimeout (timers.js:386:14) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) 2017-09-03 20:29:57.068 - info: iobroker _restart 2017-09-03 20:29:59.733 - info: iobroker Starting node restart.js 2017-09-03 20:29:59.874 - info: iobroker exit 0 2017-09-03 20:30:07.091 - info: host.raspberrypi force terminating 2017-09-03 20:30:07.094 - info: Adapter admin still running pi@raspberrypi:/opt/iobroker $ pi@raspberrypi:/opt/iobroker $ pi@raspberrypi:/opt/iobroker $ node node_modules/iobroker.js-controller/controller.js --logs 2017-09-03 20:30:18.642 - info: host.raspberrypi iobroker.js-controller version 1.1.3 js-controller starting 2017-09-03 20:30:18.668 - info: host.raspberrypi Copyright (c) 2014-2017 bluefox, hobbyquaker 2017-09-03 20:30:18.674 - info: host.raspberrypi hostname: raspberrypi, node: v6.11.1 2017-09-03 20:30:18.680 - info: host.raspberrypi ip addresses: 192.168.1.9 fe80::53ff:7a77:1b09:dbe 2017-09-03 20:30:19.042 - info: host.raspberrypi inMem-states listening on port 9000 2017-09-03 20:30:19.700 - info: host.raspberrypi inMem-objects listening on port 9001 2017-09-03 20:30:19.755 - info: host.raspberrypi InMemoryDB connected 2017-09-03 20:30:19.837 - info: host.raspberrypi 46 instances found host.raspberrypi check instance "system.adapter.admin.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.discovery.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.web.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.scenes.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.ical.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.ical.1" for host "raspberrypi" host.raspberrypi check instance "system.adapter.pushover.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.hue.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.rflink.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.harmony.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.fritzbox.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-metro.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-jqui-mfd.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-hqwidgets.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-timeandweather.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.cloud.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.sayit.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-fancyswitch.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.socketio.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.mobile.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.weatherunderground.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.mysensors.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.javascript.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.fhem.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.dwd.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-rgraph.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.vis-history.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.hue.1" for host "raspberrypi" host.raspberrypi check instance "system.adapter.hue.2" for host "raspberrypi" host.raspberrypi check instance "system.adapter.mqtt.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.telegram.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.tvspielfilm.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.tr-064.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.sql.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.material.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.smartmeter.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.simple-api.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.node-red.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.parser.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.wrapper.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.kodi.0" for host "raspberrypi" host.raspberrypi check instance "system.adapter.rpi2.0" for host "raspberrypi" 2017-09-03 20:30:19.946 - info: host.raspberrypi starting 37 instances 2017-09-03 20:30:20.073 - info: host.raspberrypi instance system.adapter.admin.0 started with pid 19694 2017-09-03 20:30:20.785 - error: uncaught exception: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt' 2017-09-03 20:30:20.809 - error: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt' at Error (native) at Object.fs.openSync (fs.js:641:18) at Object.fs.writeFileSync (fs.js:1347:33) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:1745:16) at ontimeout (timers.js:386:14) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) 2017-09-03 20:30:20.833 - info: iobroker _restart 2017-09-03 20:30:23.439 - info: iobroker Starting node restart.js 2017-09-03 20:30:23.489 - info: iobroker exit 0 2017-09-03 20:30:30.849 - info: host.raspberrypi force terminating 2017-09-03 20:30:30.851 - info: Adapter admin still running !
!
DGRAM 5182 - /run/systemd/notify unix 2 [ ACC ] STREAM HÖRT 5184 - /run/systemd/private unix 2 [ ] DGRAM 5201 - /run/systemd/shutdownd unix 6 [ ] DGRAM 5203 - /run/systemd/journal/dev-log unix 2 [ ACC ] SEQPAKET HÖRT 5207 - /run/udev/control unix 2 [ ACC ] STREAM HÖRT 5211 - /run/systemd/journal/stdout unix 5 [ ] DGRAM 5213 - /run/systemd/journal/socket unix 2 [ ] DGRAM 7007 - /var/run/thd.socket unix 2 [ ACC ] STREAM HÖRT 12420 - /var/run/lighttpd/php.socket-0 unix 2 [ ] DGRAM 5275 - /run/systemd/journal/syslog unix 2 [ ACC ] STREAM HÖRT 7848 - /var/run/avahi-daemon/socket unix 2 [ ACC ] STREAM HÖRT 7851 - /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM HÖRT 10688 - /var/run/mysqld/mysqld.sock unix 3 [ ] STREAM VERBUNDEN 10220 - unix 2 [ ] DGRAM 1997 - unix 3 [ ] DGRAM 2000 - unix 2 [ ] DGRAM 10465 - unix 3 [ ] DGRAM 2001 - unix 3 [ ] STREAM VERBUNDEN 10221 - unix 3 [ ] STREAM VERBUNDEN 6851 - /run/systemd/journal/stdout unix 3 [ ] STREAM VERBUNDEN 9188 - unix 2 [ ] DGRAM 9275 - unix 2 [ ] STREAM VERBUNDEN 38904 - unix 3 [ ] STREAM VERBUNDEN 11369 - unix 3 [ ] STREAM VERBUNDEN 10527 - /run/systemd/journal/stdout unix 3 [ ] STREAM VERBUNDEN 766256 - unix 2 [ ] STREAM VERBUNDEN 38908 - unix 3 [ ] STREAM VERBUNDEN 766257 - unix 2 [ ] DGRAM 766253 - unix 2 [ ] STREAM VERBUNDEN 38906 - unix 2 [ ] DGRAM 7901 - unix 3 [ ] STREAM VERBUNDEN 7909 - unix 2 [ ] DGRAM 7994 - unix 3 [ ] STREAM VERBUNDEN 7905 - unix 3 [ ] STREAM VERBUNDEN 7904 - unix 2 [ ] DGRAM 5279 - unix 3 [ ] STREAM VERBUNDEN 7894 - unix 3 [ ] STREAM VERBUNDEN 6854 - /run/systemd/journal/stdout unix 3 [ ] STREAM VERBUNDEN 7953 - unix 3 [ ] STREAM VERBUNDEN 5735 - /run/systemd/journal/stdout unix 3 [ ] STREAM VERBUNDEN 10223 - /var/run/dbus/system_bus_socket unix 3 [ ] STREAM VERBUNDEN 5900 - unix 3 [ ] STREAM VERBUNDEN 8055 - /run/systemd/journal/stdout unix 3 [ ] STREAM VERBUNDEN 8000 - unix 3 [ ] STREAM VERBUNDEN 10273 - /var/run/dbus/system_bus_socket unix 3 [ ] STREAM VERBUNDEN 5722 - unix 3 [ ] STREAM VERBUNDEN 5726 - unix 3 [ ] STREAM VERBUNDEN 6852 - /run/systemd/journal/stdout unix 3 [ ] STREAM VERBUNDEN 10222 - /var/run/dbus/system_bus_socket !pi@raspberrypi:/opt/iobroker $ node -v v6.11.1 pi@raspberrypi:/opt/iobroker $ npm -v 3.10.10
!
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.cloud.0 : cloud - enabled system.adapter.discovery.0 : discovery - enabled system.adapter.dwd.0 : dwd - enabled system.adapter.fhem.0 : fhem - enabled, port: 7072 system.adapter.flot.0 : flot - enabled system.adapter.fritzbox.0 : fritzbox - enabled system.adapter.harmony.0 : harmony - enabled system.adapter.hue.0 : hue - enabled, port: 80 system.adapter.hue.1 : hue - enabled, port: 80 system.adapter.hue.2 : hue - disabled, port: 80 system.adapter.ical.0 : ical - enabled system.adapter.ical.1 : ical - enabled system.adapter.icons-mfd-png.0 : icons-mfd-png - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg - enabled system.adapter.javascript.0 : javascript - enabled system.adapter.kodi.0 : kodi - enabled, port: 9090 system.adapter.material.0 : material - disabled system.adapter.mobile.0 : mobile - disabled system.adapter.mqtt.0 : mqtt - disabled, port: 1883 system.adapter.mysensors.0 : mysensors - disabled, port: 5003, bind: 0.0.0.0 system.adapter.node-red.0 : node-red - enabled, port: 1880 system.adapter.parser.0 : parser - enabled system.adapter.pushover.0 : pushover - enabled system.adapter.rflink.0 : rflink - enabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.sayit.0 : sayit - enabled system.adapter.scenes.0 : scenes - enabled system.adapter.simple-api.0 : simple-api - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.smartmeter.0 : smartmeter - enabled system.adapter.socketio.0 : socketio - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.sql.0 : sql - enabled, port: 0 system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.tr-064.0 : tr-064 - enabled system.adapter.tvspielfilm.0 : tvspielfilm - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch - enabled system.adapter.vis-history.0 : vis-history - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd - enabled system.adapter.vis-metro.0 : vis-metro - enabled system.adapter.vis-rgraph.0 : vis-rgraph - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather - enabled system.adapter.vis.0 : vis - enabled system.adapter.weatherunderground.0 : weatherunderground - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wrapper.0 : wrapper - disabled pi@raspberrypi:/opt/iobroker $ !
-
Was kommt denn wenn du :8081 aufrufst?
-
Leider nix
Gesendet von meinem WAS-LX1A mit Tapatalk
-
Timeout? Oder direkter Fehler?
"iobroker stop admin" und "iobroker start admin" bringt eine Änderung?
Gibt es andere Dienste auf dem Rechner (SSH) die Du erreichst?
Anderer Browser mal versucht?
Gibt es irgendwelche Firewalls?
-
> Timeout? Oder direkter Fehler?
timeout> "iobroker stop admin" und "iobroker start admin" bringt eine Änderung?
muss ich tesen> Gibt es andere Dienste auf dem Rechner (SSH) die Du erreichst?
ja, fhem läuft ja auch parallel auf dem gleichen pi.> Anderer Browser mal versucht?
ja, ohne erfolg> Gibt es irgendwelche Firewalls?
nein. system lief ja sonst -
> EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/pids.txt'
mal probiert, den Start/Stop mit erhöhten Rechten auszuführen, also sudo vor die Befehle zu setzen? -
nach mehreren "sudo iobroker restart" ging's irgendwann.
Frage nur wie lange.
iobroker plus meine Adapter frisst auch ordentlich Speicher (ca 1 GB).
Ist schon ordentlich und nicht gerade optimal.
Vielleicht sollte man den iobroker etwas optimieren was die Ressourcen
betrifft.
EDIT:
Nach 2 Minuten war wieder schluß.
2880_1.png -
Hi,
iobroker plus meine Adapter frisst auch ordentlich Speicher (ca 1 GB).
Ist schon ordentlich und nicht gerade optimal.
Vielleicht sollte man den iobroker etwas optimieren was die Ressourcen betrifft. `
Wie kommst Du denn zu dieser gewagten Aussage, das ioBroker Optimierungen bzgl. Ressourcen benötigt?
Hast Du Dir diesen Thread mal durchgelesen? ==> http://forum.iobroker.net/viewtopic.php?f=8&t=7788
EDIT:
Nach 2 Minuten war wieder schluß. `
Womit war denn nach 2 Minuten Schluss?Such mal im Forum, was diese Meldung bedeutet.
Sie bedeutet lediglich, das die Daten schneller reinkommen, als der Admin sie anzeigen kann. Nicht mehr und nicht weniger - es gibt keine Datenverluste, oder hast Du welche festgestellt?
Gruß,
Eric
Von unterwegs getippert
-
naja, finde 1GB RAM schon recht viel, mag mich aber täuschen.
Wenn ich mir mal den HUE Adapter anschaue, jede Instanz frisst 35MB.
Gut das ich mein Haus nicht mit den Dingern ausgestattet habe.
Mein OrangePI +2e kommt morgen, werde dann mal FHEM und ioBroker
trennen und jedem einen Host gönnen. Evtl ist das Problem auch ein anderes.
Gruß
-
Wenn ich mir mal den HUE Adapter anschaue, jede Instanz frisst 35MB. `
Ähh wie viele hast du denn dass das ein Problem wird? -
im moment nur 3, für jeden Sonoff (Tasmota) einen. Könnten aber mehr werden
-
1gb … kommt mir viel vor ... welcher Adapter frisst das denn? Schau mal mit top oder so direkt auf der Konsole.
-
Moin,
wieviel von dem 1GB ist denn tatsächlich belegt und wieviel ist reserviert?
Ein Screenshot vom „top“ sowie „free -m“ und auch von „cat /proc/meminfo“ wären interessant. Dann sieht man, was wirklich frei bzw. belegt ist.
Ich habe 45 aktive Adapter (ohne die VIS-Erweiterungen) und mein System belegt 1,7 GB an RAM (ok, ich habe der VM 8 GB zugewiesen - also kann da nix passieren).
Das sind ca. 37 MB pro Adapter - alles im normalen Rahmen.
Gruß,
Eric
Von unterwegs getippert
-
Kann mal einen Screenshot machen, aber 25-30 Adapter habe ich auch am laufen.
Und fast 40mb finde ich schon recht viel.
Habe jetzt aber auch keinen Vergleich, was zb FHEM, OpenHAB oder Pimatic braucht.
Gruß
Gesendet von meinem WAS-LX1A mit Tapatalk
-
Du musst bedenken, das ein Adapter eine jeweils eigenständig lauffähige Instanz ist, die vom js-controller „nur“ überwacht und gesteuert wird.
Jeder Adapter läuft eigenständig und beeinflusst die anderen Adapter i.d.R. nicht. Jeder Adapter kann einzeln „abgeschossen“ werden, wenn er spinnt. Die einzige Schnittstelle zu den anderen Adaptern ist das Datenmodel.
Und diese Modularität (und die damit verbundene Systemabgrenzung untereinander) kostet eben ein wenig.
Gruß,
Eric
Von unterwegs getippert