Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker

    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

    Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @holla16 last edited by

      @holla16

      cd /opt/iobroker
      du -cks * | sort -rn | head
      
      H 1 Reply Last reply Reply Quote 0
      • H
        holla16 @Thomas Braun last edited by

        @thomas-braun said in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

        du -cks * | sort -rn | head

        pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker
        pi@raspberrypi:/opt/iobroker $ du -cks * | sort -rn | head
        1456376 total
        1014316 node_modules
        371380  iobroker-data
        42608   log
        27060   backups
        1004    package-lock.json
        4       package.json
        4       INSTALLER_INFO.txt
        0       iobroker
        0       iob
        pi@raspberrypi:/opt/iobroker $
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @holla16 last edited by

          @holla16

          sudo journalctl --vacuum-time=1d
          
          H 1 Reply Last reply Reply Quote 0
          • H
            holla16 @Thomas Braun last edited by

            @thomas-braun said in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

            sudo journalctl --vacuum-time=1d

            pi@raspberrypi:/opt/iobroker $ sudo journalctl --vacuum-time=1d
            Journal file /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system.journal is truncated, ignoring file.
            Vacuuming done, freed 0B of archived journals from /var/log/journal.
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bf4377d-29094d0e0283d9c4.journal~ (4.0K).
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bf60270-5ed240af70674cab.journal~ (16.0K).
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/user-1001@00060e412865f478-c67b3d07a3effefe.journal~ (0B).
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e4311051e99-63e627a9400cfabf.journal~ (4.0K).
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e4128666972-6cc52e4157cb0ff4.journal~ (6.8M).
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bfd91c1-7ce41f4661306f35.journal~ (16.0K).
            Deleted empty archived journal /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9/system@00060e431bf47993-12a2a39f85f1a43d.journal~ (16.0K).
            Vacuuming done, freed 6.9M of archived journals from /var/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9.
            Vacuuming done, freed 0B of archived journals from /run/log/journal/01a56749d6014a4a88a8e1ae7e3c25b9.
            Vacuuming done, freed 0B of archived journals from /run/log/journal.
            pi@raspberrypi:/opt/iobroker $
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @holla16 last edited by

              @holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

              freed 6.9M

              Das ist natürlich nix.

              sudo ncdu /
              

              wird vermutlich nicht funktionieren.

              H Homoran 3 Replies Last reply Reply Quote 0
              • H
                holla16 @Thomas Braun last edited by

                @thomas-braun said in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                sudo ncdu /

                Es öffnet sich ein neues "Fenster" mit diesen Infos:

                    1.5 GiB [          ] /usr
                    1.4 GiB [          ] /opt
                  440.7 MiB [          ] /home
                   30.5 MiB [          ] /boot
                    9.1 MiB [          ] /run
                    3.9 MiB [          ] /etc
                   32.0 KiB [          ] /root
                   24.0 KiB [          ] /tmp
                e  16.0 KiB [          ] /lost+found
                e   4.0 KiB [          ] /srv
                e   4.0 KiB [          ] /mnt
                e   4.0 KiB [          ] /media
                    0.0   B [          ] /sys
                .   0.0   B [          ] /proc
                    0.0   B [          ] /dev
                @   0.0   B [          ]  sbin
                @   0.0   B [          ]  lib
                @   0.0   B [          ]  bin
                
                
                Homoran 1 Reply Last reply Reply Quote 0
                • H
                  holla16 @Thomas Braun last edited by

                  @thomas-braun

                  soll ich da wieder raus und wenn ja wie?

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

                    @holla16

                    Nee, damit suchst du jetzt die dicken Dinger.

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

                      @thomas-braun
                      ok und das mache ich wie?

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

                        @holla16

                        ?
                        Mit den Pfeiltasten durch die Verzeichnisse hangeln. Die dicken haben die meisten #-Zeichen...
                        Bei mir also z. B.

                        ncdu 1.19 ~ Use the arrow keys to navigate, press ? for help
                        --- / ------------------------------------------------------------------------------------------------------------------
                            5.8 GiB [#################] /opt
                            2.6 GiB [#######          ] /usr
                            1.1 GiB [###              ] /var
                          906.9 MiB [##               ] /home
                          161.6 MiB [                 ] /boot
                           22.7 MiB [                 ] /tmp
                            5.5 MiB [                 ] /etc
                        

                        Näheres dann per ?-Taste im Programm.

                        H 2 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @holla16 last edited by

                          @holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                          Es öffnet sich ein neues "Fenster" mit diesen Infos:

                          ist das alles?

                          du hast laut df -h 58GB voll

                          Homoran 1 Reply Last reply Reply Quote 0
                          • H
                            holla16 @Thomas Braun last edited by

                            @thomas-braun

                            hab den Fehler gefunden. Es sind influxdb Daten:

                            --- /var/lib/influxdb/engine/data/ea8b2dc8c77648a5/autogen ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------                         /..
                                1.6 GiB [##########] /91
                                1.6 GiB [######### ] /89
                                1.5 GiB [######### ] /87
                                1.5 GiB [######### ] /85
                                1.4 GiB [########  ] /83
                                1.4 GiB [########  ] /81
                                1.3 GiB [########  ] /79
                                1.3 GiB [########  ] /109                                                                                                                                                                                                                    1.3 GiB [#######   ] /77
                                1.2 GiB [#######   ] /75
                                1.2 GiB [#######   ] /107
                                1.2 GiB [#######   ] /105
                                1.2 GiB [#######   ] /93
                                1.2 GiB [#######   ] /99
                                1.2 GiB [#######   ] /73
                                1.2 GiB [#######   ] /103
                                1.1 GiB [######    ] /111
                                1.1 GiB [######    ] /71
                                1.1 GiB [######    ] /69
                                1.1 GiB [######    ] /101
                                1.0 GiB [######    ] /67
                                1.0 GiB [######    ] /95
                                1.0 GiB [######    ] /97
                                1.0 GiB [######    ] /65
                              955.4 MiB [#####     ] /63
                              948.1 MiB [#####     ] /35
                              913.8 MiB [#####     ] /51
                              903.5 MiB [#####     ] /61
                              897.4 MiB [#####     ] /33
                              862.6 MiB [#####     ] /49
                              861.2 MiB [#####     ] /37
                              852.2 MiB [#####     ] /59
                              846.1 MiB [#####     ] /31
                              811.1 MiB [####      ] /47
                              801.6 MiB [####      ] /57
                              794.6 MiB [####      ] /29
                              759.9 MiB [####      ] /45
                              750.9 MiB [####      ] /55
                              742.8 MiB [####      ] /27
                              708.8 MiB [####      ] /43
                              707.0 MiB [####      ] /53
                              691.2 MiB [####      ] /25
                              657.5 MiB [###       ] /41
                              640.6 MiB [###       ] /23
                              606.0 MiB [###       ] /39
                              588.6 MiB [###       ] /21
                              537.8 MiB [###       ] /18
                              492.5 MiB [##        ] /16
                              451.9 MiB [##        ] /14
                              413.1 MiB [##        ] /12
                              371.9 MiB [##        ] /10
                              335.7 MiB [##        ] /8
                              300.0 MiB [#         ] /6
                              265.2 MiB [#         ] /4
                              242.7 MiB [#         ] /113
                              114.5 MiB [          ] /1
                            
                            1 Reply Last reply Reply Quote 0
                            • H
                              holla16 @Thomas Braun last edited by

                              @thomas-braun

                              kann auf die influx bd. daten gern verzichten. Die liefen eh nur mit ohne, dass ich bisher damit was gemacht habe. Kann man die Löschen und wenn ja wie?

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

                                @holla16

                                Bei influxdb kenne ich micht nicht aus.
                                Löschen mit

                                sudo apt purge influxdb*
                                

                                Edit: Wrong command... 🙂

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

                                  @thomas-braun sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                                  @holla16

                                  Bei influxdb kenne ich micht nicht aus.
                                  Löschen mit

                                  sudo apt prune influxdb*
                                  

                                  löscht aber die Daten nicht

                                  kenne mich mit dem Influx Adapter nicht aus, aber ggf. kann man da auch die Aufbewahrungszeit reduzieren, dann werden alte Daten gelöscht

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

                                    @homoran sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                                    löscht aber die Daten nicht

                                    Hast recht.

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

                                      @homoran
                                      das kann ich ja gerne versuchen, ich komme in den iobroker aber nicht rein. Kein Zugriff per ip Adresse. nur über das Terminal. Heißt den Adapter kann ich aktuell wegen dem vollen speicher nicht konfigurieren. Heißt da müssen daten weg. Nur wie und welche?

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

                                        @holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                                        da müssen daten weg. Nur wie und welche?

                                        logdateien in /opt/iobroker/logs

                                        leider zeigst du nicht alles.
                                        Hab vorhin schon nachgefragt

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

                                          @homoran
                                          Hi,

                                          das sind alle 57 gb daten: Und daher die Frage ob man die löschen kann? Dann wäre die Hoffnung wieder per IP Adresse auf den ioBroker zugreifen zu können und dann würde ich den Adapter neu konfigurieren.

                                          --- /var/lib/influxdb/engine/data/ea8b2dc8c77648a5/autogen ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------                     /..
                                            114.4 MiB [  0.2%] /1
                                            371.8 MiB [  0.7%] /10
                                              1.1 GiB [  2.1%] /101
                                              1.2 GiB [  2.3%] /103
                                              1.2 GiB [  2.4%] /105
                                              1.2 GiB [  2.4%] /107
                                              1.3 GiB [  2.6%] /109
                                              1.1 GiB [  2.3%] /111
                                            242.6 MiB [  0.5%] /113
                                            413.0 MiB [  0.8%] /12
                                            451.9 MiB [  0.9%] /14
                                            492.4 MiB [  1.0%] /16
                                            537.8 MiB [  1.0%] /18
                                            588.6 MiB [  1.1%] /21
                                            640.5 MiB [  1.2%] /23
                                            691.1 MiB [  1.3%] /25
                                            742.8 MiB [  1.4%] /27
                                            794.5 MiB [  1.5%] /29
                                            846.0 MiB [  1.6%] /31
                                            897.3 MiB [  1.7%] /33
                                            948.1 MiB [  1.8%] /35
                                            861.1 MiB [  1.7%] /37
                                            606.0 MiB [  1.2%] /39
                                            265.2 MiB [  0.5%] /4
                                            657.4 MiB [  1.3%] /41
                                            708.8 MiB [  1.4%] /43
                                            759.9 MiB [  1.5%] /45
                                            811.1 MiB [  1.6%] /47
                                            862.6 MiB [  1.7%] /49
                                            913.7 MiB [  1.8%] /51
                                            706.9 MiB [  1.4%] /53
                                            750.8 MiB [  1.5%] /55
                                            801.5 MiB [  1.6%] /57
                                            852.2 MiB [  1.7%] /59
                                            299.9 MiB [  0.6%] /6
                                            903.5 MiB [  1.8%] /61
                                            955.4 MiB [  1.9%] /63
                                              1.0 GiB [  2.0%] /65
                                              1.0 GiB [  2.1%] /67
                                              1.1 GiB [  2.2%] /69
                                              1.1 GiB [  2.3%] /71
                                              1.2 GiB [  2.4%] /73
                                              1.2 GiB [  2.5%] /75
                                              1.3 GiB [  2.6%] /77                                                                                                                                                                                                                         1.3 GiB [  2.7%] /79
                                            335.7 MiB [  0.7%] /8
                                              1.4 GiB [  2.8%] /81
                                              1.4 GiB [  2.9%] /83
                                              1.5 GiB [  3.0%] /85
                                              1.5 GiB [  3.1%] /87
                                              1.6 GiB [  3.2%] /89
                                              1.6 GiB [  3.3%] /91
                                              1.2 GiB [  2.4%] /93
                                              1.0 GiB [  2.0%] /95
                                              1.0 GiB [  2.0%] /97
                                              1.2 GiB [  2.4%] /9
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Homoran last edited by

                                            @homoran sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                                            @holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                                            Es öffnet sich ein neues "Fenster" mit diesen Infos:

                                            ist das alles?

                                            du hast laut df -h 58GB voll

                                            und wie sehen die 58GB in ncdu aus?

                                            @holla16 sagte in Keine Lan Verbundung zum Raspi / per SSH aber möglich:

                                            das sind alle 57 gb daten:

                                            aber unsortiert!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            932
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            126
                                            6834
                                            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