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

      @thomas-braun sagte in iob diag - Skript:

      @lucky_esa

      Von welche Dateien sprichst du?

      Von mir erstellte.

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

        @lucky_esa

        So ganz verstehe ich nicht wo/wie ich das konkret im Skript berücksichtigen soll.
        Ein paar Dateigrößen werden ja schon ausgegeben:

        Files in neuralgic directories:
        
        /var:
        2.5G    /var/
        782M    /var/cache
        773M    /var/cache/apt
        657M    /var/cache/apt/archives
        638M    /var/log
        
        Archived and active journals take up 635.7M in the file system.
        
        /opt/iobroker/backups:
        4.0K    /opt/iobroker/backups/
        
        /opt/iobroker/iobroker-data:
        864M    /opt/iobroker/iobroker-data/
        434M    /opt/iobroker/iobroker-data/history
        226M    /opt/iobroker/iobroker-data/files
        173M    /opt/iobroker/iobroker-data/backup-objects
        89M     /opt/iobroker/iobroker-data/history/20250517
        
        The five largest files in iobroker-data are:
        30M     /opt/iobroker/iobroker-data/files/notification-manager.admin/build/index.js.map
        28M     /opt/iobroker/iobroker-data/objects.jsonl
        27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
        11M     /opt/iobroker/iobroker-data/history/20250520/history.0_userdata.0.stromzaehler.SML.aktuelle_wirkleistung.json
        11M     /opt/iobroker/iobroker-data/history/20250519/history.0_userdata.0.stromzaehler.SML.aktuelle_wirkleistung.json
        
        
        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:

          28M /opt/iobroker/iobroker-data/objects.jsonl

          wenn das mit

          @lucky_esa sagte in iob diag - Skript:

          Ich habe 4 Daten in der Datenbank von iob.

          gemeint ist

          L 1 Reply Last reply Reply Quote 0
          • L
            Lucky_ESA Developer Most Active @Homoran last edited by

            @homoran sagte in iob diag - Skript:

            @thomas-braun sagte in iob diag - Skript:

            28M /opt/iobroker/iobroker-data/objects.jsonl

            wenn das mit

            @lucky_esa sagte in iob diag - Skript:

            Ich habe 4 Daten in der Datenbank von iob.

            gemeint ist

            Es sind 4 Dateien die als meta angelegt sind.

            Screenshot 2025-05-20 225445.png

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

              @lucky_esa

              Die Datei müsste dir aber auch jetzt schon unter The five largest files in iobroker-data are: angezeigt werden. Es sei denn, du hast da noch größere Datenhalden, dann taucht die nicht nicht auf.

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

                @thomas-braun sagte in iob diag - Skript:

                @lucky_esa

                Die Datei müsste dir aber auch jetzt schon unter The five largest files in iobroker-data are: angezeigt werden. Es sei denn, du hast da noch größere Datenhalden, dann taucht die nicht nicht auf.

                Ich weiß das ich diag ausgeführt hatte und auch gespeichert. Hatte aber leider (aus beruchliche Gründe) kein Zeit das Thema anzusprechen. Vielleicht solltest du Dateien >300MB rot anzeigen lassen, wenn nicht bereits umgesetzt. Sorry das ich erst jetzt mit diesem Thema komme, aber es ist mit zeitlich nicht möglich.

                Gruß//Lucky

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

                  @lucky_esa

                  Hängt ja sehr von der Hardwareausstattung ab, welche Dateigrößen kritisch sind.
                  Da liegt man mit solchen Einschätzungen schnell daneben.

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

                    @thomas-braun sagte in iob diag - Skript:

                    @lucky_esa

                    Hängt ja sehr von der Hardwareausstattung ab, welche Dateigrößen kritisch sind.
                    Da liegt man mit solchen Einschätzungen schnell daneben.

                    Das kann ich nicht beurteilen aber RPI5 mit Datei 350MB == Nicht gut

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

                      Kleine Umfrage:
                      Einbauen oder nicht?
                      Fragt die aktuell verwendete nodejs-Installation auf bekannte Sicherheitslücken ab.

                      Checking for nodejs vulnerability:
                      
                      up to date, audited 10 packages in 2s
                      
                      found 0 vulnerabilities
                      
                      
                       █████  ██      ██           ██████   ██████   ██████  ██████         ██
                      ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
                      ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
                      ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
                      ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
                      
                      
                      
                      
                      Negalein Homoran 2 Replies Last reply Reply Quote 3
                      • Negalein
                        Negalein Global Moderator @Thomas Braun last edited by

                        @thomas-braun sagte in iob diag - Skript:

                        Einbauen oder nicht?

                        ja, würde es machen

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

                          @thomas-braun an dem spacing musst du noch arbeiten 😉

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

                            @homoran sagte in iob diag - Skript:

                            an dem spacing musst du noch arbeiten

                            An der Ausgabe kann ich nix machen. Das kommt so aus dem verwendeten nodejs-Modul

                            €dit: Das Blöde ist nur, dass es im Fehlerfall vermeintlich widersprüchliche Aussagen gibt:

                            *** NodeJS-Installation ***
                            
                            nodejs:                 N/A
                            /usr/bin/node           v24.1.0
                            /usr/bin/npm            11.4.1
                            /usr/bin/npx            11.4.1
                            /usr/bin/corepack       0.32.0
                            *** nodejs is NOT correctly installed ***
                            
                            find: '/opt/iobroker/node_modules': No such file or directory
                            Temp directories causing deletion problem: 0
                            No problems detected
                            
                            Errors in npm tree: 0
                            No problems detected
                            
                            Checking for nodejs vulnerability:
                            
                            up to date, audited 10 packages in 1s
                            
                            found 0 vulnerabilities
                            
                            
                             █████  ██      ██           ██████   ██████   ██████  ██████         ██
                            ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
                            ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
                            ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
                            ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
                            
                            

                            Das 'ALL GOOD :)' bezieht sich nur auf die Sicherheitslücken, nicht auf die Installation von nodejs.

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

                              @thomas-braun glaube das wird zu Problemen führen da 98% der User das „All Good“ aufgrund der dominanten Schreibweise so lesen das „Alles OK“ ist und das vorherige Klein geschriebene einfach überlesen.

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

                                @wendy2702

                                Ja, das sind auch meine Bedenken dabei. Was ich aber machen könnte:
                                Der Check wird nur zusätzlich ausgeführt, wenn zuvor die eigentliche Installation auf Korrektheit geprüft wurde. So als goodie. Wenn die Grundinstallation schon schief ist brauchste auch nicht auf Sicherheitslücken prüfen.

                                wendy2702 1 Reply Last reply Reply Quote 2
                                • wendy2702
                                  wendy2702 @Thomas Braun last edited by

                                  @thomas-braun das wäre vielleicht eine Maßnahme.

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

                                    Eine eigentlich korrekt installierte nodejs@18 meldet sich so:

                                    *** NodeJS-Installation ***
                                    
                                    /usr/bin/nodejs         v18.20.8
                                    /usr/bin/node           v18.20.8
                                    /usr/bin/npm            10.8.2
                                    /usr/bin/npx            10.8.2
                                    /usr/bin/corepack       0.32.0
                                    
                                    nodejs:
                                      Installed: 18.20.8-1nodesource1
                                      Candidate: 18.20.8-1nodesource1
                                      Version table:
                                         20.19.2+dfsg-1 500
                                            500 http://deb.debian.org/debian trixie/main arm64 Packages
                                     *** 18.20.8-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                            100 /var/lib/dpkg/status
                                         18.20.6-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                    [...]
                                         18.0.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                    
                                    Temp directories causing deletion problem: 0
                                    No problems detected
                                    
                                    Errors in npm tree: 0
                                    No problems detected
                                    
                                    Checking for nodejs vulnerability:
                                    
                                    up to date, audited 10 packages in 2s
                                    
                                    found 0 vulnerabilities
                                    
                                    
                                    ██████   █████  ███    ██  ██████  ███████ ██████
                                    ██   ██ ██   ██ ████   ██ ██       ██      ██   ██
                                    ██   ██ ███████ ██ ██  ██ ██   ███ █████   ██████
                                    ██   ██ ██   ██ ██  ██ ██ ██    ██ ██      ██   ██
                                    ██████  ██   ██ ██   ████  ██████  ███████ ██   ██
                                    
                                    
                                    v18.20.8 is end-of-life. There are high chances of being vulnerable. Please upgrade it.
                                    
                                    

                                    Eine falsch installierte nodejs@24:

                                    *** NodeJS-Installation ***
                                    
                                    nodejs:                 N/A
                                    /usr/bin/node           v24.1.0
                                    /usr/bin/npm            11.4.1
                                    /usr/bin/npx            11.4.1
                                    /usr/bin/corepack       0.32.0
                                    *** nodejs is NOT correctly installed ***
                                    
                                    find: '/opt/iobroker/node_modules': No such file or directory
                                    Temp directories causing deletion problem: 0
                                    No problems detected
                                    
                                    Errors in npm tree: 0
                                    No problems detected
                                    
                                    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

                                    604
                                    Online

                                    31.7k
                                    Users

                                    79.7k
                                    Topics

                                    1.3m
                                    Posts

                                    49
                                    733
                                    147101
                                    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