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.
    • crunchip
      crunchip Forum Testing Most Active @Damrak2022 last edited by

      @damrak2022 vllt mit

      sudo dpkg -r --force-all grafana-rpi
      
      Damrak2022 2 Replies Last reply Reply Quote 0
      • Damrak2022
        Damrak2022 @crunchip last edited by Damrak2022

        @crunchip Löscht er dann nicht auch die 8.4.7 mit?
        Na egal, ich versuche es

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

          @crunchip sagte in Grafana Update Probleme:

          sudo dpkg -r --force-all grafana-rpi

          pi@homebridge:~ $ sudo dpkg -r --force-all grafana-rpi
          dpkg: warning: ignoring request to remove grafana-rpi, only the config
           files of which are on the system; use --purge to remove them too
          pi@homebridge:~ $
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Damrak2022 last edited by

            @damrak2022

            dpkg --list 'grafana*'
            
            Damrak2022 1 Reply Last reply Reply Quote 0
            • Damrak2022
              Damrak2022 @Thomas Braun last edited by Damrak2022

              @thomas-braun sagte in Grafana Update Probleme:

              dpkg --list 'grafana*'

              pi@homebridge:~ $ dpkg --list 'grafana*'
              Desired=Unknown/Install/Remove/Purge/Hold
              | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
              |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
              ||/ Name           Version      Architecture Description
              +++-==============-============-============-=================================
              ii  grafana        8.4.7        armhf        Grafana
              rc  grafana-rpi    7.4.3        armhf        Grafana
              pi@homebridge:~ $
              

              Wo ist diese blöde 7.4.3 noch drin, sodass ich sie rausschmeißen kann?

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

                @damrak2022 sagte in Grafana Update Probleme:

                rc

                Das sind noch config-files im System.

                Die grobe Kelle:

                sudo dpkg --purge grafana-rpi
                
                Damrak2022 1 Reply Last reply Reply Quote 0
                • Damrak2022
                  Damrak2022 @Thomas Braun last edited by Damrak2022

                  @thomas-braun sagte in Grafana Update Probleme:

                  sudo dpkg --purge grafana-rpi

                  Grobe Kelle klingt gut

                  pi@homebridge:~ $ sudo dpkg --purge grafana-rpi
                  (Reading database ... 70826 files and directories currently installed.)
                  Purging configuration files for grafana-rpi (7.4.3) ...
                  pi@homebridge:~ $
                  

                  Jetzt ist nur noch die 8.4.7 zu sehen

                  pi@homebridge:~ $ dpkg --list 'grafana*'
                  Desired=Unknown/Install/Remove/Purge/Hold
                  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                  ||/ Name           Version      Architecture Description
                  +++-==============-============-============-=================================
                  ii  grafana        8.4.7        armhf        Grafana
                  pi@homebridge:~ $
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Damrak2022 last edited by Thomas Braun

                    @damrak2022

                    Dann hat die grobe Kelle gewirkt.

                    Kannst ja jetzt mal grafana (oder gleich das ganze System) neustarten.

                    Evtl. würde ich grafana nochmal --reinstall ieren.

                    Läuft

                    apt policy grafana*
                    

                    denn jetzt sauber?

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

                      @thomas-braun Wenn ich Grafana deinstalliert und neu installiere, verliere ich dann die Dashboards?

                      Gib mir mal bitte die korrekten Befehle zum deinstallieren und neu installieren. Nicht das ich wieder was quer mache.
                      Soll ich zuerst den Reboot vom Raspi versuchen?

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

                        @damrak2022 sagte in Grafana Update Probleme:

                        Wenn ich Grafana deinstalliert und neu installiere, verliere ich dann die Dashboards?

                        Eigentlich nicht. Aber wozu hat man Backups?

                        Versuch erstmal den Reboot, wenn der grafana-server dann nicht auf die Beine kommt:

                        sudo apt install --reinstall grafana=8.4.7
                        
                        Damrak2022 1 Reply Last reply Reply Quote 0
                        • Damrak2022
                          Damrak2022 @Thomas Braun last edited by Damrak2022

                          @thomas-braun Das kommt nach dem Reboot

                          pi@homebridge:~ $ sudo reboot
                          Connection to homebridge closed by remote host.
                          Connection to homebridge closed.
                          damrak2021@Andreass-iMac ~ % ssh pi@homebridge
                          pi@homebridge's password:
                          Linux homebridge 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l
                          
                          The programs included with the Debian GNU/Linux system are free software;
                          the exact distribution terms for each program are described in the
                          individual files in /usr/share/doc/*/copyright.
                          
                          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                          permitted by applicable law.
                          Last login: Tue Apr 26 16:10:45 2022 from 2a02:908:171:e900:258d:1682:dae2:37c3
                          pi@homebridge:~ $ apt policy grafana*
                          N: Unable to locate package grafana-rpi_7.4.3_armhf.deb
                          pi@homebridge:~ $
                          

                          Bringt es was einen reinstall für die 7.4.3 zu machen. Werden dann auch alle Abhängigkeiten entfernt

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

                            @damrak2022
                            Hmmmm. Ist der Eintrag wieder da?

                            dpkg --list 'grafana*'
                            
                            Damrak2022 1 Reply Last reply Reply Quote 0
                            • Damrak2022
                              Damrak2022 @Thomas Braun last edited by

                              @thomas-braun sagte in Grafana Update Probleme:

                              dpkg --list 'grafana*'

                              pi@homebridge:~ $ dpkg --list 'grafana*'
                              Desired=Unknown/Install/Remove/Purge/Hold
                              | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                              |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                              ||/ Name           Version      Architecture Description
                              +++-==============-============-============-=================================
                              ii  grafana        8.4.7        armhf        Grafana
                              pi@homebridge:~ $
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Damrak2022 last edited by

                                @damrak2022

                                Okay, das ist also sauber.

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

                                  @thomas-braun sagte in Grafana Update Probleme:

                                  sudo apt update

                                  pi@homebridge:~ $ sudo apt update
                                  Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                  Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                                  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
                                  Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB]
                                  Hit:6 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                                  Fetched 306 kB in 2s (147 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.
                                  pi@homebridge:~ $
                                  
                                  Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Damrak2022 last edited by

                                    @damrak2022

                                    apt list --upgradable
                                    sudo apt hold grafana
                                    sudo apt update
                                    apt list --upgradable
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Damrak2022 last edited by Thomas Braun

                                      @damrak2022

                                      sudo apt-get clean --dry-run
                                      

                                      Wenn dry-run gut aussieht:

                                      sudo apt-get clean
                                      
                                      Damrak2022 1 Reply Last reply Reply Quote 0
                                      • Damrak2022
                                        Damrak2022 @Thomas Braun last edited by

                                        @thomas-braun Bei dem zweiten Befehl bekomme ich das:

                                        pi@homebridge:~ $ apt list --upgradable
                                        Listing... Done
                                        grafana/stable 8.5.0 armhf [upgradable from: 8.4.7]
                                        libcamera0/stable 0~git20220426+18e68a9b-1 armhf [upgradable from: 0~git20220303+e68e0f1e-1]
                                        raspi-config/stable 20220425 all [upgradable from: 20220419]
                                        pi@homebridge:~ $ sudo apt hold grafana
                                        E: Invalid operation hold
                                        pi@homebridge:~ $
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Damrak2022 last edited by

                                          @damrak2022

                                          Mein Fehler.
                                          Statt
                                          sudo apt hold grafana
                                          muss das

                                          sudo apt-mark hold grafana
                                          

                                          lauten.

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

                                            @thomas-braun
                                            Das ist die Ausgabe:

                                            pi@homebridge:~ $ sudo apt-mark hold grafana
                                            grafana set on hold.
                                            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://deb.nodesource.com/node_14.x bullseye InRelease
                                            Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                                            Hit:6 https://repos.influxdata.com/debian bullseye InRelease
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            3 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                            pi@homebridge:~ $ apt list --upgradable
                                            Listing... Done
                                            grafana/stable 8.5.0 armhf [upgradable from: 8.4.7]
                                            libcamera0/stable 0~git20220426+18e68a9b-1 armhf [upgradable from: 0~git20220303+e68e0f1e-1]
                                            raspi-config/stable 20220425 all [upgradable from: 20220419]
                                            pi@homebridge:~ $ sudo apt-get clean --dry-run
                                            Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
                                            Del /var/lib/apt/lists/partial/*
                                            Del /var/cache/apt/pkgcache.bin /var/cache/apt/srcpkgcache.bin
                                            pi@homebridge:~ $ sudo apt-get clean
                                            pi@homebridge:~ $
                                            
                                            Damrak2022 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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