Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. mit backitup kein Influxdb und Grafana backup möglich

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    mit backitup kein Influxdb und Grafana backup möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Willi-Wunder last edited by

      @willi-wunder

      cd
      rm influx*
      sudo apt update
      apt policy influx*
      
      W 1 Reply Last reply Reply Quote 0
      • W
        Willi-Wunder @Thomas Braun last edited by Willi-Wunder

        @thomas-braun

        pi@iobroker:~ $ apt policy influx*
        influxdb2-cli:
          Installed: 2.7.3-1
          Candidate: 2.7.3-1
          Version table:
         *** 2.7.3-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                100 /var/lib/dpkg/status
             2.7.1-2 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.6.1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.6.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.5.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.4.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.3.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
        influxdb-client:
          Installed: (none)
          Candidate: 1.6.7~rc0-1+b13
          Version table:
             1.6.7~rc0-1+b13 500
                500 http://deb.debian.org/debian bookworm/main arm64 Packages
        influxdb-dev:
          Installed: (none)
          Candidate: (none)
          Version table:
        influxdb2-client:
          Installed: (none)
          Candidate: 2.7.1-1
          Version table:
             2.7.1-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
        influxdb:
          Installed: (none)
          Candidate: 1.8.10-1
          Version table:
             1.8.10-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             1.6.7~rc0-1+b13 500
                500 http://deb.debian.org/debian bookworm/main arm64 Packages
        influxctl:
          Installed: (none)
          Candidate: 2.4.2
          Version table:
             2.4.2 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.4.1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.4.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.3.1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.3.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.2.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.1.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.0.4 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.0.3 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.0.2 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.0.1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.0.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
        influxdb2:
          Installed: 2.7.4-1
          Candidate: 2.7.4-1
          Version table:
         *** 2.7.4-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                100 /var/lib/dpkg/status
             2.7.3-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.7.1-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.7.0-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.6.1-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.6.0-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.5.1-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.4.0-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.3.0-1 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
             2.2.0 500
                500 https://repos.influxdata.com/debian stable/main arm64 Packages
        
        

        Danke, sieht jetzt schon besser aus 🙂

        simatec 1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @Willi-Wunder last edited by

          @willi-wunder

          sudo apt install influxdb2-client
          
          W 1 Reply Last reply Reply Quote 0
          • W
            Willi-Wunder @simatec last edited by Willi-Wunder

            @simatec sagte in mit backitup kein Influxdb und Grafana backup möglich:

            sudo apt install influxdb2-client

            pi@iobroker:~ $ sudo apt install influxdb2-client
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            The following NEW packages will be installed:
              influxdb2-client
            0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
            Need to get 10.5 MB of archives.
            After this operation, 24.0 MB of additional disk space will be used.
            Get:1 https://repos.influxdata.com/debian stable/main arm64 influxdb2-client arm64 2.7.1-1 [10.5 MB]
            Fetched 10.5 MB in 2s (4392 kB/s)
            apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
            perl: warning: Setting locale failed.
            perl: warning: Please check that your locale settings:
                    LANGUAGE = "de_DE",
                    LC_ALL = "de_DE",
                    LANG = (unset)
                are supported and installed on your system.
            perl: warning: Falling back to the standard locale ("C").
            locale: Cannot set LC_CTYPE to default locale: No such file or directory
            locale: Cannot set LC_MESSAGES to default locale: No such file or directory
            locale: Cannot set LC_ALL to default locale: No such file or directory
            Selecting previously unselected package influxdb2-client.
            (Reading database ... 146179 files and directories currently installed.)
            Preparing to unpack .../influxdb2-client_2.7.1-1_arm64.deb ...
            Unpacking influxdb2-client (2.7.1-1) ...
            dpkg: error processing archive /var/cache/apt/archives/influxdb2-client_2.7.1-1_arm64.deb (--unpack):
             trying to overwrite '/usr/bin/influx', which is also in package influxdb2-cli 2.7.3-1
            dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
            Errors were encountered while processing:
             /var/cache/apt/archives/influxdb2-client_2.7.1-1_arm64.deb
            E: Sub-process /usr/bin/dpkg returned an error code (1)
            
            

            Hätte ich vorher InfluxDB stoppen müssen?

            simatec 1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @Willi-Wunder last edited by

              @willi-wunder sagte in mit backitup kein Influxdb und Grafana backup möglich:

              /usr/bin/influx

              ohhh man da ist einiges vermurkst ...

              sudo rm /usr/bin/influx
              sudo apt install influxdb2-client
              
              W 1 Reply Last reply Reply Quote 0
              • W
                Willi-Wunder @simatec last edited by Willi-Wunder

                @simatec sagte in mit backitup kein Influxdb und Grafana backup möglich:

                sudo apt install influxdb2-client

                pi@iobroker:~ $ sudo rm /usr/bin/influx
                pi@iobroker:~ $ sudo apt install influxdb2-client
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                The following NEW packages will be installed:
                  influxdb2-client
                0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
                Need to get 0 B/10.5 MB of archives.
                After this operation, 24.0 MB of additional disk space will be used.
                apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
                perl: warning: Setting locale failed.
                perl: warning: Please check that your locale settings:
                        LANGUAGE = "de_DE",
                        LC_ALL = "de_DE",
                        LANG = (unset)
                    are supported and installed on your system.
                perl: warning: Falling back to the standard locale ("C").
                locale: Cannot set LC_CTYPE to default locale: No such file or directory
                locale: Cannot set LC_MESSAGES to default locale: No such file or directory
                locale: Cannot set LC_ALL to default locale: No such file or directory
                (Reading database ... 146179 files and directories currently installed.)
                Preparing to unpack .../influxdb2-client_2.7.1-1_arm64.deb ...
                Unpacking influxdb2-client (2.7.1-1) ...
                dpkg: error processing archive /var/cache/apt/archives/influxdb2-client_2.7.1-1_arm64.deb (--unpack):
                 trying to overwrite '/usr/bin/influx', which is also in package influxdb2-cli 2.7.3-1
                dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
                Errors were encountered while processing:
                 /var/cache/apt/archives/influxdb2-client_2.7.1-1_arm64.deb
                E: Sub-process /usr/bin/dpkg returned an error code (1)
                

                Hab den Rasp von Buster auf Bookworm neu eingerichtet, allerdings ein Backup vom Iobroker eingespielt. Hatte unter Buster influxDB 1.x gehabt. Mist...... Vielen Dank für eure Hilfe.

                simatec 1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @Willi-Wunder last edited by

                  @willi-wunder Hast du vorher nicht den Befehl zum löschen ausgeführt?

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    Willi-Wunder @simatec last edited by

                    @simatec
                    Doch, gerade oben mit ergänzt, hatte ich zuvor mit ausgeführt......

                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @Willi-Wunder last edited by

                      @willi-wunder

                      apt policy influxdb2-cli
                      
                      W 1 Reply Last reply Reply Quote 0
                      • W
                        Willi-Wunder @simatec last edited by

                        pi@iobroker:~ $ apt policy influxdb2-cli
                        influxdb2-cli:
                          Installed: 2.7.3-1
                          Candidate: 2.7.3-1
                          Version table:
                         *** 2.7.3-1 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                100 /var/lib/dpkg/status
                             2.7.1-2 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                             2.6.1 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                             2.6.0 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                             2.5.0 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                             2.4.0 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                             2.3.0 500
                                500 https://repos.influxdata.com/debian stable/main arm64 Packages
                        
                        
                        simatec 2 Replies Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @Willi-Wunder last edited by

                          @willi-wunder Dann war aber die Ausgabe vorher nicht vollständig...

                          W 1 Reply Last reply Reply Quote 0
                          • simatec
                            simatec Developer Most Active @Willi-Wunder last edited by

                            @willi-wunder

                            sudo apt remove influxdb2-cli
                            sudo apt install influxdb2-client
                            
                            1 Reply Last reply Reply Quote 0
                            • W
                              Willi-Wunder @simatec last edited by

                              @simatec
                              Du meinst wegen sudo rm /usr/bin/influx ? Das hatte ich beim Code kopieren übersehen und dann nachgetragen.

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                Willi-Wunder @Willi-Wunder last edited by

                                pi@iobroker:~ $ sudo apt remove influxdb2-cli
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                The following packages will be REMOVED:
                                  influxdb2-cli
                                0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
                                After this operation, 24.1 MB disk space will be freed.
                                Do you want to continue? [Y/n] y
                                apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
                                perl: warning: Setting locale failed.
                                perl: warning: Please check that your locale settings:
                                        LANGUAGE = "de_DE",
                                        LC_ALL = "de_DE",
                                        LANG = (unset)
                                    are supported and installed on your system.
                                perl: warning: Falling back to the standard locale ("C").
                                locale: Cannot set LC_CTYPE to default locale: No such file or directory
                                locale: Cannot set LC_MESSAGES to default locale: No such file or directory
                                locale: Cannot set LC_ALL to default locale: No such file or directory
                                (Reading database ... 146179 files and directories currently installed.)
                                Removing influxdb2-cli (2.7.3-1) ...
                                pi@iobroker:~ $ sudo apt install influxdb2-client
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                The following NEW packages will be installed:
                                  influxdb2-client
                                0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
                                Need to get 0 B/10.5 MB of archives.
                                After this operation, 24.0 MB of additional disk space will be used.
                                apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
                                perl: warning: Setting locale failed.
                                perl: warning: Please check that your locale settings:
                                        LANGUAGE = "de_DE",
                                        LC_ALL = "de_DE",
                                        LANG = (unset)
                                    are supported and installed on your system.
                                perl: warning: Falling back to the standard locale ("C").
                                locale: Cannot set LC_CTYPE to default locale: No such file or directory
                                locale: Cannot set LC_MESSAGES to default locale: No such file or directory
                                locale: Cannot set LC_ALL to default locale: No such file or directory
                                (Reading database ... 146176 files and directories currently installed.)
                                Preparing to unpack .../influxdb2-client_2.7.1-1_arm64.deb ...
                                Unpacking influxdb2-client (2.7.1-1) ...
                                Setting up influxdb2-client (2.7.1-1) ...
                                
                                
                                simatec 1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @Willi-Wunder last edited by

                                  @willi-wunder ohhh je da ist soviel krum ...
                                  Was bekommst du nun als Ausgabe von

                                  sudo influx auth list -t 74VTRbf_Qc6sAG_goAo4AMkdEdPKkPdWFyxVzrPhY5hNuxX43QdnYAiIWp9rmexTYHJbxa1I0dQ_wNkqkexV7A== --json
                                  
                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    Willi-Wunder @simatec last edited by

                                    pi@iobroker:~ $ sudo influx auth list -t 74VTRbf_Qc6sAG_goAo4AMkdEdPKkPdWFyxVzrPhY5hNuxX43QdnYAiIWp9rmexTYHJbxa1I0dQ_wNkqkexV7A== --json
                                    /usr/local/bin/influx: 1: Syntax error: ")" unexpected
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Willi-Wunder last edited by

                                      @willi-wunder

                                      sudo apt update
                                      sudo apt full-upgrade
                                      sudo reboot
                                      
                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        Willi-Wunder @Thomas Braun last edited by Willi-Wunder

                                        pi@iobroker:~ $ sudo apt update
                                        Hit:1 http://deb.debian.org/debian bookworm InRelease
                                        Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                                        Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
                                        Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
                                        Hit:5 https://repos.influxdata.com/debian stable InRelease
                                        Hit:6 https://apt.grafana.com stable InRelease
                                        Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        3 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                        pi@iobroker:~ $ sudo apt full-upgrade
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        Calculating upgrade... Done
                                        The following packages will be upgraded:
                                          curl libcurl3-gnutls libcurl4
                                        3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                        Need to get 1034 kB of archives.
                                        After this operation, 0 B of additional disk space will be used.
                                        Do you want to continue? [Y/n] y
                                        Get:1 http://deb.debian.org/debian-security bookworm-security/main arm64 curl arm64 7.88.1-10+deb12u5 [308 kB]
                                        Get:2 http://deb.debian.org/debian-security bookworm-security/main arm64 libcurl4 arm64 7.88.1-10+deb12u5 [366 kB]
                                        Get:3 http://deb.debian.org/debian-security bookworm-security/main arm64 libcurl3-gnutls arm64 7.88.1-10+deb12u5 [360 kB]
                                        Fetched 1034 kB in 0s (3344 kB/s)
                                        apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
                                        Changelogs werden gelesen... Fertig
                                        perl: warning: Setting locale failed.
                                        perl: warning: Please check that your locale settings:
                                                LANGUAGE = "de_DE",
                                                LC_ALL = "de_DE",
                                                LANG = (unset)
                                            are supported and installed on your system.
                                        perl: warning: Falling back to the standard locale ("C").
                                        locale: Cannot set LC_CTYPE to default locale: No such file or directory
                                        locale: Cannot set LC_MESSAGES to default locale: No such file or directory
                                        locale: Cannot set LC_ALL to default locale: No such file or directory
                                        (Reading database ... 146179 files and directories currently installed.)
                                        Preparing to unpack .../curl_7.88.1-10+deb12u5_arm64.deb ...
                                        Unpacking curl (7.88.1-10+deb12u5) over (7.88.1-10+deb12u4) ...
                                        Preparing to unpack .../libcurl4_7.88.1-10+deb12u5_arm64.deb ...
                                        Unpacking libcurl4:arm64 (7.88.1-10+deb12u5) over (7.88.1-10+deb12u4) ...
                                        Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u5_arm64.deb ...
                                        Unpacking libcurl3-gnutls:arm64 (7.88.1-10+deb12u5) over (7.88.1-10+deb12u4) ...
                                        Setting up libcurl3-gnutls:arm64 (7.88.1-10+deb12u5) ...
                                        Setting up libcurl4:arm64 (7.88.1-10+deb12u5) ...
                                        Setting up curl (7.88.1-10+deb12u5) ...
                                        Processing triggers for man-db (2.11.2-2) ...
                                        Processing triggers for libc-bin (2.36-9+rpt2+deb12u3) ...
                                        
                                        

                                        Nach Reboot:

                                        pi@iobroker:~ $ sudo influx auth list -t 74VTRbf_Qc6sAG_goAo4AMkdEdPKkPdWFyxVzrPhY5hNuxX43QdnYAiIWp9rmexTYHJbxa1I0dQ_wNkqkexV7A== --json
                                        /usr/local/bin/influx: 1: Syntax error: ")" unexpected
                                        
                                        

                                        Bleibt es leider so......

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Willi-Wunder last edited by

                                          @willi-wunder

                                          ls -lAh /usr/local/bin/influx
                                          
                                          W 1 Reply Last reply Reply Quote 0
                                          • W
                                            Willi-Wunder @Thomas Braun last edited by

                                            pi@iobroker:~ $ ls -lAh /usr/local/bin/influx
                                            -rwxr-xr-x 1 root root 25M Dec 26 22:38 /usr/local/bin/influx
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            119
                                            7465
                                            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