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.
    • Homoran
      Homoran Global Moderator Administrators @holla16 last edited by

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

      da kommt das

      geht doch!

      mach mal /opt/iobroker auf

      ausser @Thomas-Braun kann dir was aus /var empfehlen

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

        @homoran

        Die journals in /var sind ja schon verkleinert.

        Hier sollte der influx-Datenberg angepackt werden.

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

          @homoran
          sorry aber wie geht /opt/iobroker?

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

            @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

            @homoran
            sorry aber wie geht /opt/iobroker?

            2 runter 1 rechts

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

              @homoran
              OK dann kommt das

              ncdu 1.15.1 ~ Use the arrow keys to navigate, press ? for help                    
                  1.0 GiB [##########] /node_modules
                362.7 MiB [###       ] /iobroker-data
                 41.6 MiB [          ] /log
                 26.4 MiB [          ] /backups
                  1.0 MiB [          ]  package-lock.json
                  4.0 KiB [          ]  package.json
                  4.0 KiB [          ]  INSTALLER_INFO.txt
                  4.0 KiB [          ]  .npmrc
              @   0.0   B [          ]  iob
                  0.0   B [          ]  iobroker
                  0.0   B [          ]  diag.sh
              
              
              Marc Berg 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @holla16 last edited by Marc Berg

                @holla16

                Wenn du nicht mehr alle InfluxDB-Daten benötigst, könntest du die Vorhaltezeit verkürzen. Hast du InfluxDB 1.x oder 2.x? Wie heißt deine Datenbank/Bucket?

                EDIT: aber auch hierfür benötigt man ein Minimum an freiem Speicherplatz

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

                  @marc-berg
                  ich glaube 1.X aber um die Vorhaltezeit zu verkürzen muss ich ja in die Instanz. Da komme ich aktuell nicht rein.

                  Marc Berg 1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @holla16 last edited by

                    @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                    @marc-berg
                    ich glaube 1.X aber um die Vorhaltezeit zu verkürzen muss ich ja in die Instanz. Da komme ich aktuell nicht rein.

                    das geht auch auf der Kommandozeile. Wenn du 1.x hast, starte

                    influx
                    

                    Wenn du da drin bist

                    USE <DATEBANKNAME>
                    SHOW RETENTION POLICIES
                    

                    Und dann sehen wir weiter.

                    H 1 Reply Last reply Reply Quote 1
                    • H
                      holla16 @Marc Berg last edited by holla16

                      @marc-berg
                      wenn ich influx eingebe kommt das

                      pi@raspberrypi:~ $ influx
                      NAME:
                         influx - Influx Client
                      
                      USAGE:
                         influx [command]
                      
                      HINT: If you are looking for the InfluxQL shell from 1.x, run "influx v1 shell"
                      
                      COMMANDS:
                         version              Print the influx CLI version
                         write                Write points to InfluxDB
                         bucket               Bucket management commands
                         completion           Generates completion scripts
                         query                Execute a Flux query
                         config               Config management commands
                         org, organization    Organization management commands
                         delete               Delete points from InfluxDB
                         user                 User management commands
                         task                 Task management commands
                         telegrafs            List Telegraf configuration(s). Subcommands manage Telegraf configurations.
                         dashboards           List Dashboard(s).
                         export               Export existing resources as a template
                         secret               Secret management commands
                         v1                   InfluxDB v1 management commands
                         auth, authorization  Authorization management commands
                         apply                Apply a template to manage resources
                         stacks               List stack(s) and associated templates. Subcommands manage stacks.
                         template             Summarize the provided template
                         bucket-schema        Bucket schema management commands
                         scripts              Scripts management commands
                         ping                 Check the InfluxDB /health endpoint
                         setup                Setup instance with initial user, org, bucket
                         backup               Backup database
                         restore              Restores a backup directory to InfluxDB
                         remote               Remote connection management commands
                         replication          Replication stream management commands
                         server-config        Display server config
                         help, h              Shows a list of commands or help for one command
                      

                      was muss ich als Name eingeben?

                      Marc Berg 1 Reply Last reply Reply Quote 0
                      • Marc Berg
                        Marc Berg Most Active @holla16 last edited by Marc Berg

                        @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                        wenn ich influx eingebe kommt das

                        Dann ist es keine 1.x, sondern 2.x

                        Kommst Du auf die Weboberfläche der DB?

                        http://<IP des RASPI>:8086
                        
                        H 1 Reply Last reply Reply Quote 0
                        • H
                          holla16 @Marc Berg last edited by

                          @marc-berg
                          ne auf die Weboberfläche geht mit der Ip und dem Port nicht.

                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @holla16 last edited by

                            @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                            ne auf die Weboberfläche geht mit der Ip und dem Port nicht.

                            Hast du die DB noch gestoppt?

                            @thomas-braun sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                            sudo systemctl stop influxd*

                            dann wieder starten.

                            sudo systemctl start influxd*
                            
                            H 1 Reply Last reply Reply Quote 0
                            • H
                              holla16 @Marc Berg last edited by

                              @marc-berg
                              ist ausgeführt:

                              pi@raspberrypi:~ $ sudo systemctl start influxd*
                              Warning: systemctl start called with a glob pattern.
                              Hint: unit globs expand to loaded units, so start will usually have no effect.
                                    Passing --all will also load units which are pulled in by other units.
                                    See systemctl(1) for more details.
                              Job for influxdb.service failed because the control process exited with error code.
                              See "systemctl status influxdb.service" and "journalctl -xe" for details.
                              pi@raspberrypi:~ $
                              

                              auf die Weboberfläche komme ich aber noch nicht

                              Marc Berg 2 Replies Last reply Reply Quote 0
                              • Marc Berg
                                Marc Berg Most Active @holla16 last edited by

                                @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                                Job for influxdb.service failed because the control process exited with error code.

                                Ich denke, die DB kann wegen deines Speicherproblems nicht gestartet werden. Puh ...

                                1 Reply Last reply Reply Quote 0
                                • Marc Berg
                                  Marc Berg Most Active @holla16 last edited by

                                  @holla16

                                  Ich glaube, jetzt hilft nur noch der Holzhammer. Wenn die Daten nicht zu wichtig sind, dann einfach einen Shard löschen:

                                  sudo rm -r /var/lib/influxdb/engine/data/ea8b2dc8c77648a5/autogen/1
                                  

                                  Den Raspi neu starten und schauen, ob die DB wieder hoch kommt. Dann auf die Oberfläche und die Vorhaltezeit verkürzen.

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

                                    @marc-berg
                                    geht auch nicht

                                    pi@raspberrypi:~ $ sudo rm -r /var/lib/influxdb/engine/data/ea8b2dc8c77648a5/autogen/1
                                    rm: cannot remove '/var/lib/influxdb/engine/data/ea8b2dc8c77648a5/autogen/1': No such file or directory
                                    pi@raspberrypi:~ $
                                    
                                    
                                    Marc Berg 1 Reply Last reply Reply Quote 0
                                    • Marc Berg
                                      Marc Berg Most Active @holla16 last edited by

                                      @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                                      geht auch nicht

                                      Hier https://forum.iobroker.net/post/1107842

                                      hattest du allerdings gezeigt, dass das Verzeichnis existiert. Warum es jetzt plötzlich nicht mehr vorhanden sein soll, keine Ahnung.

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

                                        @marc-berg

                                        sorry. Verzeichnis 1 ist raus.

                                        Marc Berg 1 Reply Last reply Reply Quote 0
                                        • Marc Berg
                                          Marc Berg Most Active @holla16 last edited by

                                          @holla16 sagte in Influx DB Daten löschen? Wie? Kein zugriff auf den ioBroker:

                                          sorry. Verzeichnis 1 ist raus.

                                          Das heißt jetzt was?

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

                                            @marc-berg
                                            habe das Verzeichnis 1 und 91 gelöscht. mit sudo reboot auch neu gestartet aber weder die Weboberfläche vom Influx geht noch die vom iobroker??

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            798
                                            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