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. Slave meldet sich nicht mehr

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    13
    1
    708

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

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

Slave meldet sich nicht mehr

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
82 Beiträge 5 Kommentatoren 5.1k 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.
  • SMSS SMS

    @arteck

    Last login: Sun Oct 24 17:06:11 2021 from 192.168.178.128
    pi@MotionEye:~ $ cd /opt/iobroker                                               pi@MotionEye:/opt/iobroker $ iobroker setup custom                              /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:517
           const currentObjectsType = originalConfig.objects.type || 'file';
                                                     ^
    
    TypeError: Cannot read property 'objects' of undefined
       at Setup.setupCustom (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:517:51)
       at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:469:23)
       at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2910:5)
       at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
       at Module._compile (internal/modules/cjs/loader.js:999:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
       at Module.load (internal/modules/cjs/loader.js:863:32)
       at Function.Module._load (internal/modules/cjs/loader.js:708:14)
       at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
       at internal/main/run_main_module.js:17:47
    
    arteckA Offline
    arteckA Offline
    arteck
    Developer Most Active
    schrieb am zuletzt editiert von
    #23

    @sms und die anderen laufen??? komisch
    die objects ist im eimer.. müsste aber auf dem master sein..

    zigbee hab ich, zwave auch, nuc's genauso und HA auch

    SMSS 1 Antwort Letzte Antwort
    0
    • arteckA arteck

      @sms und die anderen laufen??? komisch
      die objects ist im eimer.. müsste aber auf dem master sein..

      SMSS Offline
      SMSS Offline
      SMS
      schrieb am zuletzt editiert von SMS
      #24

      @arteck d.h.? Bringt eine Neuinstallation des Slaves was?

      Also die Ausgabe ist vom Slave.

      1 Antwort Letzte Antwort
      0
      • SMSS SMS

        @thomas-braun Das war leider nicht die Lösung.

        8719b9cd-8f7e-4d0f-963f-e4631301e3d1-image.png

        Das Ereignis war ja am 21.10. Das Backup vom 17.10.

        pi@MotionEye:~ $ iobroker status
        /opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:56
              throw err
              ^
        
        SyntaxError: /opt/iobroker/iobroker-data/iobroker.json: Unexpected end of JSON input
            at JSON.parse (<anonymous>)
            at Object.readFileSync (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:52:17)
            at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2722:23)
            at CLIProcess.status (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliProcess.js:202:9)
            at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:426:25)
            at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2910:5)
            at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
            at Module._compile (internal/modules/cjs/loader.js:999:30)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
            at Module.load (internal/modules/cjs/loader.js:863:32)
        

        Doch neu aufspielen? Also SD-Karte formatieren und alles neu?

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

        @sms sagte in Slave meldet sich nicht mehr:

        SyntaxError: /opt/iobroker/iobroker-data/iobroker.json: Unexpected end of JSON input

        Das sagt doch alles ... das Haupt Konfigfile iobrpker.json ist kaputt

        Auf machen und schauen was es ist und gff retten. ggf den Inhalt in einen Online JSON editor kopieren. Der sagt Dir was falsch ist. Und ggf iobroker.json aus einem Backup holen und vergleichen

        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
        SMSS 1 Antwort Letzte Antwort
        0
        • apollon77A apollon77

          @sms sagte in Slave meldet sich nicht mehr:

          SyntaxError: /opt/iobroker/iobroker-data/iobroker.json: Unexpected end of JSON input

          Das sagt doch alles ... das Haupt Konfigfile iobrpker.json ist kaputt

          Auf machen und schauen was es ist und gff retten. ggf den Inhalt in einen Online JSON editor kopieren. Der sagt Dir was falsch ist. Und ggf iobroker.json aus einem Backup holen und vergleichen

          SMSS Offline
          SMSS Offline
          SMS
          schrieb am zuletzt editiert von
          #26

          @apollon77 da ist nix drin 😆

          pi@MotionEye:/opt/iobroker/iobroker-data $ ls -l
          insgesamt 2644
          drwxrwxr-x+ 2 iobroker iobroker    4096 Jan  3  2021 backup-objects
          drwxrwxr-x+ 5 iobroker iobroker    4096 Jan  3  2021 files
          -rw-rwxr--+ 1 iobroker iobroker       0 Okt 23 15:06 iobroker.json
          -rw-rw-r--+ 1 iobroker iobroker       3 Sep 30 18:58 notifications.json
          -rw-rwxr--+ 1 iobroker iobroker 1924466 Jan  3  2021 objects.json
          -rw-rwxr--+ 1 iobroker iobroker  293536 Jan  3  2021 objects.json.bak
          -rw-rwxr--+ 1 iobroker iobroker  237326 Jan  3  2021 states.json
          -rw-rwxr--+ 1 iobroker iobroker  237298 Jan  3  2021 states.json.bak
          

          Also ich schaue immer noch auf dem Slave, richtig?

          Was soll denn da in etwa drin stehen?

          apollon77A 1 Antwort Letzte Antwort
          0
          • SMSS SMS

            @apollon77 da ist nix drin 😆

            pi@MotionEye:/opt/iobroker/iobroker-data $ ls -l
            insgesamt 2644
            drwxrwxr-x+ 2 iobroker iobroker    4096 Jan  3  2021 backup-objects
            drwxrwxr-x+ 5 iobroker iobroker    4096 Jan  3  2021 files
            -rw-rwxr--+ 1 iobroker iobroker       0 Okt 23 15:06 iobroker.json
            -rw-rw-r--+ 1 iobroker iobroker       3 Sep 30 18:58 notifications.json
            -rw-rwxr--+ 1 iobroker iobroker 1924466 Jan  3  2021 objects.json
            -rw-rwxr--+ 1 iobroker iobroker  293536 Jan  3  2021 objects.json.bak
            -rw-rwxr--+ 1 iobroker iobroker  237326 Jan  3  2021 states.json
            -rw-rwxr--+ 1 iobroker iobroker  237298 Jan  3  2021 states.json.bak
            

            Also ich schaue immer noch auf dem Slave, richtig?

            Was soll denn da in etwa drin stehen?

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

            @sms Da sist blöd das da nix drin ist ... schau doch auf nem anderen slave oder dem master ... da steht dann mehr drin.

            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
            SMSS 1 Antwort Letzte Antwort
            0
            • apollon77A apollon77

              @sms Da sist blöd das da nix drin ist ... schau doch auf nem anderen slave oder dem master ... da steht dann mehr drin.

              SMSS Offline
              SMSS Offline
              SMS
              schrieb am zuletzt editiert von
              #28

              @apollon77 in einem anderen Slave steht was drin. Kann ich das dann grad rüber kopieren? Sehe auf den ersten Blick nichts Slavespezifisches.

              HomoranH 1 Antwort Letzte Antwort
              0
              • SMSS SMS

                @apollon77 in einem anderen Slave steht was drin. Kann ich das dann grad rüber kopieren? Sehe auf den ersten Blick nichts Slavespezifisches.

                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #29

                @sms sagte in Slave meldet sich nicht mehr:

                Sehe auf den ersten Blick nichts Slavespezifisches.

                und wir sehen gar nichts

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

                SMSS 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @sms sagte in Slave meldet sich nicht mehr:

                  Sehe auf den ersten Blick nichts Slavespezifisches.

                  und wir sehen gar nichts

                  SMSS Offline
                  SMSS Offline
                  SMS
                  schrieb am zuletzt editiert von
                  #30

                  @homoran @apollon77

                  Slave kellerkind4GB:

                  {
                    "system": {
                      "memoryLimitMB": 0,
                      "hostname": "",
                      "statisticsInterval": 15000,
                      "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
                      "checkDiskInterval": 300000,
                      "checkDiskIntervalComment": "Interval how often the disk size will be checked",
                      "noChmod": false,
                      "instanceStartInterval": 2000,
                      "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                      "compact": false,
                      "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in$
                      "allowShellCommands": false,
                      "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands",
                      "memLimitWarn": 100,
                      "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.",
                      "memLimitError": 50,
                      "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged."
                    },
                    "multihostService": {
                      "enabled": false,
                      "secure": true
                    },
                    "network": {
                      "IPv4": true,
                      "IPv6": true,
                      "bindAddress": null
                    },
                    "objects": {
                      "type": "file",
                      "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                      "host": "192.168.178.58",
                      "port": 9001,
                      "user": "",
                      "pass": "",
                      "noFileCache": false,
                      "connectTimeout": 2000,
                      "writeFileInterval": 5000,
                      "options": {
                        "auth_pass": null,
                        "retry_max_delay": 5000
                      },
                      "backup": {
                        "disabled": false,
                        "files": 24,
                        "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                        "hours": 48,
                        "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                        "period": 120,
                        "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                        "path": "",
                        "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                      }
                   },
                    "log": {
                      "level": "info",
                      "maxDays": 7,
                      "noStdout": true,
                      "transport": {
                        "file1": {
                          "type": "file",
                          "enabled": true,
                          "filename": "log/iobroker",
                          "fileext": ".log",
                          "maxSize": null,
                          "maxFiles": null
                        },
                        "syslog1": {
                          "type": "syslog",
                          "enabled": false,
                          "host": "localhost",
                          "hostComment": "The host running syslogd, defaults to localhost.",
                          "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                          "protocol": "udp4",
                          "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                          "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                          "facilityComment": "Syslog facility to use (Default: local0).",
                          "localhost": "iobroker",
                          "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                          "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                          "app_nameComment": "The name of the application (Default: process.title).",
                          "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                        }
                     }
                    },
                    "dataDirComment": "Always relative to iobroker.js-controller/",
                    "plugins": {},
                    "dataDir": "../../iobroker-data/"
                  }
                  
                  
                  HomoranH apollon77A 2 Antworten Letzte Antwort
                  0
                  • SMSS SMS

                    @homoran @apollon77

                    Slave kellerkind4GB:

                    {
                      "system": {
                        "memoryLimitMB": 0,
                        "hostname": "",
                        "statisticsInterval": 15000,
                        "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
                        "checkDiskInterval": 300000,
                        "checkDiskIntervalComment": "Interval how often the disk size will be checked",
                        "noChmod": false,
                        "instanceStartInterval": 2000,
                        "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                        "compact": false,
                        "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in$
                        "allowShellCommands": false,
                        "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands",
                        "memLimitWarn": 100,
                        "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.",
                        "memLimitError": 50,
                        "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged."
                      },
                      "multihostService": {
                        "enabled": false,
                        "secure": true
                      },
                      "network": {
                        "IPv4": true,
                        "IPv6": true,
                        "bindAddress": null
                      },
                      "objects": {
                        "type": "file",
                        "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                        "host": "192.168.178.58",
                        "port": 9001,
                        "user": "",
                        "pass": "",
                        "noFileCache": false,
                        "connectTimeout": 2000,
                        "writeFileInterval": 5000,
                        "options": {
                          "auth_pass": null,
                          "retry_max_delay": 5000
                        },
                        "backup": {
                          "disabled": false,
                          "files": 24,
                          "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                          "hours": 48,
                          "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                          "period": 120,
                          "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                          "path": "",
                          "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                        }
                     },
                      "log": {
                        "level": "info",
                        "maxDays": 7,
                        "noStdout": true,
                        "transport": {
                          "file1": {
                            "type": "file",
                            "enabled": true,
                            "filename": "log/iobroker",
                            "fileext": ".log",
                            "maxSize": null,
                            "maxFiles": null
                          },
                          "syslog1": {
                            "type": "syslog",
                            "enabled": false,
                            "host": "localhost",
                            "hostComment": "The host running syslogd, defaults to localhost.",
                            "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                            "protocol": "udp4",
                            "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                            "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                            "facilityComment": "Syslog facility to use (Default: local0).",
                            "localhost": "iobroker",
                            "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                            "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                            "app_nameComment": "The name of the application (Default: process.title).",
                            "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                          }
                       }
                      },
                      "dataDirComment": "Always relative to iobroker.js-controller/",
                      "plugins": {},
                      "dataDir": "../../iobroker-data/"
                    }
                    
                    
                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #31

                    @sms sagte in Slave meldet sich nicht mehr:

                    "host": "192.168.178.58",

                    ist das der Master?

                    @apollon77 mag da sicher mehr erkennen ob die ganzen null und "" in Ordnung sind

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

                    SMSS 1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @sms sagte in Slave meldet sich nicht mehr:

                      "host": "192.168.178.58",

                      ist das der Master?

                      @apollon77 mag da sicher mehr erkennen ob die ganzen null und "" in Ordnung sind

                      SMSS Offline
                      SMSS Offline
                      SMS
                      schrieb am zuletzt editiert von
                      #32

                      @homoran ja ist der Master

                      SMSS 1 Antwort Letzte Antwort
                      0
                      • SMSS SMS

                        @homoran ja ist der Master

                        SMSS Offline
                        SMSS Offline
                        SMS
                        schrieb am zuletzt editiert von
                        #33

                        @Homoran @apollon77

                        Wenn ich die Datei iobroker.json auf dem nicht mehr funktionierenden Slave öffne, erschein unten:

                        [ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]

                        b0c8d4a3-a02c-4f92-8c7a-2f522d077bd8-image.png
                        8497be43-8439-44bc-a625-5cbf684687b3-image.png

                        HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                        0
                        • SMSS SMS

                          @Homoran @apollon77

                          Wenn ich die Datei iobroker.json auf dem nicht mehr funktionierenden Slave öffne, erschein unten:

                          [ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]

                          b0c8d4a3-a02c-4f92-8c7a-2f522d077bd8-image.png
                          8497be43-8439-44bc-a625-5cbf684687b3-image.png

                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von
                          #34

                          @sms sagte in Slave meldet sich nicht mehr:

                          Fehler beim Lesen der Sperrdatei

                          dann darfst du die als User pi nicht öffnen

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

                          SMSS 1 Antwort Letzte Antwort
                          0
                          • HomoranH Homoran

                            @sms sagte in Slave meldet sich nicht mehr:

                            Fehler beim Lesen der Sperrdatei

                            dann darfst du die als User pi nicht öffnen

                            SMSS Offline
                            SMSS Offline
                            SMS
                            schrieb am zuletzt editiert von
                            #35

                            @homoran Seltsam, das ich die Datei bei den anderen Slaves und beim Master öffnen kann.

                            1 Antwort Letzte Antwort
                            0
                            • SMSS SMS

                              @Homoran @apollon77

                              Wenn ich die Datei iobroker.json auf dem nicht mehr funktionierenden Slave öffne, erschein unten:

                              [ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]

                              b0c8d4a3-a02c-4f92-8c7a-2f522d077bd8-image.png
                              8497be43-8439-44bc-a625-5cbf684687b3-image.png

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

                              @sms

                              sudo -u iobroker nano /opt/iobroker/iobroker-data/iobroker.json
                              

                              Aber das war ja die defekte Datei, oder nicht?

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

                              SMSS HomoranH 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @sms

                                sudo -u iobroker nano /opt/iobroker/iobroker-data/iobroker.json
                                

                                Aber das war ja die defekte Datei, oder nicht?

                                SMSS Offline
                                SMSS Offline
                                SMS
                                schrieb am zuletzt editiert von
                                #37

                                @thomas-braun bei der defekten Datei erscheint

                                [ Fehler beim Lesen der Sperrdatei ./.iobroker.json.swp: Nicht genügend Daten gelesen ]

                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @sms

                                  sudo -u iobroker nano /opt/iobroker/iobroker-data/iobroker.json
                                  

                                  Aber das war ja die defekte Datei, oder nicht?

                                  HomoranH Nicht stören
                                  HomoranH Nicht stören
                                  Homoran
                                  Global Moderator Administrators
                                  schrieb am zuletzt editiert von
                                  #38

                                  @thomas-braun sagte in Slave meldet sich nicht mehr:

                                  Aber das war ja die defekte Datei, oder nicht?

                                  ich denke ja, oder kann auch fehlende Zugriffsrechte zu diesem Fehler führen?

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

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • HomoranH Homoran

                                    @thomas-braun sagte in Slave meldet sich nicht mehr:

                                    Aber das war ja die defekte Datei, oder nicht?

                                    ich denke ja, oder kann auch fehlende Zugriffsrechte zu diesem Fehler führen?

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

                                    @homoran
                                    Andersherum eher. Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.

                                    dmesg -T | grep -i ext4
                                    

                                    auf dem Host 'MotionEye' bringt?
                                    Und

                                    getfacl /opt/iobroker/iobroker-data/iobroker.json
                                    

                                    bitte.

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

                                    HomoranH SMSS 2 Antworten Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @homoran
                                      Andersherum eher. Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.

                                      dmesg -T | grep -i ext4
                                      

                                      auf dem Host 'MotionEye' bringt?
                                      Und

                                      getfacl /opt/iobroker/iobroker-data/iobroker.json
                                      

                                      bitte.

                                      HomoranH Nicht stören
                                      HomoranH Nicht stören
                                      Homoran
                                      Global Moderator Administrators
                                      schrieb am zuletzt editiert von
                                      #40

                                      @thomas-braun sagte in Slave meldet sich nicht mehr:

                                      Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.

                                      das wäre dann auch meine letzte Möglichkeit gewesen.
                                      Dann sollte man sowieso eine neue Karte nehmen und neu aufbauen

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

                                      1 Antwort Letzte Antwort
                                      0
                                      • SMSS SMS

                                        @homoran @apollon77

                                        Slave kellerkind4GB:

                                        {
                                          "system": {
                                            "memoryLimitMB": 0,
                                            "hostname": "",
                                            "statisticsInterval": 15000,
                                            "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated",
                                            "checkDiskInterval": 300000,
                                            "checkDiskIntervalComment": "Interval how often the disk size will be checked",
                                            "noChmod": false,
                                            "instanceStartInterval": 2000,
                                            "noChmodComment": "Flag to test new feature with no chmod call. Must be deleted later and noChmod must be mainline (2018.06.04)",
                                            "compact": false,
                                            "compactComment": "Controller will try to start the instances as a part of the same process. No spawn will be done. Only by adapters that support it and have flag compact flag in$
                                            "allowShellCommands": false,
                                            "allowShellCommandsComment": "Allow execution of \"shell\" sendToHost commands",
                                            "memLimitWarn": 100,
                                            "memLimitWarnComment": "If the available RAM is below this threshold on adapter start, a warning will be logged.",
                                            "memLimitError": 50,
                                            "memLimitErrorComment": "If the available RAM is below this threshold on adapter start, an error will be logged."
                                          },
                                          "multihostService": {
                                            "enabled": false,
                                            "secure": true
                                          },
                                          "network": {
                                            "IPv4": true,
                                            "IPv6": true,
                                            "bindAddress": null
                                          },
                                          "objects": {
                                            "type": "file",
                                            "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                            "host": "192.168.178.58",
                                            "port": 9001,
                                            "user": "",
                                            "pass": "",
                                            "noFileCache": false,
                                            "connectTimeout": 2000,
                                            "writeFileInterval": 5000,
                                            "options": {
                                              "auth_pass": null,
                                              "retry_max_delay": 5000
                                            },
                                            "backup": {
                                              "disabled": false,
                                              "files": 24,
                                              "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
                                              "hours": 48,
                                              "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
                                              "period": 120,
                                              "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
                                              "path": "",
                                              "pathComment": "Absolute path to backup directory or empty to backup in data directory"
                                            }
                                         },
                                          "log": {
                                            "level": "info",
                                            "maxDays": 7,
                                            "noStdout": true,
                                            "transport": {
                                              "file1": {
                                                "type": "file",
                                                "enabled": true,
                                                "filename": "log/iobroker",
                                                "fileext": ".log",
                                                "maxSize": null,
                                                "maxFiles": null
                                              },
                                              "syslog1": {
                                                "type": "syslog",
                                                "enabled": false,
                                                "host": "localhost",
                                                "hostComment": "The host running syslogd, defaults to localhost.",
                                                "portComment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                                "protocol": "udp4",
                                                "protocolComment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                                "pathComment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                                "facilityComment": "Syslog facility to use (Default: local0).",
                                                "localhost": "iobroker",
                                                "localhostComment": "Host to indicate that log messages are coming from (Default: localhost).",
                                                "sysLogTypeComment": "The type of the syslog protocol to use (Default: BSD).",
                                                "app_nameComment": "The name of the application (Default: process.title).",
                                                "eolComment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                                              }
                                           }
                                          },
                                          "dataDirComment": "Always relative to iobroker.js-controller/",
                                          "plugins": {},
                                          "dataDir": "../../iobroker-data/"
                                        }
                                        
                                        
                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #41

                                        @sms Wenn das das File vom anderen Slave ist und die IPs drin die vom master sind und hostname oben "leer" ist dann ja kannst DU so übernehemn auf den anderen Slave

                                        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
                                        SMSS 1 Antwort Letzte Antwort
                                        1
                                        • Thomas BraunT Thomas Braun

                                          @homoran
                                          Andersherum eher. Die Rechte können ja auch 'kaputt' gehen. Das könnte dann ein Hinweis auf ein sterbendes Dateisystem sein.

                                          dmesg -T | grep -i ext4
                                          

                                          auf dem Host 'MotionEye' bringt?
                                          Und

                                          getfacl /opt/iobroker/iobroker-data/iobroker.json
                                          

                                          bitte.

                                          SMSS Offline
                                          SMSS Offline
                                          SMS
                                          schrieb am zuletzt editiert von
                                          #42

                                          @thomas-braun

                                          pi@MotionEye:~ $ dmesg -T | grep -i ext4
                                          [Mo Okt 25 16:13:24 2021] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:E2:9D:54 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=d666f4cc-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                                          [Mo Okt 25 16:13:27 2021] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                                          [Mo Okt 25 16:13:27 2021] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                          [Mo Okt 25 16:13:29 2021] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                                          
                                          pi@MotionEye:~ $ getfacl /opt/iobroker/iobroker-data/iobroker.json
                                          getfacl: Entferne führende '/' von absoluten Pfadnamen
                                          # file: opt/iobroker/iobroker-data/iobroker.json
                                          # owner: iobroker
                                          # group: iobroker
                                          user::rw-
                                          group::r--
                                          group:iobroker:rwx
                                          mask::rwx
                                          other::r--
                                          
                                          
                                          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

                                          570

                                          Online

                                          32.9k

                                          Benutzer

                                          83.1k

                                          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