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. js-controller Update schlägt immer fehl

NEWS

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

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

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

js-controller Update schlägt immer fehl

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
24 Beiträge 5 Kommentatoren 1.6k Aufrufe 4 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.
  • P Offline
    P Offline
    pjo123456
    schrieb am zuletzt editiert von pjo123456
    #1

    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

    Moin aus dem Norden…

    1 Antwort Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #2

      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

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      P 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        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 Offline
        P Offline
        pjo123456
        schrieb am zuletzt editiert von
        #3

        @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/"
        }
        
        

        Moin aus dem Norden…

        apollon77A 1 Antwort Letzte Antwort
        0
        • P pjo123456

          @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/"
          }
          
          
          apollon77A Offline
          apollon77A Offline
          apollon77
          schrieb am zuletzt editiert von
          #4

          @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

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          Dr. BakteriusD 1 Antwort Letzte Antwort
          0
          • apollon77A apollon77

            @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. BakteriusD Offline
            Dr. BakteriusD Offline
            Dr. Bakterius
            Most Active
            schrieb am zuletzt editiert von
            #5

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

            Ist im "states" Sektion

            Nicht nur dort!

            apollon77A 1 Antwort Letzte Antwort
            0
            • Dr. BakteriusD Dr. Bakterius

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

              Ist im "states" Sektion

              Nicht nur dort!

              apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #6

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

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              P 1 Antwort Letzte Antwort
              0
              • apollon77A apollon77

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

                P Offline
                P Offline
                pjo123456
                schrieb am zuletzt editiert von
                #7

                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

                Moin aus dem Norden…

                crunchipC 1 Antwort Letzte Antwort
                0
                • P pjo123456

                  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

                  crunchipC Abwesend
                  crunchipC Abwesend
                  crunchip
                  Forum Testing Most Active Developer
                  schrieb am zuletzt editiert von
                  #8

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

                  umgestiegen von Proxmox auf Unraid

                  P 1 Antwort Letzte Antwort
                  0
                  • crunchipC crunchip

                    @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 Offline
                    P Offline
                    pjo123456
                    schrieb am zuletzt editiert von
                    #9

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

                    Moin aus dem Norden…

                    apollon77A crunchipC 2 Antworten Letzte Antwort
                    0
                    • P pjo123456

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

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #10

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

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      P 1 Antwort Letzte Antwort
                      0
                      • apollon77A apollon77

                        @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 Offline
                        P Offline
                        pjo123456
                        schrieb am zuletzt editiert von pjo123456
                        #11

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

                        Moin aus dem Norden…

                        apollon77A 1 Antwort Letzte Antwort
                        0
                        • P 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.

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #12

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

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          1 Antwort Letzte Antwort
                          0
                          • P pjo123456

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

                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active Developer
                            schrieb am zuletzt editiert von
                            #13

                            @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

                            umgestiegen von Proxmox auf Unraid

                            1 Antwort Letzte Antwort
                            0
                            • apollon77A Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #14

                              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

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              P 1 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                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 Offline
                                P Offline
                                pjo123456
                                schrieb am zuletzt editiert von
                                #15

                                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?

                                Moin aus dem Norden…

                                apollon77A 1 Antwort Letzte Antwort
                                0
                                • P pjo123456

                                  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?

                                  apollon77A Offline
                                  apollon77A Offline
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #16

                                  @pjo123456 ja einfach editieren mit Texteditor

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  P 1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @pjo123456 ja einfach editieren mit Texteditor

                                    P Offline
                                    P Offline
                                    pjo123456
                                    schrieb am zuletzt editiert von
                                    #17

                                    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

                                    Moin aus dem Norden…

                                    crunchipC 1 Antwort Letzte Antwort
                                    0
                                    • P pjo123456

                                      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

                                      crunchipC Abwesend
                                      crunchipC Abwesend
                                      crunchip
                                      Forum Testing Most Active Developer
                                      schrieb am zuletzt editiert von
                                      #18

                                      @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

                                      umgestiegen von Proxmox auf Unraid

                                      P 1 Antwort Letzte Antwort
                                      0
                                      • crunchipC crunchip

                                        @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 Offline
                                        P Offline
                                        pjo123456
                                        schrieb am zuletzt editiert von
                                        #19

                                        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/"
                                        }
                                        
                                        

                                        Moin aus dem Norden…

                                        crunchipC 1 Antwort Letzte Antwort
                                        0
                                        • P pjo123456

                                          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/"
                                          }
                                          
                                          
                                          crunchipC Abwesend
                                          crunchipC Abwesend
                                          crunchip
                                          Forum Testing Most Active Developer
                                          schrieb am zuletzt editiert von
                                          #20

                                          @pjo123456 zeile 61 ist ein Komma zu viel

                                          umgestiegen von Proxmox auf Unraid

                                          P 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

                                          522

                                          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