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

      rm /opt/iobroker/backups/iobroker_2023_12*
      

      NICHT

      pi@raspberrypi:/opt/iobroker $rm /opt/iobroker/backups/iobroker_2023_12*
      

      in die Konsole knallen.

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

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

        rm /opt/iobroker/backups/iobroker_2023_12*

        Ok dann kommt das

        pi@raspberrypi:/opt/iobroker $ rm /opt/iobroker/backups/iobroker_2023_12*
        rm: cannot remove '/opt/iobroker/backups/iobroker_2023_12*': No such file or directory
        pi@raspberrypi:/opt/iobroker $ df -h
        Filesystem      Size  Used Avail Use% Mounted on
        /dev/root        59G   58G     0 100% /
        devtmpfs        3.7G     0  3.7G   0% /dev
        tmpfs           3.9G     0  3.9G   0% /dev/shm
        tmpfs           1.6G  9.1M  1.6G   1% /run
        tmpfs           5.0M  4.0K  5.0M   1% /run/lock
        /dev/mmcblk0p1  255M   31M  225M  12% /boot
        tmpfs           782M     0  782M   0% /run/user/1000
        pi@raspberrypi:/opt/iobroker $
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @holla16 last edited by

          @holla16

          ls -lAh /opt/iobroker/backups/
          
          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:

            ls -lAh /opt/iobroker/backups/

            pi@raspberrypi:/opt/iobroker $ ls -lAh /opt/iobroker/backups/
            total 27M
            -rw-rwxr--+ 1 iobroker iobroker  15M Jan  1  2024 iobroker_2024_01_01-02_40_10_backupiobroker.tar.gz
            -rw-rwxr--+ 1 iobroker iobroker 4.2M Jan  2  2024 iobroker_2024_01_02-02_40_10_backupiobroker.tar.gz
            -rw-rwxr--+ 1 iobroker iobroker 8.2M Jan  3  2024 iobroker_2024_01_03-02_40_13_backupiobroker.tar.gz
            pi@raspberrypi:/opt/iobroker $
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @holla16 last edited by

              @holla16

              iob stop
              iob fix
              iob start
              iob diag
              
              H 1 Reply Last reply Reply Quote 0
              • H
                holla16 @Thomas Braun last edited by

                @thomas-braun

                pi@raspberrypi:/opt/iobroker $ iob stop
                pi@raspberrypi:/opt/iobroker $ iob fix
                pi@raspberrypi:/opt/iobroker $ iob start
                pi@raspberrypi:/opt/iobroker $ iob diag
                pi@raspberrypi:/opt/iobroker $
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @holla16 last edited by

                  @holla16

                  curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                  
                  1 Reply Last reply Reply Quote 0
                  • H
                    holla16 last edited by

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

                    curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    pi@raspberrypi:/opt/iobroker $ curl -L -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                     Dload  Upload   Total   Spent    Left  Speed
                      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                    curl: (60) SSL certificate problem: certificate is not yet valid
                    More details here: https://curl.se/docs/sslcerts.html
                    
                    curl failed to verify the legitimacy of the server and therefore could not
                    establish a secure connection to it. To learn more about this situation and
                    how to fix it, please visit the web page mentioned above.
                    pi@raspberrypi:/opt/iobroker $
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @holla16 last edited by

                      @holla16

                      curl -kL -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                      
                      H 1 Reply Last reply Reply Quote 0
                      • H
                        holla16 @Thomas Braun last edited by

                        @thomas-braun

                        pi@raspberrypi:/opt/iobroker $ curl -kL -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
                          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                         Dload  Upload   Total   Spent    Left  Speed
                        100   185  100   185    0     0   1258      0 --:--:-- --:--:-- --:--:--  1267
                         87 18519   87 16127    0     0  60627      0 --:--:-- --:--:-- --:--:-- 60627
                        curl: (23) Failure writing output to destination
                        pi@raspberrypi:/opt/iobroker $
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @holla16 last edited by

                          @holla16

                          Wohl immer noch kein Platz auf der Kiste.

                          sudo du -a / | sort -n -r | head -n 20
                          
                          H 1 Reply Last reply Reply Quote 0
                          • H
                            holla16 @Thomas Braun last edited by

                            @thomas-braun

                            da kommt das

                            pi@raspberrypi:/opt/iobroker $ sudo du -a / | sort -n -r | head -n 20
                            sort: write failed: /tmp/sortm0nSnH: No space left on device
                            pi@raspberrypi:/opt/iobroker $
                            
                            

                            ne da ist alles zu 100% voll. Wir haben eben gesehen, dass dort einige Backups drin waren. Können wir da nicht was löschen?

                            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:

                              Können wir da nicht was löschen?

                              Haben wir schon.

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

                                @thomas-braun

                                pi@raspberrypi:/opt/iobroker $ df -h
                                Filesystem      Size  Used Avail Use% Mounted on
                                /dev/root        59G   58G     0 100% /
                                devtmpfs        3.7G     0  3.7G   0% /dev
                                tmpfs           3.9G     0  3.9G   0% /dev/shm
                                tmpfs           1.6G  9.1M  1.6G   1% /run
                                tmpfs           5.0M  4.0K  5.0M   1% /run/lock
                                /dev/mmcblk0p1  255M   31M  225M  12% /boot
                                tmpfs           782M     0  782M   0% /run/user/1000
                                pi@raspberrypi:/opt/iobroker $
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            709
                                            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