Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] ioBroker startet nicht mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] ioBroker startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • UncleSam
      UncleSam Developer @Ham last edited by

      @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).

      1 Reply Last reply Reply Quote 0
      • UncleSam
        UncleSam Developer @Ham last edited by

        Kannst du mal deine Konfiguration posten (evtl. sensible Daten rauslöschen):

        cat /opt/iobroker/iobroker-data/iobroker.json
        
        H 1 Reply Last reply Reply Quote 0
        • H
          Ham @UncleSam last edited by

          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/"
          
          UncleSam 1 Reply Last reply Reply Quote 0
          • UncleSam
            UncleSam Developer @Ham last edited by

            @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 die objects 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).

            H 1 Reply Last reply Reply Quote 0
            • H
              Ham @UncleSam last edited by

              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.

              H 1 Reply Last reply Reply Quote 0
              • H
                Ham @Ham last edited by

                Sorry, habs jetzt verstanden.

                Hab beide Hosts geändert, aber ohne Erfolg. IoBroker startet immer noch nicht

                UncleSam 1 Reply Last reply Reply Quote 0
                • UncleSam
                  UncleSam Developer @Ham last edited by

                  @Ham Jetzt musst du js-controller nochmals installieren: npm i.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Ham @UncleSam last edited by

                    @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

                    UncleSam 1 Reply Last reply Reply Quote 0
                    • UncleSam
                      UncleSam Developer @Ham last edited by

                      @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.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Ham @UncleSam last edited by

                        @UncleSam

                        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

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Ham last edited by

                          @Ham

                          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.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          919
                          Online

                          31.7k
                          Users

                          79.9k
                          Topics

                          1.3m
                          Posts

                          iobroker startet nicht mehr
                          3
                          16
                          1294
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo