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 @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
                                • Marc Berg
                                  Marc Berg Most Active @holla16 last edited by

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

                                  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??

                                  Ich würde sagen, nach 110 Posts in diesem Thread: Platt machen, neu installieren und Backup zurück spielen. Schade um unser aller Lebenszeit.

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

                                    @marc-berg
                                    ja an dem punkt bin ich jetzt auch. Problem nur, dass die Backups auch auf der SD sind. Kann ich die irgendwie auf eine externe Festplatte kopieren? ZUmindest das letzte aus Anfang der Woche?

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

                                      @holla16

                                      Backups auf dem gleichen Datenträger sind keine. Sowas gehört immer nach extern. Am besten doppelt.

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

                                        @thomas-braun
                                        Da sind die Backups und die würde ich gern irgendwo anders sichern und dann die SD platt machen

                                        pi@raspberrypi:~ $ ls -1Ah /opt/iobroker/backups/
                                        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:~ $
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @holla16 last edited by

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

                                          gern irgendwo anders sichern

                                          Und wo darf es hingehen?

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

                                            @thomas-braun

                                            eine externe Festplatte. Oder ich habe noch eine SD Karte mit USB Kartenleser. da könnte ich was per USB anschließen

                                            Thomas Braun Marc Berg 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            827
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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