Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. (gelöst) influxdb mir unbekannte Probleme

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (gelöst) influxdb mir unbekannte Probleme

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

      @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

      @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

      sind jetzt auch nur noch 2 da:

      Und es ist die falsche stehen geblieben. Du solltest doch die

      sudo rm /etc/apt/sources list.d/influxdb.list
      

      löschen.

      Da steht:
      https://forum.iobroker.net/post/931097

      Die /etc/apt/sources.list.d/influxdata.list löschen.

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

        @woupi

        In deinem System hieß die alte Datei aber anders:

        -rw-r--r-- 1 root root 102 Feb 19  2022 influxdb.list
        

        Ist aber auch wurscht, wenn da jetzt eine aktuelle Datei für influx im System hängt.

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

          @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

          @woupi

          In deinem System hieß die alte Datei aber anders:

          -rw-r--r-- 1 root root 102 Feb 19  2022 influxdb.list
          

          Ist aber auch wurscht, wenn da jetzt eine aktuelle Datei für influx im System hängt.

          sollte ich die auch löschen, oder dann lieber nicht?

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

            @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

            sollte ich die auch löschen, oder dann lieber nicht?

            Die solltest du löschen.
            Was ist denn da jetzt Phase bei dir?

            ls -lAh /etc/apt/sources.list.d/
            
            W 1 Reply Last reply Reply Quote 0
            • W
              woupi @Thomas Braun last edited by

              @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

              @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

              sollte ich die auch löschen, oder dann lieber nicht?

              Die solltest du löschen.
              Was ist denn da jetzt Phase bei dir?

              ls -lAh /etc/apt/sources.list.d/
              

              Ich habe das von der Seite https://www.influxdata.com/blog/linux-package-signing-key-rotation/, jetzt nochmal gemacht:

              wget -q https://repos.influxdata.com/influxdata-archive_compat.key
              bernhard@influxdb:~$ gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key
              gpg: directory '/home/bernhard/.gnupg' created
              gpg: keybox '/home/bernhard/.gnupg/pubring.kbx' created
              pub   rsa4096 2023-01-18 [SC] [expires: 2026-01-17]
                    9D53 9D90 D332 8DC7 D6C8  D3B9 D8FF 8E1F 7DF8 B07E
              uid                      InfluxData Package Signing Key <support@influxdata.com>
              
              bernhard@influxdb:~$ cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
              bernhard@influxdb:~$ 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
              deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
              bernhard@influxdb:~$ sudo rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
              bernhard@influxdb:~$ ls -lAh /etc/apt/sources.list.d/                                                                                                          total 8.0K
              -rw-r--r-- 1 root root   0 Feb 19 15:05 grafana.list
              -rw-r--r-- 1 root root 117 Feb 19 16:21 influxdata.list
              -rw-r--r-- 1 root root  98 Feb 19 16:10 influxdb.list
              
              

              Da bin ich jetzt.

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

                @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

                influxdb.list

                sudo rm /etc/apt/sources.list.d/influxdb.list
                sudo apt update
                
                W 1 Reply Last reply Reply Quote 0
                • W
                  woupi @Thomas Braun last edited by

                  @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

                  sudo apt update

                  Das wars, hoffe ich

                  sudo apt update
                  Hit:1 https://repos.influxdata.com/debian stable InRelease
                  Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
                  Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
                  Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @woupi last edited by

                    @woupi

                    Das Grafana-Repo fehlt.

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

                      @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

                      @woupi

                      Das Grafana-Repo fehlt.

                       sudo apt update                                                                                                                        
                      Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
                      Hit:2 https://repos.influxdata.com/debian stable InRelease
                      Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
                      Get:4 https://apt.grafana.com stable InRelease [5984 B]
                      Hit:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease
                      Get:6 https://apt.grafana.com stable/main amd64 Packages [108 kB]
                      Fetched 114 kB in 0s (230 kB/s)
                      Reading package lists... Done
                      Building dependency tree... Done
                      Reading state information... Done
                      3 packages can be upgraded. Run 'apt list --upgradable' to see them.
                      
                      

                      Jetzt, sollte es aber passen, hoffen lasse ich jetzt mal weg

                      Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @woupi last edited by

                        @woupi

                        Da fehlte eben eine Zeile. Immer VOLLSTÄNDIG aus der Konsole kopieren, inkl. der Eingabezeile und der abschließenden neuen Eingabezeile.

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

                          @woupi

                          date && date -u 
                          cat /etc/timezone
                          sudo apt full-upgrade
                          
                          W 1 Reply Last reply Reply Quote 0
                          • W
                            woupi @Thomas Braun last edited by

                            @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

                            @woupi

                            date && date -u 
                            cat /etc/timezone
                            sudo apt full-upgrade
                            
                            date && date -u
                            Sun Feb 19 16:39:49 UTC 2023
                            Sun Feb 19 16:39:49 UTC 2023
                            bernhard@influxdb:~$ cat /etc/timezone
                            Etc/UTC
                            bernhard@influxdb:~$ sudo apt full-upgrade
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            Calculating upgrade... Done
                            The following packages have been kept back:
                              python3-software-properties software-properties-common
                            The following packages will be upgraded:
                              grafana
                            1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                            Need to get 89.3 MB of archives.
                            After this operation, 258 kB of additional disk space will be used.
                            Do you want to continue? [Y/n] y
                            Get:1 https://apt.grafana.com stable/main amd64 grafana amd64 9.3.6 [89.3 MB]
                            Fetched 89.3 MB in 8s (10.8 MB/s)
                            (Reading database ... 30024 files and directories currently installed.)
                            Preparing to unpack .../grafana_9.3.6_amd64.deb ...
                            Unpacking grafana (9.3.6) over (9.3.2) ...
                            Setting up grafana (9.3.6) ...
                            Restarting grafana-server service... OK
                            bernhard@influxdb:~$
                            
                            
                            Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @woupi last edited by

                              @woupi Zeitzone setzen, das ist wichtig und keine Kosmetik.

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

                                @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

                                python3-software-properties software-properties-common

                                Und was klemmt da?

                                apt install --dry-run python3-software-properties software-properties-common
                                
                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  woupi @Thomas Braun last edited by

                                  @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

                                  @woupi Zeitzone setzen, das ist wichtig und keine Kosmetik.

                                  Jetzt habe ich erstmal das gemacht

                                  bernhard@influxdb:~$ sudo timedatectl set-timezone Europe/Berlin
                                  bernhard@influxdb:~$ timedatectl
                                                 Local time: Sun 2023-02-19 17:47:43 CET
                                             Universal time: Sun 2023-02-19 16:47:43 UTC
                                                   RTC time: n/a
                                                  Time zone: Europe/Berlin (CET, +0100)
                                  System clock synchronized: yes
                                                NTP service: inactive
                                            RTC in local TZ: no
                                  bernhard@influxdb:~$
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    woupi @Thomas Braun last edited by

                                    @thomas-braun sagte in (gelöst) influxdb mir unbekannte Probleme:

                                    apt install --dry-run python3-software-properties software-properties-common

                                    bernhard@influxdb:~$ sudo apt install --dry-run python3-software-properties software-properties-common
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    The following packages will be upgraded:
                                      python3-software-properties software-properties-common
                                    2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    Inst software-properties-common [0.99.22.3] (0.99.22.5 Ubuntu:22.04/jammy-updates [all]) []
                                    Inst python3-software-properties [0.99.22.3] (0.99.22.5 Ubuntu:22.04/jammy-updates [all])
                                    Conf software-properties-common (0.99.22.5 Ubuntu:22.04/jammy-updates [all])
                                    Conf python3-software-properties (0.99.22.5 Ubuntu:22.04/jammy-updates [all])
                                    bernhard@influxdb:~$
                                    
                                    

                                    und jetzt das

                                    W 1 Reply Last reply Reply Quote 0
                                    • W
                                      woupi @woupi last edited by

                                      Sieht das gut aus?

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

                                        @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

                                        Sieht das gut aus?

                                        Von sudo hatte ich zwar nichts geschrieben, aber sei's drum...

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

                                          @thomas-braun

                                          Ich bin davon ausgegangen, dass da immer sudo vor muss, sorry. Offensichtlich aber wohl nicht.
                                          Gibt es irgendwo eine Erklärung dafür, wann sudo und wann nicht davor muss?
                                          Aber egal, ich werde mich dran halten und ggf mal danach suchen, kommt mit auf die Liste.

                                          sudo apt update
                                          Hit:1 https://repos.influxdata.com/debian stable InRelease
                                          Hit:2 https://apt.grafana.com stable InRelease
                                          Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
                                          Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
                                          Hit:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                          bernhard@influxdb:~$ sudo apt full-upgrade
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          Calculating upgrade... Done
                                          The following packages have been kept back:
                                            python3-software-properties software-properties-common
                                          0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
                                          bernhard@influxdb:~$
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @woupi last edited by

                                            @woupi sagte in (gelöst) influxdb mir unbekannte Probleme:

                                            Gibt es irgendwo eine Erklärung dafür, wann sudo und wann nicht davor muss?

                                            sudo kommt nur dann vor Standardbefehle, wenn die mit root-Rechten ausgeführt werden sollen. Zum nur herumschauen braucht man das aber nicht mit schweren Waffen machen.

                                            Irgendwas klemmt da noch.

                                            sudo apt update
                                            sudo apt install python3-software-properties software-properties-common
                                            
                                            W 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            993
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            80
                                            3146
                                            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