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.
    • R
      ronrich @Thomas Braun last edited by

      @thomas-braun Immer noch keine Besserung
      Der letzte Eintrag im LOG ist weiterhin von 21. April 18:52

      pi@IOBroker:~ $ sudo apt update
      OK:1 https://repos.influxdata.com/debian buster InRelease
      OK:2 https://deb.nodesource.com/node_14.x buster InRelease
      OK:3 https://packages.grafana.com/oss/deb stable InRelease
      OK:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:5 http://archive.raspberrypi.org/debian buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      pi@IOBroker:~ $ sudo systemctl stop grafana-server
      pi@IOBroker:~ $ sudo apt install --reinstall grafana
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
      Es müssen 74,0 MB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
      Holen:1 https://packages.grafana.com/oss/deb stable/main armhf grafana armhf 8.5.0 [74,0 MB]
      Es wurden 74,0 MB in 25 s geholt (3.018 kB/s).
      (Lese Datenbank ... 61723 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../grafana_8.5.0_armhf.deb ...
      Entpacken von grafana (8.5.0) über (8.5.0) ...
      grafana (8.5.0) wird eingerichtet ...
      Restarting grafana-server service... OK
      Trigger für systemd (241-7~deb10u8+rpi1) werden verarbeitet ...
      pi@IOBroker:~ $ ^C
      pi@IOBroker:~ $ sudo 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-04-21 20:52:23 CEST; 1min 1s ago
           Docs: http://docs.grafana.org
        Process: 11645 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.data=${DATA_DIR}
       Main PID: 11645 (code=exited, status=2)
      
      Apr 21 20:52:23 IOBroker grafana-server[11645]: created by github.com/golang/glog.init.0
      Apr 21 20:52:23 IOBroker grafana-server[11645]:         /opt/drone/gomodcache/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:410 +0x214
      Apr 21 20:52:23 IOBroker systemd[1]: grafana-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
      Apr 21 20:52:23 IOBroker systemd[1]: grafana-server.service: Failed with result 'exit-code'.
      Apr 21 20:52:23 IOBroker systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
      Apr 21 20:52:23 IOBroker systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 6.
      Apr 21 20:52:23 IOBroker systemd[1]: Stopped Grafana instance.
      Apr 21 20:52:23 IOBroker systemd[1]: grafana-server.service: Start request repeated too quickly.
      Apr 21 20:52:23 IOBroker systemd[1]: grafana-server.service: Failed with result 'exit-code'.
      Apr 21 20:52:23 IOBroker systemd[1]: Failed to start Grafana instance.
      
      
      crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @arteck last edited by crunchip

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

        activating

        Nö
        Scheinbar Problem mit dem startscript

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

          @ronrich probier es mal mit einem reinstall

          sudo apt-get --reinstall install grafana
          
          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Thomas Braun last edited by

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

            @ronrich probier es mal mit einem reinstall

            sudo apt-get --reinstall install grafana
            

            bereits geschehen

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

            sudo apt install --reinstall grafana

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

              @ronrich

              Die 8.5.0 ist heute frisch released worden. Vielleicht ist da noch der Fehlerteufel drin. Vorversion mal installiert?

              sudo apt install grafana=8.4.7
              
              R MassiveAttack 2 Replies Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Homoran last edited by

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

                bereits geschehen

                Nicht gesehen, weil mir hin und wieder der Browser am Handy für kurze Zeit einfriert und nichts geladen wird

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

                  @thomas-braun
                  sudo apt install grafana=8.4.7 werde ich morgen versuchen.
                  Für heute ist Feierabend.

                  Vielen Danke für eure Hilfe.

                  1 Reply Last reply Reply Quote 0
                  • 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.

                          Diapolo created this issue in grafana/grafana

                          closed grafana-server doesn't start after recent update to 8.5.0 on openhabian #48130

                          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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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