@merlin123 dann würde ich das hinter einem ReverseProxy laufen lassen, der sich um die Authentifizierung kümmert und nur Anfragen zulässt die Authentifiziert sind.
NEWS
Latest posts made by mfechner
-
RE: Test Adapter Energiefluss-erweitert v0.7.x GitHub/Latest
-
RE: IOBroker startet nicht mehr (Änderung Hostname und IP)
@homoran vielen Dank, das folgende Kommando hat mein Problem anscheinend gelöst:
iob host server.cy.idefix.lan Host "server.cy.idefix.lan" successfully renamed to "server.cy.idefix.lan". No instances found for host "server.cy.idefix.lan"! iob host server.idefix.lan Host "server.idefix.lan" successfully renamed to "server.cy.idefix.lan". The host for instance "system.adapter.admin.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.backitup.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.discovery.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.ekey.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.energiefluss-erweitert.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.flot.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.fronius.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.icons-mfd-svg.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.influxdb.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.javascript.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.lovelace.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.milight-smart-light.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.mqtt.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.openknx.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.shelly.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.sonos.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.sourceanalytix.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.sql.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.telegram.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.vis-fancyswitch.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.vis-history.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.vis-hqwidgets.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.vis.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.web.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan". The host for instance "system.adapter.vis-2.0" was changed from "server.idefix.lan" to "server.cy.idefix.lan".
Finde die Reihenfolge zwar sehr komisch, aber nun geht es wieder.
Hätte erwartet, das man da einfach den neuen Hostnamen angibt, was aber wohl nicht so funktioniert.Matthias
-
IOBroker startet nicht mehr (Änderung Hostname und IP)
Hi,
mein Hostname und IP hat sich geändert, da der Rechner in eine andere Domain und Netzwerk umgezogen ist.
Ich habe schon hier im Forum gesucht und was ich gefunden habe ist:
iob host this
wenn ich das aber ausführe kommt die Meldung:
Cannot use this command in multihost! iobroker host this Initialize current host Options: --help Show help [boolean]
Die Meldung beim Starten im Log sind:
2024-09-09 13:11:18.251 - info: host.server.cy.idefix.lan iobroker.js-controller version 6.0.11 js-controller starting 2024-09-09 13:11:18.252 - info: host.server.cy.idefix.lan Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker 2024-09-09 13:11:18.252 - info: host.server.cy.idefix.lan hostname: server.cy.idefix.lan, node: v20.16.0 2024-09-09 13:11:18.253 - info: host.server.cy.idefix.lan ip addresses: 192.168.1.251 fe80::21b:21ff:fe7b:3468 192.168.200.6 2024-09-09 13:11:19.441 - info: host.server.cy.idefix.lan connected to Objects and States 2024-09-09 13:11:19.445 - info: host.server.cy.idefix.lan added notifications configuration of host 2024-09-09 13:11:19.828 - info: host.server.cy.idefix.lan 25 instances found 2024-09-09 13:11:19.830 - warn: host.server.cy.idefix.lan does not start any instances on this host
Hat jemand eine Idee?
Danke
Matthias -
RE: Support Adapter Energiefluss-erweitert v0.7.7
@peter666666 ich habe genau das gleiche Problem mit der aktuellen Version. Mit einer älteren Version klappt es.
-
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?