Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] backitup /bin/sh: 1: influx: not found

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] backitup /bin/sh: 1: influx: not found

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alero @Thomas Braun last edited by

      @thomas-braun
      kann ich nachträglich einem user ein homeverzeichnis zuweisen?

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

        @thomas-braun sagte in backitup /bin/sh: 1: influx: not found:

        sudo apt install influxdb2-client

        habe jetzt folgendes installiert:

        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 wollte ich dann

        sudo apt install influxdb2-client
        

        installieren. Es kommt aber immer noch die fm.

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

          @alero

          sudo apt update
          sudo apt install influxdb2-client
          

          kann ich nachträglich einem user ein homeverzeichnis zuweisen?

          Ja. Eigentlich machen das aber die Programme, mit denen man neue User anlegt gleich mit. Wie haste denn den 'juergen' ins Leben geholt?

          A 2 Replies Last reply Reply Quote 0
          • A
            Alero @Thomas Braun last edited by

            @thomas-braun
            mit adduser juergen. hab schon gelesen. habe da -m wohl vergessen.

            Homoran 1 Reply Last reply Reply Quote 0
            • A
              Alero @Thomas Braun last edited by

              @thomas-braun
              habe mit apt update und sudo apt install...... immer noch die gleiche FM.

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

                @alero

                Vollständige Ein- wie Ausgaben bitte.

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Alero last edited by Homoran

                  @alero sagte in backitup /bin/sh: 1: influx: not found:

                  @thomas-braun
                  mit adduser juergen. hab schon gelesen. habe da -m wohl vergessen.

                  nöö, auch mit adduser wird normalerweise das /home/juergen angelegt

                  bist du etwa mit sudo su unterwegs?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Alero @Homoran last edited by

                    @homoran
                    nein . ich habe mich am server mit dem user juergen angemeldet

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alero @Alero last edited by

                      So,
                      habe iobroker noch mal zurückgesetzt (Snapshot) und habe mich noch einmal neu angemeldet mit User juergen.
                      Jetzt muss ich noch einmal alles durchgehen.
                      Als erstens mach ich jetzt noch einmal das:

                      sudo apt update
                      apt policy influx*
                      
                      
                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Alero last edited by

                        @alero wo ist die Eingabezeile???

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

                          @alero sagte in backitup /bin/sh: 1: influx: not found:

                          habe iobroker noch mal zurückgesetzt (Snapshot)

                          Warum denn das??

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

                            so,
                            der Fehler ist natürlich immer noch da. kein repository.
                            dann kommt jetzt das:

                            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
                            

                            richtig? kopiert ausd deinem link phantastische Repositories

                            P.S. Homeverzeichnis mit sudo mkhomedir_helper juergen angelegt

                            A Thomas Braun 2 Replies Last reply Reply Quote 0
                            • A
                              Alero @Alero last edited by

                              bekomme schon eine FM beim eingeben der folgenden Spalte

                              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
                              

                              FM:

                              juergen@iobroker-prod-12:/home$ 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
                              sha256sum: influxdata-archive_compat.key: No such file or directory
                              influxdata-archive_compat.key: FAILED open or read
                              sha256sum: WARNING: 1 listed file could not be read
                              
                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Alero @Alero last edited by

                                FM beseitigt:

                                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
                                
                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  Alero @Alero last edited by

                                  Nächster Befehl auch abgesetzt und ANtwort:

                                  juergen@iobroker-prod-12:/home$ 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
                                  deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Alero last edited by

                                    @alero sagte in backitup /bin/sh: 1: influx: not found:

                                    P.S. Homeverzeichnis mit sudo mkhomedir_helper juergen angelegt

                                    Aber falsch. Du steht in /home , solltest aber in ~ bzw. /home/juergen stehen.

                                    Und wo ist die VOLLSTÄNDIGE Ein- wie Ausgabe?

                                    Mach es nochmal, vollständig...

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

                                      @thomas-braun

                                      so habs noch einmal gemacht.

                                      juergen@iobroker-prod-12:/$ cd home/
                                      juergen@iobroker-prod-12:/home$ ls
                                      influxdata-archive_compat.key  iobroker  juergen
                                      juergen@iobroker-prod-12:/home$ cd juergen
                                      juergen@iobroker-prod-12:~$ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                      juergen@iobroker-prod-12:~$ 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
                                      influxdata-archive_compat.key: OK
                                      juergen@iobroker-prod-12:~$ 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
                                      deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                                      juergen@iobroker-prod-12:~$ rm influxdata-archive_compat.key
                                      juergen@iobroker-prod-12:~$ 
                                      
                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Alero @Alero last edited by

                                        jetzt sieht mein apt policy influx* so aus:

                                        juergen@iobroker-prod-12:~$ apt policy influx*
                                        influxdb2-cli:
                                          Installed: (none)
                                          Candidate: 2.7.3-1
                                          Version table:
                                             2.7.3-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.7.1-2 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.6.1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.6.0 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.5.0 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.4.0 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.3.0 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 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 amd64 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 amd64 Packages
                                        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+b13 500
                                                500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                        influxctl:
                                          Installed: (none)
                                          Candidate: 2.0.4
                                          Version table:
                                             2.0.4 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.0.3 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.0.2 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.0.1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.0.0 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                        influxdb2:
                                          Installed: (none)
                                          Candidate: 2.7.1-1
                                          Version table:
                                             2.7.1-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.7.0-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.6.1-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.6.0-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.5.1-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.4.0-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.3.0-1 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                             2.2.0 500
                                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                        juergen@iobroker-prod-12:~$ 
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Alero last edited by

                                          @alero sagte in backitup /bin/sh: 1: influx: not found:

                                          influxdb2-client

                                          Den willst du haben.

                                          sudo apt install influxdb2-client
                                          
                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            Alero @Thomas Braun last edited by

                                            @thomas-braun
                                            den habe ich jetzt auch installiert.

                                            juergen@iobroker-prod-12:~$ sudo apt install influxdb2-client
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            The following packages were automatically installed and are no longer required:
                                              ntpsec-ntpdate ntpsec-ntpdig
                                            Use 'sudo apt autoremove' to remove them.
                                            The following NEW packages will be installed:
                                              influxdb2-client
                                            0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
                                            Need to get 11.3 MB of archives.
                                            After this operation, 25.0 MB of additional disk space will be used.
                                            Get:1 https://repos.influxdata.com/debian stable/main amd64 influxdb2-client amd64 2.7.1-1 [11.3 MB]
                                            Fetched 11.3 MB in 1s (11.2 MB/s)           
                                            Selecting previously unselected package influxdb2-client.
                                            (Reading database ... 37821 files and directories currently installed.)
                                            

                                            beim Backitup bekomme ich aber noch eine FM:

                                            [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: "/opt/iobroker/backups/influxDB_2023_10_05-10_54_33_backupiobroker"
                                            [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_10_05-10_54_33_backupiobroker" successfully deleted
                                            [DEBUG] [influxDB] - 
                                            [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.42.69:8086 -t CiOIz_JIz-0T_u2EkcBIkHEUTV5jbpm5WgaWhLmVbFEuk0ac3i5PwYW-ogS7eLA8I9V97Ft9H1hnDs_5== "/opt/iobroker/backups/influxDB_2023_10_05-10_54_33_backupiobroker"
                                            2023/10/05 10:54:33 INFO: Downloading metadata snapshot
                                            Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                            
                                            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

                                            818
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            55
                                            2500
                                            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