Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware

    This topic has been deleted. Only users with topic management privileges can see it.
    • Marc Berg
      Marc Berg Most Active @theo996 last edited by

      @theo996 sagte in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

      aber ich bin mir sicher, dass im InfluxDB Adapter und Backitup Influx der bei der Neuen Installation erstellte Token drin steht.

      Wie ganz konkret hast du den Token erstellt? Hast du in die Doku zum backitup Adapter zu diesem Thema geschaut, das steht eigentlich alles drin.

      T 1 Reply Last reply Reply Quote 0
      • T
        theo996 @Marc Berg last edited by

        @marc-berg
        Hallo Marc,
        wenn Du die Readme meinst, dann ja.
        Meines Erachtens nach habe ich das auch alles so gemacht.

        In der alten Installation die Token eingetragen, Backups erstellt.
        In der neuen Installation iob, InfluxDB und Grafana installiert.
        Wiederherstellung von iob dann Token InfluxDB und Grafana erstellt und im Adapter und in Backitup eingetragen.
        Wiederherstellungen von Influx und Grafana...

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

          @theo996 sagte in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

          dann Token InfluxDB und Grafana erstellt

          Wenn du den InfluxDB Token manuell erstellt hast, dann ist es der Falsche. Einzig gültiger Token für das Backup ist derjeinge, der bei der Ersteinrichtung automatisch erstellt wird. Den solltest du dir notiert haben. Wenn nicht, dann steht in der Doku auch, wie du ihn auslesen oder neu erstellen kannst (falls gelöscht).

          Deshalb meine (nicht beantwortete Frage):

          Wie ganz konkret hast du den Token erstellt?

          Grafana machen wir danach.

          T 1 Reply Last reply Reply Quote 1
          • T
            theo996 @Marc Berg last edited by

            @marc-berg
            Bezieht sich das auf den Token im alten System oder im und vom Neuen?

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

              @theo996 sagte in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

              Bezieht sich das auf den Token im alten System oder im und vom Neuen?

              Auf den neuen. Mit dem alten hast schon erfolgreich ein Backup gemacht. Der neu installierte Server aif dem Pi5 hat sich einen neuen Admin-Token erzeugt, den benötigst du.

              T 1 Reply Last reply Reply Quote 0
              • T
                theo996 @Marc Berg last edited by

                @marc-berg
                Aber den habe ich, und den habe ich auch sowohl im InfluxDB-Adapter als auch unter Backitup eingetragen.

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

                  @theo996 sagte in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

                  Aber den habe ich, und den habe ich auch sowohl im InfluxDB-Adapter als auch unter Backitup eingetragen.

                  Was sagt

                  http://<Pi5>:<port>/api/v2/authorizations

                  ? (Vorher am Webzugang der InfluxDB anmelden)

                  EDIT: am besten das Ergebnis hier reinstellen und meinetwegen die letzten 10-15 Stellen der Token löschen

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    theo996 @Marc Berg last edited by Homoran

                    @marc-berg said in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

                    /api/v2/authorizations

                    {
                    	"links": {
                    		"self": "/api/v2/authorizations"
                    	},
                    	"authorizations": [
                    		{
                    			"id": "0f0a2ead131e5000",
                    			"token": "UfGTW9jr7g7AoaL6geV01dN4d_kOXp3dOhTwbVtqlBCQ6bWXL9AS-vBBHONkSFekzxFCp0stUyy*********==",
                    			"status": "active",
                    			"description": "theo's Token",
                    			"orgID": "666230297529839f",
                    			"org": "Home",
                    			"userID": "0f0a2eacef1e5000",
                    			"user": "theo",
                    			"permissions": [
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "authorizations"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "authorizations"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "buckets"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "buckets"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "dashboards"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "dashboards"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "orgs"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "orgs"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "sources"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "sources"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "tasks"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "tasks"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "telegrafs"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "telegrafs"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "users"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "users"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "variables"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "variables"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "scrapers"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "scrapers"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "secrets"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "secrets"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "labels"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "labels"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "views"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "views"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "documents"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "documents"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "notificationRules"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "notificationRules"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "notificationEndpoints"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "notificationEndpoints"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "checks"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "checks"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "dbrp"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "dbrp"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "notebooks"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "notebooks"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "annotations"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "annotations"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "remotes"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "remotes"
                    					}
                    				},
                    				{
                    					"action": "read",
                    					"resource": {
                    						"type": "replications"
                    					}
                    				},
                    				{
                    					"action": "write",
                    					"resource": {
                    						"type": "replications"
                    					}
                    				}
                    			],
                    			"links": {
                    				"self": "/api/v2/authorizations/0f0a2ead131e5000",
                    				"user": "/api/v2/users/0f0a2eacef1e5000"
                    			},
                    			"createdAt": "2025-06-16T14:36:02.252076205+02:00",
                    			"updatedAt": "2025-06-16T14:36:02.252076205+02:00"
                    		}
                    	]
                    }
                    

                    MOD-EDIT: Code in code-tags gesetzt!

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

                      @theo996 sagte in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

                      /api/v2/authorizations

                      Das hier wäre der richtige:

                      UfGTW9jr7g7AoaL6geV01dN4d_kOXp3dOhTwbVtqlBCQ6bWXL9AS-vBBHONkSFekzxFCp0stUyy*********==
                      

                      Aber in deiner Backitup-Konfiguration steht ein anderer:

                      NXS4....
                      
                      T 2 Replies Last reply Reply Quote 0
                      • T
                        theo996 @Marc Berg last edited by

                        @marc-berg Ich werde verrückt.
                        Da hab ich mehrfach den richtigen eingetragen...
                        Ich hab ihn jetzt nochmals eingesetzt und teste gleich noch mal neu.

                        1 Reply Last reply Reply Quote 0
                        • T
                          theo996 @Marc Berg last edited by theo996

                          @marc-berg
                          Es läuft 🙂
                          Wenn ich jetzt so drüber nachdenke, kann es sein, dass ich wegen der vorherigen Probleme da tatsächlich den Token der alten Installation eingesetzt hatte um zu testen, ob es damit geht. Den hatte ich extra dafür noch ausgelesen und wohl versäumt das wieder zurückzusetzen. - Wenn man zu viele Dinge durcheinander macht, von denen man zu wenig versteht...
                          -SORRY-
                          und ganz lieben Dank für die Geduld und Unterstützung!!!!

                          Nun bleiben nur noch die Fehler von Grafana:
                          a7505adb-7821-4661-b25a-eb531fb5ae4c-image.png

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

                            @theo996 sagte in Wiederherstellung Influxdb2 u. Grafana auf neuer Hardware:

                            Nun bleiben nur noch die Fehler von Grafana:

                            Nach den "Erfahrungen" von eben würde ich vorschlagen, dass du die Schritte nochmal einem nach den anderen durchgehst.

                            Was anderes als zu sagen: "nimmt den richtigen Token und User mit den richtigen Rechten" kann ich jetzt auch nicht, denn das ist ziemlich sicher die Ursache.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              theo996 @Marc Berg last edited by

                              @marc-berg
                              Ich suche noch das Loch im Erdboden um drin zu versinken...
                              Alles noch mal neu eingesetzt und das Backup läuft durch 🙂 🙂 🙂

                              Ganz Lieben Dank !
                              Jetzt kann ich beruhigt schlafen gehen 😉

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              932
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              2
                              23
                              493
                              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