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. Off Topic
  4. InfluxDB
  5. Kein Backup mit Iobroker Backitup von Influxdb2 im Docker

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    878

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Kein Backup mit Iobroker Backitup von Influxdb2 im Docker

Geplant Angeheftet Gesperrt Verschoben InfluxDB
5 Beiträge 3 Kommentatoren 347 Aufrufe 2 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.
  • J Offline
    J Offline
    jutr
    schrieb am zuletzt editiert von
    #1

    Hallo,

    habe iobroker im Docker Container installiert und auch als package influxdb-cli mit installiert. Influxdb läuft schon länger im Docker Container. beides auf einer Synology DS220+. Alles was ich hier beschreibe, habe ich auch bereits von einer Iobroker Instanz, die auf einem Raspi 4 läuft, probiert.
    Wie viele andere hier scheitert es auch bei mir vermutlich an den Operator Token. Ich kenne auch die Anleitungen, wie man an dieses Token kommen kann und genau da liegt vermutlich mein Problem. Laut dieser Anleitung soll man ja die Influxdb stoppen mit "sudo service influxdb stop". Bereits da kommt auf der Kommandzeile der Hinweis, dass sudo unbekannt ist. Da ich eh als root angemeldet bin, dachte ich, dann lass ich sudo weg. dann kommt der Hinweis, dass der service influxdb nicht bekannt ist.
    Hat jemand von euch einen rat, wie ich an diesen blöden "Ersteinrichtungstoken", den ich mir natürlich nicht aufgeschrieben habe, komme?

    Ich hab schon probiert:
    influxd recovery auth create-operator --org <org> --username <user> --bolt-path "/var/lib/influxdb2/influxd.bolt" ->Da bekomme ich einen Timeout beim öffnen der Boltdb.

    influx auth list -t DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog== --json zeigt mir zwar 2 Tokens an, aber wohl nicht die richtigen:
    [
    {
    "id": "0c2664912149c000",
    "description": "",
    "token": "50wiRaQMGNmHrOzTrOuMWvJ8wrz48EQ3WEVGgjuNAuG_5qzsqacc4m20ltuPOqrcHUVUo_l72v4w2fB3FOW_sQ==",
    "status": "active",
    "userName": "juergen",
    "userID": "0c26632c17c9c000",
    "permissions": [
    "read:orgs/9711a239af255273/annotations",
    "write:orgs/9711a239af255273/annotations",
    "read:orgs/9711a239af255273/authorizations",
    "write:orgs/9711a239af255273/authorizations",
    "read:orgs/9711a239af255273/buckets",
    "write:orgs/9711a239af255273/buckets",
    "read:orgs/9711a239af255273/checks",
    "write:orgs/9711a239af255273/checks",
    "read:orgs/9711a239af255273/dashboards",
    "write:orgs/9711a239af255273/dashboards",
    "read:orgs/9711a239af255273/dbrp",
    "write:orgs/9711a239af255273/dbrp",
    "read:orgs/9711a239af255273/documents",
    "write:orgs/9711a239af255273/documents",
    "read:orgs/9711a239af255273/labels",
    "write:orgs/9711a239af255273/labels",
    "read:orgs/9711a239af255273/notebooks",
    "write:orgs/9711a239af255273/notebooks",
    "read:orgs/9711a239af255273/notificationEndpoints",
    "write:orgs/9711a239af255273/notificationEndpoints",
    "read:orgs/9711a239af255273/notificationRules",
    "write:orgs/9711a239af255273/notificationRules",
    "read:/orgs/9711a239af255273",
    "read:orgs/9711a239af255273/remotes",
    "write:orgs/9711a239af255273/remotes",
    "read:orgs/9711a239af255273/replications",
    "write:orgs/9711a239af255273/replications",
    "read:orgs/9711a239af255273/scrapers",
    "write:orgs/9711a239af255273/scrapers",
    "read:orgs/9711a239af255273/secrets",
    "write:orgs/9711a239af255273/secrets",
    "read:orgs/9711a239af255273/sources",
    "write:orgs/9711a239af255273/sources",
    "read:orgs/9711a239af255273/tasks",
    "write:orgs/9711a239af255273/tasks",
    "read:orgs/9711a239af255273/telegrafs",
    "write:orgs/9711a239af255273/telegrafs",
    "read:/users/0c26632c17c9c000",
    "write:/users/0c26632c17c9c000",
    "read:orgs/9711a239af255273/variables",
    "write:orgs/9711a239af255273/variables",
    "read:orgs/9711a239af255273/views",
    "write:orgs/9711a239af255273/views"
    ]
    },
    {
    "id": "0cafceb57573a000",
    "description": "New after changing Org",
    "token": "DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog==",
    "status": "active",
    "userName": "juergen",
    "userID": "0c26632c17c9c000",
    "permissions": [
    "read:orgs/9711a239af255273/annotations",
    "write:orgs/9711a239af255273/annotations",
    "read:orgs/9711a239af255273/authorizations",
    "write:orgs/9711a239af255273/authorizations",
    "read:orgs/9711a239af255273/buckets",
    "write:orgs/9711a239af255273/buckets",
    "read:orgs/9711a239af255273/checks",
    "write:orgs/9711a239af255273/checks",
    "read:orgs/9711a239af255273/dashboards",
    "write:orgs/9711a239af255273/dashboards",
    "read:orgs/9711a239af255273/dbrp",
    "write:orgs/9711a239af255273/dbrp",
    "read:orgs/9711a239af255273/documents",
    "write:orgs/9711a239af255273/documents",
    "read:orgs/9711a239af255273/labels",
    "write:orgs/9711a239af255273/labels",
    "read:orgs/9711a239af255273/notebooks",
    "write:orgs/9711a239af255273/notebooks",
    "read:orgs/9711a239af255273/notificationEndpoints",
    "write:orgs/9711a239af255273/notificationEndpoints",
    "read:orgs/9711a239af255273/notificationRules",
    "write:orgs/9711a239af255273/notificationRules",
    "read:/orgs/9711a239af255273",
    "read:orgs/9711a239af255273/remotes",
    "write:orgs/9711a239af255273/remotes",
    "read:orgs/9711a239af255273/replications",
    "write:orgs/9711a239af255273/replications",
    "read:orgs/9711a239af255273/scrapers",
    "write:orgs/9711a239af255273/scrapers",
    "read:orgs/9711a239af255273/secrets",
    "write:orgs/9711a239af255273/secrets",
    "read:orgs/9711a239af255273/sources",
    "write:orgs/9711a239af255273/sources",
    "read:orgs/9711a239af255273/tasks",
    "write:orgs/9711a239af255273/tasks",
    "read:orgs/9711a239af255273/telegrafs",
    "write:orgs/9711a239af255273/telegrafs",
    "read:/users/0c26632c17c9c000",
    "write:/users/0c26632c17c9c000",
    "read:orgs/9711a239af255273/variables",
    "write:orgs/9711a239af255273/variables",
    "read:orgs/9711a239af255273/views",
    "write:orgs/9711a239af255273/views"
    ]
    }
    ]

    Bin für jeden Tipp dankbar. Ich hoffe ich habe erstmal alle notwendigen Informationen geliefert.

    Thomas BraunT Marc BergM 3 Antworten Letzte Antwort
    0
    • J jutr

      Hallo,

      habe iobroker im Docker Container installiert und auch als package influxdb-cli mit installiert. Influxdb läuft schon länger im Docker Container. beides auf einer Synology DS220+. Alles was ich hier beschreibe, habe ich auch bereits von einer Iobroker Instanz, die auf einem Raspi 4 läuft, probiert.
      Wie viele andere hier scheitert es auch bei mir vermutlich an den Operator Token. Ich kenne auch die Anleitungen, wie man an dieses Token kommen kann und genau da liegt vermutlich mein Problem. Laut dieser Anleitung soll man ja die Influxdb stoppen mit "sudo service influxdb stop". Bereits da kommt auf der Kommandzeile der Hinweis, dass sudo unbekannt ist. Da ich eh als root angemeldet bin, dachte ich, dann lass ich sudo weg. dann kommt der Hinweis, dass der service influxdb nicht bekannt ist.
      Hat jemand von euch einen rat, wie ich an diesen blöden "Ersteinrichtungstoken", den ich mir natürlich nicht aufgeschrieben habe, komme?

      Ich hab schon probiert:
      influxd recovery auth create-operator --org <org> --username <user> --bolt-path "/var/lib/influxdb2/influxd.bolt" ->Da bekomme ich einen Timeout beim öffnen der Boltdb.

      influx auth list -t DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog== --json zeigt mir zwar 2 Tokens an, aber wohl nicht die richtigen:
      [
      {
      "id": "0c2664912149c000",
      "description": "",
      "token": "50wiRaQMGNmHrOzTrOuMWvJ8wrz48EQ3WEVGgjuNAuG_5qzsqacc4m20ltuPOqrcHUVUo_l72v4w2fB3FOW_sQ==",
      "status": "active",
      "userName": "juergen",
      "userID": "0c26632c17c9c000",
      "permissions": [
      "read:orgs/9711a239af255273/annotations",
      "write:orgs/9711a239af255273/annotations",
      "read:orgs/9711a239af255273/authorizations",
      "write:orgs/9711a239af255273/authorizations",
      "read:orgs/9711a239af255273/buckets",
      "write:orgs/9711a239af255273/buckets",
      "read:orgs/9711a239af255273/checks",
      "write:orgs/9711a239af255273/checks",
      "read:orgs/9711a239af255273/dashboards",
      "write:orgs/9711a239af255273/dashboards",
      "read:orgs/9711a239af255273/dbrp",
      "write:orgs/9711a239af255273/dbrp",
      "read:orgs/9711a239af255273/documents",
      "write:orgs/9711a239af255273/documents",
      "read:orgs/9711a239af255273/labels",
      "write:orgs/9711a239af255273/labels",
      "read:orgs/9711a239af255273/notebooks",
      "write:orgs/9711a239af255273/notebooks",
      "read:orgs/9711a239af255273/notificationEndpoints",
      "write:orgs/9711a239af255273/notificationEndpoints",
      "read:orgs/9711a239af255273/notificationRules",
      "write:orgs/9711a239af255273/notificationRules",
      "read:/orgs/9711a239af255273",
      "read:orgs/9711a239af255273/remotes",
      "write:orgs/9711a239af255273/remotes",
      "read:orgs/9711a239af255273/replications",
      "write:orgs/9711a239af255273/replications",
      "read:orgs/9711a239af255273/scrapers",
      "write:orgs/9711a239af255273/scrapers",
      "read:orgs/9711a239af255273/secrets",
      "write:orgs/9711a239af255273/secrets",
      "read:orgs/9711a239af255273/sources",
      "write:orgs/9711a239af255273/sources",
      "read:orgs/9711a239af255273/tasks",
      "write:orgs/9711a239af255273/tasks",
      "read:orgs/9711a239af255273/telegrafs",
      "write:orgs/9711a239af255273/telegrafs",
      "read:/users/0c26632c17c9c000",
      "write:/users/0c26632c17c9c000",
      "read:orgs/9711a239af255273/variables",
      "write:orgs/9711a239af255273/variables",
      "read:orgs/9711a239af255273/views",
      "write:orgs/9711a239af255273/views"
      ]
      },
      {
      "id": "0cafceb57573a000",
      "description": "New after changing Org",
      "token": "DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog==",
      "status": "active",
      "userName": "juergen",
      "userID": "0c26632c17c9c000",
      "permissions": [
      "read:orgs/9711a239af255273/annotations",
      "write:orgs/9711a239af255273/annotations",
      "read:orgs/9711a239af255273/authorizations",
      "write:orgs/9711a239af255273/authorizations",
      "read:orgs/9711a239af255273/buckets",
      "write:orgs/9711a239af255273/buckets",
      "read:orgs/9711a239af255273/checks",
      "write:orgs/9711a239af255273/checks",
      "read:orgs/9711a239af255273/dashboards",
      "write:orgs/9711a239af255273/dashboards",
      "read:orgs/9711a239af255273/dbrp",
      "write:orgs/9711a239af255273/dbrp",
      "read:orgs/9711a239af255273/documents",
      "write:orgs/9711a239af255273/documents",
      "read:orgs/9711a239af255273/labels",
      "write:orgs/9711a239af255273/labels",
      "read:orgs/9711a239af255273/notebooks",
      "write:orgs/9711a239af255273/notebooks",
      "read:orgs/9711a239af255273/notificationEndpoints",
      "write:orgs/9711a239af255273/notificationEndpoints",
      "read:orgs/9711a239af255273/notificationRules",
      "write:orgs/9711a239af255273/notificationRules",
      "read:/orgs/9711a239af255273",
      "read:orgs/9711a239af255273/remotes",
      "write:orgs/9711a239af255273/remotes",
      "read:orgs/9711a239af255273/replications",
      "write:orgs/9711a239af255273/replications",
      "read:orgs/9711a239af255273/scrapers",
      "write:orgs/9711a239af255273/scrapers",
      "read:orgs/9711a239af255273/secrets",
      "write:orgs/9711a239af255273/secrets",
      "read:orgs/9711a239af255273/sources",
      "write:orgs/9711a239af255273/sources",
      "read:orgs/9711a239af255273/tasks",
      "write:orgs/9711a239af255273/tasks",
      "read:orgs/9711a239af255273/telegrafs",
      "write:orgs/9711a239af255273/telegrafs",
      "read:/users/0c26632c17c9c000",
      "write:/users/0c26632c17c9c000",
      "read:orgs/9711a239af255273/variables",
      "write:orgs/9711a239af255273/variables",
      "read:orgs/9711a239af255273/views",
      "write:orgs/9711a239af255273/views"
      ]
      }
      ]

      Bin für jeden Tipp dankbar. Ich hoffe ich habe erstmal alle notwendigen Informationen geliefert.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @jutr sagte in Kein Backup mit Iobroker Backitup von Influxdb2 im Docker:

      dann kommt der Hinweis, dass der service influxdb nicht bekannt ist.

      Der Docker verwendet kein systemd, weswegen dessen Kommandos da nicht funktionieren.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • J jutr

        Hallo,

        habe iobroker im Docker Container installiert und auch als package influxdb-cli mit installiert. Influxdb läuft schon länger im Docker Container. beides auf einer Synology DS220+. Alles was ich hier beschreibe, habe ich auch bereits von einer Iobroker Instanz, die auf einem Raspi 4 läuft, probiert.
        Wie viele andere hier scheitert es auch bei mir vermutlich an den Operator Token. Ich kenne auch die Anleitungen, wie man an dieses Token kommen kann und genau da liegt vermutlich mein Problem. Laut dieser Anleitung soll man ja die Influxdb stoppen mit "sudo service influxdb stop". Bereits da kommt auf der Kommandzeile der Hinweis, dass sudo unbekannt ist. Da ich eh als root angemeldet bin, dachte ich, dann lass ich sudo weg. dann kommt der Hinweis, dass der service influxdb nicht bekannt ist.
        Hat jemand von euch einen rat, wie ich an diesen blöden "Ersteinrichtungstoken", den ich mir natürlich nicht aufgeschrieben habe, komme?

        Ich hab schon probiert:
        influxd recovery auth create-operator --org <org> --username <user> --bolt-path "/var/lib/influxdb2/influxd.bolt" ->Da bekomme ich einen Timeout beim öffnen der Boltdb.

        influx auth list -t DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog== --json zeigt mir zwar 2 Tokens an, aber wohl nicht die richtigen:
        [
        {
        "id": "0c2664912149c000",
        "description": "",
        "token": "50wiRaQMGNmHrOzTrOuMWvJ8wrz48EQ3WEVGgjuNAuG_5qzsqacc4m20ltuPOqrcHUVUo_l72v4w2fB3FOW_sQ==",
        "status": "active",
        "userName": "juergen",
        "userID": "0c26632c17c9c000",
        "permissions": [
        "read:orgs/9711a239af255273/annotations",
        "write:orgs/9711a239af255273/annotations",
        "read:orgs/9711a239af255273/authorizations",
        "write:orgs/9711a239af255273/authorizations",
        "read:orgs/9711a239af255273/buckets",
        "write:orgs/9711a239af255273/buckets",
        "read:orgs/9711a239af255273/checks",
        "write:orgs/9711a239af255273/checks",
        "read:orgs/9711a239af255273/dashboards",
        "write:orgs/9711a239af255273/dashboards",
        "read:orgs/9711a239af255273/dbrp",
        "write:orgs/9711a239af255273/dbrp",
        "read:orgs/9711a239af255273/documents",
        "write:orgs/9711a239af255273/documents",
        "read:orgs/9711a239af255273/labels",
        "write:orgs/9711a239af255273/labels",
        "read:orgs/9711a239af255273/notebooks",
        "write:orgs/9711a239af255273/notebooks",
        "read:orgs/9711a239af255273/notificationEndpoints",
        "write:orgs/9711a239af255273/notificationEndpoints",
        "read:orgs/9711a239af255273/notificationRules",
        "write:orgs/9711a239af255273/notificationRules",
        "read:/orgs/9711a239af255273",
        "read:orgs/9711a239af255273/remotes",
        "write:orgs/9711a239af255273/remotes",
        "read:orgs/9711a239af255273/replications",
        "write:orgs/9711a239af255273/replications",
        "read:orgs/9711a239af255273/scrapers",
        "write:orgs/9711a239af255273/scrapers",
        "read:orgs/9711a239af255273/secrets",
        "write:orgs/9711a239af255273/secrets",
        "read:orgs/9711a239af255273/sources",
        "write:orgs/9711a239af255273/sources",
        "read:orgs/9711a239af255273/tasks",
        "write:orgs/9711a239af255273/tasks",
        "read:orgs/9711a239af255273/telegrafs",
        "write:orgs/9711a239af255273/telegrafs",
        "read:/users/0c26632c17c9c000",
        "write:/users/0c26632c17c9c000",
        "read:orgs/9711a239af255273/variables",
        "write:orgs/9711a239af255273/variables",
        "read:orgs/9711a239af255273/views",
        "write:orgs/9711a239af255273/views"
        ]
        },
        {
        "id": "0cafceb57573a000",
        "description": "New after changing Org",
        "token": "DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog==",
        "status": "active",
        "userName": "juergen",
        "userID": "0c26632c17c9c000",
        "permissions": [
        "read:orgs/9711a239af255273/annotations",
        "write:orgs/9711a239af255273/annotations",
        "read:orgs/9711a239af255273/authorizations",
        "write:orgs/9711a239af255273/authorizations",
        "read:orgs/9711a239af255273/buckets",
        "write:orgs/9711a239af255273/buckets",
        "read:orgs/9711a239af255273/checks",
        "write:orgs/9711a239af255273/checks",
        "read:orgs/9711a239af255273/dashboards",
        "write:orgs/9711a239af255273/dashboards",
        "read:orgs/9711a239af255273/dbrp",
        "write:orgs/9711a239af255273/dbrp",
        "read:orgs/9711a239af255273/documents",
        "write:orgs/9711a239af255273/documents",
        "read:orgs/9711a239af255273/labels",
        "write:orgs/9711a239af255273/labels",
        "read:orgs/9711a239af255273/notebooks",
        "write:orgs/9711a239af255273/notebooks",
        "read:orgs/9711a239af255273/notificationEndpoints",
        "write:orgs/9711a239af255273/notificationEndpoints",
        "read:orgs/9711a239af255273/notificationRules",
        "write:orgs/9711a239af255273/notificationRules",
        "read:/orgs/9711a239af255273",
        "read:orgs/9711a239af255273/remotes",
        "write:orgs/9711a239af255273/remotes",
        "read:orgs/9711a239af255273/replications",
        "write:orgs/9711a239af255273/replications",
        "read:orgs/9711a239af255273/scrapers",
        "write:orgs/9711a239af255273/scrapers",
        "read:orgs/9711a239af255273/secrets",
        "write:orgs/9711a239af255273/secrets",
        "read:orgs/9711a239af255273/sources",
        "write:orgs/9711a239af255273/sources",
        "read:orgs/9711a239af255273/tasks",
        "write:orgs/9711a239af255273/tasks",
        "read:orgs/9711a239af255273/telegrafs",
        "write:orgs/9711a239af255273/telegrafs",
        "read:/users/0c26632c17c9c000",
        "write:/users/0c26632c17c9c000",
        "read:orgs/9711a239af255273/variables",
        "write:orgs/9711a239af255273/variables",
        "read:orgs/9711a239af255273/views",
        "write:orgs/9711a239af255273/views"
        ]
        }
        ]

        Bin für jeden Tipp dankbar. Ich hoffe ich habe erstmal alle notwendigen Informationen geliefert.

        Marc BergM Offline
        Marc BergM Offline
        Marc Berg
        Most Active
        schrieb am zuletzt editiert von Marc Berg
        #3

        @jutr sagte in Kein Backup mit Iobroker Backitup von Influxdb2 im Docker:

        /var/lib/influxdb2/influxd.bolt"

        Das Ganze ist unter Docker etwas tricky, aber machbar, wenn man nicht auf Kriegsfuß mit der Linux Kommandozeile steht. Das Problem besteht darin, dass du für den Befehl die Influxdb beenden müsstest, sich aber damit der gesamte Container terminiert.

        So ist grob eine Möglichkeit:

        1. Kopie der influxd.bolt machen, z.B. influxd-neu.bolt
        2. "influxd recovery auth create-operator ..." auf der Kopie machen
        3. Container beenden
        4. die vorher erstellte Kopie "von außen" umbenennen nach influxd.bolt
        5. Container wieder starten, mit "influx auth list ..." Token anzeigen

        EDIT: prüfen, ob die Zugriffsrechte der "neuen" influxd.bolt identisch mit der alten sind!

        EDIT: Schreibfehler beseitigt

        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.

        J 1 Antwort Letzte Antwort
        1
        • J jutr

          Hallo,

          habe iobroker im Docker Container installiert und auch als package influxdb-cli mit installiert. Influxdb läuft schon länger im Docker Container. beides auf einer Synology DS220+. Alles was ich hier beschreibe, habe ich auch bereits von einer Iobroker Instanz, die auf einem Raspi 4 läuft, probiert.
          Wie viele andere hier scheitert es auch bei mir vermutlich an den Operator Token. Ich kenne auch die Anleitungen, wie man an dieses Token kommen kann und genau da liegt vermutlich mein Problem. Laut dieser Anleitung soll man ja die Influxdb stoppen mit "sudo service influxdb stop". Bereits da kommt auf der Kommandzeile der Hinweis, dass sudo unbekannt ist. Da ich eh als root angemeldet bin, dachte ich, dann lass ich sudo weg. dann kommt der Hinweis, dass der service influxdb nicht bekannt ist.
          Hat jemand von euch einen rat, wie ich an diesen blöden "Ersteinrichtungstoken", den ich mir natürlich nicht aufgeschrieben habe, komme?

          Ich hab schon probiert:
          influxd recovery auth create-operator --org <org> --username <user> --bolt-path "/var/lib/influxdb2/influxd.bolt" ->Da bekomme ich einen Timeout beim öffnen der Boltdb.

          influx auth list -t DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog== --json zeigt mir zwar 2 Tokens an, aber wohl nicht die richtigen:
          [
          {
          "id": "0c2664912149c000",
          "description": "",
          "token": "50wiRaQMGNmHrOzTrOuMWvJ8wrz48EQ3WEVGgjuNAuG_5qzsqacc4m20ltuPOqrcHUVUo_l72v4w2fB3FOW_sQ==",
          "status": "active",
          "userName": "juergen",
          "userID": "0c26632c17c9c000",
          "permissions": [
          "read:orgs/9711a239af255273/annotations",
          "write:orgs/9711a239af255273/annotations",
          "read:orgs/9711a239af255273/authorizations",
          "write:orgs/9711a239af255273/authorizations",
          "read:orgs/9711a239af255273/buckets",
          "write:orgs/9711a239af255273/buckets",
          "read:orgs/9711a239af255273/checks",
          "write:orgs/9711a239af255273/checks",
          "read:orgs/9711a239af255273/dashboards",
          "write:orgs/9711a239af255273/dashboards",
          "read:orgs/9711a239af255273/dbrp",
          "write:orgs/9711a239af255273/dbrp",
          "read:orgs/9711a239af255273/documents",
          "write:orgs/9711a239af255273/documents",
          "read:orgs/9711a239af255273/labels",
          "write:orgs/9711a239af255273/labels",
          "read:orgs/9711a239af255273/notebooks",
          "write:orgs/9711a239af255273/notebooks",
          "read:orgs/9711a239af255273/notificationEndpoints",
          "write:orgs/9711a239af255273/notificationEndpoints",
          "read:orgs/9711a239af255273/notificationRules",
          "write:orgs/9711a239af255273/notificationRules",
          "read:/orgs/9711a239af255273",
          "read:orgs/9711a239af255273/remotes",
          "write:orgs/9711a239af255273/remotes",
          "read:orgs/9711a239af255273/replications",
          "write:orgs/9711a239af255273/replications",
          "read:orgs/9711a239af255273/scrapers",
          "write:orgs/9711a239af255273/scrapers",
          "read:orgs/9711a239af255273/secrets",
          "write:orgs/9711a239af255273/secrets",
          "read:orgs/9711a239af255273/sources",
          "write:orgs/9711a239af255273/sources",
          "read:orgs/9711a239af255273/tasks",
          "write:orgs/9711a239af255273/tasks",
          "read:orgs/9711a239af255273/telegrafs",
          "write:orgs/9711a239af255273/telegrafs",
          "read:/users/0c26632c17c9c000",
          "write:/users/0c26632c17c9c000",
          "read:orgs/9711a239af255273/variables",
          "write:orgs/9711a239af255273/variables",
          "read:orgs/9711a239af255273/views",
          "write:orgs/9711a239af255273/views"
          ]
          },
          {
          "id": "0cafceb57573a000",
          "description": "New after changing Org",
          "token": "DPEvh6DfNekku8-GB6M61vNyy7hdfwh69e_r1bAmpK0Eyctz78bkzVeSJzw9at5D0CJLEhRsfd0egdN3E76Xog==",
          "status": "active",
          "userName": "juergen",
          "userID": "0c26632c17c9c000",
          "permissions": [
          "read:orgs/9711a239af255273/annotations",
          "write:orgs/9711a239af255273/annotations",
          "read:orgs/9711a239af255273/authorizations",
          "write:orgs/9711a239af255273/authorizations",
          "read:orgs/9711a239af255273/buckets",
          "write:orgs/9711a239af255273/buckets",
          "read:orgs/9711a239af255273/checks",
          "write:orgs/9711a239af255273/checks",
          "read:orgs/9711a239af255273/dashboards",
          "write:orgs/9711a239af255273/dashboards",
          "read:orgs/9711a239af255273/dbrp",
          "write:orgs/9711a239af255273/dbrp",
          "read:orgs/9711a239af255273/documents",
          "write:orgs/9711a239af255273/documents",
          "read:orgs/9711a239af255273/labels",
          "write:orgs/9711a239af255273/labels",
          "read:orgs/9711a239af255273/notebooks",
          "write:orgs/9711a239af255273/notebooks",
          "read:orgs/9711a239af255273/notificationEndpoints",
          "write:orgs/9711a239af255273/notificationEndpoints",
          "read:orgs/9711a239af255273/notificationRules",
          "write:orgs/9711a239af255273/notificationRules",
          "read:/orgs/9711a239af255273",
          "read:orgs/9711a239af255273/remotes",
          "write:orgs/9711a239af255273/remotes",
          "read:orgs/9711a239af255273/replications",
          "write:orgs/9711a239af255273/replications",
          "read:orgs/9711a239af255273/scrapers",
          "write:orgs/9711a239af255273/scrapers",
          "read:orgs/9711a239af255273/secrets",
          "write:orgs/9711a239af255273/secrets",
          "read:orgs/9711a239af255273/sources",
          "write:orgs/9711a239af255273/sources",
          "read:orgs/9711a239af255273/tasks",
          "write:orgs/9711a239af255273/tasks",
          "read:orgs/9711a239af255273/telegrafs",
          "write:orgs/9711a239af255273/telegrafs",
          "read:/users/0c26632c17c9c000",
          "write:/users/0c26632c17c9c000",
          "read:orgs/9711a239af255273/variables",
          "write:orgs/9711a239af255273/variables",
          "read:orgs/9711a239af255273/views",
          "write:orgs/9711a239af255273/views"
          ]
          }
          ]

          Bin für jeden Tipp dankbar. Ich hoffe ich habe erstmal alle notwendigen Informationen geliefert.

          Marc BergM Offline
          Marc BergM Offline
          Marc Berg
          Most Active
          schrieb am zuletzt editiert von
          #4

          @jutr

          Alternativ könntest du auch einen neue Influxdb aufsetzen, dein Backup zurückspielen und diesmal den Löschfinger stillhalten. ;-)

          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.

          1 Antwort Letzte Antwort
          0
          • Marc BergM Marc Berg

            @jutr sagte in Kein Backup mit Iobroker Backitup von Influxdb2 im Docker:

            /var/lib/influxdb2/influxd.bolt"

            Das Ganze ist unter Docker etwas tricky, aber machbar, wenn man nicht auf Kriegsfuß mit der Linux Kommandozeile steht. Das Problem besteht darin, dass du für den Befehl die Influxdb beenden müsstest, sich aber damit der gesamte Container terminiert.

            So ist grob eine Möglichkeit:

            1. Kopie der influxd.bolt machen, z.B. influxd-neu.bolt
            2. "influxd recovery auth create-operator ..." auf der Kopie machen
            3. Container beenden
            4. die vorher erstellte Kopie "von außen" umbenennen nach influxd.bolt
            5. Container wieder starten, mit "influx auth list ..." Token anzeigen

            EDIT: prüfen, ob die Zugriffsrechte der "neuen" influxd.bolt identisch mit der alten sind!

            EDIT: Schreibfehler beseitigt

            J Offline
            J Offline
            jutr
            schrieb am zuletzt editiert von jutr
            #5

            @marc-berg
            Hat geklappt mit Kopie von influxd.bolt! Super Danke :-)

            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

            664

            Online

            32.6k

            Benutzer

            82.1k

            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