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. Hilfe beim Einrichten von InfluxDB und BackItUp

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    276

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

Hilfe beim Einrichten von InfluxDB und BackItUp

Geplant Angeheftet Gesperrt Verschoben Off Topic
32 Beiträge 7 Kommentatoren 3.0k 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.
  • E Einstein67

    @berlon Ein unprivilegierter CT hat leider nicht die Rechte um auf externe Shares zuzugreifen.

    Also ein privilegierter LXC oder eine VM, dann gibts kein Problem mit BackitUp.

    B Offline
    B Offline
    Berlon
    schrieb am zuletzt editiert von
    #6

    @einstein67
    Danke für die Auskunft.
    Werde den Broker als VM neu aufsetzen.

    E 1 Antwort Letzte Antwort
    0
    • B Berlon

      @einstein67
      Danke für die Auskunft.
      Werde den Broker als VM neu aufsetzen.

      E Offline
      E Offline
      Einstein67
      schrieb am zuletzt editiert von
      #7

      @berlon Du könntest, wenns schnell gehen soll, deinen Container auf die Synology sichern.

      • Wiederherstellen als "privilegiert"
      • Unter Optionen-Features "NFS" anwählen
      • im CT "apt install nfs-common" installieren

      und schon sollte Sicherung und Wiederherstellung funktionieren.

      B 1 Antwort Letzte Antwort
      0
      • E Einstein67

        @berlon Du könntest, wenns schnell gehen soll, deinen Container auf die Synology sichern.

        • Wiederherstellen als "privilegiert"
        • Unter Optionen-Features "NFS" anwählen
        • im CT "apt install nfs-common" installieren

        und schon sollte Sicherung und Wiederherstellung funktionieren.

        B Offline
        B Offline
        Berlon
        schrieb am zuletzt editiert von Berlon
        #8

        @einstein67
        Habs so gemacht und bin etwas weiter. Backup startet,
        Habe nun das Problem mit Influx. Token habe ich gesternt.
        Das Backup bleibt in der letzten Zeile stehen und beendet nicht.
        Liegt es eventuell daran das Influx/ Grafana auch ein unprivilegierter CT sind?
        Die Konfig im BackItUp habe ich mit dem Button "Ermitteln der Konfiguration" übernommen.
        Influx funktioniert da ich Daten reinschreibe und mit Grafana auswerte.

        Started iobroker ...
        [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/volume1/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
        [DEBUG] [mount] - mount successfully completed
        [DEBUG] [mount] - done
        [DEBUG] [iobroker] - host.ioBroker 2801 states saved
        
        [DEBUG] [iobroker] - host.ioBroker 3529 objects saved
        
        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_09_11-18_00_41_backupiobroker.tar.gz
        
        [DEBUG] [iobroker] - done
        [DEBUG] [influxDB] - InfluxDB-Backup started ...
        [DEBUG] [influxDB] - Start InfluxDB Backup ...
        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
        [DEBUG] [influxDB] - 
        [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t ***************************************************** "/opt/iobroker/backups/influxDB_2022_09_11-18_00_45_backupiobroker"
        /bin/sh: 1: influx: not found
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • B Berlon

          @einstein67
          Habs so gemacht und bin etwas weiter. Backup startet,
          Habe nun das Problem mit Influx. Token habe ich gesternt.
          Das Backup bleibt in der letzten Zeile stehen und beendet nicht.
          Liegt es eventuell daran das Influx/ Grafana auch ein unprivilegierter CT sind?
          Die Konfig im BackItUp habe ich mit dem Button "Ermitteln der Konfiguration" übernommen.
          Influx funktioniert da ich Daten reinschreibe und mit Grafana auswerte.

          Started iobroker ...
          [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/volume1/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
          [DEBUG] [mount] - mount successfully completed
          [DEBUG] [mount] - done
          [DEBUG] [iobroker] - host.ioBroker 2801 states saved
          
          [DEBUG] [iobroker] - host.ioBroker 3529 objects saved
          
          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_09_11-18_00_41_backupiobroker.tar.gz
          
          [DEBUG] [iobroker] - done
          [DEBUG] [influxDB] - InfluxDB-Backup started ...
          [DEBUG] [influxDB] - Start InfluxDB Backup ...
          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
          [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
          [DEBUG] [influxDB] - 
          [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t ***************************************************** "/opt/iobroker/backups/influxDB_2022_09_11-18_00_45_backupiobroker"
          /bin/sh: 1: influx: not found
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #9

          @berlon sagte in BackItUp macht Ärger:

          /bin/sh: 1: influx: not found

          Auf beiden Systemen muss influxdb installiert sein. Siehe Anleitung zu Backitup.

          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

          B 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @berlon sagte in BackItUp macht Ärger:

            /bin/sh: 1: influx: not found

            Auf beiden Systemen muss influxdb installiert sein. Siehe Anleitung zu Backitup.

            B Offline
            B Offline
            Berlon
            schrieb am zuletzt editiert von Berlon
            #10

            @thomas-braun
            auf dem Brocker auch? Reicht da nur die Installation oder muss da auch konfiguriert werden?
            Wenn ja, was? Kannst mir einen Link geben? Der Link im BackItUp Adapter führt
            zu der allgemeinen Doku von Influx auf englisch.

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • B Berlon

              @thomas-braun
              auf dem Brocker auch? Reicht da nur die Installation oder muss da auch konfiguriert werden?
              Wenn ja, was? Kannst mir einen Link geben? Der Link im BackItUp Adapter führt
              zu der allgemeinen Doku von Influx auf englisch.

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

              @berlon

              Was für ein Brocker?

              Auf beiden Systemen. Also auf dem wo die Datenbank läuft und dann auf dem Client (in gleicher Version).

              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

              B 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @berlon

                Was für ein Brocker?

                Auf beiden Systemen. Also auf dem wo die Datenbank läuft und dann auf dem Client (in gleicher Version).

                B Offline
                B Offline
                Berlon
                schrieb am zuletzt editiert von Berlon
                #12

                @thomas-braun
                Alles läuft auf Proxmox.
                ioBroker und InfluxDB/Grafana laufen in 2 verschiedene CT.
                Mit dem ioBroker will ich dann mit BackItUp dann auch InfluxDB sichern.
                Die Konfiguration nimmt sich BackItUp aus dem influxdb Adapter.
                Hoffe das ich es nun richtig beschrieben habe.

                Thomas BraunT DJMarc75D 2 Antworten Letzte Antwort
                0
                • B Berlon

                  @thomas-braun
                  Alles läuft auf Proxmox.
                  ioBroker und InfluxDB/Grafana laufen in 2 verschiedene CT.
                  Mit dem ioBroker will ich dann mit BackItUp dann auch InfluxDB sichern.
                  Die Konfiguration nimmt sich BackItUp aus dem influxdb Adapter.
                  Hoffe das ich es nun richtig beschrieben habe.

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

                  @berlon

                  Nochmal. influxdb muss auf beiden Systemen/Müllcontainern installiert sein.
                  In der gleichen Version.

                  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
                  • B Berlon

                    @thomas-braun
                    Alles läuft auf Proxmox.
                    ioBroker und InfluxDB/Grafana laufen in 2 verschiedene CT.
                    Mit dem ioBroker will ich dann mit BackItUp dann auch InfluxDB sichern.
                    Die Konfiguration nimmt sich BackItUp aus dem influxdb Adapter.
                    Hoffe das ich es nun richtig beschrieben habe.

                    DJMarc75D Offline
                    DJMarc75D Offline
                    DJMarc75
                    schrieb am zuletzt editiert von
                    #14

                    @berlon

                    sudo apt install influxdb
                    

                    auf Deinem Hauptsystem ausführen (Brocker) :kissing_smiling_eyes:

                    Lehrling seit 1975 !!!
                    Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                    B 1 Antwort Letzte Antwort
                    0
                    • DJMarc75D DJMarc75

                      @berlon

                      sudo apt install influxdb
                      

                      auf Deinem Hauptsystem ausführen (Brocker) :kissing_smiling_eyes:

                      B Offline
                      B Offline
                      Berlon
                      schrieb am zuletzt editiert von
                      #15

                      Ok, gemacht. Influxdb wurde nun auch auf dem Iobroker Installiert.
                      Habe auch den InfluxDB-client installiert.
                      Backup läuft nicht durch

                      Started iobroker ...
                      [DEBUG] [mount] - mount activ... umount is started before mount!!
                      [DEBUG] [mount] - umount successfully completed
                      [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/volume1/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                      [DEBUG] [mount] - mount successfully completed
                      [DEBUG] [mount] - done
                      [DEBUG] [iobroker] - host.ioBroker 2801 states saved
                      
                      [DEBUG] [iobroker] - host.ioBroker 3529 objects saved
                      
                      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_09_11-18_43_01_backupiobroker.tar.gz
                      
                      [DEBUG] [iobroker] - done
                      [DEBUG] [influxDB] - InfluxDB-Backup started ...
                      [DEBUG] [influxDB] - Start InfluxDB Backup ...
                      [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                      [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                      [DEBUG] [influxDB] - Usage of influx:
                        -version
                             Display the version and exit.
                        -host 'host name'
                             Host to connect to.
                        -port 'port #'
                             Port to connect to.
                        -socket 'unix domain socket'
                             Unix socket to connect to.
                        -database 'database name'
                             Database to connect to the server.
                        -password 'password'
                            Password to connect to the server.  Leaving blank will prompt for password (--password '').
                        -username 'username'
                             Username to connect to the server.
                        -ssl
                              Use https for requests.
                        -unsafeSsl
                              Set this when connecting to the cluster using https and not use SSL verification.
                        -execute 'command'
                             Execute command and quit.
                        -format 'json|csv|column'
                             Format specifies the format of the server responses:  json, csv, or column.
                        -precision 'rfc3339|h|m|s|ms|u|ns'
                             Precision specifies the format of the timestamp:  rfc3339, h, m, s, ms, u or ns.
                        -consistency 'any|one|quorum|all'
                             Set write consistency level: any, one, quorum, or all
                        -pretty
                             Turns on pretty print for the json format.
                        -import
                             Import a previous database export from file
                        -pps
                             How many points per second the import will allow.  By default it is zero and will not throttle importing.
                        -path
                             Path to file to import
                        -compressed
                             Set to true if the import file is compressed
                      
                      Examples:
                      
                          # Use influx in a non-interactive mode to query the database "metrics" and pretty print json:
                          $ influx -database 'metrics' -execute 'select * from cpu' -format 'json' -pretty
                      
                          # Connect to a specific database on startup and set database context:
                          $ influx -database 'metrics' -host 'localhost' -port '8086'
                      
                      [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t v-yX0W1sADx9HEy9z_WFV-d1ffBEI56ANPkB0KYmuyBtPKSvslG2PZO6LvhnhNHq2sGtvIpcI4KtKjyXV8pOOw== "/opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker"
                      unknown arguments: backup --bucket iobroker --host http://192.168.6.52:8086 -t v-************************************** /opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker
                      

                      Was muss nun in dieser InfluxDB konfiguriert werden.
                      Ich verstehe es nicht...........................................

                      Thomas BraunT simatecS 2 Antworten Letzte Antwort
                      0
                      • B Berlon

                        Ok, gemacht. Influxdb wurde nun auch auf dem Iobroker Installiert.
                        Habe auch den InfluxDB-client installiert.
                        Backup läuft nicht durch

                        Started iobroker ...
                        [DEBUG] [mount] - mount activ... umount is started before mount!!
                        [DEBUG] [mount] - umount successfully completed
                        [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/volume1/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                        [DEBUG] [mount] - mount successfully completed
                        [DEBUG] [mount] - done
                        [DEBUG] [iobroker] - host.ioBroker 2801 states saved
                        
                        [DEBUG] [iobroker] - host.ioBroker 3529 objects saved
                        
                        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_09_11-18_43_01_backupiobroker.tar.gz
                        
                        [DEBUG] [iobroker] - done
                        [DEBUG] [influxDB] - InfluxDB-Backup started ...
                        [DEBUG] [influxDB] - Start InfluxDB Backup ...
                        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                        [DEBUG] [influxDB] - Usage of influx:
                          -version
                               Display the version and exit.
                          -host 'host name'
                               Host to connect to.
                          -port 'port #'
                               Port to connect to.
                          -socket 'unix domain socket'
                               Unix socket to connect to.
                          -database 'database name'
                               Database to connect to the server.
                          -password 'password'
                              Password to connect to the server.  Leaving blank will prompt for password (--password '').
                          -username 'username'
                               Username to connect to the server.
                          -ssl
                                Use https for requests.
                          -unsafeSsl
                                Set this when connecting to the cluster using https and not use SSL verification.
                          -execute 'command'
                               Execute command and quit.
                          -format 'json|csv|column'
                               Format specifies the format of the server responses:  json, csv, or column.
                          -precision 'rfc3339|h|m|s|ms|u|ns'
                               Precision specifies the format of the timestamp:  rfc3339, h, m, s, ms, u or ns.
                          -consistency 'any|one|quorum|all'
                               Set write consistency level: any, one, quorum, or all
                          -pretty
                               Turns on pretty print for the json format.
                          -import
                               Import a previous database export from file
                          -pps
                               How many points per second the import will allow.  By default it is zero and will not throttle importing.
                          -path
                               Path to file to import
                          -compressed
                               Set to true if the import file is compressed
                        
                        Examples:
                        
                            # Use influx in a non-interactive mode to query the database "metrics" and pretty print json:
                            $ influx -database 'metrics' -execute 'select * from cpu' -format 'json' -pretty
                        
                            # Connect to a specific database on startup and set database context:
                            $ influx -database 'metrics' -host 'localhost' -port '8086'
                        
                        [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t v-yX0W1sADx9HEy9z_WFV-d1ffBEI56ANPkB0KYmuyBtPKSvslG2PZO6LvhnhNHq2sGtvIpcI4KtKjyXV8pOOw== "/opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker"
                        unknown arguments: backup --bucket iobroker --host http://192.168.6.52:8086 -t v-************************************** /opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker
                        

                        Was muss nun in dieser InfluxDB konfiguriert werden.
                        Ich verstehe es nicht...........................................

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

                        @berlon

                        Was hast du denn da jetzt installiert?
                        Auf beiden Systemen:

                        apt policy influxdb*
                        

                        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

                        B 2 Antworten Letzte Antwort
                        0
                        • DJMarc75D Offline
                          DJMarc75D Offline
                          DJMarc75
                          schrieb am zuletzt editiert von
                          #17

                          @berlon sagte in BackItUp macht Ärger:

                          Ich verstehe es nicht...........................................

                          bitte weniger "Frustrations-Satzzeichen" verwenden - danke !

                          Eben gelesen dass Du da mit ProxDings unterwegs bist...
                          schau mal bitte ob das hilft ...
                          https://github.com/simatec/ioBroker.backitup/issues/390
                          Keine Ahnung aber da wird halt das System erwähnt

                          Lehrling seit 1975 !!!
                          Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                          https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                          1 Antwort Letzte Antwort
                          1
                          • B Berlon

                            Ok, gemacht. Influxdb wurde nun auch auf dem Iobroker Installiert.
                            Habe auch den InfluxDB-client installiert.
                            Backup läuft nicht durch

                            Started iobroker ...
                            [DEBUG] [mount] - mount activ... umount is started before mount!!
                            [DEBUG] [mount] - umount successfully completed
                            [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/volume1/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                            [DEBUG] [mount] - mount successfully completed
                            [DEBUG] [mount] - done
                            [DEBUG] [iobroker] - host.ioBroker 2801 states saved
                            
                            [DEBUG] [iobroker] - host.ioBroker 3529 objects saved
                            
                            [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_09_11-18_43_01_backupiobroker.tar.gz
                            
                            [DEBUG] [iobroker] - done
                            [DEBUG] [influxDB] - InfluxDB-Backup started ...
                            [DEBUG] [influxDB] - Start InfluxDB Backup ...
                            [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                            [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                            [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                            [DEBUG] [influxDB] - Usage of influx:
                              -version
                                   Display the version and exit.
                              -host 'host name'
                                   Host to connect to.
                              -port 'port #'
                                   Port to connect to.
                              -socket 'unix domain socket'
                                   Unix socket to connect to.
                              -database 'database name'
                                   Database to connect to the server.
                              -password 'password'
                                  Password to connect to the server.  Leaving blank will prompt for password (--password '').
                              -username 'username'
                                   Username to connect to the server.
                              -ssl
                                    Use https for requests.
                              -unsafeSsl
                                    Set this when connecting to the cluster using https and not use SSL verification.
                              -execute 'command'
                                   Execute command and quit.
                              -format 'json|csv|column'
                                   Format specifies the format of the server responses:  json, csv, or column.
                              -precision 'rfc3339|h|m|s|ms|u|ns'
                                   Precision specifies the format of the timestamp:  rfc3339, h, m, s, ms, u or ns.
                              -consistency 'any|one|quorum|all'
                                   Set write consistency level: any, one, quorum, or all
                              -pretty
                                   Turns on pretty print for the json format.
                              -import
                                   Import a previous database export from file
                              -pps
                                   How many points per second the import will allow.  By default it is zero and will not throttle importing.
                              -path
                                   Path to file to import
                              -compressed
                                   Set to true if the import file is compressed
                            
                            Examples:
                            
                                # Use influx in a non-interactive mode to query the database "metrics" and pretty print json:
                                $ influx -database 'metrics' -execute 'select * from cpu' -format 'json' -pretty
                            
                                # Connect to a specific database on startup and set database context:
                                $ influx -database 'metrics' -host 'localhost' -port '8086'
                            
                            [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t v-yX0W1sADx9HEy9z_WFV-d1ffBEI56ANPkB0KYmuyBtPKSvslG2PZO6LvhnhNHq2sGtvIpcI4KtKjyXV8pOOw== "/opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker"
                            unknown arguments: backup --bucket iobroker --host http://192.168.6.52:8086 -t v-************************************** /opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker
                            

                            Was muss nun in dieser InfluxDB konfiguriert werden.
                            Ich verstehe es nicht...........................................

                            simatecS Offline
                            simatecS Offline
                            simatec
                            Developer Most Active
                            schrieb am zuletzt editiert von
                            #18

                            @berlon Du musst influxdb2-cli auf dem System installieren, auf dem dein iobroker läuft.
                            Steht auch in der Doku ...
                            Von daher finde ich den Titel deines Threads sehr fraglich ...

                            wget -q https://repos.influxdata.com/influxdb.key
                            echo '23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key' | sha256sum -c && cat influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
                            echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                            sudo apt install influxdb2-cli
                            
                            • Besuche meine Github Seite
                            • Beitrag hat geholfen oder willst du mich unterstützen
                            • HowTo Restore ioBroker
                            1 Antwort Letzte Antwort
                            1
                            • B Berlon

                              Hallo,
                              noch nie hatte ich solche Probleme den Broker aufzusetzten.
                              Das aktuelle System hat die IP des ehemaligen Sstems eingenommen.
                              Damit entfällt die Umstellung aller Sonoffgeräte.

                              Nun zickt der BackItUp
                              Daten wurden aus dem ehemaligen Produktivsystem auf diesen Broker übertragen.
                              Im Ehemaligen läuft CIFS ohne Probleme.
                              Hier bekomme ich mit den gleichen Einstellungen:

                              Started iobroker ...
                              [DEBUG] [mount] - noserverino option: false
                              [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                              [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
                              [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                              [ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups
                              mount error(1): Operation not permitted
                              Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                              
                              [ERROR] [mount] - Error: Command failed: sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups
                              mount error(1): Operation not permitted
                              Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                              

                              Auch NFS geht nicht:

                              Started iobroker ...
                              [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                              [ERROR] [mount] - [undefined mount.nfs: Operation not permitted
                              
                              [ERROR] [mount] - Error: Command failed: sudo mount 192.168.6.10:/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups
                              mount.nfs: Operation not permitted
                              

                              iob fix wurde bereits durchgeführt.

                              In der Syno sind die Berechtigungen für NFS und ko richtig gesetzt da der Benutzer im Ordner rw Rechte hat.

                              Ich vermute das Problem beim Broker

                              Gruß
                              Bernd

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

                              @berlon sagte in BackItUp macht Ärger:

                              noch nie hatte ich solche Probleme den Broker aufzusetzten.

                              Ich denke eher dass du mit den Containern und deren Spezialitäten nicht firm bist.

                              mit ioBroker hat das nichts zu tun!
                              Jetzt da die Schuld zu suchen ist nicht fair.

                              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 -

                              B 1 Antwort Letzte Antwort
                              2
                              • HomoranH Homoran

                                @berlon sagte in BackItUp macht Ärger:

                                noch nie hatte ich solche Probleme den Broker aufzusetzten.

                                Ich denke eher dass du mit den Containern und deren Spezialitäten nicht firm bist.

                                mit ioBroker hat das nichts zu tun!
                                Jetzt da die Schuld zu suchen ist nicht fair.

                                B Offline
                                B Offline
                                Berlon
                                schrieb am zuletzt editiert von
                                #20

                                Danke für die ganzen Hinweise.
                                Mit der Containergeschichte bin ich am lernen.
                                Ich habe es für mich momentan so gelöst das Proxmox von den 2 Container
                                nachts täglich ein Backup erstellt. Auf der Synology ist jedenfalls
                                genug Platz.
                                Die Hinweise werde ich noch alle durchlesen und umsetzen.

                                Es wird auf jeden Fall noch weiter gelernt :-)

                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @berlon

                                  Was hast du denn da jetzt installiert?
                                  Auf beiden Systemen:

                                  apt policy influxdb*
                                  
                                  B Offline
                                  B Offline
                                  Berlon
                                  schrieb am zuletzt editiert von
                                  #21

                                  @thomas-braun
                                  auf dem ioBroker:

                                  pi@ioBroker:~$ apt policy influxdb*
                                  influxdb-client:
                                    Installed: 1.6.7~rc0-1
                                    Candidate: 1.6.7~rc0-1
                                    Version table:
                                   *** 1.6.7~rc0-1 500
                                          500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                          100 /var/lib/dpkg/status
                                  influxdb-dev:
                                    Installed: (none)
                                    Candidate: (none)
                                    Version table:
                                  influxdb:
                                    Installed: 1.6.7~rc0-1
                                    Candidate: 1.6.7~rc0-1
                                    Version table:
                                   *** 1.6.7~rc0-1 500
                                          500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                          100 /var/lib/dpkg/status
                                  pi@ioBroker:~$
                                  

                                  auf der InfluxDB:

                                  root@InfluxDB-Grafana:/# apt policy influxdb*
                                  influxdb2-cli:
                                    Installed: 2.4.0
                                    Candidate: 2.4.0
                                    Version table:
                                   *** 2.4.0 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                  influxdb-client:
                                    Installed: (none)
                                    Candidate: 1.6.7~rc0-1
                                    Version table:
                                       1.6.7~rc0-1 500
                                          500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                  influxdb-dev:
                                    Installed: (none)
                                    Candidate: (none)
                                    Version table:
                                  influxdb:
                                    Installed: (none)
                                    Candidate: 1.8.10-1
                                    Version table:
                                       1.8.10-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                       1.6.7~rc0-1 500
                                          500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                  influxdb2:
                                    Installed: 2.4.0-1
                                    Candidate: 2.4.0-1
                                    Version table:
                                   *** 2.4.0-1 500
                                          500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                  root@InfluxDB-Grafana:/# 
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • B Berlon

                                    @thomas-braun
                                    auf dem ioBroker:

                                    pi@ioBroker:~$ apt policy influxdb*
                                    influxdb-client:
                                      Installed: 1.6.7~rc0-1
                                      Candidate: 1.6.7~rc0-1
                                      Version table:
                                     *** 1.6.7~rc0-1 500
                                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                            100 /var/lib/dpkg/status
                                    influxdb-dev:
                                      Installed: (none)
                                      Candidate: (none)
                                      Version table:
                                    influxdb:
                                      Installed: 1.6.7~rc0-1
                                      Candidate: 1.6.7~rc0-1
                                      Version table:
                                     *** 1.6.7~rc0-1 500
                                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                            100 /var/lib/dpkg/status
                                    pi@ioBroker:~$
                                    

                                    auf der InfluxDB:

                                    root@InfluxDB-Grafana:/# apt policy influxdb*
                                    influxdb2-cli:
                                      Installed: 2.4.0
                                      Candidate: 2.4.0
                                      Version table:
                                     *** 2.4.0 500
                                            500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                    influxdb-client:
                                      Installed: (none)
                                      Candidate: 1.6.7~rc0-1
                                      Version table:
                                         1.6.7~rc0-1 500
                                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                    influxdb-dev:
                                      Installed: (none)
                                      Candidate: (none)
                                      Version table:
                                    influxdb:
                                      Installed: (none)
                                      Candidate: 1.8.10-1
                                      Version table:
                                         1.8.10-1 500
                                            500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                         1.6.7~rc0-1 500
                                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                                    influxdb2:
                                      Installed: 2.4.0-1
                                      Candidate: 2.4.0-1
                                      Version table:
                                     *** 2.4.0-1 500
                                            500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                    root@InfluxDB-Grafana:/# 
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von Thomas Braun
                                    #22

                                    @berlon

                                    Ich vermute ganz stark, dass du mit den Tools von influxdb1 keine Schnitte haben wirst bei einer influxdb2.

                                    Den Hinweis auf: "Hampel NICHT als root herum!" hast du bestimmt schon mal gelesen?

                                    Darüberhinaus vermute ich ebenfalls, dass es für 'jammy' ein eigenes Repository für influxdb2 geben wird. Richte das gescheit ein.

                                    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
                                    • Thomas BraunT Thomas Braun

                                      @berlon

                                      Was hast du denn da jetzt installiert?
                                      Auf beiden Systemen:

                                      apt policy influxdb*
                                      
                                      B Offline
                                      B Offline
                                      Berlon
                                      schrieb am zuletzt editiert von Berlon
                                      #23

                                      @thomas-braun
                                      hm. Hast Recht.
                                      Den neuen Nutzer in der Influx anlegen habe ich vergessen.
                                      Kann ich den noch nachträglich anlegen oder ist das Kind schon in den Brunnen gefallen.
                                      Wenn ja - wird Influx neu gemacht.

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • B Berlon

                                        @thomas-braun
                                        hm. Hast Recht.
                                        Den neuen Nutzer in der Influx anlegen habe ich vergessen.
                                        Kann ich den noch nachträglich anlegen oder ist das Kind schon in den Brunnen gefallen.
                                        Wenn ja - wird Influx neu gemacht.

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

                                        @berlon

                                        Wie user in Container gestopft werden sollte man wissen, wenn man die Dinger einsetzt. Ist absoutes Basiswissen, imho.

                                        Die influxdb.list-Datei sollte jedenfalls so aussehen:

                                        deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/ubuntu stable main
                                        

                                        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

                                        B 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @berlon

                                          Wie user in Container gestopft werden sollte man wissen, wenn man die Dinger einsetzt. Ist absoutes Basiswissen, imho.

                                          Die influxdb.list-Datei sollte jedenfalls so aussehen:

                                          deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/ubuntu stable main
                                          
                                          B Offline
                                          B Offline
                                          Berlon
                                          schrieb am zuletzt editiert von
                                          #25

                                          @thomas-braun
                                          eine Ubuntu bekomme ich nicht installiert da Ubuntu bei der Auswahl eines Reproservers diese nicht findet.
                                          Versuche noch herauszufinden woran das liegt.
                                          Und Debian installiert mir gleich den Desktop mit. Den brauche aber nicht und habe
                                          auch nicht herausgefunden wie ich das unterbinden kann.

                                          Thomas BraunT crunchipC 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          685

                                          Online

                                          32.5k

                                          Benutzer

                                          81.9k

                                          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