Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Backitup - Grafana - https - self-signed certificate

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    352

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

Backitup - Grafana - https - self-signed certificate

Geplant Angeheftet Gesperrt Verschoben Error/Bug
28 Beiträge 4 Kommentatoren 3.6k Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R ravenmaster887

    Hallo zusammen,

    ich bräuchte mal euren Rat.

    Ich habe den ioBroker incl. Grafana auf einem Raspberry Pi installiert und Backups mit Backitup eingerichtet. Diese sind auch normal gelaufen.

    Nach dem ich Grafana mittel selbst erstelltem Zertifikat auf https umgestellt hatte, bekomme ich beim Backup mittels Backitup folgende Fehlermeldung und es wird von Grafana kein Backup mehr erzeugt. In den Einstellungen des Backitup Adapters habe ich das Protokoll für die Verbindung aber auf https umgestellt:

    Started iobroker ...
    [DEBUG] [mount] - noserverino option: false
    [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=ioBroker-Backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //ravennas/iobroker/Backup /opt/iobroker/backups"
    [DEBUG] [mount] - mount successfully completed
    [DEBUG] [mount] - done
    [DEBUG] [iobroker] - host.iobroker-pi 993 states saved
    
    [DEBUG] [iobroker] - host.iobroker-pi 2757 objects saved
    
    [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_10_13-12_01_53_backupiobroker.tar.gz
    
    [DEBUG] [iobroker] - done
    [DEBUG] [grafana] - Start Grafana Backup ...
    [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
    [DEBUG] [grafana] - Created dashboard directory
    [DEBUG] [grafana] - Created dashboards_manually_restore directory
    [DEBUG] [grafana] - Created datasource directory
    [DEBUG] [grafana] - start Grafana request ...
    **[DEBUG] [grafana] - Grafana is not available: Error: self signed certificate**
    [DEBUG] [grafana] - Grafana is not available!
    [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
    [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
    [DEBUG] [grafana] - Grafana Backup cannot created ...
    [DEBUG] [grafana] - done
    [DEBUG] [cifs] - used copy path: /iobroker/Backup
    [DEBUG] [cifs] - done
    [DEBUG] [clean] - done
    [DEBUG] [historyHTML] - new history html values created
    [DEBUG] [historyHTML] - done
    [DEBUG] [historyJSON] - new history json values created
    [DEBUG] [historyJSON] - done
    [DEBUG] [umount] - mount activ, umount is started ...
    [DEBUG] [umount] - umount successfully completed
    [DEBUG] [umount] - done
    [EXIT] 0
    

    Auf Github habe ich unter diesem Link https://github.com/simatec/ioBroker.backitup/issues/483 vermutlich genau die Situation gefunden.
    In Grafana scheint sich der Umgang mit API Keys anscheinend auch etwas geändert zu haben. Dort habe ich einen neuen Service Account mit der Rolle Viewer als Admin erstellt und ein Token erzeugt und diesen in Backitup hinterlegt. Leider alles ohne Erfolg, ich verstehe aktuell nicht, wo mein Fehler ist.

    Hier noch ein paar Detail zu den eingesetzen Versionen:
    ioBroker-Admin: 6.2.12
    Backitup: 2.4.12
    Grafana: 9.1.6

    Habt Ihr einen Tipp für mich?

    Danke euch.

    simatecS Online
    simatecS Online
    simatec
    Developer Most Active
    schrieb am zuletzt editiert von
    #17

    @ravenmaster887 sagte in Backitup - Grafana - https - self-signed certificate:

    Dort habe ich einen neuen Service Account mit der Rolle Viewer als Admin erstellt und ein Token erzeugt

    Rolle bitte immer Admin mit vollen Rechten... dann läuft das Backup durch.
    Du willst ja auch ggfs. einen Restore durchführen. Viewer ist hier falsch.

    • Besuche meine Github Seite
    • Beitrag hat geholfen oder willst du mich unterstützen
    • HowTo Restore ioBroker
    R 1 Antwort Letzte Antwort
    1
    • simatecS simatec

      @ravenmaster887 sagte in Backitup - Grafana - https - self-signed certificate:

      Dort habe ich einen neuen Service Account mit der Rolle Viewer als Admin erstellt und ein Token erzeugt

      Rolle bitte immer Admin mit vollen Rechten... dann läuft das Backup durch.
      Du willst ja auch ggfs. einen Restore durchführen. Viewer ist hier falsch.

      R Offline
      R Offline
      ravenmaster887
      schrieb am zuletzt editiert von
      #18

      @simatec Ich bin nochmal die Einstellungen in den Service accounts in Grafana durchgegangen und habe sie nochmal neu gesetzt.

      Wären diese Einstellungen so richtig?
      90f7e13c-3ac1-4ee3-ae7e-601148ddb11e-grafik.png

      Bei dem anschließendem Test kam leider das gleiche Ergebnis heraus.

      [DEBUG] [grafana] - Start Grafana Backup ...
      [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
      [DEBUG] [grafana] - Created dashboard directory
      [DEBUG] [grafana] - Created dashboards_manually_restore directory
      [DEBUG] [grafana] - Created datasource directory
      [DEBUG] [grafana] - start Grafana request ...
      [DEBUG] [grafana] - Grafana is not available: Error: self signed certificate
      [DEBUG] [grafana] - Grafana is not available!
      [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
      [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
      [DEBUG] [grafana] - Grafana Backup cannot created ...
      [DEBUG] [grafana] - done

      simatecS 1 Antwort Letzte Antwort
      0
      • R ravenmaster887

        @simatec Ich bin nochmal die Einstellungen in den Service accounts in Grafana durchgegangen und habe sie nochmal neu gesetzt.

        Wären diese Einstellungen so richtig?
        90f7e13c-3ac1-4ee3-ae7e-601148ddb11e-grafik.png

        Bei dem anschließendem Test kam leider das gleiche Ergebnis heraus.

        [DEBUG] [grafana] - Start Grafana Backup ...
        [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
        [DEBUG] [grafana] - Created dashboard directory
        [DEBUG] [grafana] - Created dashboards_manually_restore directory
        [DEBUG] [grafana] - Created datasource directory
        [DEBUG] [grafana] - start Grafana request ...
        [DEBUG] [grafana] - Grafana is not available: Error: self signed certificate
        [DEBUG] [grafana] - Grafana is not available!
        [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
        [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
        [DEBUG] [grafana] - Grafana Backup cannot created ...
        [DEBUG] [grafana] - done

        simatecS Online
        simatecS Online
        simatec
        Developer Most Active
        schrieb am zuletzt editiert von
        #19

        @ravenmaster887 Da bist du völlig falsch.
        Du musst einen API-Key erzeugen und diesen in Backitup eintragen

        42d5790d-05f9-4389-af01-c18015ef946c-image.png

        • Besuche meine Github Seite
        • Beitrag hat geholfen oder willst du mich unterstützen
        • HowTo Restore ioBroker
        R DJMarc75D 2 Antworten Letzte Antwort
        0
        • simatecS simatec

          @ravenmaster887 Da bist du völlig falsch.
          Du musst einen API-Key erzeugen und diesen in Backitup eintragen

          42d5790d-05f9-4389-af01-c18015ef946c-image.png

          R Offline
          R Offline
          ravenmaster887
          schrieb am zuletzt editiert von
          #20

          @simatec Hab nochmal einen API-Key in Grafana erstellt und den Key im Backitup-Adapter eingefügt:
          387573b6-0b9f-442a-b4a8-0077853697e6-grafik.png

          Leider trotzdem mit gleichem Ergebnis:
          [DEBUG] [grafana] - Start Grafana Backup ...
          [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
          [DEBUG] [grafana] - Created dashboard directory
          [DEBUG] [grafana] - Created dashboards_manually_restore directory
          [DEBUG] [grafana] - Created datasource directory
          [DEBUG] [grafana] - start Grafana request ...
          [DEBUG] [grafana] - Grafana is not available: Error: self signed certificate
          [DEBUG] [grafana] - Grafana is not available!
          [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
          [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
          [DEBUG] [grafana] - Grafana Backup cannot created ...
          [DEBUG] [grafana] - done

          Mich stört an der Stelle die Fehlermeldung, die Ja explizit sagt, Grafana is not available: Error: self signed certificate.

          1 Antwort Letzte Antwort
          0
          • simatecS simatec

            @ravenmaster887 Da bist du völlig falsch.
            Du musst einen API-Key erzeugen und diesen in Backitup eintragen

            42d5790d-05f9-4389-af01-c18015ef946c-image.png

            DJMarc75D Offline
            DJMarc75D Offline
            DJMarc75
            schrieb am zuletzt editiert von DJMarc75
            #21

            @simatec sagte in Backitup - Grafana - https - self-signed certificate:

            Da bist du völlig falsch.

            Das ist nicht ganz korrekt.
            Seit Grafana 9.1.x (welche genaue Version ist mir nicht bekannt) gibt es einen Button in der API-Keys Sektion mit welcher man API-Keys zu Service-Accounts migrieren kann. Einmal angeklickt ist das nicht mehr rückgängig zu machen.
            Hat aber erstmal bei normalem Backup per HTTP keinen Einfluss.
            Anscheinend aber per HTTPS ?!
            Nutze selbst nur HTTP.
            @ravenmaster887 stell doch einfach nochmal um auf HTTP und teste es nochmals damit.

            EDIT: sehe gerade dass er wohl doch noch nicht migriert hat :eyeglasses: sorry

            Lehrling seit 1975 !!!
            Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
            https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

            1 Antwort Letzte Antwort
            0
            • R Offline
              R Offline
              ravenmaster887
              schrieb am zuletzt editiert von
              #22

              Nach Umstellung auf http funktioniert das Backup normal:

              [DEBUG] [iobroker] - done
              [DEBUG] [grafana] - Start Grafana Backup ...
              [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
              [DEBUG] [grafana] - Created dashboard directory
              [DEBUG] [grafana] - Created dashboards_manually_restore directory
              [DEBUG] [grafana] - Created datasource directory
              [DEBUG] [grafana] - start Grafana request ...
              [DEBUG] [grafana] - Grafana is available ... Status: 200
              [DEBUG] [grafana] - found Dashboard: general-alerting
              [DEBUG] [grafana] - found Dashboard: heizungseinstellungen
              [DEBUG] [grafana] - found Dashboard: dasi
              [DEBUG] [grafana] - found Dashboard: ubersicht-strom
              [DEBUG] [grafana] - found Dashboard: verbraucher-1-jahr
              [DEBUG] [grafana] - found Dashboard: dashboard-rpi-dasi
              [DEBUG] [grafana] - found Dashboard: dashboard-rpi
              [DEBUG] [grafana] - start Grafana backup compress ...
              [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2022_10_13-15_44_42_backupiobroker.tar.gz
              [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
              [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
              [DEBUG] [grafana] - done
              
              simatecS 1 Antwort Letzte Antwort
              0
              • R ravenmaster887

                Nach Umstellung auf http funktioniert das Backup normal:

                [DEBUG] [iobroker] - done
                [DEBUG] [grafana] - Start Grafana Backup ...
                [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
                [DEBUG] [grafana] - Created dashboard directory
                [DEBUG] [grafana] - Created dashboards_manually_restore directory
                [DEBUG] [grafana] - Created datasource directory
                [DEBUG] [grafana] - start Grafana request ...
                [DEBUG] [grafana] - Grafana is available ... Status: 200
                [DEBUG] [grafana] - found Dashboard: general-alerting
                [DEBUG] [grafana] - found Dashboard: heizungseinstellungen
                [DEBUG] [grafana] - found Dashboard: dasi
                [DEBUG] [grafana] - found Dashboard: ubersicht-strom
                [DEBUG] [grafana] - found Dashboard: verbraucher-1-jahr
                [DEBUG] [grafana] - found Dashboard: dashboard-rpi-dasi
                [DEBUG] [grafana] - found Dashboard: dashboard-rpi
                [DEBUG] [grafana] - start Grafana backup compress ...
                [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2022_10_13-15_44_42_backupiobroker.tar.gz
                [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                [DEBUG] [grafana] - done
                
                simatecS Online
                simatecS Online
                simatec
                Developer Most Active
                schrieb am zuletzt editiert von simatec
                #23

                @ravenmaster887 Mach mal bitte ein Issue auf, damit ich mir das anschauen kann.
                Denke es liegt am selbstsignierten Zertifkat

                • Besuche meine Github Seite
                • Beitrag hat geholfen oder willst du mich unterstützen
                • HowTo Restore ioBroker
                R 1 Antwort Letzte Antwort
                0
                • simatecS simatec

                  @ravenmaster887 Mach mal bitte ein Issue auf, damit ich mir das anschauen kann.
                  Denke es liegt am selbstsignierten Zertifkat

                  R Offline
                  R Offline
                  ravenmaster887
                  schrieb am zuletzt editiert von
                  #24

                  @simatec Issue ist erstellt. Danke fürs anschauen. :)

                  DJMarc75D 1 Antwort Letzte Antwort
                  0
                  • R ravenmaster887

                    @simatec Issue ist erstellt. Danke fürs anschauen. :)

                    DJMarc75D Offline
                    DJMarc75D Offline
                    DJMarc75
                    schrieb am zuletzt editiert von
                    #25

                    @ravenmaster887 ups, da fällt mir grad im Issue auf dass Dein System ja auch nicht unbedingt lebendig ist...
                    ob das u.U. auch damit zu tun hat ?
                    Jedenfalls ist es dringend ratsam das auf neusten Stand zu bringen !

                    Lehrling seit 1975 !!!
                    Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                    1 Antwort Letzte Antwort
                    0
                    • simatecS Online
                      simatecS Online
                      simatec
                      Developer Most Active
                      schrieb am zuletzt editiert von
                      #26

                      Bitte testet mal die Version 2.5.4 und passt die Grafana Einstellungen dementsprechend an.

                      5f07aabc-16dc-4098-8b79-4dab64aec3b4-image.png

                      • Besuche meine Github Seite
                      • Beitrag hat geholfen oder willst du mich unterstützen
                      • HowTo Restore ioBroker
                      R 1 Antwort Letzte Antwort
                      0
                      • simatecS simatec

                        Bitte testet mal die Version 2.5.4 und passt die Grafana Einstellungen dementsprechend an.

                        5f07aabc-16dc-4098-8b79-4dab64aec3b4-image.png

                        R Offline
                        R Offline
                        ravenmaster887
                        schrieb am zuletzt editiert von
                        #27

                        @simatec Nach dem Update auf 2.5.4 funktioniert das Backup jetzt auch mit dem selbst erstellten Zertifikat. Perfekt, Danke. :)

                        P 1 Antwort Letzte Antwort
                        0
                        • R ravenmaster887

                          @simatec Nach dem Update auf 2.5.4 funktioniert das Backup jetzt auch mit dem selbst erstellten Zertifikat. Perfekt, Danke. :)

                          P Offline
                          P Offline
                          PaNoRu84
                          schrieb am zuletzt editiert von
                          #28

                          @ravenmaster887

                          Du warst jetzt aber bei dem API Key Modus geblieben?
                          Ich habe dummerweise auf Migrate to ServiceAccount geklickt und habe jetzt auch nur noch das entsprechende Menü im Grafana und kann gar keine alten API Keys mehr generieren oder sehen.

                          Ich hatte dazu auch einen issue im Git angelegt und @simatec hatte mich nach hier verwiesen. DANKE

                          https://github.com/simatec/ioBroker.backitup/issues/788

                          1 Antwort Letzte Antwort
                          0
                          Antworten
                          • In einem neuen Thema antworten
                          Anmelden zum Antworten
                          • Älteste zuerst
                          • Neuste zuerst
                          • Meiste Stimmen


                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          455

                          Online

                          32.5k

                          Benutzer

                          81.8k

                          Themen

                          1.3m

                          Beiträge
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                          ioBroker Community 2014-2025
                          logo
                          • Anmelden

                          • Du hast noch kein Konto? Registrieren

                          • Anmelden oder registrieren, um zu suchen
                          • Erster Beitrag
                            Letzter Beitrag
                          0
                          • Home
                          • Aktuell
                          • Tags
                          • Ungelesen 0
                          • Kategorien
                          • Unreplied
                          • Beliebt
                          • GitHub
                          • Docu
                          • Hilfe