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. Backitup - Influxdb2 Fehler bei Sicherung

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.1k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Backitup - Influxdb2 Fehler bei Sicherung

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
24 Beiträge 5 Kommentatoren 1.9k 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.
  • Thomas BraunT Thomas Braun

    @snopy_16

    Das hängt davon ab, welche Version von influxdb installiert ist.

    Es könnte z.B.

    sudo apt influxdb-client
    

    sein

    S Offline
    S Offline
    Snopy_16
    schrieb am zuletzt editiert von Snopy_16
    #5

    @Thomas-Braun
    Werds versuchen

    Man kann nicht alle Probleme lösen, aber wenigstens verursachen.

    LenovoThinkCentre M900 Tiny | i5-T6500 | 16 GB | 256 SSD
    iobroker auf Proxmox VM
    Node.js: v22.18.0 - NPM: 10.9.3 - js-controller: 7.0.6 - admin: v7.7.2
    FritzBox-7530TX hinter Glasfasermodem, WiFi mit Unifi

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • S Snopy_16

      @Thomas-Braun
      Werds versuchen

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

      @snopy_16

      Dann dürfte es

      sudo apt update
      sudo apt install influxdb2-cli
      

      sein.

      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

      I 1 Antwort Letzte Antwort
      0
      • S Snopy_16

        Ich habe Iobroker in Proxmox auf einer VM
        Influxdb2 in einem eigenen Container

        Backitup erzeugt folgenden Meldung

        20:14:03.439INFOguiBackup gestartet ...
        20:14:03.488DEBUGmountmount activ... umount is started before mount!!
        20:14:03.644DEBUGmountumount successfully completed
        20:14:13.470DEBUGmountnfs-mount command: "sudo mount 192.168.178.10:/Sicherung/iobroker /opt/iobroker/backups"
        20:14:13.545DEBUGmountmount successfully completed
        20:14:13.589DEBUGmountdone
        20:14:14.575DEBUGiobrokerhost.iobroker 196 states saved
        20:14:14.594DEBUGiobrokerhost.iobroker 330 objects saved
        20:14:14.846DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz
        This backup can only be restored with js-controller version up from 4.1
        20:14:15.853DEBUGiobrokerdone
        20:14:16.010DEBUGinfluxDBInfluxDB-Backup started ...
        20:14:16.019DEBUGinfluxDBStart InfluxDB Backup ...
        20:14:16.070DEBUGinfluxDBInfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker" successfully deleted
        20:14:16.148DEBUGinfluxDBdone
        20:14:16.772DEBUGhistoryDBcompress from historyDB started ...
        20:14:16.778DEBUGhistoryDBBackup created: /opt/iobroker/backups/historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz
        20:14:16.817DEBUGhistoryDBdone
        20:14:17.679DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
        20:14:17.741DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
        20:14:17.785DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
        20:14:17.791DEBUGjavascriptsBackup created: /opt/iobroker/backups/javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz
        20:14:17.800DEBUGjavascriptsdone
        20:14:19.449DEBUGonedriveOnedrive: Copy iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz...
        20:14:21.417DEBUGonedrive77% uploaded from iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz
        20:14:22.270DEBUGonedrive100% uploaded from iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz
        20:14:22.284DEBUGonedriveOnedrive: Copy historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz...
        20:14:23.765DEBUGonedrive100% uploaded from historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz
        20:14:23.778DEBUGonedrivehistoryDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz with Id: F9759285BF3AC29!s13ced90a49024e8ca407102f2e0a1f60 saved on Onedrive
        20:14:23.789DEBUGonedriveOnedrive: Copy javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz...
        20:14:25.082DEBUGonedrive100% uploaded from javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz
        20:14:25.126DEBUGonedrivejavascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz with Id: F9759285BF3AC29!s5504a43ce19d44d98a12133ecb3aa421 saved on Onedrive
        20:14:25.138DEBUGonedrivedone
        20:14:25.269DEBUGcifsused copy path: /Sicherung/iobroker
        20:14:25.289DEBUGcifsdone
        20:14:25.689DEBUGgoogledriveGoogle Drive: Copy iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz...
        20:14:28.201ERRORgoogledriveGoogle Drive: File "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker.tar.gz" not found
        20:14:28.311DEBUGgoogledriveGoogle Drive: Copy historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz...
        20:14:30.444DEBUGgoogledriveGoogle Drive: Copy javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz...
        20:14:32.595DEBUGgoogledrivedone
        20:14:32.800ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
        20:14:32.808DEBUGcleandone
        20:14:32.899DEBUGhistoryHTMLnew history html values created
        20:14:32.986DEBUGhistoryHTMLdone
        20:14:33.141DEBUGhistoryJSONnew history json values created
        20:14:33.188DEBUGhistoryJSONdone
        20:14:33.297DEBUGumountmount active, umount is started ...
        20:14:38.373DEBUGumountumount successfully completed
        20:14:38.418DEBUGumountdone
        20:14:38.678DEBUGemaildone
        20:14:40.735DEBUGnotificationAdmin notification will be sent
        20:14:40.778DEBUGnotificationdone
        20:14:40.886INFOguiDas Backup wurde erfolgreich erstellt!
        

        Probleme bei influx eigentlich nicht ersichtbar

        im iobroker log dann dies

        
        backitup.0
        2024-11-22 20:14:31.666	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
        
        backitup.0
        2024-11-22 20:14:27.079	error	[iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker.tar.gz" not found
        
        backitup.0
        2024-11-22 20:14:21.154	error	[iobroker/onedrive] Onedrive: File "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker.tar.gz" not found
        
        backitup.0
        2024-11-22 20:14:14.935	error	[iobroker] Error: Command failed: influx backup --bucket iobroker -t 5GtVXZUdOX6jOnzTpVNscZ6zjRHLUTBxhGqVAhUMxqKdhhU0uAPZL68Z_bynD53ntnns9cBDHEzXb4Un4QqGFQ== "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker"/bin/sh: 1: influx: not found
        
        backitup.0
        2024-11-22 20:14:14.935	error	[iobroker/influxDB] /bin/sh: 1: influx: not found
        
        backitup.0
        2024-11-22 20:14:14.935	error	[iobroker/influxDB] Error: Command failed: influx backup --bucket iobroker -t 5GtVXZUdOX6jOnzTpVNscZ6zjRHLUTBxhGqVAhUMxqKdhhU0uAPZL68Z_bynD53ntnns9cBDHEzXb4Un4QqGFQ== "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker"
        
        admin.0
        2024-11-22 20:13:45.845	info	==> Connected system.user.admin from ::ffff:192.168.178.93
        

        Mache ich ein Restore einer noch vom Raspberry erzeugten Sicherung kommt das.

        20:23:11.904INFOguistarting Restore...
        20:23:12.093DEBUGinfluxDBinfluxdb.0 is stopped
        20:23:33.690ERRORinfluxDB/bin/sh: 1: influx: not found
        20:23:33.832DEBUGinfluxDBinfluxdb.0 started
        

        Ich checks einfach nicht
        Liegt es vielleicht daran dass die Influxdb nicht im selben system wie der iobroker liegt?

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

        @snopy_16 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

        Liegt es vielleicht daran dass die Influxdb nicht im selben system wie der iobroker liegt?

        hatte ich dir im anderen Thread geschrieben, Beschreibung von backitup, siehe https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch

        umgestiegen von Proxmox auf Unraid

        S 2 Antworten Letzte Antwort
        0
        • crunchipC crunchip

          @snopy_16 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

          Liegt es vielleicht daran dass die Influxdb nicht im selben system wie der iobroker liegt?

          hatte ich dir im anderen Thread geschrieben, Beschreibung von backitup, siehe https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch

          S Offline
          S Offline
          Snopy_16
          schrieb am zuletzt editiert von
          #8

          @crunchip @Thomas-Braun

          Ich weiss, dass ich mit meinen Fragen oft nerve.
          Aber für mich ist das noch alles ein bißchen komplex.:face_with_rolling_eyes:
          Aber mit jedem Schritt lerne ich dazu und verstehe alles ein bisschen besser.
          Drum danke Euch, die mich unterstützen.:+1: :blush: :clap:
          (Will gar nicht mehr zu meinen Anfängen zurückdenken - stand da wie der Ochs vorm Tor):angry: :anguished:

          Man kann nicht alle Probleme lösen, aber wenigstens verursachen.

          LenovoThinkCentre M900 Tiny | i5-T6500 | 16 GB | 256 SSD
          iobroker auf Proxmox VM
          Node.js: v22.18.0 - NPM: 10.9.3 - js-controller: 7.0.6 - admin: v7.7.2
          FritzBox-7530TX hinter Glasfasermodem, WiFi mit Unifi

          1 Antwort Letzte Antwort
          0
          • crunchipC crunchip

            @snopy_16 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

            Liegt es vielleicht daran dass die Influxdb nicht im selben system wie der iobroker liegt?

            hatte ich dir im anderen Thread geschrieben, Beschreibung von backitup, siehe https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch

            S Offline
            S Offline
            Snopy_16
            schrieb am zuletzt editiert von Snopy_16
            #9

            @crunchip
            Also, irgendwas mache ich komplett falsch.

            Beim Restore der influxdb werden keine Datenpunkte zurückgeschrieben.
            Restore Fehlermeldung.

            15:00:34.581INFOguistarting Restore...
            15:00:34.721DEBUGinfluxDBCreated tmp directory
            15:00:34.736DEBUGinfluxDBStart influxDB Restore ...
            15:00:57.433ERRORinfluxDBError: API compatibility check failed: Get "http://localhost:8086/health": dial tcp [::1]:8086: connect: connection refused
            15:00:57.450DEBUGinfluxDBTry deleting the InfluxDB tmp directory
            15:00:57.557DEBUGinfluxDBinfluxDB Restore completed successfully
            

            im log

            
            backitup.0
            2024-11-23 15:00:56.770	error	[influxDB] Error: API compatibility check failed: Get "http://localhost:8086/health": dial tcp [::1]:8086: connect: connection refused
            
            backitup.0
            2024-11-23 15:00:13.312	error	Error: ENOENT: no such file or directory, lstat '/opt/iobroker/backups/influxDB_2024_11_23-14_35_27_backupiobroker.tar.gz'
            
            backitup.0
            2024-11-23 15:00:09.710	error	umount: /opt/iobroker/backups: not mounted.
            
            backitup.0
            2024-11-23 14:59:02.506	error	umount: /opt/iobroker/backups: not mounted.
            

            58c40e75-e3f1-4668-a7e7-63a9847b7483-image.png
            Adapter influxdb vor restore habe ich gestoppt. Alte Influx-Datenbank vor der Wiederherstellung automatisch löschen habe ich auch probiert.
            Bucket wird angelegt, Measurements werden angelegt. Nur die Historiedaten fehlen.

            Man kann nicht alle Probleme lösen, aber wenigstens verursachen.

            LenovoThinkCentre M900 Tiny | i5-T6500 | 16 GB | 256 SSD
            iobroker auf Proxmox VM
            Node.js: v22.18.0 - NPM: 10.9.3 - js-controller: 7.0.6 - admin: v7.7.2
            FritzBox-7530TX hinter Glasfasermodem, WiFi mit Unifi

            1 Antwort Letzte Antwort
            0
            • S Snopy_16

              Ich habe Iobroker in Proxmox auf einer VM
              Influxdb2 in einem eigenen Container

              Backitup erzeugt folgenden Meldung

              20:14:03.439INFOguiBackup gestartet ...
              20:14:03.488DEBUGmountmount activ... umount is started before mount!!
              20:14:03.644DEBUGmountumount successfully completed
              20:14:13.470DEBUGmountnfs-mount command: "sudo mount 192.168.178.10:/Sicherung/iobroker /opt/iobroker/backups"
              20:14:13.545DEBUGmountmount successfully completed
              20:14:13.589DEBUGmountdone
              20:14:14.575DEBUGiobrokerhost.iobroker 196 states saved
              20:14:14.594DEBUGiobrokerhost.iobroker 330 objects saved
              20:14:14.846DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz
              This backup can only be restored with js-controller version up from 4.1
              20:14:15.853DEBUGiobrokerdone
              20:14:16.010DEBUGinfluxDBInfluxDB-Backup started ...
              20:14:16.019DEBUGinfluxDBStart InfluxDB Backup ...
              20:14:16.070DEBUGinfluxDBInfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker" successfully deleted
              20:14:16.148DEBUGinfluxDBdone
              20:14:16.772DEBUGhistoryDBcompress from historyDB started ...
              20:14:16.778DEBUGhistoryDBBackup created: /opt/iobroker/backups/historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz
              20:14:16.817DEBUGhistoryDBdone
              20:14:17.679DEBUGjavascriptsCreated javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
              20:14:17.741DEBUGjavascriptsTry deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
              20:14:17.785DEBUGjavascriptsJavascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
              20:14:17.791DEBUGjavascriptsBackup created: /opt/iobroker/backups/javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz
              20:14:17.800DEBUGjavascriptsdone
              20:14:19.449DEBUGonedriveOnedrive: Copy iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz...
              20:14:21.417DEBUGonedrive77% uploaded from iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz
              20:14:22.270DEBUGonedrive100% uploaded from iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz
              20:14:22.284DEBUGonedriveOnedrive: Copy historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz...
              20:14:23.765DEBUGonedrive100% uploaded from historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz
              20:14:23.778DEBUGonedrivehistoryDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz with Id: F9759285BF3AC29!s13ced90a49024e8ca407102f2e0a1f60 saved on Onedrive
              20:14:23.789DEBUGonedriveOnedrive: Copy javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz...
              20:14:25.082DEBUGonedrive100% uploaded from javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz
              20:14:25.126DEBUGonedrivejavascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz with Id: F9759285BF3AC29!s5504a43ce19d44d98a12133ecb3aa421 saved on Onedrive
              20:14:25.138DEBUGonedrivedone
              20:14:25.269DEBUGcifsused copy path: /Sicherung/iobroker
              20:14:25.289DEBUGcifsdone
              20:14:25.689DEBUGgoogledriveGoogle Drive: Copy iobroker_2024_11_22-20_14_12_Proxmox_backupiobroker.tar.gz...
              20:14:28.201ERRORgoogledriveGoogle Drive: File "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker.tar.gz" not found
              20:14:28.311DEBUGgoogledriveGoogle Drive: Copy historyDB_2024_11_22-20_14_15_Proxmox_backupiobroker.tar.gz...
              20:14:30.444DEBUGgoogledriveGoogle Drive: Copy javascripts_2024_11_22-20_14_16_Proxmox_backupiobroker.tar.gz...
              20:14:32.595DEBUGgoogledrivedone
              20:14:32.800ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
              20:14:32.808DEBUGcleandone
              20:14:32.899DEBUGhistoryHTMLnew history html values created
              20:14:32.986DEBUGhistoryHTMLdone
              20:14:33.141DEBUGhistoryJSONnew history json values created
              20:14:33.188DEBUGhistoryJSONdone
              20:14:33.297DEBUGumountmount active, umount is started ...
              20:14:38.373DEBUGumountumount successfully completed
              20:14:38.418DEBUGumountdone
              20:14:38.678DEBUGemaildone
              20:14:40.735DEBUGnotificationAdmin notification will be sent
              20:14:40.778DEBUGnotificationdone
              20:14:40.886INFOguiDas Backup wurde erfolgreich erstellt!
              

              Probleme bei influx eigentlich nicht ersichtbar

              im iobroker log dann dies

              
              backitup.0
              2024-11-22 20:14:31.666	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
              
              backitup.0
              2024-11-22 20:14:27.079	error	[iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker.tar.gz" not found
              
              backitup.0
              2024-11-22 20:14:21.154	error	[iobroker/onedrive] Onedrive: File "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker.tar.gz" not found
              
              backitup.0
              2024-11-22 20:14:14.935	error	[iobroker] Error: Command failed: influx backup --bucket iobroker -t 5GtVXZUdOX6jOnzTpVNscZ6zjRHLUTBxhGqVAhUMxqKdhhU0uAPZL68Z_bynD53ntnns9cBDHEzXb4Un4QqGFQ== "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker"/bin/sh: 1: influx: not found
              
              backitup.0
              2024-11-22 20:14:14.935	error	[iobroker/influxDB] /bin/sh: 1: influx: not found
              
              backitup.0
              2024-11-22 20:14:14.935	error	[iobroker/influxDB] Error: Command failed: influx backup --bucket iobroker -t 5GtVXZUdOX6jOnzTpVNscZ6zjRHLUTBxhGqVAhUMxqKdhhU0uAPZL68Z_bynD53ntnns9cBDHEzXb4Un4QqGFQ== "/opt/iobroker/backups/influxDB_2024_11_22-20_14_14_Proxmox_backupiobroker"
              
              admin.0
              2024-11-22 20:13:45.845	info	==> Connected system.user.admin from ::ffff:192.168.178.93
              

              Mache ich ein Restore einer noch vom Raspberry erzeugten Sicherung kommt das.

              20:23:11.904INFOguistarting Restore...
              20:23:12.093DEBUGinfluxDBinfluxdb.0 is stopped
              20:23:33.690ERRORinfluxDB/bin/sh: 1: influx: not found
              20:23:33.832DEBUGinfluxDBinfluxdb.0 started
              

              Ich checks einfach nicht
              Liegt es vielleicht daran dass die Influxdb nicht im selben system wie der iobroker liegt?

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

              @snopy_16 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

              Ich habe Iobroker in Proxmox auf einer VM
              Influxdb2 in einem eigenen Container

              Wenn die InfluxDB von einem entfernten Server gesichert werden soll, müssen in der influxdb.conf auf dem entfernten Server die Remote-Rechte für den RPC-Dienst angepasst werden.
              
              bind-address = "<InfluxDB-IP>:8088"
              oder
              
              bind-address = "0.0.0.0:8088"
              Nach dem Änderungen in der Konfiguration muss der InfluxDB-Dienst neugestartet werden.
              
              Weitere Informationen zur Datensicherung der InfluxDB sind hier zu finden.
              

              umgestiegen von Proxmox auf Unraid

              S 1 Antwort Letzte Antwort
              0
              • crunchipC crunchip

                @snopy_16 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

                Ich habe Iobroker in Proxmox auf einer VM
                Influxdb2 in einem eigenen Container

                Wenn die InfluxDB von einem entfernten Server gesichert werden soll, müssen in der influxdb.conf auf dem entfernten Server die Remote-Rechte für den RPC-Dienst angepasst werden.
                
                bind-address = "<InfluxDB-IP>:8088"
                oder
                
                bind-address = "0.0.0.0:8088"
                Nach dem Änderungen in der Konfiguration muss der InfluxDB-Dienst neugestartet werden.
                
                Weitere Informationen zur Datensicherung der InfluxDB sind hier zu finden.
                
                S Offline
                S Offline
                Snopy_16
                schrieb am zuletzt editiert von Snopy_16
                #11

                @crunchip
                hab ich aber nur bei influxdb 1 gelesen, ich hab influxdb 2
                Habs aber jetzt hinbekommen.
                Dafür die nächste Hürde: grafana in einem anderen Container als influx installiert.
                Beim restore kommt dann das

                18:10:02.838INFOguistarting Restore...
                18:10:02.862DEBUGgrafanaStart Grafana Restore ...
                18:10:02.918DEBUGgrafanafilename for restore: /opt/iobroker/backups/grafana_2024_11_23-14_38_55_backupiobroker.tar.gz
                18:10:02.924DEBUGgrafanaGrafana tmp directory created: /opt/iobroker/backups/grafana_tmp
                18:10:02.936DEBUGgrafanastart decompress
                18:10:03.970DEBUGgrafanaGrafana request started
                18:10:03.990DEBUGgrafanaGrafana is available ... Status: 200
                18:10:04.001DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json
                18:10:04.017DEBUGgrafanacannot restore datasource "InfluxDB": "Invalid username or password"
                18:10:04.024DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/fronius.json
                18:10:04.067DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/haustechnik.json
                18:10:04.072DEBUGgrafanacannot restore dashboard "haustechnik": {"message":"Unauthorized","traceID":""}
                18:10:04.075DEBUGgrafanacannot restore dashboard "fronius": {"message":"Unauthorized","traceID":""}
                18:10:04.110DEBUGgrafanaGrafana request ended
                18:10:04.122DEBUGgrafanaTry deleting the Grafana tmp directory
                18:10:04.126DEBUGgrafanaGrafana tmp directory was successfully deleted
                18:10:06.076DEBUGgrafanaGrafana Restore completed successfully
                

                grafana datenquelle zeigt beim Test
                84af1c98-166b-4dea-9b5d-9f59997e6452-image.png

                es wird nichts restored

                Man kann nicht alle Probleme lösen, aber wenigstens verursachen.

                LenovoThinkCentre M900 Tiny | i5-T6500 | 16 GB | 256 SSD
                iobroker auf Proxmox VM
                Node.js: v22.18.0 - NPM: 10.9.3 - js-controller: 7.0.6 - admin: v7.7.2
                FritzBox-7530TX hinter Glasfasermodem, WiFi mit Unifi

                1 Antwort Letzte Antwort
                0
                • crunchipC Abwesend
                  crunchipC Abwesend
                  crunchip
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #12

                  @snopy_16 hast du deinen token erstellt?

                  umgestiegen von Proxmox auf Unraid

                  S 1 Antwort Letzte Antwort
                  0
                  • crunchipC crunchip

                    @snopy_16 hast du deinen token erstellt?

                    S Offline
                    S Offline
                    Snopy_16
                    schrieb am zuletzt editiert von
                    #13

                    @crunchip
                    Danke :+1:

                    Man kann nicht alle Probleme lösen, aber wenigstens verursachen.

                    LenovoThinkCentre M900 Tiny | i5-T6500 | 16 GB | 256 SSD
                    iobroker auf Proxmox VM
                    Node.js: v22.18.0 - NPM: 10.9.3 - js-controller: 7.0.6 - admin: v7.7.2
                    FritzBox-7530TX hinter Glasfasermodem, WiFi mit Unifi

                    R 1 Antwort Letzte Antwort
                    0
                    • S Snopy_16

                      @crunchip
                      Danke :+1:

                      R Offline
                      R Offline
                      Ralph 0
                      schrieb am zuletzt editiert von
                      #14

                      Hi,
                      weil ich Antworten auf Fragen, die nie gestellt wurden so liebe ;-):

                      Proxmox hat auch eine super Backup-Funktion. Per Klick oder Zeitplan kannst Du einfach einzelne/alle Container bzw. VMs sichern oder restoren.

                      Was ich besonders nützlich finde, wenn man gerne rumspielt und/oder sich noch nicht so gut auskennt:
                      Neben dem laufendem System aus einem Backup eine Containerkopie restoren, darin die gewünschten Änderungen ausprobieren und wenn's funktioniert diese im Original umsetzen. Hat man den Container "kaputt" gespielt - löschen, neuen restoren und nochmal probieren.

                      1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @snopy_16

                        Dann dürfte es

                        sudo apt update
                        sudo apt install influxdb2-cli
                        

                        sein.

                        I Offline
                        I Offline
                        io2345
                        schrieb am zuletzt editiert von io2345
                        #15

                        @thomas-braun said in Backitup - Influxdb2 Fehler bei Sicherung:

                        @snopy_16

                        Dann dürfte es

                        sudo apt update
                        sudo apt install influxdb2-cli
                        

                        sein.

                        Da kommt bei mir allerdings:

                        iobrokeradmin@ioBroker8neu:~$ sudo apt install influxdb2-cli
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        E: Unable to locate package influxdb2-cli
                        

                        Wie hast du das gelöst?

                        ===========================
                        Vollständige Beschreibung: Ich habe das fast identisch wie bei dir installiert: Iobroker ist ein LXC-Container auf dem Proxmox, die Influx DB in Version 2.7.5 ein weiterer LXC-Container. Den Iobroker-Container habe ich die letzten Tage erneuert (neuen Container angelegt und dann das Backup eingespielt). Seither kommt der Fehler wie bei dir: "[iobroker/influxDB] /bin/sh: 1: influx: not found" beim Backup.

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • I io2345

                          @thomas-braun said in Backitup - Influxdb2 Fehler bei Sicherung:

                          @snopy_16

                          Dann dürfte es

                          sudo apt update
                          sudo apt install influxdb2-cli
                          

                          sein.

                          Da kommt bei mir allerdings:

                          iobrokeradmin@ioBroker8neu:~$ sudo apt install influxdb2-cli
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          E: Unable to locate package influxdb2-cli
                          

                          Wie hast du das gelöst?

                          ===========================
                          Vollständige Beschreibung: Ich habe das fast identisch wie bei dir installiert: Iobroker ist ein LXC-Container auf dem Proxmox, die Influx DB in Version 2.7.5 ein weiterer LXC-Container. Den Iobroker-Container habe ich die letzten Tage erneuert (neuen Container angelegt und dann das Backup eingespielt). Seither kommt der Fehler wie bei dir: "[iobroker/influxDB] /bin/sh: 1: influx: not found" beim Backup.

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

                          @io2345

                          Ist das influxdb-Repo angelegt?

                          sudo apt update
                          apt policy influxdb2*
                          

                          sagt?

                          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

                          I 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @io2345

                            Ist das influxdb-Repo angelegt?

                            sudo apt update
                            apt policy influxdb2*
                            

                            sagt?

                            I Offline
                            I Offline
                            io2345
                            schrieb am zuletzt editiert von io2345
                            #17

                            @thomas-braun said in Backitup - Influxdb2 Fehler bei Sicherung:

                            apt policy influxdb2*

                            Da kommt nichts. "sudo apt update" läuft durch, aber dann

                            iobrokeradmin@ioBroker8neu:~$ apt policy influxdb2*
                            N: Unable to locate package influxdb2*
                            N: Couldn't find any package by glob 'influxdb2*'
                            

                            Wie bekommt man das Repo angelegt?

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • I io2345

                              @thomas-braun said in Backitup - Influxdb2 Fehler bei Sicherung:

                              apt policy influxdb2*

                              Da kommt nichts. "sudo apt update" läuft durch, aber dann

                              iobrokeradmin@ioBroker8neu:~$ apt policy influxdb2*
                              N: Unable to locate package influxdb2*
                              N: Couldn't find any package by glob 'influxdb2*'
                              

                              Wie bekommt man das Repo angelegt?

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

                              @io2345 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

                              "sudo apt update" läuft durch

                              Zeigen!
                              An der Ausgabe hätte ich schon sehen können was da angelegt ist oder nicht.

                              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

                              I 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @io2345 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

                                "sudo apt update" läuft durch

                                Zeigen!
                                An der Ausgabe hätte ich schon sehen können was da angelegt ist oder nicht.

                                I Offline
                                I Offline
                                io2345
                                schrieb am zuletzt editiert von
                                #19

                                @thomas-braun said in Backitup - Influxdb2 Fehler bei Sicherung:

                                Zeigen!

                                Ah, sorry. Hier isses:

                                iobrokeradmin@ioBroker8neu:~$ sudo apt update
                                [sudo] password for iobrokeradmin: 
                                Hit:1 http://security.debian.org bullseye-security InRelease
                                Hit:2 http://deb.debian.org/debian bullseye InRelease                              
                                Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                      
                                Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                All packages are up to date.
                                iobrokeradmin@ioBroker8neu:~$ apt policy influxdb2*
                                N: Unable to locate package influxdb2*
                                N: Couldn't find any package by glob 'influxdb2*'
                                iobrokeradmin@ioBroker8neu:~$ 
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • I io2345

                                  @thomas-braun said in Backitup - Influxdb2 Fehler bei Sicherung:

                                  Zeigen!

                                  Ah, sorry. Hier isses:

                                  iobrokeradmin@ioBroker8neu:~$ sudo apt update
                                  [sudo] password for iobrokeradmin: 
                                  Hit:1 http://security.debian.org bullseye-security InRelease
                                  Hit:2 http://deb.debian.org/debian bullseye InRelease                              
                                  Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                      
                                  Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  All packages are up to date.
                                  iobrokeradmin@ioBroker8neu:~$ apt policy influxdb2*
                                  N: Unable to locate package influxdb2*
                                  N: Couldn't find any package by glob 'influxdb2*'
                                  iobrokeradmin@ioBroker8neu:~$ 
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #20

                                  @io2345

                                  sudo rm /etc/apt/sources.list.d/influ*
                                  wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                  echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                                  echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                  rm influxdata-archive_compat.key
                                  

                                  Danach stehen die Pakete in deinem Pakermanager zur Installation bereit.

                                  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

                                  I 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @io2345

                                    sudo rm /etc/apt/sources.list.d/influ*
                                    wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                    echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                                    echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                    rm influxdata-archive_compat.key
                                    

                                    Danach stehen die Pakete in deinem Pakermanager zur Installation bereit.

                                    I Offline
                                    I Offline
                                    io2345
                                    schrieb am zuletzt editiert von io2345
                                    #21

                                    @thomas-braun
                                    Danke!
                                    Nach dieser Aktion klappt ein weiterer Aufruf von
                                    sudo apt update
                                    sudo apt install influxdb2-cli

                                    und installiert den gewünschten Client.

                                    Fragt sich, ob das andere, die so wie ich alle halbe Jahre mal an ihrer Installation rumschrauben, ohne Hilfe von Spezialisten wie dir hinbekommen. Eher nicht, denke ich. Aber dafür ist dieses Forum ja da, gell?

                                    Sieht man eigentlich irgendwo in der Oberfläche des Iobroker, dass da nun ein zusätzlicher DB-Client installiert ist? Unter Instanzen sehe ich da weiterhin nur den Adapter "influxdb".

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • I io2345

                                      @thomas-braun
                                      Danke!
                                      Nach dieser Aktion klappt ein weiterer Aufruf von
                                      sudo apt update
                                      sudo apt install influxdb2-cli

                                      und installiert den gewünschten Client.

                                      Fragt sich, ob das andere, die so wie ich alle halbe Jahre mal an ihrer Installation rumschrauben, ohne Hilfe von Spezialisten wie dir hinbekommen. Eher nicht, denke ich. Aber dafür ist dieses Forum ja da, gell?

                                      Sieht man eigentlich irgendwo in der Oberfläche des Iobroker, dass da nun ein zusätzlicher DB-Client installiert ist? Unter Instanzen sehe ich da weiterhin nur den Adapter "influxdb".

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

                                      @io2345 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

                                      halbe Jahre mal an ihrer Installation rumschrauben

                                      DEUTLICH zu selten. Mach das regelmäßig häufiger.

                                      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

                                      I 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @io2345 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

                                        halbe Jahre mal an ihrer Installation rumschrauben

                                        DEUTLICH zu selten. Mach das regelmäßig häufiger.

                                        I Offline
                                        I Offline
                                        io2345
                                        schrieb am zuletzt editiert von
                                        #23

                                        Ich bin ja eher der Typ "never change a running system" ;-)

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • I io2345

                                          Ich bin ja eher der Typ "never change a running system" ;-)

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

                                          @io2345 sagte in Backitup - Influxdb2 Fehler bei Sicherung:

                                          Ich bin ja eher der Typ "never change a running system"

                                          Falscher Ansatz. Halt die Kiste REGELMÄSSIG auf Stand. Dann 'runnt' das auch besser.

                                          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
                                          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

                                          393

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          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