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.
    • Thomas Braun
      Thomas Braun Most Active @Homoran last edited by

      @homoran

      iob update -u | grep Updateable | wc -l
      

      auf der Konsole sagt?

      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:

        @homoran

        iob update -u | grep Updateable | wc -l
        

        auf der Konsole sagt?

        korrekte 7

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

          @homoran

          Hm. Muss man im Skript in "irgendwelche" Hochkomma/Anführungseichen/BackTicks setzen. Muss ich mir zuhause nochmal in Ruhe anschauen. Ist nur eine Kleinigkeit.

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

            @thomas-braun oder du hast die Eisbahn noch nicht sauber?

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

              @homoran
              Doch, kannst curlen.

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

                @thomas-braun immer noch 1

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

                  @homoran

                  Fehlt mir gerade die Konzentration zu. Muss ich später mal schauen.

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

                    @thomas-braun kein Stress!

                    1 Reply Last reply Reply Quote 0
                    • M
                      mrjeschke last edited by

                      Moin,
                      Ich hoffe ich darf mal ganz dumm fragen, müsste es nicht

                      echo -e "Pending iob updates: \t`iob update -u | grep -c 'Updateable'`";
                      

                      heissen grep -c zählt doch schon oder?

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

                        @mrjeschke sagte in iob diag - Skript:

                        echo -e "Pending iob updates: \tiob update -u | grep -c 'Updateable'";

                        Die Frage ist ganz und gar nicht doof, sondern sehr gut.
                        Hatte irgendwie einen Knoten in den Gedanken.

                        Mit

                        echo -e "Pending iob updates: \t`iob update -u | grep -c 'Updatable\|Updateable'`";
                        

                        findet jetzt auch der @Homoran seine verflixte 7 (hoffentlich...).

                        Es gibt übrigens beide Schreibweisen für 'upsdatierbar', ist mal in irgendeiner Version des js-controllers geändert worden. Ich frag einfach beides ab, Keks gegessen.

                        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:

                          hoffentlich

                                                  v.0.0.6                                                                           
                          Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                          Installation:           kvm                                                                               Timezone:               Europe/Berlin
                          User-ID:                1000                                                                              X-Server:               false
                          Pending OS-Updates:     0
                          Nodejs-Installation:    /usr/bin/nodejs         v14.21.1
                                                  /usr/bin/node           v14.21.1                                                                          /usr/bin/npm            6.14.17
                          ioBroker Core:          js-controller           3.3.22
                                                  admin                   5.3.8                                                     
                          Pending iob updates:    7                                                                                 
                          Active repo: stable                                                                                       
                          Objects:                8537                                                                              States:                 13147
                          Size of iob-Database:
                          18M     /opt/iobroker/iobroker-data/objects.json.bak
                          18M     /opt/iobroker/iobroker-data/objects.json                                                          2.5M    /opt/iobroker/iobroker-data/objects.jsonl
                          11M     /opt/iobroker/iobroker-data/states.json.bak                                                       11M     /opt/iobroker/iobroker-data/states.json
                          112K    /opt/iobroker/iobroker-data/states.jsonl                                                          0       /opt/iobroker/iobroker-data/states.json.broken
                          
                          
                          ====================== END OF SUMMARY ==================
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Homoran last edited by

                            @homoran

                            Ach, da isse ja, die Pik 7...

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

                              @thomas-braun well done! oder war das das Steak?

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

                                @homoran

                                Nee, ich bin komplett 'durch'.

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

                                  @homoran

                                  Aber hast du da Leerzeilen gelöscht?
                                  Eigentlich sollte das so ausschauen:

                                  ======================= SUMMARY =======================
                                                          v.0.0.6
                                  
                                  
                                  Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                  Installation:           Native
                                  Timezone:               Europe/Berlin
                                  User-ID:                1000
                                  X-Server:               false
                                  
                                  Pending OS-Updates:     0
                                  
                                  Nodejs-Installation:    /usr/bin/nodejs         v19.0.1
                                                          /usr/bin/node           v19.0.1
                                                          /usr/bin/npm            8.19.2
                                  
                                  ioBroker Core:          js-controller           4.0.23
                                                          admin                   6.2.23
                                  
                                  Pending iob updates:    2
                                  
                                  Active repo(s): beta
                                  
                                  Objects:                8458
                                  States:                 6604
                                  
                                  Size of iob-Database:
                                  
                                  27M     /opt/iobroker/iobroker-data/objects.jsonl
                                  12M     /opt/iobroker/iobroker-data/states.jsonl
                                  
                                  
                                  ====================== END OF SUMMARY ==================
                                  
                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                                    @thomas-braun sagte in iob diag - Skript:

                                    Aber hast du da Leerzeilen gelöscht?

                                    nicht wissentlich, kann aber am Androiden liegen.

                                    Screenshot_20221108-194221_JuiceSSH.jpg

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

                                      @homoran

                                      Ja, das kann ein Grund sein. Beim hin- und herkopieren können schon mal 'überflüssige' Leerzeichen/-zeilen geschluckt werden.

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

                                        @thomas-braun

                                        ======================= SUMMARY =======================
                                                                v.0.0.6
                                        
                                        
                                        Operatingsystem:        Raspbian GNU/Linux 10 (buster)
                                        Installation:           Native
                                        Timezone:               Europe/Berlin
                                        User-ID:                1000
                                        X-Server:               false
                                        
                                        Pending OS-Updates:     194
                                        
                                        Nodejs-Installation:    /usr/bin/nodejs         v16.15.1
                                                                /usr/bin/node           v16.15.1
                                                                /usr/bin/npm            8.11.0
                                        
                                        ioBroker Core:          js-controller           4.0.23
                                                                admin                   6.2.22
                                        
                                        Pending iob updates:    4
                                        
                                        Active repo(s): stable
                                        
                                        Objects:                11255
                                        States:                 9171
                                        
                                        Size of iob-Database:
                                        
                                        33M     /opt/iobroker/iobroker-data/objects.jsonl
                                        12M     /opt/iobroker/iobroker-data/objects.json.migrated
                                        12M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                        15M     /opt/iobroker/iobroker-data/states.jsonl
                                        2.4M    /opt/iobroker/iobroker-data/states.json.migrated
                                        2.4M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                                        0       /opt/iobroker/iobroker-data/states.json.broken
                                        
                                        
                                        ====================== END OF SUMMARY ==================
                                        
                                        

                                        Mein IOBroker läuft nach einem Versuch der Wiederherstellung nicht mehr...

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

                                          @gluecksmann

                                          Zeig mal die Langfassung. Am besten aber in einem eigenen Thread.

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

                                            bumped:

                                            Update iob_diag

                                            Included check for directories that potentially may cause issues with npm@8.

                                            Feuersturm Negalein 2 Replies 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

                                            675
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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