NEWS
[gelöst] ioBroker startet nicht mehr
-
@Ham sagte in ioBroker startet nicht mehr:
No connection to states 192.168.178.32:6379[redis]
Läuft dein Redis-Server auf der angegebenen Adresse oder ist das ein Konfigurationsfehler?
Wie sieht dein Setup aus? Ist es eine Master-Slave-Installation oder hast du nur eine ioBroker-Instanz auf dem Tinkerboard? Was ist das für eine IP-Adresse? Falls es die des Tinkerboards sein sollte, dann würde ich 127.0.0.1 verwenden (das funktioniert auch, wenn das Gerät die IP ändert).
-
Kannst du mal deine Konfiguration posten (evtl. sensible Daten rauslöschen):
cat /opt/iobroker/iobroker-data/iobroker.json
-
Danke für deine Hilfe!
Ja das ist die Adresse des Tinker. Master Slave hab ich, wobei das Slave System aktuell nicht erreichbar ist(hab mich aber noch nicht drum gekümmert, weil auf dem Slave noch nicht viel läuft)
Muß ich die Adresse in der redis.conf ändern?hier die Konfiguration:
{ "system": { "memoryLimitMB": 0, "hostname": "" }, "multihostService": { "enabled": true, "secure": true, "password": "" }, "network": { "IPv4": true, "IPv6": true, "bindAddress": null, "useSystemNpm": true }, "objects": { "type": "file", "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", "host": "0.0.0.0", "port": 9001, "user": "", "pass": "", "noFileCache": false, "connectTimeout": 2000, "options": { "auth_pass": null, "retry_max_delay": 5000 } }, "states": { "type": "redis", "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].", "host": "192.168.178.32", "port": 6379, "maxQueue": 1000, "options": { "auth_pass": null, "retry_max_delay": 5000 } }, "log": { "level": "info", "maxDays": 7, "noStdout": true, "transport": { "file1": { "type": "file", "enabled": true, "filename": "log/iobroker", "fileext": ".log", "maxsize": null, "maxFiles": null }, "syslog1": { "type": "syslog", "enabled": false, "host": "localhost", "host_comment": "The host running syslogd, defaults to localhost.", "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", "protocol": "udp4", "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", "facility_comment": "Syslog facility to use (Default: local0).", "localhost": "iobroker", "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).", "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).", "app_name_comment": "The name of the application (Default: process.title).", "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)." } } }, "dataDirComment": "Always relative to iobroker.js-controller/", "dataDir": "../../iobroker-data/"
-
@Ham sagte in ioBroker startet nicht mehr:
Ja das ist die Adresse des Tinker.
Versuch mal die beiden
"host": "xxx"
zu ändern. Mir scheint auch der für dieobjects
falsch zu sein. Beide sollten"127.0.0.1"
als Wert haben.Überprüfe auch, ob dein Redis überhaupt läuft (und ob der richtig konfiguriert ist). Der Redis sollte meines Erachtens einfach auf 0.0.0.0 hören. Bei mir steht in der redis.conf:
bind 0.0.0.0
Du kannst schon auf eine IP-Adresse binden, aber das braucht man eigentlich erst bei komplizierteren Setups (respektive bei erhöhter Sicherheit). -
leider komme ich auch nicht mit dem Befehl iobroker setup custom weiter, da kommt diesselbe Fehlermeldung wie beim starten des js-controllers. Meintest du das ich da die beiden Host ändern sollte?
in der Redis.conf habe ich jetz auf 0.0.0.0 umgestellt, aber ohne Erfolg.
-
Sorry, habs jetzt verstanden.
Hab beide Hosts geändert, aber ohne Erfolg. IoBroker startet immer noch nicht
-
@Ham Jetzt musst du js-controller nochmals installieren:
npm i
. -
@UncleSam
Er läut wieder!!! Super! Vielen Dank für die schnelle Hilfe!Ich mach mal schnell eine Backup!
Aber warum das ganze, darf ich kein Update des Linux Systems machen? Und was war jetzt das Hauptproblem?
iobroker status spuckt mir das hier aus:
iobroker is running on this host.
No iobroker host is running.
Objects type: file
States type: redis
Cannot load "custom": Error: Connection is closed.Ist das in Ordnung?
Gruß Stefan
-
@Ham sagte in ioBroker startet nicht mehr:
@UncleSam
Er läut wieder!!! Super! Vielen Dank für die schnelle Hilfe!Nichts zu danken.
Aber warum das ganze, darf ich kein Update des Linux Systems machen? Und was war jetzt das Hauptproblem?
Eventuell war es nur die Objects-Konfig oder aber das ganze Redis-Gedöns.
Aber grundsätzlich sollte es schon möglich sein, ein Linux upzudaten, auf dem ioBroker läuft. Aber bei so vielen Abhängigkeiten kann schon mal was schief gehen.iobroker status spuckt mir das hier aus:
iobroker is running on this host.
No iobroker host is running.
Bei mir sieht es mit Multihost und fünf angehängten Slaves so aus:
> iobroker status iobroker is running on this host. At least one iobroker host is running. Objects type: file States type: redis
Ich bin mir nicht sicher, ob er sich selber dazu zählt; sonst würde "No host" stimmen. Sofern du wieder aufs Admin kommst und deine Adapter laufen, sollte alles in Ordnung sein.
-
nach der korrekten Multihost installation steht jetzt bei mir auch:
At least one iobroker host is running.
Nochmal Vielen Dank! Hat mir viel Arbeit erspart!
Gruß Stefan
-
Aber warum das ganze, darf ich kein Update des Linux Systems machen?
Doch, solltest du sogar. Allerdings sollte man sich auch anschauen, welche Pakete da aktualisiert werden. Regelmäßig das System pflegen hilft da enorm den Überblick zu behalten.