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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    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.
    • H
      holla16 last edited by

      @Thomas-Braun dann kommt das

      pi@raspberrypi:~ $ iob stop
      pi@raspberrypi:~ $ iob fix
      library: loaded
      Library version=2024-01-04
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2024-01-04
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/5)
      ==========================================================================
      
      Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
      Err:1 http://deb.debian.org/debian bullseye InRelease
        Error writing to file - write (28: No space left on device) [IP: 2a04:4e42:65::644 80]
      Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
      Err:2 http://archive.raspberrypi.org/debian bullseye InRelease
        Error writing to file - write (28: No space left on device) [IP: 2a00:1098:82:47::2:1 80]
      Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
      Err:3 http://security.debian.org/debian-security bullseye-security InRelease
        Error writing to file - write (28: No space left on device) [IP: 2a04:4e42:65::644 80]
      Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
      Err:4 http://deb.debian.org/debian bullseye-updates InRelease
        Error writing to file - write (28: No space left on device) [IP: 2a04:4e42:65::644 80]
      Get:5 https://repos.influxdata.com/debian bullseye InRelease [7,049 B]
      Err:5 https://repos.influxdata.com/debian bullseye InRelease
        Error writing to file - write (28: No space left on device) [IP: 2600:9000:2315:4400:11:fe8d:7d40:93a1 443]
      Get:6 https://deb.nodesource.com/node_16.x bullseye InRelease [4,586 B]
      Err:6 https://deb.nodesource.com/node_16.x bullseye InRelease
        Error writing to file - write (28: No space left on device) [IP: 2606:4700:10::ac43:acd 443]
      Reading package lists... Error!
      W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2a04:4e42:65::644 80]
      W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease  Error writing to file - write (28: No space left on device) [IP: 2a04:4e42:65::644 80]
      W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/InRelease  Error writing to file - write (28: No space left on device) [IP: 2a04:4e42:65::644 80]
      W: Failed to fetch https://repos.influxdata.com/debian/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2600:9000:2315:4400:11:fe8d:7d40:93a1 443]
      W: Failed to fetch https://deb.nodesource.com/node_16.x/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2606:4700:10::ac43:acd 443]
      W: Failed to fetch http://archive.raspberrypi.org/debian/dists/bullseye/InRelease  Error writing to file - write (28: No space left on device) [IP: 2a00:1098:82:47::2:1 80]
      W: Some index files failed to download. They have been ignored, or old ones used instead.
      E: Write error - write (28: No space left on device)
      E: IO Error saving source cache
      E: The package lists or status file could not be parsed or opened.
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/5)
      ==========================================================================
      
      usermod: /etc/passwd.1010: No space left on device
      usermod: cannot lock /etc/passwd; try again later.
      main: line 702: echo: write error: No space left on device
      Created /etc/sudoers.d/iobroker
      usermod: /etc/shadow.1222: No space left on device
      usermod: cannot lock /etc/shadow; try again later.
      usermod: /etc/shadow.1225: No space left on device
      usermod: cannot lock /etc/shadow; try again later.
      usermod: /etc/shadow.1228: No space left on device
      usermod: cannot lock /etc/shadow; try again later.
      usermod: /etc/shadow.1231: No space left on device
      usermod: cannot lock /etc/shadow; try again later.
      usermod: /etc/shadow.1234: No space left on device
      usermod: cannot lock /etc/shadow; try again later.
      usermod: /etc/passwd.1238: No space left on device
      usermod: cannot lock /etc/passwd; try again later.
      usermod: /etc/passwd.1241: No space left on device
      usermod: cannot lock /etc/passwd; try again later.
      Fixing directory permissions...
      usermod: /etc/passwd.1302: No space left on device
      usermod: cannot lock /etc/passwd; try again later.
      
      ==========================================================================
          Check and cleanup npm temporary directories (3/5)
      ==========================================================================
      
      Done.
      
      ==========================================================================
          Database maintenance (4/5)
      ==========================================================================
      
      Checking for uncompressed JSONL databases... This might take a while!
      
      npm ERR! code ENOSPC
      npm ERR! syscall write
      npm ERR! errno -28
      npm ERR! nospc ENOSPC: no space left on device, write
      npm ERR! nospc There appears to be insufficient space on your system to finish.
      npm ERR! nospc Clear up some disk space and try again.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2024-01-06T10_14_32_048Z-debug-0.log
      main: line 14: [: -lt: unary operator expected
      npm ERR! code ENOSPC
      npm ERR! syscall write
      npm ERR! errno -28
      npm ERR! nospc ENOSPC: no space left on device, write
      npm ERR! nospc There appears to be insufficient space on your system to finish.
      npm ERR! nospc Clear up some disk space and try again.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2024-01-06T10_14_33_034Z-debug-0.log
      
      ==========================================================================
          Checking autostart (5/5)
      ==========================================================================
      
      Enabling autostart...
      Failed to enable unit: Unit file /lib/systemd/system/iobroker.service is masked.
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      
      1 Reply Last reply Reply Quote 0
      • H
        holla16 last edited by

        @DJMarc75 : Vielen Dank

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

          @holla16

          Der Datenträger ist voll.

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

            @Thomas-Braun ok, heißt ich kann was machen? Es kann sein, dass die Backups dort gespeichert wurde. Was mich nur wundert. Ich nehme den Raspi fälschlicher Weise so vom Stromnetz, will ich wieder an machen und nichts geht mehr.
            Einfach SD Karte raus backups löschen und loslegen?

            da_Woody Thomas Braun 2 Replies Last reply Reply Quote 0
            • da_Woody
              da_Woody @holla16 last edited by da_Woody

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

              Einfach SD Karte raus backups löschen und loslegen?

              SD raus, wird dein raspi nicht mehr starten...

              Wie groß ist die SD? abstecken, wieder anstecken macht bei meinen raspis fürs 3d drucken kein problem. bei ioB kanns knallen.

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

                @holla16

                Wenn du so grobschlächtig mit dem Ding umgehst wundert mich eigentlich nix mehr.
                Mit

                sudo apt clean 
                

                da etwas Luft verschaffen.
                Dann nochmal wie oben.

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

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

                  abstecken, wieder anstecken macht bei meinen raspis fürs 3d drucken kein problem.

                  Ist auch da Mist. Nie machen, Dateisysteme IMMER sauber aushängen.

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

                    @thomas-braun Ja was ich da jetzt für einen Mist habe, werde ich das zukünftig anders machen.

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

                      ich könnt abdrehen... Hab die SD Karte im Windows PC angeschaut, nicht gemacht. Dann wieder in den Raspi und dann die Befehle ausgeführt. Aber keine Reaktion:

                      pi@raspberrypi:~ $ sudo apt clean
                      pi@raspberrypi:~ $ iob stop
                      pi@raspberrypi:~ $ iob fix
                      pi@raspberrypi:~ $ iob start
                      pi@raspberrypi:~ $ iob diag
                      pi@raspberrypi:~ $
                      
                      

                      Wenn ich df eingebe

                      pi@raspberrypi:~ $ df
                      Filesystem     1K-blocks     Used Available Use% Mounted on
                      /dev/root       61092524 60901000         0 100% /
                      devtmpfs         3834160        0   3834160   0% /dev
                      tmpfs            3999920        0   3999920   0% /dev/shm
                      tmpfs            1599972     9284   1590688   1% /run
                      tmpfs               5120        4      5116   1% /run/lock
                      /dev/mmcblk0p1    261108    31264    229844  12% /boot
                      tmpfs             799984        0    799984   0% /run/user/1000
                      pi@raspberrypi:~ $
                      

                      sieht man das die Partition zu 100% voll ist. Kann ich das letzte Backup nicht irgendwie sichern und den ioBroker neu aufsetzen und das Backup einspielen?

                      da_Woody Thomas Braun 2 Replies Last reply Reply Quote 0
                      • da_Woody
                        da_Woody @Thomas Braun last edited by

                        @thomas-braun ist mir grundsätzlich klar, aber hatte seit 3 Jahren kein Problem. Vllt immer Glück gehabt. Da wird ja auch nicht dauernd auf die Karte zugegriffen.
                        Drucker und raspi hängen an einem Shelly Plug. Ein Klick, Strom weg.

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

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

                          Ein Klick, Strom weg.

                          Könnte auch zu 'Ein Klick, System weg' führen. Ist aber hier für den TE uninteressant, wie du deine Kisten malträtierst.

                          1 Reply Last reply Reply Quote 2
                          • da_Woody
                            da_Woody @holla16 last edited by

                            @holla16 solange du noch auf den raspi kommst, geht noch was. Alte Backups löschen, dann ist wieder Luft.
                            Wie das geht kann dir @Thomas-Braun sicher erklären.
                            Neu, sauber aufsetzen wird kein Fehler sein...

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

                              @holla16

                              cd /opt/iobroker
                              sudo -u iobroker npm cache clear --force
                              
                              H 1 Reply Last reply Reply Quote 0
                              • H
                                holla16 @Thomas Braun last edited by

                                @thomas-braun

                                Ok dann kommt das:

                                pi@raspberrypi:~ $ cd /opt/iobroker
                                pi@raspberrypi:/opt/iobroker $ sudo -u iobroker npm cache clear --force
                                npm ERR! code ENOSPC
                                npm ERR! syscall write
                                npm ERR! errno -28
                                npm ERR! nospc ENOSPC: no space left on device, write
                                npm ERR! nospc There appears to be insufficient space on your system to finish.
                                npm ERR! nospc Clear up some disk space and try again.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-08-07T14_00_43_182Z-debug-0.log
                                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/
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    holla16 last edited by

                                    @Thomas-Braun :
                                    bin jetzt so weit

                                    pi@raspberrypi:/opt/iobroker $ ls -lAh / opt/iobroker/backups/
                                    ls: cannot access 'opt/iobroker/backups/': No such file or directory
                                    /:
                                    total 60K
                                    lrwxrwxrwx   1 root root    7 Sep 22  2022 bin -> usr/bin
                                    drwxr-xr-x   4 root root 4.0K Jan  1  1970 boot
                                    drwxr-xr-x  16 root root 3.9K Aug  7 15:25 dev
                                    drwxr-xr-x  86 root root 4.0K Jan  6  2024 etc
                                    drwxr-xr-x   4 root root 4.0K Dec  6  2022 home
                                    lrwxrwxrwx   1 root root    7 Sep 22  2022 lib -> usr/lib
                                    drwx------   2 root root  16K Sep 22  2022 lost+found
                                    drwxr-xr-x   2 root root 4.0K Sep 22  2022 media
                                    drwxr-xr-x   2 root root 4.0K Sep 22  2022 mnt
                                    drwxr-xr-x   3 root root 4.0K Dec  6  2022 opt
                                    dr-xr-xr-x 190 root root    0 Jan  1  1970 proc
                                    drwx------   4 root root 4.0K Dec  6  2022 root
                                    drwxr-xr-x  26 root root  720 Aug  7 15:42 run
                                    lrwxrwxrwx   1 root root    8 Sep 22  2022 sbin -> usr/sbin
                                    drwxr-xr-x   2 root root 4.0K Sep 22  2022 srv
                                    dr-xr-xr-x  12 root root    0 Jan  1  1970 sys
                                    drwxrwxrwt   7 root root 4.0K Aug  7 15:25 tmp
                                    drwxr-xr-x  11 root root 4.0K Sep 22  2022 usr
                                    drwxr-xr-x  11 root root 4.0K Jan  5  2024 var
                                    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/
                                      

                                      Du hast ein Leerzeichen reingeschmuggelt...

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

                                        @Thomas-Braun ;
                                        sorry. Da ist alles drin

                                        pi@raspberrypi:/opt/iobroker $ ls -1Ah /opt/iobroker/backups/
                                        iobroker_2023_12_25-02_40_10_backupiobroker.tar.gz
                                        iobroker_2023_12_26-02_40_10_backupiobroker.tar.gz
                                        iobroker_2023_12_27-02_40_10_backupiobroker.tar.gz
                                        iobroker_2023_12_28-02_40_10_backupiobroker.tar.gz
                                        iobroker_2023_12_29-02_40_10_backupiobroker.tar.gz
                                        iobroker_2023_12_30-02_40_10_backupiobroker.tar.gz
                                        iobroker_2023_12_31-02_40_10_backupiobroker.tar.gz
                                        iobroker_2024_01_01-02_40_10_backupiobroker.tar.gz
                                        iobroker_2024_01_02-02_40_10_backupiobroker.tar.gz
                                        iobroker_2024_01_03-02_40_13_backupiobroker.tar.gz
                                        pi@raspberrypi:/opt/iobroker $
                                        
                                        Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • H
                                          holla16 last edited by

                                          kann ich da nicht alle bis auf den vom 03.01. löschen?

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

                                            @holla16

                                            Bitte kopiere die Kommandos. Das ist ein l, keine 1

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            716
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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