Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] das leidige Thema "Stromausfall"

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    634

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

[gelöst] das leidige Thema "Stromausfall"

Scheduled Pinned Locked Moved ioBroker Allgemein
63 Posts 12 Posters 8.2k Views 9 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.
  • Thomas BraunT Thomas Braun

    @christian-wöhrle

    Schau hier rein:

    https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1641396350304

    Christian WöhrleC Offline
    Christian WöhrleC Offline
    Christian Wöhrle
    wrote on last edited by
    #33

    @thomas-braun Danke, das hat funktioniert! Muss ich mir wohl gleich anpinnen ;)

    1 Reply Last reply
    0
    • paul53P paul53

      @homoran sagte: Entweder sehe ich da falsch nach, oder da steht nichts drin.

      Das hängt wohl mit dem Zeitpunkt der Installation zusammen. Deine ist sicherlich älter. Die Datei wird bei einem Update nicht überschrieben, was bei einer Konfiguration auch kontraproduktiv wäre. Bei mir waren die Einträge auch nicht vorhanden.

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by Homoran
      #34

      @paul53 sagte:

      Das hängt wohl mit dem Zeitpunkt der Installation zusammen

      Das denke ich auch, aber...

      @paul53 sagte:

      Deine ist sicherlich älter

      Leider nein.
      am 30.12. komplett neu aufgesetzt! - nach Jahren :-(

      allerdings aus einem Backup wiederhergestellt.
      Ob da die iobroker.json auch drin ist weiß ich allerdings nicht

      und die eine Installation ist etwa 2 jahre alt

      kein Support per PN! - Fragen im Forum stellen -
      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      paul53P 1 Reply Last reply
      0
      • HomoranH Homoran

        @christian-wöhrle sagte in das leidige Thema "Stromausfall":

        Iobroker fix bringt nichts
        Auch das fix-Skript bringt nichts.

        wie sollte das auch?
        diese beiden korrigieren die kaputtgespielten Rechte

        aber keine defekten Dateien.
        Und wenn du schon schreibst

        @christian-wöhrle sagte in das leidige Thema "Stromausfall":

        das gleiche Problem:

        dann solltest du dir auch die bisher besprochene gleiche Lösung aus dem ersten Post ansehen!

        @heimweh sagte in das leidige Thema "Stromausfall":

        Cannot find view "system" for search "host" heißt es dann und ich habe das System immer mit dieser Vorgehensweise (siehe link) wieder zum laufen gekriegt.
        Link Text

        Christian WöhrleC Offline
        Christian WöhrleC Offline
        Christian Wöhrle
        wrote on last edited by
        #35

        @homoran said in das leidige Thema "Stromausfall":

        @christian-wöhrle sagte in das leidige Thema "Stromausfall":

        Iobroker fix bringt nichts
        Auch das fix-Skript bringt nichts.

        wie sollte das auch?
        diese beiden korrigieren die kaputtgespielten Rechte

        aber keine defekten Dateien.
        Und wenn du schon schreibst

        @christian-wöhrle sagte in das leidige Thema "Stromausfall":

        das gleiche Problem:

        dann solltest du dir auch die bisher besprochene gleiche Lösung aus dem ersten Post ansehen!

        @heimweh sagte in das leidige Thema "Stromausfall":

        Cannot find view "system" for search "host" heißt es dann und ich habe das System immer mit dieser Vorgehensweise (siehe link) wieder zum laufen gekriegt.
        Link Text

        "Das gleiche Problem" bezog sich auf einen Stromausfall mit anschließendem Ausfall des Brokers ;)
        Danke, den Link bin ich durchgegangen, hat funktioniert.

        HomoranH 1 Reply Last reply
        1
        • Christian WöhrleC Christian Wöhrle

          @homoran said in das leidige Thema "Stromausfall":

          @christian-wöhrle sagte in das leidige Thema "Stromausfall":

          Iobroker fix bringt nichts
          Auch das fix-Skript bringt nichts.

          wie sollte das auch?
          diese beiden korrigieren die kaputtgespielten Rechte

          aber keine defekten Dateien.
          Und wenn du schon schreibst

          @christian-wöhrle sagte in das leidige Thema "Stromausfall":

          das gleiche Problem:

          dann solltest du dir auch die bisher besprochene gleiche Lösung aus dem ersten Post ansehen!

          @heimweh sagte in das leidige Thema "Stromausfall":

          Cannot find view "system" for search "host" heißt es dann und ich habe das System immer mit dieser Vorgehensweise (siehe link) wieder zum laufen gekriegt.
          Link Text

          "Das gleiche Problem" bezog sich auf einen Stromausfall mit anschließendem Ausfall des Brokers ;)
          Danke, den Link bin ich durchgegangen, hat funktioniert.

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #36

          @christian-wöhrle sagte in das leidige Thema "Stromausfall":

          den Link bin ich durchgegangen, hat funktioniert.

          Na, geht doch :-)

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          0
          • HomoranH Homoran

            @paul53 sagte:

            Das hängt wohl mit dem Zeitpunkt der Installation zusammen

            Das denke ich auch, aber...

            @paul53 sagte:

            Deine ist sicherlich älter

            Leider nein.
            am 30.12. komplett neu aufgesetzt! - nach Jahren :-(

            allerdings aus einem Backup wiederhergestellt.
            Ob da die iobroker.json auch drin ist weiß ich allerdings nicht

            und die eine Installation ist etwa 2 jahre alt

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by
            #37

            @homoran sagte: aus einem Backup wiederhergestellt. Ob da die iobroker.json auch drin ist weiß ich allerdings nicht

            In einem Backup sollte alles unter iobroker-data enthalten sein.

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            HomoranH 1 Reply Last reply
            1
            • paul53P paul53

              @homoran sagte: aus einem Backup wiederhergestellt. Ob da die iobroker.json auch drin ist weiß ich allerdings nicht

              In einem Backup sollte alles unter iobroker-data enthalten sein.

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #38

              @paul53 sagte:

              In einem Backup sollte alles unter iobroker-data enthalten sein.

              Danke!
              Dann passt es ja mit der "alten" Installation

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Reply Last reply
              0
              • AlCalzoneA AlCalzone

                Ggf. könnte für solche fälle die JSONL-Datenbankvariante interessant sein, die voraussichtlich in Controller v4 Standard wird:
                https://forum.iobroker.net/post/732513

                Die sollte prinzipbedingt (inkrementelles Schreiben, appendonly) einen Totalverlust verhindern und dabei auch noch die SD-Karte schonen.

                BananaJoeB Offline
                BananaJoeB Offline
                BananaJoe
                Most Active
                wrote on last edited by
                #39

                @alcalzone Klingt so als könnte da gerade für die vielen Raspberry Pi Benutzer etwas getan werden könnte mit der JSONL-Variante. Bei denen lese ich - gefühlt - ja öfter "System läuft nicht nach Stromausfall/Neustart/usw."

                Theoretisch könnte man das ja auch auf REDIS umstellen ... macht man aber nicht?

                ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 10 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV APC 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Rushmed
                  Most Active
                  wrote on last edited by
                  #40

                  Ich hab noch ne Frage zu writeFileInterval. Wo genau packe ich das in der iobroker.json hin wenn es noch nicht da ist? Einfach bei Objects und States als neue Zeile mit rein also bspw. Zeile 27 und 53?

                  {
                    "system": {
                      "memoryLimitMB": 0,
                      "hostname": "",
                      "statisticsInterval": 15000,
                      "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
                      "checkDiskInterval": 300000,
                      "checkDiskIntervalComment": "Interval how often the disk size will be checked",
                      "noChmod": false,
                      "instanceStartInterval": 2000,
                      "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                      "compact": false,
                      "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json",
                      "allowShellCommands": false,
                      "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands"
                    },
                    "multihostService": {
                      "enabled": false,
                      "secure": true
                    },
                    "network": {
                      "IPv4": true,
                      "IPv6": true,
                      "bindAddress": null
                    },
                    "objects": {
                      "type": "file",
                      "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                      "host": "127.0.0.1",
                      "port": 9001,
                      "user": "",
                      "pass": "",
                      "noFileCache": false,
                      "connectTimeout": 2000,
                      "options": {
                        "auth_pass": null,
                        "retry_max_delay": 5000
                      },
                      "backup": {
                        "disabled": false,
                        "files": 24,
                        "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                        "hours": 48,
                        "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                        "period": 120,
                        "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                        "path": "",
                        "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                      },
                      "dataDir": "../../iobroker-data/"
                    },
                    "states": {
                      "type": "file",
                      "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                      "host": "127.0.0.1",
                      "port": 9000,
                      "maxQueue": 1000,
                      "user": "",
                      "pass": "",
                      "connectTimeout": 2000,
                      "options": {
                        "auth_pass": null,
                        "retry_max_delay": 5000
                      },
                      "backup": {
                        "disabled": false,
                        "files": 24,
                        "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                        "hours": 48,
                        "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                        "period": 120,
                        "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                        "path": "",
                        "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                      },
                      "dataDir": "../../iobroker-data/"
                    },
                    "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",
                          "hostComment": "The host running syslogd, defaults to localhost.",
                          "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                          "protocol": "udp4",
                          "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                          "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                          "facilityComment": "Syslog facility to use (Default: local0).",
                          "localhost": "iobroker",
                          "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                          "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                          "app_nameComment": "The name of the application (Default: process.title).",
                          "eolComment": "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/"
                  }
                  

                  Ich nehme an, dass die noch nicht geschriebenen Werte einfach im Ram bleiben. Welche Intervallzeit ist denn hier empfohlen oder was sollte maximal eingestellt werden.
                  Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                  paul53P R 2 Replies Last reply
                  0
                  • R Rushmed

                    Ich hab noch ne Frage zu writeFileInterval. Wo genau packe ich das in der iobroker.json hin wenn es noch nicht da ist? Einfach bei Objects und States als neue Zeile mit rein also bspw. Zeile 27 und 53?

                    {
                      "system": {
                        "memoryLimitMB": 0,
                        "hostname": "",
                        "statisticsInterval": 15000,
                        "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
                        "checkDiskInterval": 300000,
                        "checkDiskIntervalComment": "Interval how often the disk size will be checked",
                        "noChmod": false,
                        "instanceStartInterval": 2000,
                        "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                        "compact": false,
                        "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json",
                        "allowShellCommands": false,
                        "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands"
                      },
                      "multihostService": {
                        "enabled": false,
                        "secure": true
                      },
                      "network": {
                        "IPv4": true,
                        "IPv6": true,
                        "bindAddress": null
                      },
                      "objects": {
                        "type": "file",
                        "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                        "host": "127.0.0.1",
                        "port": 9001,
                        "user": "",
                        "pass": "",
                        "noFileCache": false,
                        "connectTimeout": 2000,
                        "options": {
                          "auth_pass": null,
                          "retry_max_delay": 5000
                        },
                        "backup": {
                          "disabled": false,
                          "files": 24,
                          "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                          "hours": 48,
                          "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                          "period": 120,
                          "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                          "path": "",
                          "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                        },
                        "dataDir": "../../iobroker-data/"
                      },
                      "states": {
                        "type": "file",
                        "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                        "host": "127.0.0.1",
                        "port": 9000,
                        "maxQueue": 1000,
                        "user": "",
                        "pass": "",
                        "connectTimeout": 2000,
                        "options": {
                          "auth_pass": null,
                          "retry_max_delay": 5000
                        },
                        "backup": {
                          "disabled": false,
                          "files": 24,
                          "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                          "hours": 48,
                          "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                          "period": 120,
                          "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                          "path": "",
                          "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                        },
                        "dataDir": "../../iobroker-data/"
                      },
                      "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",
                            "hostComment": "The host running syslogd, defaults to localhost.",
                            "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                            "protocol": "udp4",
                            "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                            "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                            "facilityComment": "Syslog facility to use (Default: local0).",
                            "localhost": "iobroker",
                            "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                            "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                            "app_nameComment": "The name of the application (Default: process.title).",
                            "eolComment": "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/"
                    }
                    

                    Ich nehme an, dass die noch nicht geschriebenen Werte einfach im Ram bleiben. Welche Intervallzeit ist denn hier empfohlen oder was sollte maximal eingestellt werden.
                    Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                    paul53P Offline
                    paul53P Offline
                    paul53
                    wrote on last edited by
                    #41

                    @rushmed sagte: Einfach bei Objects und States als neue Zeile mit rein also bspw. Zeile 27 und 53?

                    Ja.

                    @rushmed sagte in das leidige Thema "Stromausfall":

                    Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                    Ja.

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    R 1 Reply Last reply
                    0
                    • paul53P paul53

                      @rushmed sagte: Einfach bei Objects und States als neue Zeile mit rein also bspw. Zeile 27 und 53?

                      Ja.

                      @rushmed sagte in das leidige Thema "Stromausfall":

                      Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                      Ja.

                      R Offline
                      R Offline
                      Rushmed
                      Most Active
                      wrote on last edited by
                      #42

                      @paul53 Ok, danke und wie sein die Standardwerte?
                      Für die States steht oben 30000 ms und was ist es für die Objects?

                      paul53P 1 Reply Last reply
                      0
                      • R Rushmed

                        @paul53 Ok, danke und wie sein die Standardwerte?
                        Für die States steht oben 30000 ms und was ist es für die Objects?

                        paul53P Offline
                        paul53P Offline
                        paul53
                        wrote on last edited by
                        #43

                        @rushmed sagte: was ist es für die Objects?

                        5000 ms.

                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                        R 1 Reply Last reply
                        0
                        • paul53P paul53

                          @rushmed sagte: was ist es für die Objects?

                          5000 ms.

                          R Offline
                          R Offline
                          Rushmed
                          Most Active
                          wrote on last edited by
                          #44

                          @paul53 Danke!
                          Für mich zum Verständnis, die States enthält die Datenpunkte und doe Objects enthält die Werte, oder?

                          HomoranH paul53P 2 Replies Last reply
                          0
                          • R Rushmed

                            @paul53 Danke!
                            Für mich zum Verständnis, die States enthält die Datenpunkte und doe Objects enthält die Werte, oder?

                            HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by
                            #45

                            @rushmed sagte in das leidige Thema "Stromausfall":

                            @paul53 Danke!
                            Für mich zum Verständnis, die States enthält die Datenpunkte und doe Objects enthält die Werte, oder?

                            anders herum

                            kein Support per PN! - Fragen im Forum stellen -
                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Reply Last reply
                            1
                            • R Rushmed

                              @paul53 Danke!
                              Für mich zum Verständnis, die States enthält die Datenpunkte und doe Objects enthält die Werte, oder?

                              paul53P Offline
                              paul53P Offline
                              paul53
                              wrote on last edited by
                              #46

                              @rushmed sagte: die States enthält die Datenpunkte und doe Objects enthält die Werte, oder?

                              Umgekehrt: States enthält die dynamischen Zustände und Objects enthält die statischen Objekte.

                              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                              1 Reply Last reply
                              1
                              • R Rushmed

                                Ich hab noch ne Frage zu writeFileInterval. Wo genau packe ich das in der iobroker.json hin wenn es noch nicht da ist? Einfach bei Objects und States als neue Zeile mit rein also bspw. Zeile 27 und 53?

                                {
                                  "system": {
                                    "memoryLimitMB": 0,
                                    "hostname": "",
                                    "statisticsInterval": 15000,
                                    "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
                                    "checkDiskInterval": 300000,
                                    "checkDiskIntervalComment": "Interval how often the disk size will be checked",
                                    "noChmod": false,
                                    "instanceStartInterval": 2000,
                                    "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                                    "compact": false,
                                    "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in io-package.json",
                                    "allowShellCommands": false,
                                    "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands"
                                  },
                                  "multihostService": {
                                    "enabled": false,
                                    "secure": true
                                  },
                                  "network": {
                                    "IPv4": true,
                                    "IPv6": true,
                                    "bindAddress": null
                                  },
                                  "objects": {
                                    "type": "file",
                                    "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                    "host": "127.0.0.1",
                                    "port": 9001,
                                    "user": "",
                                    "pass": "",
                                    "noFileCache": false,
                                    "connectTimeout": 2000,
                                    "options": {
                                      "auth_pass": null,
                                      "retry_max_delay": 5000
                                    },
                                    "backup": {
                                      "disabled": false,
                                      "files": 24,
                                      "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                      "hours": 48,
                                      "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                      "period": 120,
                                      "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                      "path": "",
                                      "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                    },
                                    "dataDir": "../../iobroker-data/"
                                  },
                                  "states": {
                                    "type": "file",
                                    "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                    "host": "127.0.0.1",
                                    "port": 9000,
                                    "maxQueue": 1000,
                                    "user": "",
                                    "pass": "",
                                    "connectTimeout": 2000,
                                    "options": {
                                      "auth_pass": null,
                                      "retry_max_delay": 5000
                                    },
                                    "backup": {
                                      "disabled": false,
                                      "files": 24,
                                      "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                      "hours": 48,
                                      "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                      "period": 120,
                                      "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                      "path": "",
                                      "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                    },
                                    "dataDir": "../../iobroker-data/"
                                  },
                                  "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",
                                        "hostComment": "The host running syslogd, defaults to localhost.",
                                        "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                        "protocol": "udp4",
                                        "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                        "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                        "facilityComment": "Syslog facility to use (Default: local0).",
                                        "localhost": "iobroker",
                                        "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                                        "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                                        "app_nameComment": "The name of the application (Default: process.title).",
                                        "eolComment": "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/"
                                }
                                

                                Ich nehme an, dass die noch nicht geschriebenen Werte einfach im Ram bleiben. Welche Intervallzeit ist denn hier empfohlen oder was sollte maximal eingestellt werden.
                                Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                                R Offline
                                R Offline
                                Rushmed
                                Most Active
                                wrote on last edited by
                                #47

                                @rushmed sagte in das leidige Thema "Stromausfall":

                                Welche Intervallzeit ist denn hier empfohlen oder was sollte maximal eingestellt werden.
                                Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                                Kann das noch jemand beantworten?

                                HomoranH 1 Reply Last reply
                                0
                                • R Rushmed

                                  @rushmed sagte in das leidige Thema "Stromausfall":

                                  Welche Intervallzeit ist denn hier empfohlen oder was sollte maximal eingestellt werden.
                                  Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                                  Kann das noch jemand beantworten?

                                  HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #48

                                  @rushmed sagte in das leidige Thema "Stromausfall":

                                  Kann das noch jemand beantworten?

                                  Noch jemand?

                                  @paul53 sagte in das leidige Thema "Stromausfall":

                                  kann z.B. die Schreibfrequenz für die states.json vorgegeben werden: "writeFileInterval": 300000 (5 Minuten).

                                  @paul53 sagte in das leidige Thema "Stromausfall":

                                  @rushmed sagte in das leidige Thema "Stromausfall":

                                  Schreibt der ioBroker die Files bei "iobroker stop" unabhängig vom Intervall?

                                  Ja.

                                  kein Support per PN! - Fragen im Forum stellen -
                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  1 Reply Last reply
                                  0
                                  • OliverIOO OliverIO

                                    @heimweh

                                    Das Risiko der Beschädigung einer Datei oder gar des ganzen System bei Strom weg ist im speziellen bei sd Karten gegeben, da diese im Gegensatz zu ssd Festplatten keine eigenen kondensatoren haben die noch genug Strom haben um zumindest den Cache noch zu schreiben.
                                    Da bei sd/ssd immer größere Blocks geschrieben werden, die auch mal größer wie eine Datei sein kann ist, wenn das nicht abgeschlossen werden kann, die Datei oder das ganze Datei System hinüber. Manchmal kann das repariert werden aber nicht immer.
                                    Wenn du eine sd Karte gegen eine ssd tauschst dann minimierst du das Risiko noch weiter.

                                    Ganz ausschließen kann man das Risiko aber bei keinem Speichermedium. Mit einer usv hat man zumindest aber auch noch genügend Strom um eine ganze applikation und das Betriebssystem ordentlich herunterzufahren.

                                    HeimwehH Offline
                                    HeimwehH Offline
                                    Heimweh
                                    wrote on last edited by
                                    #49

                                    @oliverio ich habe auch eine SSD im NUC. Das krasse ist - bisher ist in JEDEM Fall passiert das eine der beiden Dateien zerschossen war... Ich bin gerade am recherchieren was für eine USV ich mir anschaffen werde. Am liebsten eine die auch einbindbar ist - um dann zB im Falle eines Stromausfalls das System kontrolliert runterfahren kann. (das würde ja mit den Proxmox Modulen umsetzbar sein)

                                    HomoranH 1 Reply Last reply
                                    0
                                    • HeimwehH Heimweh

                                      @oliverio ich habe auch eine SSD im NUC. Das krasse ist - bisher ist in JEDEM Fall passiert das eine der beiden Dateien zerschossen war... Ich bin gerade am recherchieren was für eine USV ich mir anschaffen werde. Am liebsten eine die auch einbindbar ist - um dann zB im Falle eines Stromausfalls das System kontrolliert runterfahren kann. (das würde ja mit den Proxmox Modulen umsetzbar sein)

                                      HomoranH Do not disturb
                                      HomoranH Do not disturb
                                      Homoran
                                      Global Moderator Administrators
                                      wrote on last edited by
                                      #50

                                      @heimweh sagte in das leidige Thema "Stromausfall":

                                      was für eine USV ich mir anschaffen werde. Am liebsten eine die auch einbindbar ist

                                      UPS_APC_700.png

                                      Das ist zwar keine Riesen UPS, kostet knapp 100€.
                                      ich habe davon 2 Stück eingebunden

                                      Für ein ganz paar kleine Rechnerchen hält sie aber auch etwa 1h

                                      kein Support per PN! - Fragen im Forum stellen -
                                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                      HeimwehH 1 Reply Last reply
                                      0
                                      • HomoranH Homoran

                                        @heimweh sagte in das leidige Thema "Stromausfall":

                                        was für eine USV ich mir anschaffen werde. Am liebsten eine die auch einbindbar ist

                                        UPS_APC_700.png

                                        Das ist zwar keine Riesen UPS, kostet knapp 100€.
                                        ich habe davon 2 Stück eingebunden

                                        Für ein ganz paar kleine Rechnerchen hält sie aber auch etwa 1h

                                        HeimwehH Offline
                                        HeimwehH Offline
                                        Heimweh
                                        wrote on last edited by
                                        #51

                                        @homoran interessant! Vielen Dank! Und ich nehme an mit dem NUT Adapter hast Du die eingebunden? Wie genau heißt das Modell denn? Ich würde maximal den NUC und die Fritzbox ranhängen - dann kann ich mir im Ernstfall auch noch eine Nachricht schicken lassen das der Strom ausgefallen ist

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • HeimwehH Heimweh

                                          @homoran interessant! Vielen Dank! Und ich nehme an mit dem NUT Adapter hast Du die eingebunden? Wie genau heißt das Modell denn? Ich würde maximal den NUC und die Fritzbox ranhängen - dann kann ich mir im Ernstfall auch noch eine Nachricht schicken lassen das der Strom ausgefallen ist

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by
                                          #52

                                          @heimweh sagte in das leidige Thema "Stromausfall":

                                          dann kann ich mir im Ernstfall auch noch eine Nachricht schicken lassen das der Strom ausgefallen ist

                                          Aber nur wenn nicht das ganze Dorf inkl. Internet-Infrastruktur ohne Saft ist.

                                          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

                                          HeimwehH HomoranH 2 Replies 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

                                          728

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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