Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob diag - Skript

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Glasfaser last edited by

      @glasfaser sagte in iob diag - Skript:

      Wenn er nicht vorhanden ist dann kommt :

      nee, auch dann wenn nicht gerade enable auf dem Master läuft.
      ist IMHO so nicht zur Detektion bestehener Multihost Systeme zu gebrauchen.

      R 1 Reply Last reply Reply Quote 0
      • R
        reutli @Homoran last edited by

        @homoran
        Das sehe ich genau so. Wenn browsing am master aus ist, dann sieht man nichts.
        Das muss tatsächlich in configs stehen.

        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @reutli last edited by

          @reutli sagte in iob diag - Skript:

          Das muss tatsächlich in configs stehen.

          Habe oben geschrieben ... ich habe kein Multihost .....

          kannst du mal in deiner iobroker.json schauen !?

          R 1 Reply Last reply Reply Quote 0
          • R
            reutli @Glasfaser last edited by

            @glasfaser sagte in iob diag - Skript:

            kannst du mal in deiner iobroker.json schauen !?

            MASTER:

              "multihostService": {
                "enabled": false,
                "secure": true,
                "password": "##################################################",
                "persist": false
              },
            

            ist der einzige Hinweis, aber eben nicht konkret...

            SLAVE:

              "multihostService": {
                "enabled": false,
                "secure": true,
                "password": ""
              },
              "objects": {
                "type": "jsonl",
                "host": "192.168.200.5",
                "port": 9001,
                "user": "",
                "pass": "",
                "options": {
                  "auth_pass": null,
                  "enableReadyCheck": true,
                  "host": "0.0.0.0",
                  "port": 9001,
                  "db": 0,
                  "family": 0,
                  "password": null,
                  "autoResubscribe": false,
                  "connectionName": "host.macmini-iobroker",
                  "retry_max_delay": 5000
                },
                "maxQueue": 1000
              },
              "states": {
                "type": "jsonl",
                "host": "192.168.200.5",
                "port": 9000,
                "options": {
                  "auth_pass": null,
                  "enableReadyCheck": true,
                  "host": "0.0.0.0",
                  "port": 9000,
                  "db": 0,
                  "family": 0,
                  "password": null,
                  "autoResubscribe": false,
                  "connectionName": "host.macmini-iobroker",
                  "retry_max_delay": 5000
                },
            

            leider auch nicht besser...

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Glasfaser last edited by

              @glasfaser sagte in iob diag - Skript:

              jsonl Größe
              ls -lh /opt/iobroker/iobroker-data/objects.jsonl

              Ich hab jetzt eine Sektion die in
              'Neuralgischen Verzeichnissen' nach dicken Brummern schaut:

              *** DATEISYSTEM ***
              Filesystem     Type      Size  Used Avail Use% Mounted on
              /dev/root      ext4      110G  5.6G  100G   6% /
              devtmpfs       devtmpfs  3.7G     0  3.7G   0% /dev
              tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
              tmpfs          tmpfs     1.6G  944K  1.6G   1% /run
              tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
              /dev/sda1      vfat      253M   31M  222M  13% /boot
              tmpfs          tmpfs     786M   16K  786M   1% /run/user/1000
              
              Daten in neuralgischen Verzeichnissen:
              
              /var:
              1.4G    /var/
              539M    /var/cache
              524M    /var/cache/apt
              451M    /var/log
              433M    /var/log/journal/2e598e52b8284ace9a4e9b9ddae65487
              
              /opt/iobroker/backups:
              4.0K    /opt/iobroker/backups/
              
              /opt/iobroker/iobroker-data:
              241M    /opt/iobroker/iobroker-data/
              144M    /opt/iobroker/iobroker-data/files
              68M     /opt/iobroker/iobroker-data/backup-objects
              48M     /opt/iobroker/iobroker-data/files/javascript.admin
              32M     /opt/iobroker/iobroker-data/files/javascript.admin/static
              
              Die 5 größten Dateien in iobroker-data:
               21M objects.jsonl
              9.7M states.jsonl
              8.0K iobroker.json
              4.0K zigbee_0
              4.0K states.jsonl.lock
              
              Thomas Braun 1 Reply Last reply Reply Quote 2
              • Thomas Braun
                Thomas Braun Most Active @Thomas Braun last edited by

                ToDo wäre dann noch die Identifikation von 'MultiHost', oder?

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Thomas Braun last edited by

                  @thomas-braun dmesg | grep ext oder so

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Homoran last edited by

                    @homoran

                    Du meinst die Dateisystemgesundheit?

                    Da weiß ich mal wieder nicht wie das auf dem ganzen vituellen Zinnober läuft... Welche Dateisysteme da ggf. anzutreffen sind usw...

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                      @thomas-braun sagte in iob diag - Skript:

                      Du meinst die Dateisystemgesundheit?

                      ja!

                      @thomas-braun sagte in iob diag - Skript:

                      Da weiß ich mal wieder nicht wie das auf dem ganzen vituellen Zinnober läuft... Welche Dateisysteme da ggf. anzutreffen sind usw...

                      hab ich befürchtet!

                      hab's gerade auch mal laufen lassen und

                      Es wird die Zahl der Objekte und Zustände ermittelt - Dies kann etwas dauern.
                      /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupList.js:284
                                                      name = name[lang] || name.en;
                                                                 ^
                      
                      TypeError: Cannot read property 'de' of null
                          at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupList.js:284:44)
                      

                      erhalten.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Homoran last edited by

                        @homoran

                        Das wundert mich ein wenig, das ist nämlich eigentlich nix komplexes.

                        iob list objects | wc -l
                        

                        sagt auf dem System?

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                          @thomas-braun

                          pi@iobroker-VM03:~$ iob list objects | wc -l
                          /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupList.js:284
                                                          name = name[lang] || name.en;
                                                                     ^
                          
                          TypeError: Cannot read property 'de' of null
                              at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupList.js:284:44)
                              at processImmediate (internal/timers.js:466:21)
                          8523
                          
                          Thomas Braun Glasfaser F 5 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active last edited by

                            @homoran sagte in iob diag - Skript:

                            TypeError: Cannot read property

                            Das ist irgendein JavaSkript-Zeug. Warum das nicht einfach nur gezählt wird von wc -l weiß ich aber nicht. wc sollte eigentlich nix ausführen.

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Homoran last edited by

                              @homoran
                              Probier mal bitte:

                              iob list objects | wc -l --
                              
                              1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Homoran last edited by

                                @homoran sagte in iob diag - Skript:

                                /setupList.js

                                hast du eine alte js-controller Version !? vor 4 .

                                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Glasfaser last edited by

                                  @glasfaser sagte in iob diag - Skript:

                                  hast du eine alte js-controller Version !? vor 4 .

                                  Weiß ich zufällig: Ja, ist js-controller 3

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @Homoran last edited by

                                    @homoran sagte in iob diag - Skript:

                                    opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupList.js

                                    dort ist nur diese Datei vorhanden

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @Glasfaser last edited by Homoran

                                      @glasfaser sagte in iob diag - Skript:

                                      @homoran sagte in iob diag - Skript:

                                      /setupList.js

                                      hast du eine alte js-controller Version !? vor 4 .

                                      pssssst!

                                      1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @Thomas Braun last edited by

                                        @thomas-braun

                                        hier kann man den Inhalt sehen

                                        https://unpkg.com/browse/iobroker.js-controller@4.0.23/lib/setup/

                                        https://unpkg.com/browse/iobroker.js-controller@3.3.22/lib/setup/

                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Glasfaser last edited by

                                          @glasfaser

                                          Wobei das ja eigentlich auch von wc ganz doof nur gezählt werden sollte. Warum das offenbar interpretiert wird raffe ich nicht so ganz. Und auch nicht wie man das verhindert...

                                          Glasfaser 3 Replies Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @Thomas Braun last edited by

                                            @thomas-braun

                                            Macht mich auch stutzig ....

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

                                            Support us

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

                                            859
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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