Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Datei iobroker.json gelöscht

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    354

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.9k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    797

Datei iobroker.json gelöscht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
12 Beiträge 3 Kommentatoren 877 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • B Offline
    B Offline
    BruR1250
    schrieb am zuletzt editiert von Negalein
    #2

    Hallo
    Ich versucht den Iobroker neu zu installieren , aber dann kommt auch die Fehlermeldung das die Datei ioboker.json fehlt :

    Error: /opt/iobroker/iobroker-data/iobroker.json: ENOENT: no such file or direct                                                                                                                                                         ory, open '/opt/iobroker/iobroker-data/iobroker.json'
        at Object.openSync (fs.js:497:3)
        at Object.readFileSync (fs.js:393:35)
        at Object.readFileSync (/opt/iobroker/node_modules/jsonfile/index.js:50:22)
        at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js                                                                                                                                                         :2724:23)
        at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/set                                                                                                                                                         up.js:1095:13)
        at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-con                                                                                                                                                         troller/lib/setup.js:2912:5)
        at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iob                                                                                                                                                         roker.js:1:24)
        at Module._compile (internal/modules/cjs/loader.js:1085:14)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        at Module.load (internal/modules/cjs/loader.js:950:32) {
      errno: -2,
      syscall: 'open',
      code: 'ENOENT',
      path: '/opt/iobroker/iobroker-data/iobroker.json'
    }
    

    Gruß
    Heinz


    Mod-Edit: Code in </> Code-Tag gepackt!

    1 Antwort Letzte Antwort
    0
    • B Offline
      B Offline
      BruR1250
      schrieb am zuletzt editiert von
      #3

      Hallo
      Ich habe nochmal iobroker installiert . Jetzt ist eine leere Datei iobroker.json vorhanden aber mein Iobroker läuft nicht . Bei Eingabe von " iobroker list instances " erscheint folgendes:

      code_textSyntaxError: /opt/iobroker/iobroker-data/iobroker.json: Unexpected end of JSON input
          at JSON.parse (<anonymous>)
          at Object.readFileSync (/opt/iobroker/node_modules/jsonfile/index.js:52:17)
          at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2724:23)
          at CLIProcess.setAdapterEnabled (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:102:9)
          at CLIProcess.start (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:39:18)
          at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:413:33)
          at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2912:5)
          at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
          at Module._compile (internal/modules/cjs/loader.js:1085:14)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
      
      

      Gruß
      Heinz

      Thomas BraunT paul53P 2 Antworten Letzte Antwort
      0
      • B BruR1250

        Hallo
        Ich habe nochmal iobroker installiert . Jetzt ist eine leere Datei iobroker.json vorhanden aber mein Iobroker läuft nicht . Bei Eingabe von " iobroker list instances " erscheint folgendes:

        code_textSyntaxError: /opt/iobroker/iobroker-data/iobroker.json: Unexpected end of JSON input
            at JSON.parse (<anonymous>)
            at Object.readFileSync (/opt/iobroker/node_modules/jsonfile/index.js:52:17)
            at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2724:23)
            at CLIProcess.setAdapterEnabled (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:102:9)
            at CLIProcess.start (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:39:18)
            at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:413:33)
            at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2912:5)
            at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
            at Module._compile (internal/modules/cjs/loader.js:1085:14)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        
        

        Gruß
        Heinz

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #4

        @brur1250 sagte in Datei iobroker.json gelöscht:

        Ich habe nochmal iobroker installiert

        Wie genau?

        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 Antwort Letzte Antwort
        0
        • B Offline
          B Offline
          BruR1250
          schrieb am zuletzt editiert von
          #5

          Hallo
          Mit dem Befehl : curl -sLf https://iobroker.net/install.sh | bash - wurde iobroker installiert . Am Ende der Installation auch die Meldung Installation successful und Start über Http möglich . Aber der Iobroker läuft nicht

          Gruß
          Heinz

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • B BruR1250

            Hallo
            Mit dem Befehl : curl -sLf https://iobroker.net/install.sh | bash - wurde iobroker installiert . Am Ende der Installation auch die Meldung Installation successful und Start über Http möglich . Aber der Iobroker läuft nicht

            Gruß
            Heinz

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #6

            @brur1250

            Das bringt so nix.

            iobroker stop
            iobroker fix
            

            mal versucht?

            Wenn das nicht funktioniert:

            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            

            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

            B 1 Antwort Letzte Antwort
            0
            • B BruR1250

              Hallo
              Ich habe nochmal iobroker installiert . Jetzt ist eine leere Datei iobroker.json vorhanden aber mein Iobroker läuft nicht . Bei Eingabe von " iobroker list instances " erscheint folgendes:

              code_textSyntaxError: /opt/iobroker/iobroker-data/iobroker.json: Unexpected end of JSON input
                  at JSON.parse (<anonymous>)
                  at Object.readFileSync (/opt/iobroker/node_modules/jsonfile/index.js:52:17)
                  at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2724:23)
                  at CLIProcess.setAdapterEnabled (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:102:9)
                  at CLIProcess.start (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:39:18)
                  at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:413:33)
                  at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2912:5)
                  at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
                  at Module._compile (internal/modules/cjs/loader.js:1085:14)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
              
              

              Gruß
              Heinz

              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von paul53
              #7

              @brur1250 sagte: Jetzt ist eine leere Datei iobroker.json vorhanden

              Kopiere den folgenden Inhalt (ist eine Kopie von Github) in die leere Datei iobroker.json:

              {
                  "system": {
                      "memoryLimitMB": 0,
                      "hostname": "",
                      "statisticsInterval": 15000,
                      "// statisticsInterval": "Interval how often the counters for input/output in adapters and controller will be updated",
                      "checkDiskInterval": 300000,
                      "// checkDiskInterval": "Interval how often the disk size will be checked",
                      "instanceStartInterval": 2000,
                      "// noChmod": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                      "compact": false,
                      "// compact": "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,
                      "// allowShellCommands": "Allow execution of \"shell\" sendToHost commands",
                      "memLimitWarn": 100,
                      "// memLimitWarn": "If the available RAM is below this threshold on adapter start, a warning will be logged.",
                      "memLimitError": 50,
                      "// memLimitError": "If the available RAM is below this threshold on adapter start, an error will be logged."
                  },
                  "multihostService": {
                      "enabled": false,
                      "secure": true,
                      "password":  ""
                  },
                  "objects" : {
                      "type": "file",
                      "// type": "Possible values: 'file' - [port 9001], redis - [port 6379 or 26379 for sentinel].",
                      "host": "127.0.0.1",
                      "port": 9001,
                      "noFileCache": false,
                      "maxQueue": 1000,
                      "connectTimeout": 2000,
                      "writeFileInterval": 5000,
                      "dataDir": "",
                      "options": {
                          "auth_pass": null,
                          "retry_max_delay": 5000,
                          "retry_max_count": 19,
                          "db": 0,
                          "family": 0
                      },
                      "backup": {
                          "disabled": false,
                          "files": 24,
                          "// files": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                          "hours": 48,
                          "// hours": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                          "period": 120,
                          "// period": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                          "path": "",
                          "// path": "Absolute path to backup directory or empty to backup in data directory"
                      },
                      "jsonlOptions": {
                          "// autoCompress (1)": "The JSONL DB is append-only and will contain unnecessary entries after a while.",
                          "// autoCompress (2)": "It will be compressed when the uncompressed size is >= size * sizeFactor AND >= sizeFactorMinimumSize",
                          "// autoCompress (3)": "Note that too low values here will cause the DB to be rewritten often.",
                          "autoCompress": {
                              "sizeFactor": 2,
                              "sizeFactorMinimumSize": 25000
                          },
                          "// ignoreReadErrors": "If single lines in the DB are corrupted, they can be ignored without losing the whole DB.",
                          "ignoreReadErrors": true,
                          "// throttleFS (1)": "By default, the database immediately writes to the database file. Write accesses can be reduced using the throttleFS option.",
                          "// throttleFS (2)": "Be aware that buffered changes will be lost in case the process crashes.",
                          "throttleFS": {
                              "// intervalMs": "Write to the database file no more than every intervalMs milliseconds.",
                              "intervalMs": 60000,
                              "// maxBufferedCommands": "Force writing after this many changes have been buffered. This reduces memory consumption and data loss in case of a crash.",
                              "maxBufferedCommands": 100
                          }
                      }
                  },
                  "states" : {
                      "type": "file",
                      "// type": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                      "host": "127.0.0.1",
                      "port": 9000,
                      "connectTimeout": 2000,
                      "writeFileInterval": 30000,
                      "dataDir": "",
                      "options": {
                          "auth_pass": null,
                          "retry_max_delay": 5000,
                          "retry_max_count": 19,
                          "db": 0,
                          "family": 0
                      },
                      "backup": {
                          "disabled": false,
                          "files": 24,
                          "// files": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                          "hours": 48,
                          "// hoursC": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                          "period": 120,
                          "// period": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                          "path": "",
                          "// path": "Absolute path to backup directory or empty to backup in data directory"
                      },
                      "jsonlOptions": {
                          "// autoCompress (1)": "The JSONL DB is append-only and will contain unnecessary entries after a while.",
                          "// autoCompress (2)": "It will be compressed when the uncompressed size is >= size * sizeFactor AND >= sizeFactorMinimumSize",
                          "// autoCompress (3)": "Note that too low values here will cause the DB to be rewritten often.",
                          "autoCompress": {
                              "sizeFactor": 10,
                              "sizeFactorMinimumSize": 50000
                          },
                          "// ignoreReadErrors": "If single lines in the DB are corrupted, they can be ignored without losing the whole DB.",
                          "ignoreReadErrors": true,
                          "// throttleFS (1)": "By default, the database immediately writes to the database file. Write accesses can be reduced using the throttleFS option.",
                          "// throttleFS (2)": "Be aware that buffered changes will be lost in case the process crashes.",
                          "throttleFS": {
                              "// intervalMs": "Write to the database file no more than every intervalMs milliseconds.",
                              "intervalMs": 60000,
                              "// maxBufferedCommands": "Force writing after this many changes have been buffered. This reduces memory consumption and data loss in case of a crash.",
                              "maxBufferedCommands": 2000
                          }
                      }
                  },
                  "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": "The host running syslogd, defaults to localhost.",
              
                              "// port": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                              "protocol": "udp4",
                              "// protocolC": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
              
                              "// path": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                              "// facility": "Syslog facility to use (Default: local0).",
                              "localhost": "iobroker",
                              "// localhost": "Host to indicate that log messages are coming from (Default: localhost).",
                              "// sysLogType": "The type of the syslog protocol to use (Default: BSD).",
                              "// app_name": "The name of the application (Default: process.title).",
                              "// eol": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                          },
                          "seq1": {
                              "type": "seq",
                              "enabled": false,
                              "serverUrl": "http://IP:PORT",
                              "// serverUrl": "The http(s) URL including port of the seq server. If you use HTTPS a real certificate is needed; self signed certs are ot accepted.",
                              "apiKey": "",
                              "// apiKey": "The apiKey of the seq system"
                          }
                      }
                  },
                  "// dataDir": "Always relative to iobroker.js-controller/",
                  "plugins": {
              
                  }
              }
              

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: Asus PN 42 / N100 / 8 GB / 500 GB

              B 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @brur1250

                Das bringt so nix.

                iobroker stop
                iobroker fix
                

                mal versucht?

                Wenn das nicht funktioniert:

                cd /opt/iobroker
                sudo -H -u iobroker npm install iobroker.js-controller
                
                B Offline
                B Offline
                BruR1250
                schrieb am zuletzt editiert von
                #8

                @thomas-braun said in Datei iobroker.json gelöscht:

                sudo -H -u iobroker npm install iobroker.js-controller
                Iobroker fix hat nichts gebracht nach sudo -H -u iobroker npm install iobroker.js-controller kam das hier

                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! iobroker.js-controller@3.3.22 install: `node iobroker.js setup first`
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the iobroker.js-controller@3.3.22 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-02-02T14_02_31_316Z-debug.log
                
                

                Gruß
                Heinz

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • B BruR1250

                  @thomas-braun said in Datei iobroker.json gelöscht:

                  sudo -H -u iobroker npm install iobroker.js-controller
                  Iobroker fix hat nichts gebracht nach sudo -H -u iobroker npm install iobroker.js-controller kam das hier

                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                  
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! iobroker.js-controller@3.3.22 install: `node iobroker.js setup first`
                  npm ERR! Exit status 1
                  npm ERR!
                  npm ERR! Failed at the iobroker.js-controller@3.3.22 install script.
                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2022-02-02T14_02_31_316Z-debug.log
                  
                  

                  Gruß
                  Heinz

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #9

                  @brur1250

                  Ich denke da ist auch noch mehr kaputt. Mal den Vorschlag von @paul53 umgesetzt?

                  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 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @brur1250 sagte: Jetzt ist eine leere Datei iobroker.json vorhanden

                    Kopiere den folgenden Inhalt (ist eine Kopie von Github) in die leere Datei iobroker.json:

                    {
                        "system": {
                            "memoryLimitMB": 0,
                            "hostname": "",
                            "statisticsInterval": 15000,
                            "// statisticsInterval": "Interval how often the counters for input/output in adapters and controller will be updated",
                            "checkDiskInterval": 300000,
                            "// checkDiskInterval": "Interval how often the disk size will be checked",
                            "instanceStartInterval": 2000,
                            "// noChmod": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                            "compact": false,
                            "// compact": "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,
                            "// allowShellCommands": "Allow execution of \"shell\" sendToHost commands",
                            "memLimitWarn": 100,
                            "// memLimitWarn": "If the available RAM is below this threshold on adapter start, a warning will be logged.",
                            "memLimitError": 50,
                            "// memLimitError": "If the available RAM is below this threshold on adapter start, an error will be logged."
                        },
                        "multihostService": {
                            "enabled": false,
                            "secure": true,
                            "password":  ""
                        },
                        "objects" : {
                            "type": "file",
                            "// type": "Possible values: 'file' - [port 9001], redis - [port 6379 or 26379 for sentinel].",
                            "host": "127.0.0.1",
                            "port": 9001,
                            "noFileCache": false,
                            "maxQueue": 1000,
                            "connectTimeout": 2000,
                            "writeFileInterval": 5000,
                            "dataDir": "",
                            "options": {
                                "auth_pass": null,
                                "retry_max_delay": 5000,
                                "retry_max_count": 19,
                                "db": 0,
                                "family": 0
                            },
                            "backup": {
                                "disabled": false,
                                "files": 24,
                                "// files": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                "hours": 48,
                                "// hours": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                "period": 120,
                                "// period": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                "path": "",
                                "// path": "Absolute path to backup directory or empty to backup in data directory"
                            },
                            "jsonlOptions": {
                                "// autoCompress (1)": "The JSONL DB is append-only and will contain unnecessary entries after a while.",
                                "// autoCompress (2)": "It will be compressed when the uncompressed size is >= size * sizeFactor AND >= sizeFactorMinimumSize",
                                "// autoCompress (3)": "Note that too low values here will cause the DB to be rewritten often.",
                                "autoCompress": {
                                    "sizeFactor": 2,
                                    "sizeFactorMinimumSize": 25000
                                },
                                "// ignoreReadErrors": "If single lines in the DB are corrupted, they can be ignored without losing the whole DB.",
                                "ignoreReadErrors": true,
                                "// throttleFS (1)": "By default, the database immediately writes to the database file. Write accesses can be reduced using the throttleFS option.",
                                "// throttleFS (2)": "Be aware that buffered changes will be lost in case the process crashes.",
                                "throttleFS": {
                                    "// intervalMs": "Write to the database file no more than every intervalMs milliseconds.",
                                    "intervalMs": 60000,
                                    "// maxBufferedCommands": "Force writing after this many changes have been buffered. This reduces memory consumption and data loss in case of a crash.",
                                    "maxBufferedCommands": 100
                                }
                            }
                        },
                        "states" : {
                            "type": "file",
                            "// type": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                            "host": "127.0.0.1",
                            "port": 9000,
                            "connectTimeout": 2000,
                            "writeFileInterval": 30000,
                            "dataDir": "",
                            "options": {
                                "auth_pass": null,
                                "retry_max_delay": 5000,
                                "retry_max_count": 19,
                                "db": 0,
                                "family": 0
                            },
                            "backup": {
                                "disabled": false,
                                "files": 24,
                                "// files": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                "hours": 48,
                                "// hoursC": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                "period": 120,
                                "// period": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                "path": "",
                                "// path": "Absolute path to backup directory or empty to backup in data directory"
                            },
                            "jsonlOptions": {
                                "// autoCompress (1)": "The JSONL DB is append-only and will contain unnecessary entries after a while.",
                                "// autoCompress (2)": "It will be compressed when the uncompressed size is >= size * sizeFactor AND >= sizeFactorMinimumSize",
                                "// autoCompress (3)": "Note that too low values here will cause the DB to be rewritten often.",
                                "autoCompress": {
                                    "sizeFactor": 10,
                                    "sizeFactorMinimumSize": 50000
                                },
                                "// ignoreReadErrors": "If single lines in the DB are corrupted, they can be ignored without losing the whole DB.",
                                "ignoreReadErrors": true,
                                "// throttleFS (1)": "By default, the database immediately writes to the database file. Write accesses can be reduced using the throttleFS option.",
                                "// throttleFS (2)": "Be aware that buffered changes will be lost in case the process crashes.",
                                "throttleFS": {
                                    "// intervalMs": "Write to the database file no more than every intervalMs milliseconds.",
                                    "intervalMs": 60000,
                                    "// maxBufferedCommands": "Force writing after this many changes have been buffered. This reduces memory consumption and data loss in case of a crash.",
                                    "maxBufferedCommands": 2000
                                }
                            }
                        },
                        "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": "The host running syslogd, defaults to localhost.",
                    
                                    "// port": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                    "protocol": "udp4",
                                    "// protocolC": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                    
                                    "// path": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                    "// facility": "Syslog facility to use (Default: local0).",
                                    "localhost": "iobroker",
                                    "// localhost": "Host to indicate that log messages are coming from (Default: localhost).",
                                    "// sysLogType": "The type of the syslog protocol to use (Default: BSD).",
                                    "// app_name": "The name of the application (Default: process.title).",
                                    "// eol": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                },
                                "seq1": {
                                    "type": "seq",
                                    "enabled": false,
                                    "serverUrl": "http://IP:PORT",
                                    "// serverUrl": "The http(s) URL including port of the seq server. If you use HTTPS a real certificate is needed; self signed certs are ot accepted.",
                                    "apiKey": "",
                                    "// apiKey": "The apiKey of the seq system"
                                }
                            }
                        },
                        "// dataDir": "Always relative to iobroker.js-controller/",
                        "plugins": {
                    
                        }
                    }
                    
                    B Offline
                    B Offline
                    BruR1250
                    schrieb am zuletzt editiert von
                    #10

                    @paul53 Hallo , ich habe das in die Datei geschrieben , danach keine Fehlermeldung mehr von "iobroker.json" aber Weboberfläche startet nicht

                    c instance is alive
                    pi@raspberrypi:/opt/iobroker $
                    pi@raspberrypi:/opt/iobroker $ iobroker start admin
                    Cannot find any instances of "admin"!
                    pi@raspberrypi:/opt/iobroker $ iobroker set admin.0 --port 8081
                    The instance "admin.0" does not exist!
                    pi@raspberrypi:/opt/iobroker $
                    
                    

                    Wahrscheinlich geht es schneller alles neu zu installieren als stundenlang zu suchen . Backup ist ja täglich gemacht worden und dann üben wir das mit der Installation

                    Gruß
                    Heinz

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • B BruR1250

                      @paul53 Hallo , ich habe das in die Datei geschrieben , danach keine Fehlermeldung mehr von "iobroker.json" aber Weboberfläche startet nicht

                      c instance is alive
                      pi@raspberrypi:/opt/iobroker $
                      pi@raspberrypi:/opt/iobroker $ iobroker start admin
                      Cannot find any instances of "admin"!
                      pi@raspberrypi:/opt/iobroker $ iobroker set admin.0 --port 8081
                      The instance "admin.0" does not exist!
                      pi@raspberrypi:/opt/iobroker $
                      
                      

                      Wahrscheinlich geht es schneller alles neu zu installieren als stundenlang zu suchen . Backup ist ja täglich gemacht worden und dann üben wir das mit der Installation

                      Gruß
                      Heinz

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #11

                      @brur1250

                      iobroker list adapter
                      iobroker list instances
                      

                      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

                      B 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @brur1250

                        iobroker list adapter
                        iobroker list instances
                        
                        B Offline
                        B Offline
                        BruR1250
                        schrieb am zuletzt editiert von
                        #12

                        @thomas-braun Danke für Eure Bemühungen . Da gab es Probleme reichlich so das ich die SD Karte mal eben neu gemacht habe und alles neu eingegeben ( Restore)
                        Jetzt läuft alles wieder

                        Gruß
                        Heinz

                        1 Antwort Letzte Antwort
                        0

                        Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                        Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                        Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                        Registrieren Anmelden
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

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

                        350

                        Online

                        32.9k

                        Benutzer

                        83.0k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe