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. ioBroker Allgemein
  4. InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler

NEWS

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

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

InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
28 Beiträge 5 Kommentatoren 2.3k 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.
  • akuhnshA akuhnsh

    @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

    Wo hast du den Token her?

    Ich hab InfluxDB nach dem Willkommensschirm über GUI eingerichtet wie es zuvor war und mir dann das neue admin Token kopiert und in BackItUp sowie in der Influx Instanz hinterlegt. Verbindungstest dort ist i.O. Werte schreibt er dennoch nicht in die DB

    influxdb.0
    2023-05-06 13:13:38.511	info	Add point that had error for mqtt.0.PL1 to buffer again, error-count=4
    
    influxdb.0
    2023-05-06 13:13:38.510	warn	Error on writePoint("{"value":196.79,"time":"2023-05-06T11:12:38.280Z","from":"system.adapter.mqtt.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""
    
    influxdb.0
    2023-05-06 13:13:38.510	warn	Point could not be written to database: iobroker
    
    Marc BergM Online
    Marc BergM Online
    Marc Berg
    Most Active
    schrieb am zuletzt editiert von
    #15

    @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

    Ich hab InfluxDB nach dem Willkommensschirm über GUI eingerichtet wie es zuvor war und mir dann das neue admin Token kopiert und in BackItUp sowie in der Influx Instanz hinterlegt. Verbindungstest dort ist i.O. Werte schreibt er dennoch nicht in die DB

    influxdb.0
    2023-05-06 13:13:38.511	info	Add point that had error for mqtt.0.PL1 to buffer again, error-count=4
    
    influxdb.0
    2023-05-06 13:13:38.510	warn	Error on writePoint("{"value":196.79,"time":"2023-05-06T11:12:38.280Z","from":"system.adapter.mqtt.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""
    
    influxdb.0
    2023-05-06 13:13:38.510	warn	Point could not be written to database: iobroker
    

    Hier kommt aber ein Timeout und kein Autorisierungfehler. Das sieht für mich noch nach anderen Problemen aus.

    NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

    Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

    Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

    akuhnshA 1 Antwort Letzte Antwort
    0
    • Marc BergM Marc Berg

      @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

      Ich hab InfluxDB nach dem Willkommensschirm über GUI eingerichtet wie es zuvor war und mir dann das neue admin Token kopiert und in BackItUp sowie in der Influx Instanz hinterlegt. Verbindungstest dort ist i.O. Werte schreibt er dennoch nicht in die DB

      influxdb.0
      2023-05-06 13:13:38.511	info	Add point that had error for mqtt.0.PL1 to buffer again, error-count=4
      
      influxdb.0
      2023-05-06 13:13:38.510	warn	Error on writePoint("{"value":196.79,"time":"2023-05-06T11:12:38.280Z","from":"system.adapter.mqtt.0","q":0,"ack":true}): HttpError: unexpected error writing points to database: timeout / "unexpected error writing points to database: timeout""
      
      influxdb.0
      2023-05-06 13:13:38.510	warn	Point could not be written to database: iobroker
      

      Hier kommt aber ein Timeout und kein Autorisierungfehler. Das sieht für mich noch nach anderen Problemen aus.

      akuhnshA Offline
      akuhnshA Offline
      akuhnsh
      schrieb am zuletzt editiert von
      #16

      @marc-berg @thomas-braun

      @akuhnsh said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

      Ich habe das System neu aufgesetzt, um zu sehen, ob sich die Backups dann einspielen lassen und nach wie vor keine Chance die Datenbank aus dem Backup wiederherzustellen:

      [ERROR] [influxDB] - Error: failed to check existence of organization "privat": 401 Unauthorized: unauthorized access
      
      Marc BergM 1 Antwort Letzte Antwort
      0
      • akuhnshA akuhnsh

        @marc-berg @thomas-braun

        @akuhnsh said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

        Ich habe das System neu aufgesetzt, um zu sehen, ob sich die Backups dann einspielen lassen und nach wie vor keine Chance die Datenbank aus dem Backup wiederherzustellen:

        [ERROR] [influxDB] - Error: failed to check existence of organization "privat": 401 Unauthorized: unauthorized access
        
        Marc BergM Online
        Marc BergM Online
        Marc Berg
        Most Active
        schrieb am zuletzt editiert von Marc Berg
        #17

        @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

        @marc-berg @thomas-braun

        @akuhnsh said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

        Ich habe das System neu aufgesetzt, um zu sehen, ob sich die Backups dann einspielen lassen und nach wie vor keine Chance die Datenbank aus dem Backup wiederherzustellen:

        [ERROR] [influxDB] - Error: failed to check existence of organization "privat": 401 Unauthorized: unauthorized access
        

        zeig mal bitte die Ausgabe von

        influx auth list --json
        

        und

        influx organization list
        

        NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

        Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

        Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

        akuhnshA 1 Antwort Letzte Antwort
        0
        • Marc BergM Marc Berg

          @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

          @marc-berg @thomas-braun

          @akuhnsh said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

          Ich habe das System neu aufgesetzt, um zu sehen, ob sich die Backups dann einspielen lassen und nach wie vor keine Chance die Datenbank aus dem Backup wiederherzustellen:

          [ERROR] [influxDB] - Error: failed to check existence of organization "privat": 401 Unauthorized: unauthorized access
          

          zeig mal bitte die Ausgabe von

          influx auth list --json
          

          und

          influx organization list
          
          akuhnshA Offline
          akuhnshA Offline
          akuhnsh
          schrieb am zuletzt editiert von
          #18

          @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

          @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

          @marc-berg @thomas-braun

          @akuhnsh said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

          Ich habe das System neu aufgesetzt, um zu sehen, ob sich die Backups dann einspielen lassen und nach wie vor keine Chance die Datenbank aus dem Backup wiederherzustellen:

          [ERROR] [influxDB] - Error: failed to check existence of organization "privat": 401 Unauthorized: unauthorized access
          

          zeig mal bitte die Ausgabe von

          influx auth list --json
          
          [
          	{
          		"id": "0b28411ba4dca000",
          		"description": "admin's Token",
          		"token": "wljQN6vtZ1a4hNNORVh55RM2u0o1V3XXh708y7yKPmtdBIV5tG5hxucGRGnBX1IdQoYh9Mnd5dsbBBV551nDUw==",
          		"status": "active",
          		"userName": "admin",
          		"userID": "0b28411b6b9ca000",
          		"permissions": [
          			"read:/authorizations",
          			"write:/authorizations",
          			"read:/buckets",
          			"write:/buckets",
          			"read:/dashboards",
          			"write:/dashboards",
          			"read:/orgs",
          			"write:/orgs",
          			"read:/sources",
          			"write:/sources",
          			"read:/tasks",
          			"write:/tasks",
          			"read:/telegrafs",
          			"write:/telegrafs",
          			"read:/users",
          			"write:/users",
          			"read:/variables",
          			"write:/variables",
          			"read:/scrapers",
          			"write:/scrapers",
          			"read:/secrets",
          			"write:/secrets",
          			"read:/labels",
          			"write:/labels",
          			"read:/views",
          			"write:/views",
          			"read:/documents",
          			"write:/documents",
          			"read:/notificationRules",
          			"write:/notificationRules",
          			"read:/notificationEndpoints",
          			"write:/notificationEndpoints",
          			"read:/checks",
          			"write:/checks",
          			"read:/dbrp",
          			"write:/dbrp",
          			"read:/notebooks",
          			"write:/notebooks",
          			"read:/annotations",
          			"write:/annotations",
          			"read:/remotes",
          			"write:/remotes",
          			"read:/replications",
          			"write:/replications"
          		]
          	},
          	{
          		"id": "0b2852f1fbdca000",
          		"description": "admin's Token (cloned at 2023-05-06 13:44:19)",
          		"token": "uZKGetlcGZSZbteI1gwpkJwsCIHpj0bI5ZLdRTvEuDqds7B9X04Q8LKhPYQArrWRJ3nnQS3xfQcwDkwhOKKoCw==",
          		"status": "active",
          		"userName": "admin",
          		"userID": "0b28411b6b9ca000",
          		"permissions": [
          			"read:/authorizations",
          			"write:/authorizations",
          			"read:/buckets",
          			"write:/buckets",
          			"read:/dashboards",
          			"write:/dashboards",
          			"read:/orgs",
          			"write:/orgs",
          			"read:/sources",
          			"write:/sources",
          			"read:/tasks",
          			"write:/tasks",
          			"read:/telegrafs",
          			"write:/telegrafs",
          			"read:/users",
          			"write:/users",
          			"read:/variables",
          			"write:/variables",
          			"read:/scrapers",
          			"write:/scrapers",
          			"read:/secrets",
          			"write:/secrets",
          			"read:/labels",
          			"write:/labels",
          			"read:/views",
          			"write:/views",
          			"read:/documents",
          			"write:/documents",
          			"read:/notificationRules",
          			"write:/notificationRules",
          			"read:/notificationEndpoints",
          			"write:/notificationEndpoints",
          			"read:/checks",
          			"write:/checks",
          			"read:/dbrp",
          			"write:/dbrp",
          			"read:/notebooks",
          			"write:/notebooks",
          			"read:/annotations",
          			"write:/annotations",
          			"read:/remotes",
          			"write:/remotes",
          			"read:/replications",
          			"write:/replications"
          		]
          	}
          ]
          

          und

          influx organization list
          
          ID			Name
          2ecf2d695d1722e9	privat
          
          akuhnshA 1 Antwort Letzte Antwort
          0
          • akuhnshA akuhnsh

            @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

            @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

            @marc-berg @thomas-braun

            @akuhnsh said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

            Ich habe das System neu aufgesetzt, um zu sehen, ob sich die Backups dann einspielen lassen und nach wie vor keine Chance die Datenbank aus dem Backup wiederherzustellen:

            [ERROR] [influxDB] - Error: failed to check existence of organization "privat": 401 Unauthorized: unauthorized access
            

            zeig mal bitte die Ausgabe von

            influx auth list --json
            
            [
            	{
            		"id": "0b28411ba4dca000",
            		"description": "admin's Token",
            		"token": "wljQN6vtZ1a4hNNORVh55RM2u0o1V3XXh708y7yKPmtdBIV5tG5hxucGRGnBX1IdQoYh9Mnd5dsbBBV551nDUw==",
            		"status": "active",
            		"userName": "admin",
            		"userID": "0b28411b6b9ca000",
            		"permissions": [
            			"read:/authorizations",
            			"write:/authorizations",
            			"read:/buckets",
            			"write:/buckets",
            			"read:/dashboards",
            			"write:/dashboards",
            			"read:/orgs",
            			"write:/orgs",
            			"read:/sources",
            			"write:/sources",
            			"read:/tasks",
            			"write:/tasks",
            			"read:/telegrafs",
            			"write:/telegrafs",
            			"read:/users",
            			"write:/users",
            			"read:/variables",
            			"write:/variables",
            			"read:/scrapers",
            			"write:/scrapers",
            			"read:/secrets",
            			"write:/secrets",
            			"read:/labels",
            			"write:/labels",
            			"read:/views",
            			"write:/views",
            			"read:/documents",
            			"write:/documents",
            			"read:/notificationRules",
            			"write:/notificationRules",
            			"read:/notificationEndpoints",
            			"write:/notificationEndpoints",
            			"read:/checks",
            			"write:/checks",
            			"read:/dbrp",
            			"write:/dbrp",
            			"read:/notebooks",
            			"write:/notebooks",
            			"read:/annotations",
            			"write:/annotations",
            			"read:/remotes",
            			"write:/remotes",
            			"read:/replications",
            			"write:/replications"
            		]
            	},
            	{
            		"id": "0b2852f1fbdca000",
            		"description": "admin's Token (cloned at 2023-05-06 13:44:19)",
            		"token": "uZKGetlcGZSZbteI1gwpkJwsCIHpj0bI5ZLdRTvEuDqds7B9X04Q8LKhPYQArrWRJ3nnQS3xfQcwDkwhOKKoCw==",
            		"status": "active",
            		"userName": "admin",
            		"userID": "0b28411b6b9ca000",
            		"permissions": [
            			"read:/authorizations",
            			"write:/authorizations",
            			"read:/buckets",
            			"write:/buckets",
            			"read:/dashboards",
            			"write:/dashboards",
            			"read:/orgs",
            			"write:/orgs",
            			"read:/sources",
            			"write:/sources",
            			"read:/tasks",
            			"write:/tasks",
            			"read:/telegrafs",
            			"write:/telegrafs",
            			"read:/users",
            			"write:/users",
            			"read:/variables",
            			"write:/variables",
            			"read:/scrapers",
            			"write:/scrapers",
            			"read:/secrets",
            			"write:/secrets",
            			"read:/labels",
            			"write:/labels",
            			"read:/views",
            			"write:/views",
            			"read:/documents",
            			"write:/documents",
            			"read:/notificationRules",
            			"write:/notificationRules",
            			"read:/notificationEndpoints",
            			"write:/notificationEndpoints",
            			"read:/checks",
            			"write:/checks",
            			"read:/dbrp",
            			"write:/dbrp",
            			"read:/notebooks",
            			"write:/notebooks",
            			"read:/annotations",
            			"write:/annotations",
            			"read:/remotes",
            			"write:/remotes",
            			"read:/replications",
            			"write:/replications"
            		]
            	}
            ]
            

            und

            influx organization list
            
            ID			Name
            2ecf2d695d1722e9	privat
            
            akuhnshA Offline
            akuhnshA Offline
            akuhnsh
            schrieb am zuletzt editiert von
            #19

            @Marc-Berg @Thomas-Braun

            An die alten Tokens aus dem Backup komme ich über die *.bolt Datei ran:

            influxd recovery auth list --bolt-path /opt/iobroker/backups/20230503T213019Z.bolt
            2023-05-06T14:09:35.271809Z	info	Resources opened	{"log_id": "0hdMBf9l000", "system": "bolt-kvstore", "path": "/opt/iobroker/backups/20230503T213019Z.bolt"}
            ID			User Name	User ID			Description						Token							Permissions
            0ab87d8e68295000	admin		0ab87d8e29e95000	admin's Token						lGhesEEm7Osc8iF3Atk0ukEZhEOLdg98AQXojtHwao1MrEOYiv0uaa3BrxS-QXp3T54dXJgDECIu7zuByns0Ug==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
            0b07e2e2b57cb000	admin		0ab87d8e29e95000	admin's Token (cloned at 2023-04-11 09:03:19)		06eJGdVPZPMsCad0sRvWS32YvB-F3Fifn3nTCM0oNBzDaY5I7Q0n-St-82r9vj1dZRnOONeIiWmTFDYIZoe3Gg==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
            0b07e9d2857cb000	admin		0ab87d8e29e95000	admin's Token BackItUp (cloned at 2023-04-11 09:33:38)	Tvm2bJ9-WsIoyNowWCasjc2ukqsFTIj3xQjp_q_1U-sPb6sH21n35nUzV99EOJ3JE2vLKKwCPIrN8jtT4xcT4A==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
            0b07f463437cb000	admin		0ab87d8e29e95000	admin's Token Grafana (cloned at 2023-04-11 10:19:47)	AQLf8Jld1fY0LYd3Cs0Pt4hKtzMbXK0t0_kMdh6eXzBxHiPJWR1t5OYHr7Qvx4-4zf1Q4ETOfII5W1oNCKvR5w==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
            

            Aber wie soll ich über das GUI einen alten Token rekonstruieren?

            Marc BergM 1 Antwort Letzte Antwort
            0
            • akuhnshA akuhnsh

              @Marc-Berg @Thomas-Braun

              An die alten Tokens aus dem Backup komme ich über die *.bolt Datei ran:

              influxd recovery auth list --bolt-path /opt/iobroker/backups/20230503T213019Z.bolt
              2023-05-06T14:09:35.271809Z	info	Resources opened	{"log_id": "0hdMBf9l000", "system": "bolt-kvstore", "path": "/opt/iobroker/backups/20230503T213019Z.bolt"}
              ID			User Name	User ID			Description						Token							Permissions
              0ab87d8e68295000	admin		0ab87d8e29e95000	admin's Token						lGhesEEm7Osc8iF3Atk0ukEZhEOLdg98AQXojtHwao1MrEOYiv0uaa3BrxS-QXp3T54dXJgDECIu7zuByns0Ug==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
              0b07e2e2b57cb000	admin		0ab87d8e29e95000	admin's Token (cloned at 2023-04-11 09:03:19)		06eJGdVPZPMsCad0sRvWS32YvB-F3Fifn3nTCM0oNBzDaY5I7Q0n-St-82r9vj1dZRnOONeIiWmTFDYIZoe3Gg==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
              0b07e9d2857cb000	admin		0ab87d8e29e95000	admin's Token BackItUp (cloned at 2023-04-11 09:33:38)	Tvm2bJ9-WsIoyNowWCasjc2ukqsFTIj3xQjp_q_1U-sPb6sH21n35nUzV99EOJ3JE2vLKKwCPIrN8jtT4xcT4A==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
              0b07f463437cb000	admin		0ab87d8e29e95000	admin's Token Grafana (cloned at 2023-04-11 10:19:47)	AQLf8Jld1fY0LYd3Cs0Pt4hKtzMbXK0t0_kMdh6eXzBxHiPJWR1t5OYHr7Qvx4-4zf1Q4ETOfII5W1oNCKvR5w==	[read:authorizations write:authorizations read:buckets write:buckets read:dashboards write:dashboards read:orgs write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:variables write:variables read:scrapers write:scrapers read:secrets write:secrets read:labels write:labels read:views write:views read:documents write:documents read:notificationRules write:notificationRules read:notificationEndpoints write:notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations write:annotations read:remotes write:remotes read:replications write:replications]
              

              Aber wie soll ich über das GUI einen alten Token rekonstruieren?

              Marc BergM Online
              Marc BergM Online
              Marc Berg
              Most Active
              schrieb am zuletzt editiert von Marc Berg
              #20

              @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

              Aber wie soll ich über das GUI einen alten Token rekonstruieren?

              Das würde nur Sinn ergeben, wenn die alte Datenbank noch vorhanden ist. Hast du bei der Neuinstallation die Datenverzeichnisse gelöscht? Nicht, dass da noch Überbleibsel stören.

              NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

              Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

              Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

              akuhnshA 1 Antwort Letzte Antwort
              0
              • Marc BergM Marc Berg

                @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                Aber wie soll ich über das GUI einen alten Token rekonstruieren?

                Das würde nur Sinn ergeben, wenn die alte Datenbank noch vorhanden ist. Hast du bei der Neuinstallation die Datenverzeichnisse gelöscht? Nicht, dass da noch Überbleibsel stören.

                akuhnshA Offline
                akuhnshA Offline
                akuhnsh
                schrieb am zuletzt editiert von
                #21

                @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                Aber wie soll ich über das GUI einen alten Token rekonstruieren?

                Das würde nur Sinn ergeben, wenn die alte Datenbank noch vorhanden ist. Hast du bei der Neuinstallation die Datenverzeichnisse gelöscht? Nicht, dass da noch Überbleibsel stören.

                Die alten token sind halt im Backup hinterlegt. Wenn die abgefragt werden, passen sie halt nicht zum neuen admin token. Deshalb dachte ich an die Rolle Rückwärts. Erst die alten token wieder herstellen in der neuen influxdb und dann das Backup mit denselben token wieder herstellen. Denke da liegt der Hase im Pfeffer.

                Hab ein frisches Image auf die SD geschrieben und iobroker, influxdb und grafana neu installiert, wie sonst auch schon mal. Da sollte alles überschrieben worden sein.

                Marc BergM 1 Antwort Letzte Antwort
                0
                • akuhnshA akuhnsh

                  @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                  @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                  Aber wie soll ich über das GUI einen alten Token rekonstruieren?

                  Das würde nur Sinn ergeben, wenn die alte Datenbank noch vorhanden ist. Hast du bei der Neuinstallation die Datenverzeichnisse gelöscht? Nicht, dass da noch Überbleibsel stören.

                  Die alten token sind halt im Backup hinterlegt. Wenn die abgefragt werden, passen sie halt nicht zum neuen admin token. Deshalb dachte ich an die Rolle Rückwärts. Erst die alten token wieder herstellen in der neuen influxdb und dann das Backup mit denselben token wieder herstellen. Denke da liegt der Hase im Pfeffer.

                  Hab ein frisches Image auf die SD geschrieben und iobroker, influxdb und grafana neu installiert, wie sonst auch schon mal. Da sollte alles überschrieben worden sein.

                  Marc BergM Online
                  Marc BergM Online
                  Marc Berg
                  Most Active
                  schrieb am zuletzt editiert von Marc Berg
                  #22

                  @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                  Die alten token sind halt im Backup hinterlegt. Wenn die abgefragt werden, passen sie halt nicht zum neuen admin token. Deshalb dachte ich an die Rolle Rückwärts. Erst die alten token wieder herstellen in der neuen influxdb und dann das Backup mit denselben token wieder herstellen. Denke da liegt der Hase im Pfeffer.

                  nein. Du brauchst nach einer Neuinstallation für das Restore die neuen Token.

                  NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                  Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                  Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                  akuhnshA 2 Antworten Letzte Antwort
                  0
                  • Marc BergM Marc Berg

                    @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                    Die alten token sind halt im Backup hinterlegt. Wenn die abgefragt werden, passen sie halt nicht zum neuen admin token. Deshalb dachte ich an die Rolle Rückwärts. Erst die alten token wieder herstellen in der neuen influxdb und dann das Backup mit denselben token wieder herstellen. Denke da liegt der Hase im Pfeffer.

                    nein. Du brauchst nach einer Neuinstallation für das Restore die neuen Token.

                    akuhnshA Offline
                    akuhnshA Offline
                    akuhnsh
                    schrieb am zuletzt editiert von
                    #23

                    @marc-berg

                    Okay verstanden. Vielleicht liegt es daran, dass das Backup aus einem Upgrade von 1.8 auf 2.7 stammt? Ich bekomme eine ähnliche Fehlermeldung, wenn ich in dem Reiter bei "Sicherung mehrerer Systeme" raus nehme und nur den einen bucket angebe, der auch zur Wiederherstellung ausgewählt wird:

                    Started restore ...
                    [DEBUG] [influxDB] - Created tmp directory
                    [DEBUG] [influxDB] - Start infuxDB Restore ...
                    [ERROR] [influxDB] - 2023/05/06 16:49:17 INFO: Restoring bucket "0db467ecf59e0de1" as "iobroker"
                    Error: failed to restore bucket "iobroker": 401 Unauthorized: read:authorizations is unauthorized
                    
                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                    [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                    [DEBUG] [influxDB] - infuxDB Restore completed successfully
                    [EXIT] influxDB restore done
                    

                    Muss der neue token noch irgendwo anders eingetragen werden als unter dem Reiter influxdb in BackItUp?

                    Marc BergM 1 Antwort Letzte Antwort
                    0
                    • Marc BergM Marc Berg

                      @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                      Die alten token sind halt im Backup hinterlegt. Wenn die abgefragt werden, passen sie halt nicht zum neuen admin token. Deshalb dachte ich an die Rolle Rückwärts. Erst die alten token wieder herstellen in der neuen influxdb und dann das Backup mit denselben token wieder herstellen. Denke da liegt der Hase im Pfeffer.

                      nein. Du brauchst nach einer Neuinstallation für das Restore die neuen Token.

                      akuhnshA Offline
                      akuhnshA Offline
                      akuhnsh
                      schrieb am zuletzt editiert von
                      #24

                      @marc-berg

                      Wenn ich den bucket vorher anlege kommt folgende Meldung:

                      Started restore ...
                      [DEBUG] [influxDB] - Created tmp directory
                      [DEBUG] [influxDB] - Start infuxDB Restore ...
                      [ERROR] [influxDB] - 2023/05/06 16:52:54 INFO: Restoring bucket "0db467ecf59e0de1" as "iobroker"
                      Error: failed to restore bucket "iobroker": 422 Unprocessable Entity: bucket with name iobroker already exists
                      
                      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                      [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                      [DEBUG] [influxDB] - infuxDB Restore completed successfully
                      [EXIT] influxDB restore done
                      
                      1 Antwort Letzte Antwort
                      0
                      • akuhnshA akuhnsh

                        @marc-berg

                        Okay verstanden. Vielleicht liegt es daran, dass das Backup aus einem Upgrade von 1.8 auf 2.7 stammt? Ich bekomme eine ähnliche Fehlermeldung, wenn ich in dem Reiter bei "Sicherung mehrerer Systeme" raus nehme und nur den einen bucket angebe, der auch zur Wiederherstellung ausgewählt wird:

                        Started restore ...
                        [DEBUG] [influxDB] - Created tmp directory
                        [DEBUG] [influxDB] - Start infuxDB Restore ...
                        [ERROR] [influxDB] - 2023/05/06 16:49:17 INFO: Restoring bucket "0db467ecf59e0de1" as "iobroker"
                        Error: failed to restore bucket "iobroker": 401 Unauthorized: read:authorizations is unauthorized
                        
                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                        [DEBUG] [influxDB] - infuxDB Restore completed successfully
                        [EXIT] influxDB restore done
                        

                        Muss der neue token noch irgendwo anders eingetragen werden als unter dem Reiter influxdb in BackItUp?

                        Marc BergM Online
                        Marc BergM Online
                        Marc Berg
                        Most Active
                        schrieb am zuletzt editiert von
                        #25

                        @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                        Vielleicht liegt es daran, dass das Backup aus einem Upgrade von 1.8 auf 2.7 stammt

                        Das verstehe ich nicht. Das Backup wurde doch aber nach dem Upgrade aus der 2.7 gezogen, oder?

                        Ganz sicher, dass der Token, der auch über "influx auth list" sichtbar ist, korrekt und ohne Leerzeichen im Backitip-Adapter eingetragen ist? An eine andere Stelle muss der für den reinen Rstore nicht eingetragen werden.

                        NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                        Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                        Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                        akuhnshA 1 Antwort Letzte Antwort
                        0
                        • Marc BergM Marc Berg

                          @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                          Vielleicht liegt es daran, dass das Backup aus einem Upgrade von 1.8 auf 2.7 stammt

                          Das verstehe ich nicht. Das Backup wurde doch aber nach dem Upgrade aus der 2.7 gezogen, oder?

                          Ganz sicher, dass der Token, der auch über "influx auth list" sichtbar ist, korrekt und ohne Leerzeichen im Backitip-Adapter eingetragen ist? An eine andere Stelle muss der für den reinen Rstore nicht eingetragen werden.

                          akuhnshA Offline
                          akuhnshA Offline
                          akuhnsh
                          schrieb am zuletzt editiert von
                          #26

                          @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                          @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                          Vielleicht liegt es daran, dass das Backup aus einem Upgrade von 1.8 auf 2.7 stammt

                          Das verstehe ich nicht. Das Backup wurde doch aber nach dem Upgrade aus der 2.7 gezogen, oder?

                          Ganz sicher, dass der Token, der auch über "influx auth list" sichtbar ist, korrekt und ohne Leerzeichen im Backitip-Adapter eingetragen ist? An eine andere Stelle muss der für den reinen Rstore nicht eingetragen werden.

                          Das ist jetzt neu. Funktionierte doch vorhin noch einwandfrei...

                          pi@raspberrypi:~ $ influx auth list --json
                          Error: could not find authorization with given parameters: 401 Unauthorized: unauthorized access
                          
                          Marc BergM 1 Antwort Letzte Antwort
                          0
                          • akuhnshA akuhnsh

                            @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                            @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                            Vielleicht liegt es daran, dass das Backup aus einem Upgrade von 1.8 auf 2.7 stammt

                            Das verstehe ich nicht. Das Backup wurde doch aber nach dem Upgrade aus der 2.7 gezogen, oder?

                            Ganz sicher, dass der Token, der auch über "influx auth list" sichtbar ist, korrekt und ohne Leerzeichen im Backitip-Adapter eingetragen ist? An eine andere Stelle muss der für den reinen Rstore nicht eingetragen werden.

                            Das ist jetzt neu. Funktionierte doch vorhin noch einwandfrei...

                            pi@raspberrypi:~ $ influx auth list --json
                            Error: could not find authorization with given parameters: 401 Unauthorized: unauthorized access
                            
                            Marc BergM Online
                            Marc BergM Online
                            Marc Berg
                            Most Active
                            schrieb am zuletzt editiert von Marc Berg
                            #27

                            @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                            Das ist jetzt neu. Funktionierte doch vorhin noch einwandfrei...

                            Ja, was soll man dazu noch sagen? Ein System, welches sich mehrfach "von selbst" vergisst ...
                            Ist das noch die selbe SD Card?

                            NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                            Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                            Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                            akuhnshA 1 Antwort Letzte Antwort
                            0
                            • Marc BergM Marc Berg

                              @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                              Das ist jetzt neu. Funktionierte doch vorhin noch einwandfrei...

                              Ja, was soll man dazu noch sagen? Ein System, welches sich mehrfach "von selbst" vergisst ...
                              Ist das noch die selbe SD Card?

                              akuhnshA Offline
                              akuhnshA Offline
                              akuhnsh
                              schrieb am zuletzt editiert von
                              #28

                              @marc-berg said in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                              @akuhnsh sagte in InfluxDB 2.7 Totalabsturz - BackItUp mit Fehler:

                              Das ist jetzt neu. Funktionierte doch vorhin noch einwandfrei...

                              Ja, was soll man dazu noch sagen? Ein System, welches sich mehrfach "von selbst" vergisst ...
                              Ist das noch die selbe SD Card?

                              Genau um den Punkt drehten sich die Überlegungen die letzten Tage und ich habe eine Lösung gefunden. Die alte SD-Karte habe ich zwar auf Herz und Nieren geprüft und keine defekten Sektoren gefunden, aber die Wiederherstellung auf dieser Karte funktionierte für die InfluxDB 2 nicht mehr. Dann habe ich die Wiederherstellung mit einem USB-Stick vorgenommen und siehe da, alles wieder im grünen Bereich.

                              Da dies aber ebenfalls keine Dauerlösung war und der Stick zudem füchterlich heiß wurde, habe ich mir ein neues Gehäuse samt aktivem Kühler für den Raspi zugelegt und ein Board für eine M.2 SSD lag ebenfalls bei, das nun mit einer 256GB SSD bestückt ist. Den USB-Stick habe ich einfach mit Balena Etcher darauf geklont und dann später über die raspi-config mit einem Klick bis zur vollen Größe erweitert.

                              Damit läuft nun alles wieder einwandfrei und hoffentlich auch störungsfrei in die Zukunft.

                              Danke für eure Hilfe und beste Grüße, Alex...

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


                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              632

                              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