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 startet nach Raspberry Update nicht mehr

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Grafana startet nach Raspberry Update nicht mehr

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

      @thomas-braun said in Grafana startet nach Raspberry Update nicht mehr:

      sudo apt install grafana=8.4.7

      Danke, hat mir auch geholfen 🙂

      1 Reply Last reply Reply Quote 0
      • R
        ronrich last edited by

        Super nach Downgarde auf 8.4.7 geht alles wieder.

        Nochmal Danke

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          Auch ich habe heute ein Update auf die 8.5.0 gemacht. Lief natürich nicht.

          Mit 8.4.7 funktioniert es wieder.

          Danke für die Hilfe hier.

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

            https://github.com/grafana/grafana/issues/48130

            Bis das Problem (mit einer höheren Versionsnummer) erledigt wurde kann man das Paket aus dem üblichen Update/Upgrade über apt ausklammern:

            sudo apt-mark hold grafana
            

            Das ganze dann irgendwann wieder per

            suod apt-mark unhold grafana
            

            rückgängig machen.

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

              @thomas-braun
              Hallo,

              ich habe exakt das gleiche Problem - nur mit der aktuellen Version 9.1.7.
              Die 9.1.6 hat stabil funktioniert. Per update wurde die 9.1.7 aktualisiert.
              In diesem Thread die Tipps leider erflglos versucht und schlussendlich die Holzhammermethode versucht: grafana deinstalliert und neu installiert.
              Gleiches Ergebnis.

              IOBroker und Rest des Raspi funktioniert einwandfrei - zum Glück.
              Ich bin mit meinem kleinen Latinum am Ende 🙂
              Vielleicht hat jemand eine Idee?

              pi@raspberrypi:~ $ systemctl status grafana-server
              ● grafana-server.service - Grafana instance
                 Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
                 Active: failed (Result: exit-code) since Thu 2022-10-06 11:22:37 CEST; 6min ago
                   Docs: http://docs.grafana.org
                Process: 11843 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} cfg:default.paths
               Main PID: 11843 (code=exited, status=1/FAILURE)
              
              Okt 06 11:22:37 raspberrypi systemd[1]: grafana-server.service: Failed with result 'exit-code'.
              Okt 06 11:22:37 raspberrypi systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart.
              Okt 06 11:22:37 raspberrypi systemd[1]: Stopped Grafana instance.
              Okt 06 11:22:37 raspberrypi systemd[1]: grafana-server.service: Start request repeated too quickly.
              Okt 06 11:22:37 raspberrypi systemd[1]: Failed to start Grafana instance.
              Okt 06 11:22:37 raspberrypi systemd[1]: grafana-server.service: Unit entered failed state.
              Okt 06 11:22:37 raspberrypi systemd[1]: grafana-server.service: Failed with result 'exit-code'.
              
              pi@raspberrypi:~ $ date && date -u
              Do 6. Okt 11:34:57 CEST 2022
              Do 6. Okt 09:34:57 UTC 2022
              pi@raspberrypi:~ $ sudo systemctl restart grafana-server
              pi@raspberrypi:~ $ systemctl status grafana-server
              ● grafana-server.service - Grafana instance
                 Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
                 Active: failed (Result: exit-code) since Thu 2022-10-06 11:35:07 CEST; 1s ago
                   Docs: http://docs.grafana.org
                Process: 12386 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} cfg:default.paths
               Main PID: 12386 (code=exited, status=1/FAILURE)
              
              Okt 06 11:35:07 raspberrypi systemd[1]: grafana-server.service: Unit entered failed state.
              Okt 06 11:35:07 raspberrypi systemd[1]: grafana-server.service: Failed with result 'exit-code'.
              Okt 06 11:35:07 raspberrypi systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart.
              Okt 06 11:35:07 raspberrypi systemd[1]: Stopped Grafana instance.
              Okt 06 11:35:07 raspberrypi systemd[1]: grafana-server.service: Start request repeated too quickly.
              Okt 06 11:35:07 raspberrypi systemd[1]: Failed to start Grafana instance.
              Okt 06 11:35:07 raspberrypi systemd[1]: grafana-server.service: Unit entered failed state.
              Okt 06 11:35:07 raspberrypi systemd[1]: grafana-server.service: Failed with result 'exit-code'.
              

              Auch ein (erneutes) Installieren der 9.1.7 klappt nicht

              sudo apt update
              sudo systemctl stop grafana-server
              sudo apt install --reinstall grafana
              sudo systemctl restart grafana-server
              
              I 1 Reply Last reply Reply Quote 0
              • I
                IngoKnito @IngoKnito last edited by

                AHA!

                Holzhammermethode #2 hat funktioniert 🙂 : Downgrade auf 9.1.6.
                Nun funktioniert Grafana wieder. Komisch...

                Hat sich daher erledigt. Puhhhh.

                DJMarc75 1 Reply Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @IngoKnito last edited by

                  @ingoknito nur mal so aus Interesse, weil "normal" ist das nicht - bei mir läuft 9.1.7 1A

                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                  uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                  
                  I 1 Reply Last reply Reply Quote 0
                  • I
                    IngoKnito @DJMarc75 last edited by IngoKnito

                    @djmarc75 Hüstel. Leider bin ich kein Linux-Profi...
                    Mich würde es auch interessieren, da ich ungern auf der 9.1.6 'stehenbleiben' würde.

                    pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                    ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                    pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    armv7l
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v14.20.1
                    v14.20.1
                    6.14.17
                    -bash: iob: Kommando nicht gefunden.
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 1
                    • DJMarc75
                      DJMarc75 last edited by

                      @ingoknito auf was für einen Machine bist Du denn da unterwegs ??

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

                        @ingoknito

                        Was ist denn das für eine 'alte'(?) Installation?

                        sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        
                        I 1 Reply Last reply Reply Quote 0
                        • I
                          IngoKnito @Thomas Braun last edited by IngoKnito

                          @thomas-braun
                          Es ist ein Raspi 4b.

                          pi@raspberrypi:~ $ sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                          OK:3 https://packages.grafana.com/oss/deb stable InRelease
                          OK:4 https://repos.influxdata.com/debian stretch InRelease
                          OK:5 https://deb.nodesource.com/node_14.x stretch InRelease
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-de_DE) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-de_DE.UTF-8) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-de_DE) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-de_DE.UTF-8) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                          nodejs:
                            Installiert:           14.20.1-1nodesource1
                            Installationskandidat: 14.20.1-1nodesource1
                            Versionstabelle:
                           *** 14.20.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_14.x stretch/main armhf Packages
                                  100 /var/lib/dpkg/status
                               8.11.1~dfsg-2~bpo9+1 500
                                  500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
                               4.8.2~dfsg-1 500
                                  500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
                          
                          
                          Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @IngoKnito last edited by

                            @ingoknito

                            Ich meinte nicht Grafana mit der alten Version sondern den ioBroker.
                            Weil

                            iob: Kommando nicht gefunden
                            

                            ist ungewöhnlich. Das sollte eigentlich im Path liegen.

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

                              @ingoknito

                              Veraltet ist schon dein Betriebssystem. Stretch ist schon zweimal tot erklärt worden.
                              Bring das ganze Spiel auf einen aktuellen Stand.

                              Von dem Friedhof abgesehen ist die
                              /etc/apt/sources.list.d/grafana.list
                              falsch, da sind Doubletten drin.

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

                                @thomas-braun Hmmm. Ok, danke für die Info.
                                Ich dachte bisher, dass das über "apt update && sudo apt full-upgrade -y" erfolgt.

                                Muss ich mal recherchieren. Danke nochmals

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

                                  @ingoknito sagte in Grafana startet nach Raspberry Update nicht mehr:

                                  Ich dachte bisher, dass das über "apt update && sudo apt full-upgrade -y" erfolgt.

                                  Aber nur innerhalb des releases.
                                  'Stretch' ist aber halt bereits geraume Zeit abgekündigt:

                                  https://wiki.debian.org/LTS

                                  Selbst aus der Notfallstation 'LTS' ist das raus.

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

                                    @thomas-braun Das ist schade, denn ich habe vor ca. einem halben Jahr den Raspi-Imager bemüht und dachte dann als Basis auf dem aktuellen Stand zu sein. Mal schauen wie ich den Raspi aktualisiere. Die letzte LTS-Version wäre da klar der Favorit.

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

                                      @ingoknito sagte in Grafana startet nach Raspberry Update nicht mehr:

                                      Die letzte LTS-Version wäre da klar der Favorit.

                                      Ääääh, NEIN. Die aktuelle Stable (Bullseye) ist dein Favorit.

                                      denn ich habe vor ca. einem halben Jahr den Raspi-Imager bemüht

                                      Stretch ist seit Juli 2020 schon tot... Wo buddelt man so alten Krempel aus?

                                      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

                                      9
                                      39
                                      3973
                                      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