Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installation von influxdb in Ubuntu für den IOBroker

    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

    Installation von influxdb in Ubuntu für den IOBroker

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

      @mueller-esch

      apt policy influxdb
      

      Weniger mit sudo arbeiten.
      systemctl status kann man auch ohne root-Rechte anfragen.

      Und bitte KEINE Screenshots von Konsolentext, sondern auch als TEXT in CodeTags eingebettet hier reinkopieren.

      M 1 Reply Last reply Reply Quote 0
      • M
        mueller-esch @Thomas Braun last edited by

        @thomas-braun ja. sorry. Aber eine Hilfe war das nicht. Ich habe jetzt nach einer anderen Installationsanleitung Influx ans Laufen bekommen. Was aber verwunderlich war, dass in dieser Anleitung die influxdb.config nicht anzupassen war (http z.B.)
        Jetzt läuft zwar die influxdb aber die Verbindung zum IOBroker klappt nicht. Noch jemand eine Idee?

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

          @mueller-esch

          Immer noch ist die installierte Version interessant...

          apt policy influxdb
          
          M 1 Reply Last reply Reply Quote 0
          • M
            mueller-esch @Thomas Braun last edited by mueller-esch

            @thomas-braun
            Stimmt. Hatte ich vergessen:

            influxdb:
              Installed: (none)
              Candidate: 1.8.9-1
              Version table:
                 1.8.9-1 500
                    500 https://repos.influxdata.com/ubuntu bionic/stable amd64 Packages
                 1.6.4-1build1 500
                    500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
            
             influxdb.service - InfluxDB is an open-source, distributed, time series database
                 Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                 Active: active (running) since Thu 2021-08-05 18:11:36 CEST; 15h ago
                   Docs: https://docs.influxdata.com/influxdb/
               Main PID: 987 (influxd)
                  Tasks: 10 (limit: 4611)
                 Memory: 356.9M
                 CGroup: /system.slice/influxdb.service
                         └─987 /usr/bin/influxd
            
            Aug 06 07:12:21 iobrokerubuntu influxd[987]: ts=2021-08-06T05:12:21.667341Z lvl=info msg="Retention policy deletion che>
            Aug 06 07:12:21 iobrokerubuntu influxd[987]: ts=2021-08-06T05:12:21.667435Z lvl=info msg="Retention policy deletion che>
            Aug 06 07:42:21 iobrokerubuntu influxd[987]: ts=2021-08-06T05:42:21.667582Z lvl=info msg="Retention policy deletion che>
            Aug 06 07:42:21 iobrokerubuntu influxd[987]: ts=2021-08-06T05:42:21.667707Z lvl=info msg="Retention policy deletion che>
            Aug 06 08:12:21 iobrokerubuntu influxd[987]: ts=2021-08-06T06:12:21.667671Z lvl=info msg="Retention policy deletion che>
            Aug 06 08:12:21 iobrokerubuntu influxd[987]: ts=2021-08-06T06:12:21.667787Z lvl=info msg="Retention policy deletion che>
            Aug 06 08:42:21 iobrokerubuntu influxd[987]: ts=2021-08-06T06:42:21.667328Z lvl=info msg="Retention policy deletion che>
            Aug 06 08:42:21 iobrokerubuntu influxd[987]: ts=2021-08-06T06:42:21.667470Z lvl=info msg="Retention policy deletion che>
            Aug 06 09:12:21 iobrokerubuntu influxd[987]: ts=2021-08-06T07:12:21.667705Z lvl=info msg="Retention policy deletion che>
            Aug 06 09:12:21 iobrokerubuntu influxd[987]: ts=2021-08-06T07:12:21.667815Z lvl=info msg="Retention policy deletion che>
            lines 1-20/20 (END)
            

            Was ich aber nicht verstehe ist, wenn ich über die IP-Adresse ......:8086 mit dem Influxdb-Port 8086 im Browser starte, komme ich auf die Nutzeroberfläche von Inlfuxbd und dort finde ich die Version:
            Influxdb.png

            Vielleicht kann das jemand auflösen.

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

              @mueller-esch sagte in Installation von influxdb in Ubuntu für den IOBroker:

              Vielleicht kann das jemand auflösen.

              Das hat mit der unbekannten Anleitung zu tun.

              Ich habe jetzt nach einer anderen Installationsanleitung Influx ans Laufen bekommen.

              Da hast du das am Paketmanager vorbei ins System geprügelt. Kann man machen, wenn man weiß was man da tut. Weiß man es nicht: Nimm den Paketmanager her.

              M 1 Reply Last reply Reply Quote 0
              • M
                mueller-esch @Thomas Braun last edited by

                @thomas-braun

                wenn du mir einen Tip geben könntest, welchen ich da nehmen könnte, wäre mir das eine sehr große Hilfe.

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

                  @mueller-esch

                  Man installiert unter Debian und artverwandtem wie Ubuntu mit

                  apt install PROGRAMMNAME
                  

                  Hier würde ich erstmal die falsche Quelle für bionic löschen:

                  sudo rm /etc/apt/sources.list.d/influx*
                  sudo apt update
                  

                  Dann muss die irgendwie reingedonnerte influxdb 2 da wieder raus. Wie das anzustellen ist kann ich dir nicht sagen, ich weiß ja nicht wie die da reingekommen ist.

                  Dann

                  sudo apt install inufluxdb
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mueller-esch @Thomas Braun last edited by

                    @thomas-braun

                    ...und welche wäre die richtige Quelle?

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

                      @mueller-esch
                      Die ist schon/noch da:

                      http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                      

                      Aus der würde ich auch die Pakete schöpfen.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mueller-esch @Thomas Braun last edited by

                        @thomas-braun

                        meine Installationsanleitung kam aus dieser Quelle:

                        allzu dubios scheint mir das aber nicht: https://docs.influxdata.com/influxdb/v1.8/introduction/install/

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

                          @mueller-esch

                          Darüber kann aber keine v 2.0.7 in das System kommen, im Repo liegt maximal eine 1.8.9-1

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mueller-esch @Thomas Braun last edited by

                            @thomas-braun

                            wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.7-amd64.deb
                            sudo dpkg -i influxdb2-2.0.7-amd64.deb
                            

                            Wenn ich die Download Page bemühe, geht das schon.

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

                              @mueller-esch

                              Jo, aber dann passiert genau das: Am Paketmanager vorbei ins System gedübelt. Das will man nicht in einem stabilen System.

                              sudo dpkg -P influxdb2
                              
                              1 Reply Last reply Reply Quote 0
                              • O
                                onweb last edited by

                                https://forum.iobroker.net/topic/46773/influxdb-connection-refused/16
                                

                                Lösung bis Version 1.8.8 kommt.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                841
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                3
                                15
                                802
                                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