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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                        • Glasfaser
                          Glasfaser @Thomas Braun last edited by

                          @thomas-braun

                          Eventuell hier ab 273 ... wo es dann auch angemeckert wird

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

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

                            @thomas-braun

                            ich glaube eher , bei Homoran ist ein Config Fehler vorhanden .

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

                              @glasfaser

                              Ich hab auch schon gesagt, der ioBroker ist kaputt! 😄

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

                                @glasfaser sagte in iob diag - Skript:

                                @thomas-braun

                                ich glaube eher , bei Homoran ist ein Config Fehler vorhanden .

                                wäre nicht unmöglich! und der wäre?

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

                                  @homoran sagte in iob diag - Skript:

                                  name = name[lang] || name.en;

                                  Cannot read property 'de' of null

                                  Vermutlich Spracheinstellung ...

                                  EDIT

                                  const lang = (systemConf && systemConf.common && systemConf.common.language) || 'en';
                                  
                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Glasfaser last edited by

                                    @glasfaser sagte in iob diag - Skript:

                                    Vermutlich Spracheinstellung ...

                                    nope

                                    Screenshot_20221103-204951_Firefox.jpg

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

                                      da gab's zwar mal was dass in den Systemeinstelkungen keine Sprache stand, ist bei mir aber korrigiert

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

                                        @homoran

                                        Ändere es mal ... auf eine andere Sprache , speichern und dann wieder zurück auf Deutsch 🙂

                                        sudo reboot
                                        

                                        eventuell noch

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

                                          @homoran es wird ja gezählt, siehe letzte Zeile 8523. Fehler werden nicht an wc gepiped, sondern gehen nach stderr. Abhilfe zur Unterdrückung der Fehler:
                                          iob list objects 2>/dev/null | wc -l

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

                                            @glasfaser sagte in iob diag - Skript:

                                            auf eine andere Sprache , speichern und dann wieder zurück auf Deutsch

                                            keine Änderung. reboot kostet im Moment meinen Kopf

                                            Glasfaser 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

                                            822
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            148802
                                            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