Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Grafana Update Probleme

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

      @damrak2022 sagte in [Linux Shell-Skript] WLAN-Wetterstation:

      Allerdings wird mir bei Grafana weiterhin Version 7.4 angezeigt.

      apt policy grafana*
      

      Entweder hast du da eine Variante installiert oder eine 'wilde Installation' am Paketmanager vorbei gemacht.

      1 Reply Last reply Reply Quote 0
      • Damrak2022
        Damrak2022 @SBorg last edited by

        @sborg sagte in [Linux Shell-Skript] WLAN-Wetterstation:

        sudo apt upgrade

        Ich habe das nun genauso gemacht wie von Dir beschrieben, komme aber nicht auf Grafana 8, da irgendwas bei mir nicht korrekt ist:
        So sieht es nach Eingabe von

        sudo nano /etc/apt/sources.list
        

        aus

        deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
        # Uncomment line below then 'apt-get update' to enable 'apt-get source'
        deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-fre>
        deb https://archive.raspbian.org/raspbian buster main contrib non-free
        deb-src https://archive.raspbian.org/raspbian buster main contrib non-free
        deb https://packages.grafana.com/oss/deb stable main
        

        Das kommt nach

        pi@homebridge:~ $ sudo nano /etc/apt/sources.list
        pi@homebridge:~ $ sudo apt update
        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:3 https://repos.influxdata.com/debian bullseye InRelease
        Hit:4 https://packages.grafana.com/oss/deb stable InRelease
        Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
        Hit:6 https://archive.raspbian.org/raspbian buster InRelease
        Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list.d/grafana.list:1
        pi@homebridge:~ $ sudo /etc/apt/sources.list.d/grafana
        sudo: /etc/apt/sources.list.d/grafana: command not found
        pi@homebridge:~ $ sudo nano /etc/apt/sources.list.d/grafana
        pi@homebridge:~ $ sudo apt upgrade
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        Calculating upgrade... Done
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Damrak2022 last edited by Thomas Braun

          @damrak2022

          Nimm die Zeile aus
          /etc/apt/sources.list
          wieder raus. Die ist schon in
          /etc/apt/sources.list.d/grafana.list
          drin und somit doppelt vorhanden.

          Dann hast du noch eine Referenz zu Buster in den Quellen, das muss alles einheitlich auf bullseye verweisen.

          sudo apt update
          apt policy grafana*
          

          liefert danach?

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

            @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

            apt policy grafana*

            Das habe ich gemacht, bekomme nun aber dies:

            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Mon Apr 25 04:05:59 2022 from 2a02:908:171:e900:5da1:8f55:5199:833
            pi@homebridge:~ $ sudo nano /etc/apt/sources.list
            pi@homebridge:~ $ sudo apt update
            Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:3 https://repos.influxdata.com/debian bullseye InRelease
            Hit:4 https://packages.grafana.com/oss/deb stable InRelease
            Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
            Hit:6 https://archive.raspbian.org/raspbian buster InRelease
            Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            All packages are up to date.
            pi@homebridge:~ $ apt policy grafana*
            N: Unable to locate package grafana-rpi_7.4.3_armhf.deb
            pi@homebridge:~ $
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Damrak2022 last edited by

              @damrak2022

              Steht immer noch irgendwo buster drin. Das muss raus.

              sudo sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list
              sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
              sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*
              

              Ist vielleicht auch was für einen eigenen Thread, das hat mit dem Skript hier nix zu tun.

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

                @thomas-braun Habe jetzt die beiden Buster Einträge rausgenommen:

                pi@homebridge:~ $ sudo nano /etc/apt/sources.list
                pi@homebridge:~ $ sudo apt update
                Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                Hit:3 https://repos.influxdata.com/debian bullseye InRelease
                Hit:4 https://packages.grafana.com/oss/deb stable InRelease
                Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                Hit:6 https://archive.raspbian.org/raspbian buster InRelease
                Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                pi@homebridge:~ $ apt policy grafana*
                N: Unable to locate package grafana-rpi_7.4.3_armhf.deb
                pi@homebridge:~ $ sudo nano /etc/apt/sources.list
                pi@homebridge:~ $ sudo sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list
                pi@homebridge:~ $ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
                pi@homebridge:~ $ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*
                pi@homebridge:~ $ sudo apt update
                Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:3 https://repos.influxdata.com/debian bullseye InRelease
                Hit:4 https://packages.grafana.com/oss/deb stable InRelease
                Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                Hit:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                pi@homebridge:~ $ apt policy grafana*
                N: Unable to locate package grafana-rpi_7.4.3_armhf.deb
                pi@homebridge:~ $
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Damrak2022 last edited by

                  @damrak2022

                  Was für ein Raspberry ist das das?

                  cat /proc/cpuinfo
                  
                  Damrak2022 1 Reply Last reply Reply Quote 0
                  • Damrak2022
                    Damrak2022 @Thomas Braun last edited by

                    @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                    cat /proc/cpuinfo

                    pi@homebridge:~ $ cat /proc/cpuinfo
                    processor	: 0
                    model name	: ARMv7 Processor rev 3 (v7l)
                    BogoMIPS	: 270.00
                    Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer	: 0x41
                    CPU architecture: 7
                    CPU variant	: 0x0
                    CPU part	: 0xd08
                    CPU revision	: 3
                    
                    processor	: 1
                    model name	: ARMv7 Processor rev 3 (v7l)
                    BogoMIPS	: 270.00
                    Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer	: 0x41
                    CPU architecture: 7
                    CPU variant	: 0x0
                    CPU part	: 0xd08
                    CPU revision	: 3
                    
                    processor	: 2
                    model name	: ARMv7 Processor rev 3 (v7l)
                    BogoMIPS	: 270.00
                    Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer	: 0x41
                    CPU architecture: 7
                    CPU variant	: 0x0
                    CPU part	: 0xd08
                    CPU revision	: 3
                    
                    processor	: 3
                    model name	: ARMv7 Processor rev 3 (v7l)
                    BogoMIPS	: 270.00
                    Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer	: 0x41
                    CPU architecture: 7
                    CPU variant	: 0x0
                    CPU part	: 0xd08
                    CPU revision	: 3
                    
                    Hardware	: BCM2711
                    Revision	: c03112
                    Serial		: 10000000d6b8c228
                    Model		: Raspberry Pi 4 Model B Rev 1.2
                    pi@homebridge:~ $
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Damrak2022 last edited by

                      @damrak2022

                      Dann ist

                      grafana-rpi_7.4.3_armhf.deb

                      eh falsch. Die Version ist für ältere Pi vorgesehen. Und wie kommt die überhaupt auf dein System? Denn in den Quellen ist 7.4.0 die aktuelle Version:

                      echad@chet:~ $ apt policy grafana-rpi
                      grafana-rpi:armhf:
                        Installed: (none)
                        Candidate: 7.4.0
                        Version table:
                           7.4.0 500
                              500 https://packages.grafana.com/oss/deb stable/main armhf Packages
                           7.3.3 500
                              500 https://packages.grafana.com/oss/deb stable/main armhf Packages
                      
                      
                      Damrak2022 crunchip 2 Replies Last reply Reply Quote 0
                      • Damrak2022
                        Damrak2022 @Thomas Braun last edited by

                        @thomas-braun Die aktuelle version ist doch 8.xx, oder
                        Also wie ändere ich das nun. Das müsste sich doch updaten, da es nun in der list drinsteht, oder nicht?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Thomas Braun last edited by

                          This post is deleted!
                          Thomas Braun 1 Reply Last reply Reply Quote 1
                          • Thomas Braun
                            Thomas Braun Most Active @Damrak2022 last edited by

                            @damrak2022 sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                            Die aktuelle version ist doch 8.xx, oder

                            Für das Paket 'grafana' schon:

                            echad@chet:~ $ apt policy grafana
                            grafana:
                              Installed: (none)
                              Candidate: 8.5.0
                              Version table:
                                 8.5.0 500
                                    500 https://packages.grafana.com/oss/deb stable/main arm64 Packages
                                    100 /var/lib/dpkg/status
                                 8.4.7 500
                                    500 https://packages.grafana.com/oss/deb stable/main arm64 Packages
                            

                            Dein irgendwie installiertes Paket 'grafana-rpi' ist bei Version 7.4.0.

                            Ich würde das versuchen rauszukicken.

                            Was passiert bei

                            sudo apt install grafana
                            
                            Damrak2022 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @crunchip last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • Damrak2022
                                Damrak2022 @Thomas Braun last edited by

                                @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                                sudo

                                pi@homebridge:~ $ sudo apt install grafana
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                The following NEW packages will be installed:
                                  grafana
                                0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                                Need to get 0 B/74.0 MB of archives.
                                After this operation, 243 MB of additional disk space will be used.
                                Selecting previously unselected package grafana.
                                (Reading database ... 67659 files and directories currently installed.)
                                Preparing to unpack .../grafana_8.5.0_armhf.deb ...
                                Unpacking grafana (8.5.0) ...
                                Replaced by files in installed package grafana-rpi (7.4.3) ...
                                Setting up grafana (8.5.0) ...
                                ### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
                                 sudo /bin/systemctl daemon-reload
                                 sudo /bin/systemctl enable grafana-server
                                ### You can start grafana-server by executing
                                 sudo /bin/systemctl start grafana-server
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Damrak2022 last edited by Thomas Braun

                                  @damrak2022 sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                                  sudo /bin/systemctl daemon-reload
                                  sudo /bin/systemctl enable grafana-server
                                  sudo /bin/systemctl start grafana-server
                                  

                                  Dann schau mal ob das auch nach einem reboot wieder auf die Füße kommt.

                                  Damrak2022 1 Reply Last reply Reply Quote 0
                                  • Negalein
                                    Negalein Global Moderator last edited by Negalein

                                    @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                                    Mach einen eigenen Thread dafür auf.

                                    @Damrak2022
                                    hier bitte weitermachen!

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

                                      @thomas-braun Der Reboot war gar kein Problem

                                      In der

                                      sudo nano /etc/apt/sources.list.d/grafana.list
                                      

                                      sieht es so aus:

                                      deb https://packages.grafana.com/oss/deb stable main
                                      

                                      und in der

                                      sudo nano /etc/apt/sources.list
                                      

                                      so

                                      deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
                                      # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                                      deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-fre>
                                      

                                      Danach habe ich nochmal ein

                                      sudo apt update
                                      sudo apt upgrade
                                      

                                      gemacht - Browsercache und anderen Browser genutzt, aber bei Grafana steht immer noch Version 7.4.3 drin

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

                                        @damrak2022

                                        Bitte auch die Ausgaben zu den Befehlen posten.
                                        So kann man damit nix anfangen.

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

                                          @thomas-braun

                                          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                          permitted by applicable law.
                                          Last login: Mon Apr 25 08:43:39 2022 from 192.168.178.22
                                          pi@homebridge:~ $ sudo nano /etc/apt/sources.list
                                          pi@homebridge:~ $ sudo nano /etc/apt/sources.list.d/grafana.list
                                          pi@homebridge:~ $ sudo nano /etc/apt/sources.list
                                          pi@homebridge:~ $ sudo apt update
                                          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                          Hit:3 https://packages.grafana.com/oss/deb stable InRelease
                                          Hit:4 https://repos.influxdata.com/debian bullseye InRelease
                                          Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                          Hit:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          All packages are up to date.
                                          pi@homebridge:~ $ sudo apt upgrade
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          Calculating upgrade... Done
                                          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                          pi@homebridge:~ $
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Damrak2022 last edited by

                                            @damrak2022

                                            apt policy grafana-rpi grafana
                                            
                                            Damrak2022 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            959
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            104
                                            5794
                                            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