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. Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
72 Beiträge 8 Kommentatoren 644 Aufrufe 7 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.
  • M marcelinho

    @thomas-braun danke perfekt, bei backitup meckert er wie folgt:

    13:17:13.829INFOguiBackup gestartet ...
    13:17:19.819DEBUGiobrokerhost.raspberrypi 6140 objects saved
    13:17:20.506DEBUGiobrokerhost.raspberrypi 4775 states saved
    13:17:20.514DEBUGiobrokerhost.raspberrypi Validating backup ...
    13:17:20.572DEBUGiobrokerhost.raspberrypi "config.json" is valid
    13:17:20.580DEBUGiobrokerhost.raspberrypi "objects.jsonl" exists
    host.raspberrypi "states.jsonl" exists
    13:17:21.307DEBUGiobrokerhost.raspberrypi JSONL lines are valid
    13:17:21.322DEBUGiobrokerhost.raspberrypi The backup is valid!
    13:17:22.375DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2026_01_10-13_17_13_backupiobroker.tar.gz
    This backup can only be restored with js-controller version 7.0 or higher
    13:17:23.436DEBUGiobrokerdone
    13:17:23.594DEBUGinfluxDBInfluxDB-Backup started ...
    13:17:23.646DEBUGinfluxDBStart InfluxDB Backup ...
    13:17:23.647DEBUGinfluxDBInfluxDB Backup tmp directory created
    13:17:23.986DEBUGinfluxDBTry deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2026_01_10-13_17_23_backupiobroker"
    13:17:23.990DEBUGinfluxDBInfluxDB tmp directory "/opt/iobroker/backups/influxDB_2026_01_10-13_17_23_backupiobroker" successfully deleted
    [DEBUG] [influxDB] -
    13:17:24.072ERRORinfluxDBError: Command failed: influx backup --bucket admin --host http://localhost:8086 -t glsa_WGijBfr5pXcOhQGUa6854B3rQDxteA1a_ce61e1c9 "/opt/iobroker/backups/influxDB_2026_01_10-13_17_23_backupiobroker"
    2026/01/10 13:17:23 INFO: Downloading metadata snapshot
    Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: unauthorized access
    13:17:24.074DEBUGinfluxDBInfluxDB-Backup for is finish
    13:17:24.076DEBUGinfluxDBdone
    13:17:25.026DEBUGzigbee2mqttCreated zigbee2mqtt directory
    13:17:25.037DEBUGzigbee2mqttcompress from Zigbee2MQTT started ...
    13:17:25.059DEBUGzigbee2mqttZigbee2MQTT tmp copy finish
    13:17:25.108DEBUGzigbee2mqttBackup created: /opt/iobroker/backups/zigbee2mqtt_2026_01_10-13_17_24_backupiobroker.tar.gz
    13:17:25.111DEBUGzigbee2mqttTry deleting the old zigbee2mqtt tmp directory: "/opt/iobroker/backups/zigbee2mqtt_tmp"
    13:17:25.155DEBUGzigbee2mqttzigbee2mqtt tmp directory "/opt/iobroker/backups/zigbee2mqtt_tmp" successfully deleted
    13:17:25.209DEBUGzigbee2mqttdone
    13:17:25.227DEBUGgrafanaStart Grafana Backup ...
    13:17:25.231DEBUGgrafanaCreated grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp"
    13:17:25.238DEBUGgrafanaCreated dashboard directory
    13:17:25.242DEBUGgrafanaCreated folder directory
    13:17:25.243DEBUGgrafanaCreated dashboards_manually_restore directory
    13:17:25.283DEBUGgrafanaCreated datasource directory
    13:17:25.286DEBUGgrafanastart Grafana request ...
    13:17:25.347DEBUGgrafanaGrafana is available ... Status: 200
    13:17:25.638DEBUGgrafanafound Dashboard: home-mathis
    13:17:25.951DEBUGgrafanaSaved dashboard-folder mapping
    13:17:26.014DEBUGgrafanaSave Folder "Shared with me"
    13:17:26.325DEBUGgrafanastart Grafana backup compress ...
    13:17:31.339DEBUGgrafanaBackup created: /opt/iobroker/backups/grafana_2026_01_10-13_17_26_backupiobroker.tar.gz
    13:17:31.344DEBUGgrafanaTry deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
    13:17:31.355DEBUGgrafanaGrafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
    13:17:31.388DEBUGgrafanadone
    13:17:31.839DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
    13:17:31.919DEBUGjavascriptsfound Script: Daikin_PV_Überschuss
    13:17:32.026DEBUGjavascriptsfound Script: Flur_Türsensor_+_Bewegungsmelder
    13:17:32.176DEBUGjavascriptsfound Script: Gaszähler
    13:17:32.326DEBUGjavascriptsfound Script: Hausspeicher_Laden_Entladen
    13:17:32.476DEBUGjavascriptsfound Script: Hausspeicher_gerechnet
    13:17:32.626DEBUGjavascriptsfound Script: Hausspeicher_gespart
    13:17:32.776DEBUGjavascriptsfound Script: Hausverbrauch_aktuell
    13:17:32.925DEBUGjavascriptsfound Script: Heizung_Badezimmer_Keller
    13:17:33.077DEBUGjavascriptsfound Script: Heizung_Kinderzimmer
    13:17:33.226DEBUGjavascriptsfound Script: Heizung_Wohnzimmer
    13:17:33.377DEBUGjavascriptsfound Script: Kosten_Strom_Tag
    13:17:33.525DEBUGjavascriptsfound Script: LEDPanel
    13:17:33.676DEBUGjavascriptsfound Script: Licht_Keller_Kontakt
    13:17:33.827DEBUGjavascriptsfound Script: Licht_Schlafzimmer
    13:17:33.977DEBUGjavascriptsfound Script: Licht_Speisekammer
    13:17:34.128DEBUGjavascriptsfound Script: Licht_Umkleide
    13:17:34.278DEBUGjavascriptsfound Script: Netzeinspeisung
    13:17:34.427DEBUGjavascriptsfound Script: PV_Leistung
    13:17:34.577DEBUGjavascriptsfound Script: PV_Tagesertrag
    13:17:34.728DEBUGjavascriptsfound Script: Rolladen_Auf
    13:17:34.878DEBUGjavascriptsfound Script: Rolladen_Sonnenaufgang
    13:17:35.028DEBUGjavascriptsfound Script: Rolladen_Sonnenuntergang
    13:17:35.178DEBUGjavascriptsfound Script: Rolladen_Zu
    13:17:35.329DEBUGjavascriptsfound Script: Trinkbrunnen
    13:17:35.479DEBUGjavascriptsfound Script: Wasserzähler
    13:17:35.629DEBUGjavascriptsfound Script: Weihnachtsbaum
    13:17:35.779DEBUGjavascriptsfound Script: Wochentage&Wochenende
    13:17:35.945DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
    13:17:35.988DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
    13:17:35.993DEBUGjavascriptsBackup created: /opt/iobroker/backups/javascripts_2026_01_10-13_17_31_backupiobroker.tar.gz
    13:17:35.995DEBUGjavascriptsdone
    13:17:37.455ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
    13:17:37.495DEBUGcleandone
    13:17:37.608DEBUGhistoryHTMLnew history html values created
    13:17:37.701DEBUGhistoryHTMLdone
    13:17:37.875DEBUGhistoryJSONnew history json values created
    13:17:37.880DEBUGhistoryJSONdone
    13:17:40.376DEBUGnotificationAdmin notification will be sent
    13:17:40.417DEBUGnotificationdone
    13:17:40.533INFOguiDas Backup wurde erfolgreich erstellt!
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #63

    @marcelinho sagte in Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana:

    401 Unauthorized: unauthorized access

    Falsches Token? Bei influx selber bin ich dann aber raus.

    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
    • M Offline
      M Offline
      marcelinho
      schrieb am zuletzt editiert von
      #64

      weiß jemand wieso mein Backitup bei Influxdb nicht geht, habe die Token neu erstellt mit allen rechten aber irgendwie läuft es nicht:

      19:56:58.888DEBUGinfluxDBInfluxDB-Backup started ...
      19:56:58.892DEBUGinfluxDBStart InfluxDB Backup ...
      19:56:58.901DEBUGinfluxDBInfluxDB Backup tmp directory created
      [DEBUG] [influxDB] -
      19:56:59.372ERRORinfluxDBError: Command failed: influx backup --bucket admin --host http://localhost:8086 -t tX9aUgElHh8iiEJKoYay0Zhsxjr1OTuAnSaiR73lfwUAXzYlD3MlJeu_g6_WbjAnLKMFsAPylqSJ2f7Ke4BfZg== "/opt/iobroker/backups/influxDB_2026_01_10-19_56_58_backupiobroker"
      2026/01/10 19:56:59 INFO: Downloading metadata snapshot
      Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
      19:56:59.382DEBUGinfluxDBInfluxDB-Backup for is finish
      19:56:59.385DEBUGinfluxDBdone
      

      Die Tokens stimmen, die Adapter sind grün. Wüsste nicht wo es hakt. Kann es mit Debian 13 zu tun haben bei Influx 2.x ? auf meiner anderen Micro SD mit Debian 12 geht es mit den Einstellungen.

      HomoranH Thomas BraunT crunchipC 3 Antworten Letzte Antwort
      0
      • M marcelinho

        weiß jemand wieso mein Backitup bei Influxdb nicht geht, habe die Token neu erstellt mit allen rechten aber irgendwie läuft es nicht:

        19:56:58.888DEBUGinfluxDBInfluxDB-Backup started ...
        19:56:58.892DEBUGinfluxDBStart InfluxDB Backup ...
        19:56:58.901DEBUGinfluxDBInfluxDB Backup tmp directory created
        [DEBUG] [influxDB] -
        19:56:59.372ERRORinfluxDBError: Command failed: influx backup --bucket admin --host http://localhost:8086 -t tX9aUgElHh8iiEJKoYay0Zhsxjr1OTuAnSaiR73lfwUAXzYlD3MlJeu_g6_WbjAnLKMFsAPylqSJ2f7Ke4BfZg== "/opt/iobroker/backups/influxDB_2026_01_10-19_56_58_backupiobroker"
        2026/01/10 19:56:59 INFO: Downloading metadata snapshot
        Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
        19:56:59.382DEBUGinfluxDBInfluxDB-Backup for is finish
        19:56:59.385DEBUGinfluxDBdone
        

        Die Tokens stimmen, die Adapter sind grün. Wüsste nicht wo es hakt. Kann es mit Debian 13 zu tun haben bei Influx 2.x ? auf meiner anderen Micro SD mit Debian 12 geht es mit den Einstellungen.

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #65

        @marcelinho sagte in Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana:

        Die Tokens stimmen, die Adapter sind grün

        das heisst gar nix!
        für backitup brauchst du das admin token

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Antwort Letzte Antwort
        0
        • M marcelinho

          weiß jemand wieso mein Backitup bei Influxdb nicht geht, habe die Token neu erstellt mit allen rechten aber irgendwie läuft es nicht:

          19:56:58.888DEBUGinfluxDBInfluxDB-Backup started ...
          19:56:58.892DEBUGinfluxDBStart InfluxDB Backup ...
          19:56:58.901DEBUGinfluxDBInfluxDB Backup tmp directory created
          [DEBUG] [influxDB] -
          19:56:59.372ERRORinfluxDBError: Command failed: influx backup --bucket admin --host http://localhost:8086 -t tX9aUgElHh8iiEJKoYay0Zhsxjr1OTuAnSaiR73lfwUAXzYlD3MlJeu_g6_WbjAnLKMFsAPylqSJ2f7Ke4BfZg== "/opt/iobroker/backups/influxDB_2026_01_10-19_56_58_backupiobroker"
          2026/01/10 19:56:59 INFO: Downloading metadata snapshot
          Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
          19:56:59.382DEBUGinfluxDBInfluxDB-Backup for is finish
          19:56:59.385DEBUGinfluxDBdone
          

          Die Tokens stimmen, die Adapter sind grün. Wüsste nicht wo es hakt. Kann es mit Debian 13 zu tun haben bei Influx 2.x ? auf meiner anderen Micro SD mit Debian 12 geht es mit den Einstellungen.

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

          @marcelinho sagte in Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana:

          Kann es mit Debian 13 zu tun haben bei Influx 2.x ?

          Nein.

          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
          • M marcelinho

            weiß jemand wieso mein Backitup bei Influxdb nicht geht, habe die Token neu erstellt mit allen rechten aber irgendwie läuft es nicht:

            19:56:58.888DEBUGinfluxDBInfluxDB-Backup started ...
            19:56:58.892DEBUGinfluxDBStart InfluxDB Backup ...
            19:56:58.901DEBUGinfluxDBInfluxDB Backup tmp directory created
            [DEBUG] [influxDB] -
            19:56:59.372ERRORinfluxDBError: Command failed: influx backup --bucket admin --host http://localhost:8086 -t tX9aUgElHh8iiEJKoYay0Zhsxjr1OTuAnSaiR73lfwUAXzYlD3MlJeu_g6_WbjAnLKMFsAPylqSJ2f7Ke4BfZg== "/opt/iobroker/backups/influxDB_2026_01_10-19_56_58_backupiobroker"
            2026/01/10 19:56:59 INFO: Downloading metadata snapshot
            Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
            19:56:59.382DEBUGinfluxDBInfluxDB-Backup for is finish
            19:56:59.385DEBUGinfluxDBdone
            

            Die Tokens stimmen, die Adapter sind grün. Wüsste nicht wo es hakt. Kann es mit Debian 13 zu tun haben bei Influx 2.x ? auf meiner anderen Micro SD mit Debian 12 geht es mit den Einstellungen.

            crunchipC Abwesend
            crunchipC Abwesend
            crunchip
            Forum Testing Most Active
            schrieb am zuletzt editiert von
            #67

            @marcelinho sagte in Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana:

            habe die Token neu erstellt

            https://docs.influxdata.com/influxdb/v2/admin/backup-restore/backup/
            The root authorization token (the token created for the first user in the InfluxDB setup process).
            https://docs.influxdata.com/influxdb/v2/admin/tokens/

            umgestiegen von Proxmox auf Unraid

            1 Antwort Letzte Antwort
            0
            • M Offline
              M Offline
              marcelinho
              schrieb am zuletzt editiert von
              #68

              versteht jemand warum ich mich beim Backup im Kreis drehe? Bei der InfluxDB Adapter ist grün Daten kommen in Grafana an. Token läuft. Aber wenn ich ein All Access API Token erstelle kommt immer der Fehler:
              "401 Unauthorized"

              pi@raspberrypi:~ $ rm influxdb2-client-2.7.5-linux-amd64.tar.gz
              pi@raspberrypi:~ $ rm -rf ~/.influxdbv2
              pi@raspberrypi:~ $ rm -f ~/influxdb2-client-*.tar.gz
              rm -rf ~/.influxdbv2
              sudo rm -f /usr/bin/influx
              sudo rm -f /usr/local/bin/influx
              pi@raspberrypi:~ $ curl -sL https://repos.influxdata.com/influxdata-archive.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdata-archive.gpg
              echo "deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main" | sudo tee /etc/apt/sources.list.d/influxdata.list
              sudo apt update
              File '/usr/share/keyrings/influxdata-archive.gpg' exists. Overwrite? (y/N) y
              deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main
              Hit:1 http://deb.debian.org/debian trixie InRelease
              Hit:2 http://deb.debian.org/debian trixie-updates InRelease
              Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
              Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
              Hit:5 https://repos.influxdata.com/debian stable InRelease
              Hit:6 https://apt.grafana.com stable InRelease
              Hit:7 https://deb.nodesource.com/node_24.x nodistro InRelease
              All packages are up to date.
              Warning: https://deb.nodesource.com/node_24.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
              pi@raspberrypi:~ $ sudo apt install influxdb2-cli -y
              Installing:
                influxdb2-cli
              
              Summary:
                Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
                Download size: 0 B / 11.0 MB
                Space needed: 24.7 MB / 20.9 GB available
              
              Selecting previously unselected package influxdb2-cli.
              (Reading database ... 115732 files and directories currently installed.)
              Preparing to unpack .../influxdb2-cli_2.7.5-3_arm64.deb ...
              Unpacking influxdb2-cli (2.7.5-3) ...
              Setting up influxdb2-cli (2.7.5-3) ...
              pi@raspberrypi:~ $ influx version
              Influx CLI dev (git: a79a2a1b825867421d320428538f76a4c90aa34c) build_date: 2024-04-16T14:34:26Z
              pi@raspberrypi:~ $ export INFLUX_TOKEN=xjIUdQBiweNaUi4jNnq7t0QiCRMYahTp1k8O91CNfOHobTWtFNfjI6R3gaeA8msuoxeeouI_eIGu6g7KmRfxew==
              pi@raspberrypi:~ $ influx org list
              ID                      Name
              9fc10391e54f07c7        admin
              pi@raspberrypi:~ $ mkdir -p /home/pi/influx-backup-test
              influx backup --org admin /home/pi/influx-backup-test
              2026/01/13 15:06:54 INFO: Downloading metadata snapshot
              Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
              pi@raspberrypi:~ $ rm -rf /home/pi/influx-backup-test
              pi@raspberrypi:~ $
              
              
              Marc BergM 1 Antwort Letzte Antwort
              0
              • M marcelinho

                versteht jemand warum ich mich beim Backup im Kreis drehe? Bei der InfluxDB Adapter ist grün Daten kommen in Grafana an. Token läuft. Aber wenn ich ein All Access API Token erstelle kommt immer der Fehler:
                "401 Unauthorized"

                pi@raspberrypi:~ $ rm influxdb2-client-2.7.5-linux-amd64.tar.gz
                pi@raspberrypi:~ $ rm -rf ~/.influxdbv2
                pi@raspberrypi:~ $ rm -f ~/influxdb2-client-*.tar.gz
                rm -rf ~/.influxdbv2
                sudo rm -f /usr/bin/influx
                sudo rm -f /usr/local/bin/influx
                pi@raspberrypi:~ $ curl -sL https://repos.influxdata.com/influxdata-archive.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdata-archive.gpg
                echo "deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main" | sudo tee /etc/apt/sources.list.d/influxdata.list
                sudo apt update
                File '/usr/share/keyrings/influxdata-archive.gpg' exists. Overwrite? (y/N) y
                deb [signed-by=/usr/share/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main
                Hit:1 http://deb.debian.org/debian trixie InRelease
                Hit:2 http://deb.debian.org/debian trixie-updates InRelease
                Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
                Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
                Hit:5 https://repos.influxdata.com/debian stable InRelease
                Hit:6 https://apt.grafana.com stable InRelease
                Hit:7 https://deb.nodesource.com/node_24.x nodistro InRelease
                All packages are up to date.
                Warning: https://deb.nodesource.com/node_24.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                pi@raspberrypi:~ $ sudo apt install influxdb2-cli -y
                Installing:
                  influxdb2-cli
                
                Summary:
                  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
                  Download size: 0 B / 11.0 MB
                  Space needed: 24.7 MB / 20.9 GB available
                
                Selecting previously unselected package influxdb2-cli.
                (Reading database ... 115732 files and directories currently installed.)
                Preparing to unpack .../influxdb2-cli_2.7.5-3_arm64.deb ...
                Unpacking influxdb2-cli (2.7.5-3) ...
                Setting up influxdb2-cli (2.7.5-3) ...
                pi@raspberrypi:~ $ influx version
                Influx CLI dev (git: a79a2a1b825867421d320428538f76a4c90aa34c) build_date: 2024-04-16T14:34:26Z
                pi@raspberrypi:~ $ export INFLUX_TOKEN=xjIUdQBiweNaUi4jNnq7t0QiCRMYahTp1k8O91CNfOHobTWtFNfjI6R3gaeA8msuoxeeouI_eIGu6g7KmRfxew==
                pi@raspberrypi:~ $ influx org list
                ID                      Name
                9fc10391e54f07c7        admin
                pi@raspberrypi:~ $ mkdir -p /home/pi/influx-backup-test
                influx backup --org admin /home/pi/influx-backup-test
                2026/01/13 15:06:54 INFO: Downloading metadata snapshot
                Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                pi@raspberrypi:~ $ rm -rf /home/pi/influx-backup-test
                pi@raspberrypi:~ $
                
                
                Marc BergM Offline
                Marc BergM Offline
                Marc Berg
                Most Active
                schrieb am zuletzt editiert von
                #69

                @marcelinho sagte in Hilfestellung Raspi4: Zigbee2Mqtt, InfluxDB, Grafana:

                All Access API Token

                Falscher Token-Typ. Schau bitte in die Doku zum Backitup Adapter

                https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#operator-token-für-influxdb-2x-wiederherstellen

                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
                • M Offline
                  M Offline
                  marcelinho
                  schrieb am zuletzt editiert von
                  #70

                  @marc-berg danke vielmals, hat geklappt.
                  Jetzt habe ich alles konfiguriert :) Nur noch eine "Fehlermeldung" ist die zu vernachlässigen?

                  pi@raspberrypi:~ $ sudo apt update
                  Hit:1 http://deb.debian.org/debian trixie InRelease
                  Hit:2 http://deb.debian.org/debian trixie-updates InRelease
                  Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
                  Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
                  Hit:5 https://repos.influxdata.com/debian stable InRelease
                  Hit:6 https://apt.grafana.com stable InRelease
                  Hit:7 https://deb.nodesource.com/node_24.x nodistro InRelease
                  Fetched 43.4 kB in 0s (88.8 kB/s)
                  All packages are up to date.
                  Warning: https://deb.nodesource.com/node_24.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                  pi@raspberrypi:~ $
                  
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • M marcelinho

                    @marc-berg danke vielmals, hat geklappt.
                    Jetzt habe ich alles konfiguriert :) Nur noch eine "Fehlermeldung" ist die zu vernachlässigen?

                    pi@raspberrypi:~ $ sudo apt update
                    Hit:1 http://deb.debian.org/debian trixie InRelease
                    Hit:2 http://deb.debian.org/debian trixie-updates InRelease
                    Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
                    Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
                    Hit:5 https://repos.influxdata.com/debian stable InRelease
                    Hit:6 https://apt.grafana.com stable InRelease
                    Hit:7 https://deb.nodesource.com/node_24.x nodistro InRelease
                    Fetched 43.4 kB in 0s (88.8 kB/s)
                    All packages are up to date.
                    Warning: https://deb.nodesource.com/node_24.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                    pi@raspberrypi:~ $
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #71

                    @marcelinho

                    Ja, für den Moment vernachlässigen.
                    In nächster Zeit müssten aber die Schlüssel für das nodesource Repo aktualisiert werden.
                    Die sind aber noch nicht verfügbar.

                    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
                    • M marcelinho

                      @crunchip ich weis nicht genau was du meinst. Ich hatte Mosquitto wohl nur für Testzwecke installiert (damals nur Benutzer und Passwort aufgeschrieben) mqtt Adapter ist auf Server mit 0.0.0.0:1885 eingestellt gewesen. Der Z2M war auf Websocket. Da ich mir meine alte Karte Debian 12 wohl mit Trixie upgrade zerschossen hab und nicht mehr per SSH drauf komme kann ich leider nicht mehr schauen welcher Port Mosquitto war. Die alte Karte geht noch, aber per SSH leider nicht mehr. Ich würde ungern alle meine Geräte neu einbinden müssen. Obwohl ich denke das ich seit 1 Woche schon versuche Yaml, mqtt und z2m anzupassen es schon längst erledigt wäre. Ich versteh glaube ich das ganze Konstrukt nicht wirklich. Wer mit wem kommuniziert und wer was genau braucht. Wenn ich es schaffe die Adapter grün zu bekommen dann bekomme ich nicht die Geräte rein durch das Backup. Irgendwie dreh ich mich leider im Kreis...

                      arteckA Offline
                      arteckA Offline
                      arteck
                      Developer Most Active
                      schrieb am zuletzt editiert von
                      #72

                      @marcelinho

                      na was heisst den wer mit wem kommuniziert..

                      z2m braucht ein mqtt .punkt.,. obs der mosquitto oder der iobroker mqtt server.. oder den startet das z2m nicht
                      der Adapter z2m hingegen braucht z2m um zu starten. diesen kann st du per WS = websocket oder so dass dieser auf den externen mqtt server horcht einstellen

                      ODER

                      du macht per mit diesem adapter einen mqtt server auf.. das gaht auch.. dann musst du z2m auf diesenauch konfigurieren

                      zigbee hab ich, zwave auch, nuc's genauso und HA auch

                      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

                      371

                      Online

                      32.6k

                      Benutzer

                      82.0k

                      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