Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influxdb restore geht nicht.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Influxdb restore geht nicht.

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bill S. Preston @Marc Berg last edited by

      @marc-berg
      Und wie bekomme ich die Version 1.8.10 installiert?
      Werde aus der Anleitung überhaupt nicht schlau.
      Sorry bin nicht so fit mit Linux .

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Bill S. Preston last edited by

        @bill-s-preston

        Repo angelegt?

        sudo apt update
        apt policy influx*
        

        sagt?

        B 1 Reply Last reply Reply Quote 0
        • B
          Bill S. Preston @Thomas Braun last edited by Bill S. Preston

          @thomas-braun

          herke@raspberrypi:~ $ sudo apt update
          
          apt policy influx*
          Hit:1 http://deb.debian.org/debian bookworm InRelease
          Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
          Get:4 https://repos.influxdata.com/debian bookworm InRelease [12.9 kB]
          Hit:5 https://apt.grafana.com stable InRelease
          Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
          Get:7 https://packages.grafana.com/oss/deb stable InRelease [7,660 B]
          Hit:8 http://archive.raspberrypi.com/debian bookworm InRelease
          Err:4 https://repos.influxdata.com/debian bookworm InRelease
            The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
          Err:7 https://packages.grafana.com/oss/deb stable InRelease
            The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
          Reading package lists... Done
          W: GPG error: https://repos.influxdata.com/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
          E: The repository 'https://repos.influxdata.com/debian bookworm InRelease' is not signed.
          N: Updating from such a repository can't be done securely, and is therefore disabled by default.
          N: See apt-secure(8) manpage for repository creation and user configuration details.
          W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
          E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed.
          N: Updating from such a repository can't be done securely, and is therefore disabled by default.
          N: See apt-secure(8) manpage for repository creation and user configuration details.
          N: Unable to locate package influxdata-archive_compat.key
          N: Unable to locate package influxdata-archive_compat.key.1
          N: Unable to locate package influxdata-archive_compat.key.2
          N: Unable to locate package influxdata-archive_compat.key.3
          herke@raspberrypi:~ $ apt policy influx*
          N: Unable to locate package influxdata-archive_compat.key
          N: Unable to locate package influxdata-archive_compat.key.1
          N: Unable to locate package influxdata-archive_compat.key.2
          N: Unable to locate package influxdata-archive_compat.key.3
          herke@raspberrypi:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Bill S. Preston last edited by

            @bill-s-preston

            Keine Ahnung was du da angestellt hast, aber das ist Kraut und Rüben...
            Für influxdb:

            rm influx*
            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
            

            und grafana ist auch nicht korrekt. Versuch es so:

            sudo apt-get install -y apt-transport-https
            sudo apt-get install -y software-properties-common wget
            sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
            echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
            

            Dann nochmal

            sudo apt update
            
            B 1 Reply Last reply Reply Quote 0
            • B
              Bill S. Preston @Thomas Braun last edited by Bill S. Preston

              @thomas-braun
              Super danke dir! Werde ich heute Abend versuchen. Ich hoffe es wird keine Nachtschicht wieder!
              Muss ich die alte grafana und influx Installation deinstallieren?
              Wenn ja, wie am besten?

              Thomas Braun 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Bill S. Preston last edited by

                @bill-s-preston sagte in Influxdb restore geht nicht.:

                Muss ich die alte grafana und influx Installation deinstallieren?

                Nein. Du musst aber die Paket-Quellen senkrecht haben.

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Bill S. Preston last edited by

                  @bill-s-preston sagte in Influxdb restore geht nicht.:

                  Ich hoffe es wird keine Nachtschicht wieder!

                  Du musst lediglich die 10 Zeilen per copy&paste in dein Terminal kopieren. Ist eine Sache von 2 Sekunden...

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Bill S. Preston @Thomas Braun last edited by Bill S. Preston

                    @thomas-braun

                    sudo apt update
                    apt policy influx*
                    

                    sagt jetzt:

                    herke@raspberrypi:~ $ sudo apt update
                    
                    apt policy influx*
                    Hit:1 http://deb.debian.org/debian bookworm InRelease
                    Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
                    Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
                    Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
                    Get:5 https://packages.grafana.com/oss/deb stable InRelease [7,660 B]
                    Hit:6 https://repos.influxdata.com/debian stable InRelease
                    Hit:7 https://apt.grafana.com stable InRelease
                    Hit:8 https://deb.nodesource.com/node_18.x nodistro InRelease
                    Err:5 https://packages.grafana.com/oss/deb stable InRelease
                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                    Reading package lists... Done
                    W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                    E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed.
                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                    influxdb2-cli:
                      Installed: (none)
                      Candidate: 2.7.5-1
                      Version table:
                         2.7.5-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.3-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         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: 1.6.7~rc0-1+b13
                      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
                            100 /var/lib/dpkg/status
                    influxctl:
                      Installed: (none)
                      Candidate: 2.8.0
                      Version table:
                         2.8.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.0 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.4 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.4.3 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         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: (none)
                      Candidate: 2.7.6-1
                      Version table:
                         2.7.6-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.5-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.4-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         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
                    
                    

                    und...

                    rm influx*
                    
                    
                    herke@raspberrypi:~ $ rm influx*
                    rm: cannot remove 'influx*': No such file or directory
                    
                    

                    und

                    sudo apt update
                    

                    sagt

                    
                    herke@raspberrypi:~ $ 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://deb.debian.org/debian bookworm-updates InRelease
                    Hit:4 https://apt.grafana.com stable InRelease
                    Hit:5 https://repos.influxdata.com/debian stable InRelease
                    Get:6 https://packages.grafana.com/oss/deb stable InRelease [7,660 B]
                    Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
                    Hit:8 http://archive.raspberrypi.com/debian bookworm InRelease
                    Err:6 https://packages.grafana.com/oss/deb stable InRelease
                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                    Reading package lists... Done
                    W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                    E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed.
                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Bill S. Preston last edited by

                      @bill-s-preston

                      Bei grafana hast du einen alten Eintrag irgendwo.
                      Such die Datei:

                      grep -Rnw /etc/apt/ -e packages.grafana
                      

                      Dann dort die Zeile, die den Text packages.grafana.com enthält löschen.
                      Die Zeile mit apt.grafana.com ist die richtige und muss bleiben.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        Bill S. Preston @Thomas Braun last edited by

                        @thomas-braun said in Influxdb restore geht nicht.:

                        @bill-s-preston

                        Bei grafana hast du einen alten Eintrag irgendwo.
                        Such die Datei:

                        grep -Rnw /etc/apt/ -e packages.grafana
                        

                        Dann dort die Zeile, die den Text packages.grafana.com enthält löschen.
                        Die Zeile mit apt.grafana.com ist die richtige und muss bleiben.

                        
                        herke@raspberrypi:~ $ grep -Rnw /etc/apt/ -e packages.grafana
                        /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm.                
                        list:1:deb https://packages.grafana.com/oss/deb stable main
                        /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm.               
                        list:2:# deb-src https://packages.grafana.com/oss/deb stable main
                        herke@raspberrypi:~ $
                        
                        

                        ist nicht so richtig ersichtlich was ich löschen muss.
                        außerdem wie lösche ich die Zeilen. Hier wird es doch nur gelistet.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Bill S. Preston last edited by

                          @bill-s-preston sagte in Influxdb restore geht nicht.:

                          archive_uri-https_packages_grafana_com_oss_deb-bookworm

                          Lösch die komische Datei komplett. Wo haste die überhaupt her?

                          sudo rm /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-bookworm.list
                          sudo apt update
                          sudo apt full-upgrade
                          
                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Bill S. Preston @Thomas Braun last edited by Bill S. Preston

                            @thomas-braun

                            unter

                            grep -Rnw /etc/apt/ -e packages.grafana
                            
                            

                            wird nun nichts mehr angezeigt.

                            und

                            herke@raspberrypi:~ $ influxd
                            
                             8888888           .d888 888                   8888888b.  888888b.
                               888            d88P"  888                   888  "Y88b 888  "88b
                               888            888    888                   888    888 888  .88P
                               888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
                               888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
                               888   888  888 888    888 888  888   X88K   888    888 888    888
                               888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
                             8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
                            
                            2024-05-04T18:09:02.252026Z     info    InfluxDB starting       {"log_id": "0oyCZoAl000", "versi                                                                        on": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
                            2024-05-04T18:09:02.252066Z     info    Go runtime      {"log_id": "0oyCZoAl000", "version": "go                                                                        1.13.8", "maxprocs": 4}
                            run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
                            
                            

                            sieht nun auch gut aus oder?

                            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Bill S. Preston last edited by Thomas Braun

                              @bill-s-preston sagte in Influxdb restore geht nicht.:

                              wird nun nichts mehr angezeigt.

                              Das ist richtig, die Datei hast du ja auch gelöscht.

                              Hast du jetzt grafana wie auch influxdb auf der Kiste?

                              sudo apt update
                              sudo apt install grafana influxdb
                              
                              B 1 Reply Last reply Reply Quote 0
                              • B
                                Bill S. Preston @Thomas Braun last edited by Bill S. Preston

                                @thomas-braun said in Influxdb restore geht nicht.:

                                sudo apt update sudo apt install grafana influxdb

                                ja. komme nun in die shell...

                                herke@raspberrypi:~ $ influx
                                Connected to http://localhost:8086 version 1.6.7~rc0
                                InfluxDB shell version: 1.8.10
                                >
                                
                                

                                Kann ich jetzt einfach via Backitup ein Restore drauf packen?

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Bill S. Preston last edited by

                                  @bill-s-preston sagte in Influxdb restore geht nicht.:

                                  Kann ich jetzt einfach via Backitup ein Restore drauf packen?

                                  Ja, sollte.

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Bill S. Preston last edited by

                                    @bill-s-preston sagte in Influxdb restore geht nicht.:

                                    sieht nun auch gut aus oder?

                                    @bill-s-preston sagte in Influxdb restore geht nicht.:

                                    run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      Bill S. Preston @Homoran last edited by

                                      @homoran

                                      8088 wird durch influx genutzt oder sehe ich das falsch?

                                      herke@raspberrypi:~ $ sudo netstat -tulpn | grep LISTEN
                                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      678/sshd: /usr/sbin
                                      tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      665/influxd
                                      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      666/iobroker.js-con
                                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      666/iobroker.js-con
                                      tcp6       0      0 :::22                   :::*                    LISTEN      678/sshd: /usr/sbin
                                      tcp6       0      0 :::3000                 :::*                    LISTEN      751/grafana
                                      tcp6       0      0 :::8082                 :::*                    LISTEN      918/io.web.0
                                      tcp6       0      0 :::8081                 :::*                    LISTEN      3440/io.admin.0
                                      tcp6       0      0 :::8086                 :::*                    LISTEN      665/influxd
                                      
                                      
                                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Bill S. Preston last edited by

                                        @bill-s-preston sagte in Influxdb restore geht nicht.:

                                        8088 wird durch influx genutzt oder sehe ich das falsch?

                                        anscheinend aber nicht nur.
                                        oder interpretiere ich die Meldung falsch?

                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Bill S. Preston last edited by

                                          @bill-s-preston

                                          Reboote die Kiste mal sauber.

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            Bill S. Preston @Thomas Braun last edited by Bill S. Preston

                                            @thomas-braun

                                            Kann es sein, dass 8088 durch Influx für den Restore benutzt wird?
                                            So liest es sich jedenfalls auf der Influx Homepage
                                            InfluxDB ports

                                            8088
                                            The default port used by the RPC service for RPC calls made by the CLI for backup and restore operations (influxdb backup and influxd restore). Configure this port in the configuration file.
                                            Resources Backup and Restore

                                            Ich habe das Influx Restore jetzt nochmal wiederholt. Grafana zeigt noch immer Quatsch an.
                                            Auf dem alten System wird Grafana Version 6.6.1 benutzt
                                            auf dem Neuen Grafana v10.4.2

                                            Wie bekomme ich auf das neue System ebenfalls 6.6.1 ?

                                            Kann ich mit diesem Befehl von der Grafana Homepage einfach auf 6.6.1 downgraden?

                                            sudo apt-get install -y adduser libfontconfig1 musl
                                            wget https://dl.grafana.com/enterprise/release/grafana-enterprise_6.6.1_amd64.deb
                                            sudo dpkg -i grafana-enterprise_6.6.1_amd64.deb
                                            
                                            Thomas Braun 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

                                            531
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            44
                                            1570
                                            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