Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backitup - Influxdb2 Fehler bei Sicherung

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Backitup - Influxdb2 Fehler bei Sicherung

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      io2345 @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @io2345 last edited by

        @io2345

        Ist das influxdb-Repo angelegt?

        sudo apt update
        apt policy influxdb2*
        

        sagt?

        I 1 Reply Last reply Reply Quote 0
        • I
          io2345 @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @io2345 last edited by

            @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 1 Reply Last reply Reply Quote 0
            • I
              io2345 @Thomas Braun last edited by

              @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 Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @io2345 last edited by

                @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 1 Reply Last reply Reply Quote 0
                • I
                  io2345 @Thomas Braun last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @io2345 last edited by

                    @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 1 Reply Last reply Reply Quote 0
                    • I
                      io2345 @Thomas Braun last edited by

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

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

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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        964
                        Online

                        31.6k
                        Users

                        79.4k
                        Topics

                        1.3m
                        Posts

                        5
                        24
                        700
                        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