Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller Update schlägt immer fehl

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    js-controller Update schlägt immer fehl

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pjo123456 last edited by pjo123456

      Moin!

      Jedes Update des js-controllers schlägt bei mir fehl und endet immer beim Backup zurückspielen. Was läuft bei mir immer falsch? Hier mal das Log:

      
      pi@iobroker-master:~ $ iobroker stop
      pi@iobroker-master:~ $ iobroker update
      Used repository: Stable (default)
      hash unchanged, use cached sources
      update done
      Adapter    "admin"         : 5.3.4    , installed 5.1.25 [Updateable]
      Adapter    "backitup"      : 2.3.3    , installed 2.3.3
      Adapter    "ble"           : 0.12.0   , installed 0.12.0
      Adapter    "chromecast"    : 2.3.1    , installed 2.3.1
      Adapter    "discovery"     : 2.8.0    , installed 2.8.0
      Adapter    "email"         : 1.0.10   , installed 1.0.10
      Adapter    "flot"          : 1.10.7   , installed 1.10.7
      Adapter    "fritzbox"      : 0.2.1    , installed 0.2.1
      Adapter    "fritzdect"     : 2.2.3    , installed 2.2.3
      Adapter    "history"       : 1.10.5   , installed 1.10.5
      Adapter    "ical"          : 1.11.4   , installed 1.11.0 [Updateable]
      Adapter    "icons-icons8"  : 0.0.1    , installed 0.0.1
      Adapter    "icons-material-png": 0.1.0   , installed 0.1.0
      Adapter    "icons-material-svg": 0.1.0   , installed 0.1.0
      Adapter    "info"          : 1.9.8    , installed 1.9.8
      Adapter    "javascript"    : 5.2.21   , installed 5.2.21
      Controller "js-controller" : 4.0.21   , installed 3.3.21 [Updateable]
      Adapter    "mqtt"          : 2.4.1    , installed 2.4.1
      Adapter    "ping"          : 1.5.3    , installed 1.5.3
      Adapter    "rpi2"          : 1.3.2    , installed 1.3.2
      Adapter    "sayit"         : 1.12.3   , installed 1.12.3
      Adapter    "simple-api"    : 2.6.2    , installed 2.6.4
      Adapter    "socketio"      : 4.1.4    , installed 4.2.0
      Adapter    "telegram"      : 1.11.1   , installed 1.11.1
      Adapter    "vis"           : 1.4.5    , installed 1.4.5
      Adapter    "vis-hqwidgets" : 1.1.9    , installed 1.1.9
      Adapter    "vis-justgage"  : 1.0.2    , installed 1.0.2
      Adapter    "vis-rgraph"    : 0.0.2    , installed 0.0.2
      Adapter    "web"           : 4.2.0    , installed 4.2.0
      Adapter    "ws"            : 1.2.0    , installed 1.3.0
      pi@iobroker-master:~ $ iobroker upgrade self
      Update js-controller from @3.3.21 to @4.0.21
      NPM version: 6.14.15
      npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (                                       System call)
      In file included from ../../nan/nan.h:58,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:787:7: warning: cast between incompatibl                                       e function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (                                       *)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
        787 |       (node::addon_register_func) (regfunc),                          \
            |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:821:3: note: in expansion of macro ‘NODE                                       _MODULE_X’
        821 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
            |   ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
        404 | NODE_MODULE(unix_dgram, Initialize)
            | ^~~~~~~~~~~
      Server Objects 127.0.0.1:53082 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=                                       ["meta.objects.features.useSets"]
      Server Objects 127.0.0.1:53082 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=                                       ["meta.objects.protocolVersion"]
      Server States 127.0.0.1:42032 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=                                       ["meta.states.protocolVersion"]
      Server States 127.0.0.1:42034 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.                                       : Data=["meta.*"]
      Server Cannot save Dataset to /opt/iobroker/node_modules/iobroker.js-controller/f/objects.json.new:                                        ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/f/objec                                       ts.json.new'
      Server Cannot save backup /opt/iobroker/node_modules/iobroker.js-controller/f/backup-objects/2022-0                                       3-31_04-10_objects.json.gz: ENOENT: no such file or directory, scandir '/opt/iobroker/node_modules/                                       iobroker.js-controller/f/backup-objects'
      Server Cannot save /opt/iobroker/node_modules/iobroker.js-controller/f/objects.json: Error: ENOENT:                                        no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/f/backup-object                                       s/2022-03-31_04-10_objects.json.gz'
      Server Cannot save Dataset to /opt/iobroker/node_modules/iobroker.js-controller/f/states.json.new:                                        ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/f/states                                       .json.new'
      Server Cannot save Dataset to /opt/iobroker/node_modules/iobroker.js-controller/f/states.json.new:                                        ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/f/states                                       .json.new'
      
      
      pi@iobroker-master:~ $ iobroker status
       Cannot read system.config: null (OK when migrating or restoring)
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      

      Kann mir da mal jemand auf die Sprünge helfen? Ich habe ein Multihostsystem. Mit dem Update habe ich beim Master angefangen.

      mfg pjo12345

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Schaumal in deine /opt/iobroekr/iobroker-data/iobroker.json was da bei "dataDir" bzw ... wo liegen denn bei dir die state.json?

        Da ist irgendwas mega komisch mit Pfaden

        P 1 Reply Last reply Reply Quote 0
        • P
          pjo123456 @apollon77 last edited by

          @apollon77
          Also nach dem Updateversuch ist admin nicht mehr erreichbar. Die state.jjson finde ich in: /opt/iobroker/iobroker-data und dort auch eine state.json.bak.
          Wenn ich in der /opt/iobroekr/iobroker-data/iobroker.json nachsehe, dann finde ich dataDir mehrmals. Hier mal der Inhalt:

          {
            "system": {
              "memoryLimitMB": 0,
              "hostname": "",
              "statisticsInterval": 15000,
              "checkDiskInterval": 300000
            },
            "multihostService": {
              "enabled": false,
              "secure": true,
              "password": "$/aes-192-cbc:28a379506c10d56d6f67db5c2290f15d:37ee00d646c76cc95210975ac782ff1d",
              "persist": false
            },
            "network": {
              "IPv4": true,
              "IPv6": true,
              "bindAddress": null,
              "useSystemNpm": true
            },
            "objects": {
              "type": "jsonl",
              "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984>
              "host": "0.0.0.0",
              "port": 9001,
              "user": "",
              "pass": "",
              "noFileCache": false,
              "connectTimeout": 2000,
              "dataDir": "f",
              "options": {
                "auth_pass": null,
                "enableReadyCheck": true,
                "host": "0.0.0.0",
                "port": 9001,
                "db": 0,
                "family": 0,
                "password": null,
                "autoResubscribe": false,
                "connectionName": "host.iobroker-master",
                "retry_max_delay": 5000
              },
              "maxQueue": 1000
            },
            "states": {
              "type": "jsonl",
              "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
              "host": "0.0.0.0",
              "port": 9000,
              "maxQueue": 1000,
              "options": {
                "auth_pass": null,
                "enableReadyCheck": true,
                "host": "0.0.0.0",
                "port": 9000,
                "db": 0,
                "family": 0,
                "password": null,
                "autoResubscribe": false,
                "connectionName": "host.iobroker-master",
                "retry_max_delay": 5000
              },
              "dataDir": "f"
            },
            "log": {
              "level": "info",
              "maxDays": 7,
              "noStdout": true,
              "transport": {
                "file1": {
                  "type": "file",
                  "enabled": true,
                  "filename": "log/iobroker",
                  "fileext": ".log",
                  "maxsize": null,
                  "maxFiles": null
                },
                "syslog1": {
                  "type": "syslog",
                  "enabled": false,
                  "host": "localhost",
                  "host_comment": "The host running syslogd, defaults to localhost.",
                  "port_comment": "The port on the host that syslog is running on, defaults to syslogd's def>
                  "protocol": "udp4",
                  "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect>
                  "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for>
                  "facility_comment": "Syslog facility to use (Default: local0).",
           },
            "states": {
              "type": "jsonl",
              "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
              "host": "0.0.0.0",
              "port": 9000,
              "maxQueue": 1000,
              "options": {
                "auth_pass": null,
                "enableReadyCheck": true,
                "host": "0.0.0.0",
                "port": 9000,
                "db": 0,
                "family": 0,
                "password": null,
                "autoResubscribe": false,
                "connectionName": "host.iobroker-master",
                "retry_max_delay": 5000
              },
              "dataDir": "f"
            },
            "log": {
              "level": "info",
              "maxDays": 7,
              "noStdout": true,
              "transport": {
                "file1": {
                  "type": "file",
                  "enabled": true,
                  "filename": "log/iobroker",
                  "fileext": ".log",
                  "maxsize": null,
                  "maxFiles": null
                },
                "syslog1": {
                  "type": "syslog",
                  "enabled": false,
                  "host": "localhost",
                  "host_comment": "The host running syslogd, defaults to localhost.",
                  "port_comment": "The port on the host that syslog is running on, defaults to syslogd's def>
                  "protocol": "udp4",
                  "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect>
                  "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for>
                  "facility_comment": "Syslog facility to use (Default: local0).",
                  "localhost": "iobroker",
                  "localhost": "iobroker",
                  "localhost_comment": "Host to indicate that log messages are coming from (Default: localho>
                  "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                  "app_name_comment": "The name of the application (Default: process.title).",
                  "eol_comment": "The end of line character to be added to the end of the message (Default: >
                }
              }
            },
            "dataDirComment": "Always relative to iobroker.js-controller/",
            "dataDir": "../../iobroker-data/"
          }
          
          
          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @pjo123456 last edited by

            @pjo123456 sagte in js-controller Update schlägt immer fehl:

            "dataDir": "f"
            

            Das ist dein Fehler. Wie auch immer das da rein kommt. machs mal raus. Ist im "states" Sektion

            Dr. Bakterius 1 Reply Last reply Reply Quote 0
            • Dr. Bakterius
              Dr. Bakterius Most Active @apollon77 last edited by

              @pjo123456 - @apollon77 sagte in js-controller Update schlägt immer fehl:

              Ist im "states" Sektion

              Nicht nur dort!

              apollon77 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @Dr. Bakterius last edited by

                @dr-bakterius Ooohh stimmt ... hatte es in objects glatt übersehen

                P 1 Reply Last reply Reply Quote 0
                • P
                  pjo123456 @apollon77 last edited by

                  Im Moment komme ich gar nicht weiter. Da die Installation vom ioBroker ja nicht mehr funktionierte, habe ich den ioBroker per Installscript neu installiert. Ein Rückspielen des Backups funktioniert aber nicht. Das war aber auch schon immer so. Irgendwann irgendwie habe ich es dann hinbekommen. Aber im Moment geht gar nichts.
                  Wenn ich Restore übersTerminal mache, dann meckert ioBroker über die neue js-controller Version. Das Backup wurde mit einer älteren js-controller Version gemacht. Ich soll eine ältere Version installieren. Wenn ich das mache komme ich danach auch nicht mehr auf die Admin-Weboberfläche.
                  Ich bin mit meinem Latein am Ende. Vorschläge?

                  mfg pjo123456

                  crunchip 1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @pjo123456 last edited by

                    @pjo123456 sagte in js-controller Update schlägt immer fehl:

                    Ein Rückspielen des Backups funktioniert aber nicht. Das war aber auch schon immer so.

                    Weil und warum, mit welchen Fehlermeldungen?

                    @pjo123456 sagte in js-controller Update schlägt immer fehl:

                    Vorschläge?

                    wie ist denn der aktuell ist Stand?

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pjo123456 @crunchip last edited by

                      @crunchip Der aktuelle Stand ist, das gar nichts mehr funktioniert. Nach der Neuinstallation möchte ich das Backup zurückspielen. Dazu installiere ich den History und Javascript Adapter und konfiguriere den Backitup Adapter. Danach starte ich das Restore. Es startet und danach sehe ich nur einen drehenden bunten Kreis für Stunden. Admin ist nicht erreichbar.

                      Gibt es überhaupt eine Möglichkeit, nach einer Neuinstallation mit neuer js-controller und admin-version eine Backup zurückzuspielen mit einer niedrigeren admin und js-controller version?

                      apollon77 crunchip 2 Replies Last reply Reply Quote 0
                      • apollon77
                        apollon77 @pjo123456 last edited by

                        @pjo123456 also wenn Backup sagt das die Controller Version nicht passt dann bitte wie an sich in der Fehlermeldung gesagt das restore mit --force aufrufen dann wird das ignoriert.

                        Steht oben im ersten post und der faq im
                        Zweiten post beschrieben. Da steht auch wie du eine ältere Version direkt per npm installieren kannst.

                        Am besten bitte wirklich Screenshots Bzw bei console die Text Infos hier posten. Dann sieht man viel besser was wirklich los ist anstelle von Beschreibungen.

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pjo123456 @apollon77 last edited by pjo123456

                          @apollon77 Moin!

                          Mit --force hatte ich es auch probiert. Nach ca. 20 Versuchen habe ich nun zumindest das System wieder am Laufen. Mit aktuellem js-controller. Keine Ahnung was jetzt genau anders gelaufen ist.

                          apollon77 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @pjo123456 last edited by

                            @pjo123456 Naja ohne Logs oder andere Details der fehlgeschlagenen Versuche schwierig was dazu zu sagen

                            1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @pjo123456 last edited by

                              @pjo123456 sagte in js-controller Update schlägt immer fehl:

                              Dazu installiere ich den History und Javascript Adapter und konfiguriere den Backitup Adapter

                              Es wird nur der backup Adapter eingerichtet, nichts anderes.
                              Wie schon geschrieben, wenn denn Versionen nicht passen. Mach es schritt für schritt und poste die Meldungen, sonst kann man nicht helfen

                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by

                                Und dazu: Der Restore Prozess hat sich mit js-controller 4.0 geändert und kann nun VIEEL LÄÄNGER dauern. Zuerst werden alle adapter deinstalliert und richtet der erste Start das alles wieder ein wie es sein muss... Aber sind alles nur annahmen weil Unklar ist wo und bei was es hier genau hängt

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pjo123456 @apollon77 last edited by

                                  OK, beim nächsten Update werde ich alle logs speichern.

                                  Da ja nun alles wieder hergestellt ist, taucht natürlich das Problem vom Anfang wieder auf. Diese komischen Einträge ("dataDir": "f"). Kann ich die iobroker.json mit dem nano Editor bearbeiten? Die Zeilen einfach löschen?

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @pjo123456 last edited by

                                    @pjo123456 ja einfach editieren mit Texteditor

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      pjo123456 @apollon77 last edited by

                                      Habe die iobroker.json geändert. Der iobroker läuft noch. 😊 Aber irgendwie scheint sich ein Fehler eingeschlichen zu haben, denn jetzt geht Flot und Vis nicht mehr. Es erscheint dann nur eine weiße Seite mit "File edit.html not found: {}". Nehme ich meine gesicherte iobroker.json wieder ist alles ok.
                                      Kann sich jemand mal die iobroker.json ansehen? Und eventuell den Fehler finden?

                                      die originale Datei ist weiter oben zu sehen. Und so habe ich sie jetzt geändert.

                                      {
                                        "system": {
                                          "memoryLimitMB": 0,
                                          "hostname": "",
                                          "statisticsInterval": 15000,
                                          "checkDiskInterval": 300000
                                        },
                                        "multihostService": {
                                          "enabled": false,
                                          "secure": true,
                                          "password": "$/aes-192-cbc:28a379506c10d56d6f67db5c2290f15d:37ee00d646c76cc95210975ac782ff1d",
                                          "persist": false
                                        },
                                        "network": {
                                          "IPv4": true,
                                          "IPv6": true,
                                          "bindAddress": null,
                                          "useSystemNpm": true
                                        },
                                        "objects": {
                                          "type": "jsonl",
                                          "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                          "host": "0.0.0.0",
                                          "port": 9001,
                                          "user": "",
                                          "pass": "",
                                          "noFileCache": false,
                                          "connectTimeout": 2000,
                                          "options": {
                                            "auth_pass": null,
                                            "enableReadyCheck": true,
                                            "host": "0.0.0.0",
                                            "port": 9001,
                                            "db": 0,
                                            "family": 0,
                                            "password": null,
                                            "autoResubscribe": false,
                                            "connectionName": "host.iobroker-master",
                                            "retry_max_delay": 5000
                                          },
                                          "maxQueue": 1000
                                        },
                                        "states": {
                                          "type": "jsonl",
                                          "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                          "host": "0.0.0.0",
                                          "port": 9000,
                                          "maxQueue": 1000,
                                          "options": {
                                            "auth_pass": null,
                                            "enableReadyCheck": true,
                                            "host": "0.0.0.0",
                                            "port": 9000,
                                            "db": 0,
                                            "family": 0,
                                            "password": null,
                                            "autoResubscribe": false,
                                            "connectionName": "host.iobroker-master",
                                            "retry_max_delay": 5000
                                          }
                                        },
                                        "log": {
                                          "level": "info",
                                          "maxDays": 7,
                                          "noStdout": true,
                                          "transport": {
                                            "file1": {
                                              "type": "file",
                                              "enabled": true,
                                              "filename": "log/iobroker",
                                              "fileext": ".log",
                                              "maxsize": null,
                                              "maxFiles": null
                                            },
                                            "syslog1": {
                                              "type": "syslog",
                                              "enabled": false,
                                              "host": "localhost",
                                              "host_comment": "The host running syslogd, defaults to localhost.",
                                              "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                              "protocol": "udp4",
                                              "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                              "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                              "facility_comment": "Syslog facility to use (Default: local0).",
                                              "localhost": "iobroker",
                                              "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                              "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                              "app_name_comment": "The name of the application (Default: process.title).",
                                              "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                            }
                                          }
                                        },
                                        "dataDirComment": "Always relative to iobroker.js-controller/",
                                        "dataDir": "../../iobroker-data/"
                                      }
                                      

                                      Aber wie gesagt, es muss noch etwas falsch sein. Ich hoffe, jemand kann das finden oder meine Orginaldatei im dritten Post entsprechend ändern. Danke!

                                      mfg pjo123456

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @pjo123456 last edited by

                                        @pjo123456 bin grad nur am handy, aber fehlen da nicht ein paar Zeilen?
                                        Eigentlich sind es dich nur 3 Zeilen zum entfernen.
                                        29, 62 und 106

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          pjo123456 @crunchip last edited by

                                          Ich glaube im Post mit der iobroker.json ist beim Kopieren etwas schiefgelaufen. Da ist ein Teil doppelt. Habe jetzt noch einmal die Sicherungskopie genommen.
                                          Wenn ich einfach nur die Zeilen mit "dataDir": "f", lösche kann ich die Admin Oberfläche nicht mehr erreichen.
                                          Hier noch einmal die Originaldatei:

                                          {
                                            "system": {
                                              "memoryLimitMB": 0,
                                              "hostname": "",
                                              "statisticsInterval": 15000,
                                              "checkDiskInterval": 300000
                                            },
                                            "multihostService": {
                                              "enabled": false,
                                              "secure": true,
                                              "password": "$/aes-192-cbc:28a379506c10d56d6f67db5c2290f15d:37ee00d646c76cc95210975ac782ff1d",
                                              "persist": false
                                            },
                                            "network": {
                                              "IPv4": true,
                                              "IPv6": true,
                                              "bindAddress": null,
                                              "useSystemNpm": true
                                            },
                                            "objects": {
                                              "type": "jsonl",
                                              "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                              "host": "0.0.0.0",
                                              "port": 9001,
                                              "user": "",
                                              "pass": "",
                                              "noFileCache": false,
                                              "connectTimeout": 2000,
                                              "dataDir": "f",
                                              "options": {
                                                "auth_pass": null,
                                                "enableReadyCheck": true,
                                                "host": "0.0.0.0",
                                                "port": 9001,
                                                "db": 0,
                                                "family": 0,
                                                "password": null,
                                                "autoResubscribe": false,
                                                "connectionName": "host.iobroker-master",
                                                "retry_max_delay": 5000
                                              },
                                              "maxQueue": 1000
                                            },
                                            "states": {
                                              "type": "jsonl",
                                              "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                              "host": "0.0.0.0",
                                              "port": 9000,
                                              "maxQueue": 1000,
                                              "options": {
                                                "auth_pass": null,
                                                "enableReadyCheck": true,
                                                "host": "0.0.0.0",
                                                "port": 9000,
                                                "db": 0,
                                                "family": 0,
                                                "password": null,
                                                "autoResubscribe": false,
                                                "connectionName": "host.iobroker-master",
                                                "retry_max_delay": 5000
                                              },
                                              "dataDir": "f"
                                            },
                                            "log": {
                                              "level": "info",
                                              "maxDays": 7,
                                              "noStdout": true,
                                              "transport": {
                                                "file1": {
                                                  "type": "file",
                                                  "enabled": true,
                                                  "filename": "log/iobroker",
                                                  "fileext": ".log",
                                                  "maxsize": null,
                                                  "maxFiles": null
                                                },
                                                "syslog1": {
                                                  "type": "syslog",
                                                  "enabled": false,
                                                  "host": "localhost",
                                                  "host_comment": "The host running syslogd, defaults to localhost.",
                                                  "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                                  "protocol": "udp4",
                                                  "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                                  "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                                  "facility_comment": "Syslog facility to use (Default: local0).",
                                                  "localhost": "iobroker",
                                                  "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                                  "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                                  "app_name_comment": "The name of the application (Default: process.title).",
                                                  "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                                }
                                              }
                                            },
                                            "dataDirComment": "Always relative to iobroker.js-controller/",
                                            "dataDir": "../../iobroker-data/"
                                          }
                                          
                                          

                                          Und hier meine Änderungen:

                                          {
                                            "system": {
                                              "memoryLimitMB": 0,
                                              "hostname": "",
                                              "statisticsInterval": 15000,
                                              "checkDiskInterval": 300000
                                            },
                                            "multihostService": {
                                              "enabled": false,
                                              "secure": true,
                                              "password": "$/aes-192-cbc:28a379506c10d56d6f67db5c2290f15d:37ee00d646c76cc95210975ac782ff1d",
                                              "persist": false
                                            },
                                            "network": {
                                              "IPv4": true,
                                              "IPv6": true,
                                              "bindAddress": null,
                                              "useSystemNpm": true
                                            },
                                            "objects": {
                                              "type": "jsonl",
                                              "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                              "host": "0.0.0.0",
                                              "port": 9001,
                                              "user": "",
                                              "pass": "",
                                              "noFileCache": false,
                                              "connectTimeout": 2000,
                                          
                                              "options": {
                                                "auth_pass": null,
                                                "enableReadyCheck": true,
                                                "host": "0.0.0.0",
                                                "port": 9001,
                                                "db": 0,
                                                "family": 0,
                                                "password": null,
                                                "autoResubscribe": false,
                                                "connectionName": "host.iobroker-master",
                                                "retry_max_delay": 5000
                                              },
                                              "maxQueue": 1000
                                            },
                                            "states": {
                                              "type": "jsonl",
                                              "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                              "host": "0.0.0.0",
                                              "port": 9000,
                                              "maxQueue": 1000,
                                              "options": {
                                                "auth_pass": null,
                                                "enableReadyCheck": true,
                                                "host": "0.0.0.0",
                                                "port": 9000,
                                                "db": 0,
                                                "family": 0,
                                                "password": null,
                                                "autoResubscribe": false,
                                                "connectionName": "host.iobroker-master",
                                                "retry_max_delay": 5000
                                              },
                                          
                                            },
                                            "log": {
                                              "level": "info",
                                              "maxDays": 7,
                                              "noStdout": true,
                                              "transport": {
                                                "file1": {
                                                  "type": "file",
                                                  "enabled": true,
                                                  "filename": "log/iobroker",
                                                  "fileext": ".log",
                                                  "maxsize": null,
                                                  "maxFiles": null
                                                },
                                                "syslog1": {
                                                  "type": "syslog",
                                                  "enabled": false,
                                                  "host": "localhost",
                                                  "host_comment": "The host running syslogd, defaults to localhost.",
                                                  "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                                  "protocol": "udp4",
                                                  "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                                  "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                                  "facility_comment": "Syslog facility to use (Default: local0).",
                                                  "localhost": "iobroker",
                                                  "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                                  "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                                  "app_name_comment": "The name of the application (Default: process.title).",
                                                  "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                                }
                                              }
                                            },
                                            "dataDirComment": "Always relative to iobroker.js-controller/",
                                            "dataDir": "../../iobroker-data/"
                                          }
                                          
                                          
                                          crunchip 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @pjo123456 last edited by

                                            @pjo123456 zeile 61 ist ein Komma zu viel

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

                                            Support us

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

                                            879
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            24
                                            944
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo