Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] ioBroker startet nicht mehr

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

[gelöst] ioBroker startet nicht mehr

Scheduled Pinned Locked Moved ioBroker Allgemein
iobroker startet nicht mehr
16 Posts 3 Posters 1.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Ham

    Hallo,
    hab ioBroker auf einem Tinkerboard S auf dem internen Speicher am laufen. Wollte nur das Board in ein anderes Gehäuse mit Lüfter umziehen, weil er immer sehr heiß wird. Hab dann noch die Befehle sudo upt-get update/upgrade ausgeführt, das wahr wahrscheinlich der Fehler! Jetzt läuft der ioBroker nicht mehr.
    Hab schon einiges probiert, hab aber nicht so viel Erfahrung!
    Jetzt könnte ich neu aufsetzen, hab aber die letzten Tage meine Poolsteuerung und andere Projekte realisiert und leider kein aktuelles Backup davon, deswegen muss das System wieder starten.
    Ich bitte um Hilfe!
    Hab Debian Buster mit node 12.10.3 und npm 6.14.6 installiert.
    Bei dem Befehl ps -A | grep iobroker kommt nichts, wenn der js-Controller neu gestartet wird kommt:

    internal/modules/cjs/loader.js:968
    throw err;
    ^

    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
    }
    Hab auch versucht den controller, Admin und Discovery Adapter neu zu installieren, aber ohne Erfolg.
    Desweiteren kommt die Meldung "No connection to states 192.168.178.32:6379[redis]"

    Ich weiß leider nicht mehr weiter und bitte um Hilfe, das die Stundenlange Arbeit der letzten Tage nicht umsonst waren.
    Danke!

    Gruß Stefan

    UncleSamU Offline
    UncleSamU Offline
    UncleSam
    Developer
    wrote on last edited by
    #7

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

    cat /opt/iobroker/iobroker-data/iobroker.json
    

    Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
    ♡-lichen Dank an meine Sponsoren

    H 1 Reply Last reply
    0
    • UncleSamU UncleSam

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

      cat /opt/iobroker/iobroker-data/iobroker.json
      
      H Offline
      H Offline
      Ham
      wrote on last edited by
      #8

      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/"
      
      UncleSamU 1 Reply Last reply
      0
      • H Ham

        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/"
        
        UncleSamU Offline
        UncleSamU Offline
        UncleSam
        Developer
        wrote on last edited by
        #9

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

        Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
        ♡-lichen Dank an meine Sponsoren

        H 1 Reply Last reply
        0
        • UncleSamU UncleSam

          @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 Offline
          H Offline
          Ham
          wrote on last edited by
          #10

          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
          0
          • H Ham

            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 Offline
            H Offline
            Ham
            wrote on last edited by
            #11

            Sorry, habs jetzt verstanden.

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

            UncleSamU 1 Reply Last reply
            0
            • H Ham

              Sorry, habs jetzt verstanden.

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

              UncleSamU Offline
              UncleSamU Offline
              UncleSam
              Developer
              wrote on last edited by
              #12

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

              Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
              ♡-lichen Dank an meine Sponsoren

              H 1 Reply Last reply
              0
              • UncleSamU UncleSam

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

                H Offline
                H Offline
                Ham
                wrote on last edited by
                #13

                @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

                UncleSamU 1 Reply Last reply
                0
                • H Ham

                  @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

                  UncleSamU Offline
                  UncleSamU Offline
                  UncleSam
                  Developer
                  wrote on last edited by
                  #14

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

                  Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
                  ♡-lichen Dank an meine Sponsoren

                  H 1 Reply Last reply
                  0
                  • UncleSamU UncleSam

                    @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 Offline
                    H Offline
                    Ham
                    wrote on last edited by
                    #15

                    @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 BraunT 1 Reply Last reply
                    0
                    • H Ham

                      @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 BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #16

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

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

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

                      705

                      Online

                      32.4k

                      Users

                      81.4k

                      Topics

                      1.3m

                      Posts
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      ioBroker Community 2014-2025
                      logo
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Unread 0
                      • Categories
                      • Unreplied
                      • Popular
                      • GitHub
                      • Docu
                      • Hilfe