NEWS
IOBroker funktioniert nach der Installation nicht
-
Hi,
ich habe IOBroker gerade unter FreeBSD installiert.
Dafür habe ich das folgende Kommando ausgeführt:curl -sL https://iobroker.net/install.sh | bash -
Anschliessend habe ich IOBroker mit dem folgendem Kommando gestartet:
service iobroker start
Wenn ich nachschaue ob IOBroker läuft, sehe ich das folgende:
lsof -iTCP -sTCP:LISTEN | grep iobro node 53582 iobroker 23u IPv4 0xfffff800b7707000 0t0 TCP localhost:9001 (LISTEN)
So wie ich es verstehe läuft IOBroker auf Port 9001.
Also nginx konfiguriert:server { include snipets/listen.conf; server_name iobroker.idefix.lan; access_log /usr/home/http/iobroker.idefix.lan/logs/access.log; error_log /usr/home/http/iobroker.idefix.lan/logs/error.log; location / { proxy_pass http://127.0.0.1:9001; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; } }
Beim starten sehe ich im Log (/opt/iobroker/log/iobroker.2020-01-07.log):
2020-01-07 13:48:24.222 - info: host.iobroker.idefix.lan iobroker.js-controller version 2.1.1 js-controller starting 2020-01-07 13:48:24.224 - info: host.iobroker.idefix.lan Copyright (c) 2014-2019 bluefox, 2014 hobbyquaker 2020-01-07 13:48:24.224 - info: host.iobroker.idefix.lan hostname: iobroker.idefix.lan, node: v13.3.0 2020-01-07 13:48:24.224 - info: host.iobroker.idefix.lan ip addresses: 192.168.0.251 fe80::<removed> 2a02:<removed> 192.168.200.6 2020-01-07 13:48:24.244 - info: host.iobroker.idefix.lan Error inMem-states listening on port 9000 2020-01-07 13:48:24.255 - info: host.iobroker.idefix.lan connected to Objects and States 2020-01-07 13:48:24.263 - info: host.iobroker.idefix.lan 3 instances found 2020-01-07 13:48:24.265 - info: host.iobroker.idefix.lan starting 3 instances 2020-01-07 13:48:24.273 - info: host.iobroker.idefix.lan instance system.adapter.admin.0 started with pid 53603 2020-01-07 13:48:25.226 - info: States using TCP/Redis protocol not available, falling back to socket.io protocol 2020-01-07 13:48:26.572 - warn: admin.0 (53603) no connection to states DB 2020-01-07 13:48:28.279 - info: host.iobroker.idefix.lan instance system.adapter.discovery.0 started with pid 53604 2020-01-07 13:48:29.351 - info: States using TCP/Redis protocol not available, falling back to socket.io protocol 2020-01-07 13:48:30.237 - error: admin.0 (53603) no connection to states DB: Connection timeout 2020-01-07 13:48:30.733 - warn: discovery.0 (53604) no connection to states DB 2020-01-07 13:48:32.291 - info: host.iobroker.idefix.lan instance system.adapter.info.0 started with pid 53605 2020-01-07 13:48:33.621 - info: States using TCP/Redis protocol not available, falling back to socket.io protocol 2020-01-07 13:48:34.365 - error: discovery.0 (53604) no connection to states DB: Connection timeout 2020-01-07 13:48:34.978 - warn: info.0 (53605) no connection to states DB 2020-01-07 13:48:38.641 - error: info.0 (53605) no connection to states DB: Connection timeout
Wenn ich nun versuche auf die Webseite zu gehen (http://iobroker.idefix.lan), sehe ich im Log nur:
2020-01-07 13:58:30.192 - error: host.iobroker.idefix.lan Objects 127.0.0.1:17471 (Init=false) Redis error:Error: Invalid Chunk: parse failed 2020-01-07 13:58:30.454 - error: host.iobroker.idefix.lan Objects 127.0.0.1:17473 (Init=false) Redis error:Error: Invalid Chunk: parse failed 2020-01-07 14:02:31.626 - error: host.iobroker.idefix.lan Objects 127.0.0.1:22553 (Init=false) Redis error:Error: Invalid Chunk: parse failed 2020-01-07 14:02:31.964 - error: host.iobroker.idefix.lan Objects 127.0.0.1:22555 (Init=false) Redis error:Error: Invalid Chunk: parse failed
Hat jemand eine Idee, woran das liegen kann?