Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. Datenpunkte in influxDB/Grafana nicht da

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Datenpunkte in influxDB/Grafana nicht da

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

      @thomas-braun sagte in Datenpunkte in influxDB/Grafana nicht da:

      Die ganzen angemeckerten Doubletten rauswerfen.
      Die Quelle mit dem Eintrag zu 'buster' durch 'bullseye' ersetzen.

      Das mit den Doubletten . Ist das ein doppelter Eintrag in der grafana.list gewesen? Dort habe ich jetzt das was doppelt war, entfernt. Jetzt zeigt sudo apt update

      
      pi@ioBroker-Slave-1:~ $ sudo apt update
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      OK:3 https://packages.grafana.com/oss/deb stable InRelease
      OK:4 https://repos.influxdata.com/debian stable InRelease
      OK:5 https://repos.influxdata.com/debian buster InRelease
      OK:6 https://apt.grafana.com stable InRelease
      OK:7 https://archive.raspbian.org/raspbian bullseye InRelease
      OK:8 https://deb.nodesource.com/node_14.x bullseye InRelease
      OK:9 https://deb.nodesource.com/node_16.x bullseye InRelease
      Paketlisten werden gelesen… Fertig
      Abhängigkeitsbaum wird aufgebaut… Fertig
      Statusinformationen werden eingelesen… Fertig
      Alle Pakete sind aktuell.
      pi@ioBroker-Slave-1:~ $
      
      

      Das mit der Quelle, da stehe ich auf dem Schlauch.

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

        @beowolf

        Dann kannst du die list-Files weiter aufräumen.

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

          @beowolf

          OK:1 http://archive.raspberrypi.org/debian buster InRelease
          

          Wird in der raspi.list zu finden sein. Ersetze buster durch bullseye

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

            @thomas-braun

            OK:4 https://repos.influxdata.com/debian stable InRelease
            OK:5 https://repos.influxdata.com/debian buster InRelease
            

            In einer der beiden influx*.list dürfte eine Zeile mit Buster drin sein. Lösch die Datei.

            B 1 Reply Last reply Reply Quote 0
            • B
              Beowolf @Thomas Braun last edited by

              @thomas-braun

              In der influxdb.list steht

              deb https://repos.influxdata.com/debian buster stable
              

              habe ich auf

              deb https://repos.influxdata.com/debian bullseye stable
              

              geändert.

              Soll ich die Datei komplett löschen?

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

                @beowolf

                Du hast zwei .list-Dateien zu influx:

                -rw-r--r-- 1 root root  117 23. Feb 11:33 influxdata.list
                -rw-r--r-- 1 root root   54 23. Feb 11:56 influxdb.list
                

                Eine davon enthält den Verweis auf buster. Die löschen, denn die andere hat den Verweis auf stable drin.

                1 Reply Last reply Reply Quote 0
                • B
                  Beowolf last edited by

                  Tja, nu ist es egal. Jetzt ist er hin.

                  Der Pi bootet nicht mehr. Ich komm nicht mehr per SSH drauf.

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

                    @beowolf

                    Was haste gemacht?

                    1 Reply Last reply Reply Quote 0
                    • B
                      Beowolf last edited by

                      Nachdem ich die list-dateien geändert habe, habe ich nochmal dieses gemacht

                      sudo apt update
                      sudo apt full-upgrade
                      

                      Dort wurde dann jede Menge aktualisiert.

                      Dann reboot und das war´s.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • B
                        Beowolf last edited by

                        Wenn ich nun die aktuelle Version von bullseye, Grafana und influx installiere und dann ein restore über ioBroker mache, schaufel ich mir dann den ganzen Müll wieder drauf, oder wird nur die Datenbank mit den Werten wieder aufgespielt?

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

                          @beowolf sagte in Datenpunkte in influxDB/Grafana nicht da:

                          Dort wurde dann jede Menge aktualisiert.

                          Da hast du ja auch lange geschludert. Je größer die Menge an Updates wird umso komplexer wird natürlich auch der Update-Vorgang. Deshalb macht man das ja auch regelmäßig in dann kleinerem Umfang.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Beowolf @Thomas Braun last edited by

                            @thomas-braun
                            reicht ein regelmäßiges update und upgrade nicht aus?

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

                              @beowolf

                              iobroker restore hat nichts mit den Paketen des Betriebssystems zu schaffen.

                              1 Reply Last reply Reply Quote 0
                              • B
                                Beowolf last edited by

                                Wie gehe ich denn jetzt am besten vor? Nur die drei Sachen installieren und dann ein restore?

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

                                  @beowolf sagte in Datenpunkte in influxDB/Grafana nicht da:

                                  reicht ein regelmäßiges update und upgrade nicht aus?

                                  Ja, aber man muss es auch machen. Ich zitiere:

                                  164 nicht aktualisiert.
                                  

                                  Und die Quellen konsistent haben. Ein Mix aus verschiedenen releases kann auch zu so verfahrenen Situationen führen.

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

                                    @beowolf sagte in Datenpunkte in influxDB/Grafana nicht da:

                                    Nur die drei Sachen installieren

                                    Welche 'drei Sachen' meinst du?

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      Beowolf @Thomas Braun last edited by

                                      @thomas-braun

                                      bullseye, Grafana und influx

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

                                        @beowolf

                                        Wäre ein Ansatz.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Beowolf last edited by

                                          Erst einmal ein wenig schlafen - morgen geht es weiter.

                                          Vielen Dank für die ganze Hilfe.

                                          Grüße
                                          Manfred

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Beowolf last edited by

                                            So, bin wieder da.

                                            Neu aufgesetzt.

                                            Wenn ich nun versuche die Daten von Grafana per Restore wieder zu laden, bekomme ich diese Meldung unter ioBroker

                                            Started restore ...
                                            [DEBUG] [grafana] - Start Grafana Restore ...
                                            [DEBUG] [grafana] - filename for restore: /opt/iobroker/backups/grafana_2023_05_15-10_02_00_backupiobroker.tar.gz
                                            [DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp
                                            [DEBUG] [grafana] - start decompress
                                            [DEBUG] [grafana] - Grafana request started
                                            [DEBUG] [grafana] - Grafana is available ... Status: 200
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/MySQL.json
                                            [DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists"
                                            [DEBUG] [grafana] - datasoure restore "MySQL" finish: {"datasource":{"id":5,"uid":"T4QlxHigk","orgId":1,"name":"MySQL","type":"mysql","typeLogoUrl":"","access":"proxy","url":"web16.premium-webspace.net","user":"224_wetter","database":"224_wetter","basicAuth":false,"basicAuthUser":"","withCredentials":false,"isDefault":false,"jsonData":{"tlsAuth":false},"secureJsonFields":{},"version":1,"readOnly":false},"id":5,"message":"Datasource added","name":"MySQL"}
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/anzuchtschrank.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/brutkasten.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/dachgeschoss.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/energieubersicht.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/erdgeschoss.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/kellergeschoss.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/huhnerhaus.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/heizung.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/obergeschoss.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/new-dashboard-copy.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pflanzbeet-pflox.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/olheizung.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pflanzkasten-pflox.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pflanzstreifen-garage.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pflanzstreifen-eingang.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/ubersicht-wassertanks.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/phase-1.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/rosenpflanzkasten.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/umweltdaten-stall.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/umweltdaten.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/wasserspiel.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/wohnhaus.json
                                            [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/wetterdaten-stall.json
                                            [DEBUG] [grafana] - cannot restore dashboard "anzuchtschrank": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "energieubersicht": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - Grafana dashboard restore not possible: TypeError: Cannot read properties of undefined (reading 'data')
                                            [DEBUG] [grafana] - Grafana request ended
                                            [DEBUG] [grafana] - Try deleting the Grafana tmp directory
                                            [DEBUG] [grafana] - Grafana tmp directory was successfully deleted
                                            [DEBUG] [grafana] - cannot restore dashboard "umweltdaten": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "wasserspiel": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "wohnhaus": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "brutkasten": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "olheizung": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "huhnerhaus": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "obergeschoss": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "dachgeschoss": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "phase-1": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "pflanzstreifen-garage": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "ubersicht-wassertanks": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "pflanzstreifen-eingang": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "kellergeschoss": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "erdgeschoss": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "pflanzbeet-pflox": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "new-dashboard-copy": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "pflanzkasten-pflox": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "umweltdaten-stall": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "rosenpflanzkasten": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - cannot restore dashboard "wetterdaten-stall": {"message":"invalid API key","traceID":""}
                                            [DEBUG] [grafana] - Grafana Restore completed successfully
                                            [EXIT] Grafana restore done
                                            

                                            Was ist das mit dem

                                            {"message":"invalid API key","traceID":""}
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            983
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            64
                                            1898
                                            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