Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Proxmox iobroker backup influxDB error

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Proxmox iobroker backup influxDB error

    This topic has been deleted. Only users with topic management privileges can see it.
    • HAL
      HAL last edited by

      Auf meiner neuen Proxmox Installation ( LXC ) klappt der iobroker Backup (erstmal zu dropbox) für die influxDB ( aus einem anderer Container) nicht. Für Grafana hat es zuerst auch nicht geklappt, dass habe ich aber hinbekommen. InfluxDB habe ich nach dieser Anweisungen installiert:
      Installation der InfluxDB

      Das Vorgehen aus dem Link habe ich versucht, hat aber leider nicht geholfen Diverse Anleitungen für ioBroker.backitup

      Backitup bringt folgende Fehler:

      backitup.0
      2023-11-22 14:44:07.976	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
      
      backitup.0
      2023-11-22 14:44:05.114	error	[iobroker/dropbox] Dropbox: File "/opt/iobroker/backups/influxDB_2023_11_22-14_43_47_Proxmox_backupiobroker.tar.gz" not found
      
      backitup.0
      2023-11-22 14:43:47.401	error	[iobroker] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.55:8088 "/opt/iobroker/backups/influxDB_2023_11_22-14_43_47_Proxmox_backupiobroker"/bin/sh: 1: influxd: not found
      
      backitup.0
      2023-11-22 14:43:47.400	error	[iobroker/influxDB] /bin/sh: 1: influxd: not found
      
      backitup.0
      2023-11-22 14:43:47.400	error	[iobroker/influxDB] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.55:8088 "/opt/iobroker/backups/influxDB_2023_11_22-14_43_47_Proxmox_backupiobroker"
      
      Thomas Braun ? 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @HAL last edited by

        @hal sagte in Proxmox iobroker backup influxDB error:

        /bin/sh: 1: influxd: not found

        Da fehlt der influxdb-client für deine verwendete influxdb-Version.

        HAL 1 Reply Last reply Reply Quote 0
        • HAL
          HAL @Thomas Braun last edited by

          @thomas-braun da habe ich wohl den fehler bei der Installation übersehen:

          root@Grafana:~# apt install influxdb-client
          Reading package lists... Done
          Building dependency tree... Done
          Reading state information... Done
          The following NEW packages will be installed:
            influxdb-client
          0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
          Need to get 0 B/2334 kB of archives.
          After this operation, 7718 kB of additional disk space will be used.
          (Reading database ... 31850 files and directories currently installed.)
          Preparing to unpack .../influxdb-client_1.6.7~rc0-1+b5_amd64.deb ...
          Unpacking influxdb-client (1.6.7~rc0-1+b5) ...
          dpkg: error processing archive /var/cache/apt/archives/influxdb-client_1.6.7~rc0-1+b5_amd64.deb (--unpack):
           trying to overwrite '/usr/bin/influx', which is also in package influxdb 1.8.10-1
          dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
          Errors were encountered while processing:
           /var/cache/apt/archives/influxdb-client_1.6.7~rc0-1+b5_amd64.deb
          E: Sub-process /usr/bin/dpkg returned an error code (1)
          

          any idea ?

          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active last edited by

            @hal sagte in Proxmox iobroker backup influxDB error:

            any idea ?

            Auch in einem LXC gilt: Nie als root herumkaspern.

            Welches influxdb ist denn das genau?
            influxdb2? influxdb 1.8? 1.6?

            HAL 1 Reply Last reply Reply Quote 0
            • HAL
              HAL @Thomas Braun last edited by

              @thomas-braun influxdb v1.8.10

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @HAL last edited by

                @hal

                Die 1.8 sollte den client eigentlich schon mitbringen. Siehe auch die entsprechende Meldung von apt/dpkg.

                HAL 1 Reply Last reply Reply Quote 0
                • HAL
                  HAL @Thomas Braun last edited by

                  @thomas-braun bei Grafana musste ich in der conf den Anonymus zugriff auf true setzen, in der conf von InfluxDB finde ich so einen Parameter aber nicht. Könnte es ggf daran liegen ?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @HAL last edited by

                    @hal sagte in Proxmox iobroker backup influxDB error:

                    192.168.178.55:8088

                    Moin,

                    erst einmal, Du installierst alte Software, V1.8 geht zwar noch, ist aber auch schon alt und wird nicht mehr so gut gepflegt wie die aktuelle V 2.x
                    Dann versuchst Du eine noch ältere, V 1.6 über die V 1.8 zu installieren auch nicht gut.
                    Dann ist das wirklich der Port 8088 den eigentlich ist der Standard Port 8086

                    VG
                    Bernd

                    HAL 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @HAL last edited by

                      @hal

                      Ich hab von influx keine große Ahnung. Aber da müssen auch immer token gesetzt werden.

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @Thomas Braun last edited by

                        @thomas-braun sagte in Proxmox iobroker backup influxDB error:

                        Ich hab von influx keine große Ahnung. Aber da müssen auch immer token gesetzt werden.

                        Moin,

                        ja, aber nein 🙂
                        Das ist nur bei influDb >=V2 so, die V 1.8 geht mit User / Passwort.

                        @hal sagte in Proxmox iobroker backup influxDB error:

                        Anonymus zugriff

                        Na, ich hoffe mal nicht, dass Du da einen Anonymous User einrichtest, dann könnte ja jeder auf Deine Datenbank zugreifen, das will man aber lieber vermeiden, deswegen immer personalisiert, mit einem explizierten User, darauf zugreifen.
                        Hier die Doku zur V 1.8 https://docs.influxdata.com/influxdb/v1/administration/authentication_and_authorization/

                        VG
                        Bernd

                        Marc Berg 1 Reply Last reply Reply Quote 0
                        • HAL
                          HAL @Guest last edited by HAL

                          @dp20eic ok, dass der client ab v1.8 schon drin ist, hatte ich nicht gewusst. Wurde aber auch dann nicht installiert. Den Container habe ich mit "apt-update" auf den letzten Stand gebracht und mit "apt-get install influxdb" die DB installiert. Eine Version konnte ich da nicht angeben.
                          Der port 8088 stand als default im Bakitup , habe ich auf 8086 geändert. Dennoch kommt immer noch Fehler:

                          backitup.0
                          2023-11-22 17:11:04.354	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
                          
                          backitup.0
                          2023-11-22 17:11:01.222	error	[iobroker/dropbox] Dropbox: File "/opt/iobroker/backups/influxDB_2023_11_22-17_10_42_Proxmox_backupiobroker.tar.gz" not found
                          
                          backitup.0
                          2023-11-22 17:10:42.809	error	[iobroker] Error: Command failed: "/user/bin/influxd" backup -portable -database iobroker -host 192.168.178.55:8086 "/opt/iobroker/backups/influxDB_2023_11_22-17_10_42_Proxmox_backupiobroker"/bin/sh: 1: /user/bin/influxd: not found
                          
                          backitup.0
                          2023-11-22 17:10:42.809	error	[iobroker/influxDB] /bin/sh: 1: /user/bin/influxd: not found
                          
                          backitup.0
                          2023-11-22 17:10:42.808	error	[iobroker/influxDB] Error: Command failed: "/user/bin/influxd" backup -portable -database iobroker -host 192.168.178.55:8086 "/opt/iobroker/backups/influxDB_2023_11_22-17_10_42_Proxmox_backupiobroker"
                          

                          in backitup muss bei remote der vollständige pfad für influxd eingetragen werden.
                          Möglicherweise liegt hier der Fehler.
                          influxdb.jpg
                          Mit dem InfluxDB Studio kann ich problemlos remote auf die DB zugreifen.

                          1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @Guest last edited by Marc Berg

                            @dp20eic
                            @Thomas-Braun

                            Ihr schickt ja @HAL ein wenig auf die falsche Fährte. Für ein Backup der Influxdb 1.x ist das Binary „influxd“ erforderlich, das mit einer Influxdb Installation mitkommt. Der Port ist die 8088.
                            Den Client benötigt man dafür nicht.

                            @HAL Du musst das Influxdb Paket auch im iobroker LXC installieren.

                            Edit: Außerdem muss auf dem Influxdb Server in der Influxdb.conf der Port 8088 freigegeben werden, die Syntax habe ich gerade nicht parat. Findet man aber, irgendwas mit „bind-address…“

                            HAL ? 2 Replies Last reply Reply Quote 0
                            • HAL
                              HAL @Marc Berg last edited by

                              @marc-berg

                              @HAL Du musst das Influxdb Paket auch im iobroker LXC installieren

                              Soll das bedeuten die influxdb sowohl im LXC in dem Grafana läuft als auch zusätzlich im LXC in dem iobroker läuft zu installieren ?

                              Marc Berg 1 Reply Last reply Reply Quote 0
                              • Marc Berg
                                Marc Berg Most Active @HAL last edited by Marc Berg

                                @hal sagte in Proxmox iobroker backup influxDB error:

                                Soll das bedeuten die influxdb sowohl im LXC in dem Grafana läuft als auch zusätzlich im LXC in dem iobroker läuft zu installieren ?

                                Auf dem iobroker LXC muss sie nur installiert werden, nicht gestartet. Theoretisch könntest du auch die Datei "influxd" in den ioBroker LXC kopieren und dann direkt in Backitup darauf verweisen. (sie muss natürlich ausführbar gemacht werden)

                                HAL 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @Marc Berg last edited by A Former User

                                  @marc-berg sagte in Proxmox iobroker backup influxDB error:

                                  Der Port ist die 8088.

                                  Moin,

                                  ok, da ich BackitUp nicht verwende, war mir das neu und danke, ich habe da etwas Neues gelernt 🙂
                                  Das da ein Client oder so installiert werden soll habe ich nicht gesagt, nur, dass er versucht einen alten gegen einen noch älteren zu ersetzen.

                                  @hal sagte in Proxmox iobroker backup influxDB error:

                                  Eine Version konnte ich da nicht angeben.

                                  Ja, denn das wird über unterschiedliche Namen der Pakete geregelt

                                  • influxDB <= V 1.8 heißen influxDB
                                  • influxDB >= V 2 heißen influxDB2

                                  @hal sagte in Proxmox iobroker backup influxDB error:

                                  Möglicherweise liegt hier der Fehler.

                                  Der Pfad ist falsch
                                  3204f727-002f-4246-8436-5985d0470db4-image.png,
                                  korrekt wäre

                                  /usr/bin/influxd
                                  

                                  VG
                                  Bernd

                                  P.S.: oder den Teil mit dem Pfad ganz leer lassen, denn
                                  612e309c-8790-4ed3-946c-0ef6221936c0-image.png

                                  Marc Berg 1 Reply Last reply Reply Quote 1
                                  • Marc Berg
                                    Marc Berg Most Active @Guest last edited by

                                    @dp20eic sagte in Proxmox iobroker backup influxDB error:

                                    Das da ein Client oder so installiert werden soll habe ich nicht gesagt,

                                    Ne, das war Thomas' Teil ... 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • HAL
                                      HAL @Marc Berg last edited by

                                      @marc-berg nach Installation der influxdb im iobroker LXC hat sich der Fehler verändert.
                                      Stimmt da etwas mit den Zugriffsrechten nicht (connection refused) ?

                                      2023-11-23 12:37:59.672 - error: backitup.0 (1052) [iobroker/influxDB] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.55:8088 "/opt/iobroker/backups/influxDB_2023_11_23-12_34_04_Proxmox_backupiobroker"
                                      2023-11-23 12:37:59.672 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:04 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2s and retrying (0)...
                                      2023-11-23 12:37:59.672 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:06 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2s and retrying (1)...
                                      2023-11-23 12:37:59.672 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:08 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2s and retrying (2)...
                                      2023-11-23 12:37:59.672 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:10 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2s and retrying (3)...
                                      2023-11-23 12:37:59.672 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:12 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2s and retrying (4)...
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:14 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2s and retrying (5)...
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:16 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 3.01s and retrying (6)...
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:19 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 11.441s and retrying (7)...
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:34:30 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 43.477s and retrying (8)...
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker/influxDB] 2023/11/23 12:35:14 Download shard 0 failed dial tcp 192.168.178.55:8088: connect: connection refused. Waiting 2m45.216s and retrying (9)...
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker/influxDB] backup: dial tcp 192.168.178.55:8088: connect: connection refused
                                      2023-11-23 12:37:59.673 - error: backitup.0 (1052) [iobroker] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.55:8088 "/opt/iobroker/backups/influxDB_2023_11_23-12_34_04_Proxmox_backupiobroker
                                      
                                      Marc Berg 1 Reply Last reply Reply Quote 0
                                      • Marc Berg
                                        Marc Berg Most Active @HAL last edited by Marc Berg

                                        @hal

                                        Hast Du das in der indluxdb.conf konfiguriert?

                                        bind-address = "0.0.0.0:8088"
                                        

                                        0d3a97ce-e27b-4f00-9048-2ec055232e92-image.png

                                        HAL 1 Reply Last reply Reply Quote 1
                                        • HAL
                                          HAL @Marc Berg last edited by

                                          @marc-berg sagte in Proxmox iobroker backup influxDB error:

                                          bind-address = "0.0.0.0:8088"

                                          Besten Dank , das war mein Problem. Es stand noch 127.0.0.1:8088 drin nach Änderung auf 0.0.0.0:8088 klappt alles 🙂

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Diamand2k22 @HAL last edited by

                                            @Thomas-Braun

                                            Hallo Thomas, ich bin gerade dabei mein vermurkstes Debian Bookworm neu aufzusetzen bzw. habe das schon getan mit einem neuen Thin Client mit Proxmox und einem LXC Container in dem iobroker läuft.
                                            Jetzt hab ich einen separaten Container angelegt, in dem soll dann InfluxDB laufen. Wie kann ich jetzt am besten die influxDB2 Datenbank vom alten Raspberry auf den LXC Container umziehen und einen Restore machen, damit wieder alle Daten vorhanden sind?

                                            hättest du da ein paar Tipps, bzw. eine Anleitung?

                                            Meister Mopper Marc Berg 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            969
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            22
                                            968
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo