Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB

    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

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

      Hallo Freunde ich möchte InfluxDB installieren das hat auch geklappt aber nun wenn ich influx setup eingebe kommt folgendes:

      unknown arguments: setup
      Usage of influx:
        -version
                              Display the version and exit.
        -path-prefix 'url path'
                              Path that follows the host and port
        -host 'host name'
                              Host to connect to.
        -port 'port #'
                              Port to connect to.
        -socket 'unix domain socket'
                              Unix socket to connect to.
        -database 'database name'
                              Database to connect to the server.
        -password 'password'
                              Password to connect to the server.  Leaving blank will prompt for password (--password '').
        -username 'username'
                              Username to connect to the server.
        -ssl
                              Use https for requests.
        -unsafeSsl
                              Set this when connecting to the cluster using https and not use SSL verification.
        -execute 'command'
                              Execute command and quit.
        -type 'influxql|flux'
                              Type specifies the query language for executing commands or when invoking the REPL.
        -format 'json|csv|column'
                              Format specifies the format of the server responses:  json, csv, or column.
        -precision 'rfc3339|h|m|s|ms|u|ns'
                              Precision specifies the format of the timestamp:  rfc3339, h, m, s, ms, u or ns.
        -consistency 'any|one|quorum|all'
                              Set write consistency level: any, one, quorum, or all
        -pretty
                              Turns on pretty print for the json format.
        -import
                              Import a previous database export from file
        -pps
                              How many points per second the import will allow.  By default it is zero and will not throttle importing.
        -path
                              Path to file to import
        -compressed
                              Set to true if the import file is compressed
      
      Examples:
      
          # Use influx in a non-interactive mode to query the database "metrics" and pretty print json:
          $ influx -database 'metrics' -execute 'select * from cpu' -format 'json' -pretty
      
          # Connect to a specific database on startup and set database context:
          $ influx -database 'metrics' -host 'localhost' -port '8086'
      
      

      Kann also keine anmeldedaten engeben:

      ostseereiter 1 Reply Last reply Reply Quote 0
      • ostseereiter
        ostseereiter @ostseereiter last edited by

        @ostseereiter ich habe die falsche Influxdatei instaliert. die 1.8 anstatt die 2.0

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

          @ostseereiter sagte in (Kann erst mal auf Eis gelegt werden)InfluxDB:

          ich habe die falsche Influxdatei instaliert. die 1.8 anstatt die 2.0

          Dann installier die gewünschte Version.

          sudo apt update
          apt policy influxdb*
          

          sagt?

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

            @thomas-braun sagte in (Kann erst mal auf Eis gelegt werden)InfluxDB:

            sudo apt update

            andy@debianIOB:~$ sudo apt update
            E: Missgestalteter Eintrag 1 in list Datei /etc/apt/sources.list.d/influxdata.list (URI)
            E: Die Liste der Quellen konnte nicht gelesen werden.
            andy@debianIOB:~$
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @ostseereiter last edited by

              @ostseereiter sagte in InfluxDB:

              Und was steht da so 'missgestaltetes' drin?

              cat /etc/apt/sources.list.d/influxdata.list
              
              1 Reply Last reply Reply Quote 0
              • ostseereiter
                ostseereiter last edited by ostseereiter

                Washabe ich gemacht:
                1

                wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                

                2

                echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg]
                 https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                

                3

                cat influxdata-archive_compat.key | gpg --dearmor | 
                 tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null 
                

                ab da geht es nicht mehr weiter.

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

                  @ostseereiter

                  sudo rm /etc/apt/sources.list.d/influxdata.list
                  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
                  sudo apt update
                  apt policy influxdb*
                  
                  ostseereiter 1 Reply Last reply Reply Quote 0
                  • ostseereiter
                    ostseereiter @Thomas Braun last edited by

                    @thomas-braun
                    danke das hat geklappt. alles super.

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

                      @ostseereiter

                      Und

                      sudo apt update
                      apt policy influxdb*
                      

                      sagt nun?

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

                        @thomas-braun

                         sudo apt update
                        [sudo] Passwort für andy:
                        OK:1 http://mirror.netcologne.de/debian bullseye InRelease
                        OK:2 http://mirror.netcologne.de/debian bullseye-updates InRelease
                        OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                        OK:4 https://repos.influxdata.com/debian stable InRelease
                        OK:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                        OK:6 https://apt.grafana.com stable InRelease
                        Paketlisten werden gelesen… Fertig
                        Abhängigkeitsbaum wird aufgebaut… Fertig
                        Statusinformationen werden eingelesen… Fertig
                        
                        
                        apt policy influxdb*
                        influxdb2-cli:
                          Installiert:           2.7.3-1
                          Installationskandidat: 2.7.3-1
                          Versionstabelle:
                         *** 2.7.3-1 500
                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                100 /var/lib/dpkg/status
                             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:
                          Installiert:           (keine)
                          Installationskandidat: 1.6.7~rc0-1+b5
                          Versionstabelle:
                             1.6.7~rc0-1+b5 500
                                500 http://mirror.netcologne.de/debian bullseye/main amd64 Packages
                        influxdb-dev:
                          Installiert:           (keine)
                          Installationskandidat: (keine)
                          Versionstabelle:
                        influxdb2-client:
                          Installiert:           (keine)
                          Installationskandidat: 2.7.1-1
                          Versionstabelle:
                             2.7.1-1 500
                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                        influxdb:
                          Installiert:           (keine)
                          Installationskandidat: 1.8.10-1
                          Versionstabelle:
                             1.8.10-1 500
                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                             1.6.7~rc0-1+b5 500
                                500 http://mirror.netcologne.de/debian bullseye/main amd64 Packages
                        influxdb2:
                          Installiert:           2.7.1-1
                          Installationskandidat: 2.7.1-1
                          Versionstabelle:
                         *** 2.7.1-1 500
                                500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                100 /var/lib/dpkg/status
                             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
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        657
                        Online

                        31.7k
                        Users

                        79.8k
                        Topics

                        1.3m
                        Posts

                        2
                        10
                        278
                        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