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 @arteck last edited by

      @arteck Grafana ist unter 192.168.178.87:3000 nicht erreichbar

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

        @ronrich

        Wenn es noch klemmt:

        journalctl -u grafana-server
        
        R 1 Reply Last reply Reply Quote 0
        • R
          ronrich @Thomas Braun last edited by

          @thomas-braun

          
          pi@IOBroker:~ $ journalctl -u grafana-server
          -- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Thu 2022-04-21 20:44:33 CEST. --
          Apr 21 19:05:20 IOBroker systemd[1]: Started Grafana instance.
          Apr 21 19:05:21 IOBroker grafana-server[963]: unexpected fault address 0x27f6b5a
          Apr 21 19:05:21 IOBroker grafana-server[963]: fatal error: fault
          Apr 21 19:05:21 IOBroker grafana-server[963]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x27f6b5a pc=0x27f6b5a]
          Apr 21 19:05:21 IOBroker grafana-server[963]: goroutine 1 [running, locked to thread]:
          Apr 21 19:05:21 IOBroker grafana-server[963]: runtime.throw({0x27eb2a9, 0x5})
          Apr 21 19:05:21 IOBroker grafana-server[963]:         /usr/local/go/src/runtime/panic.go:1198 +0x5c fp=0x5c1bc18 sp=0x5c1bc04 pc=0x5b244
          Apr 21 19:05:21 IOBroker grafana-server[963]: runtime.sigpanic()
          Apr 21 19:05:21 IOBroker grafana-server[963]:         /usr/local/go/src/runtime/signal_unix.go:742 +0x1d0 fp=0x5c1bc30 sp=0x5c1bc18 pc=0x74914
          Apr 21 19:05:21 IOBroker grafana-server[963]: runtime: unexpected return pc for github.com/grafana/grafana/pkg/services/alerting/notifiers.init.10 called from 0x9
          Apr 21 19:05:21 IOBroker grafana-server[963]: stack: frame={sp:0x5c1bc34, fp:0x5c1bc5c} stack=[0x5bfc000,0x5c1c000)
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bbb4:  0x0005d1a0 <runtime.gwrite+0x00000034>  0x04668d52  0x029efeac  0x00000001
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bbc4:  0x00000001  0x00000000  0x0005da4c <runtime.printstring+0x00000060>  0x00000002
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bbd4:  0x029efeac  0x00000001  0x00000001  0x00000000
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bbe4:  0x00000000  0x0005b450 <runtime.fatalthrow+0x00000044>  0x0005b244 <runtime.throw+0x0000005c>  0x05c1bbf4
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bbf4:  0x0005b468 <runtime.fatalthrow.func1+0x00000000>  0x054000f0  0x0005b244 <runtime.throw+0x0000005c>  0x05c1bc04
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc04:  0x00074914 <runtime.sigpanic+0x000001d0>  0x05c1bc0c  0x0005b25c <runtime.throw.func1+0x00000000>  0x027eb2a9
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc14:  0x00000005  0x02092c5c <github.com/grafana/grafana/pkg/services/alerting/notifiers.init.10+0x0000002c>  0x027eb2a9  0x00000005
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc24:  0x0551ec00  0x027f6b5a  0x054000f0  0x02092c5c <github.com/grafana/grafana/pkg/services/alerting/notifiers.init.10+0x0000002c>
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc34: <0x00000009  0x0569d4e4  0x0562db40  0x0551ec00
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc44:  0x0006d0c4 <runtime.doInit+0x00000054>  0x0433c6b8  0x00000000  0x00000000
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc54:  0x00000000  0x00000000 >0x00000000  0x00000000
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc64:  0x00555555 <google.golang.org/protobuf/internal/impl.newSingularConverter+0x00000e11>  0x0544217f  0x00000018  0x00000000
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc74:  0x00000000  0x00000018  0x00000016  0x0000000b
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc84:  0x00000002  0x0546fca4  0x0000001a  0x00033400 <runtime.findObject+0x00000058>
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bc94:  0x00000008  0x00000015  0x00000001  0x00000015
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bca4:  0x00000001  0x00000000  0x00000000  0x00000000
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bcb4:  0x00000000  0x00000000  0x00000000  0x00000000
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bcc4:  0x05442140  0x00000040  0x00000040  0x0236f380
          Apr 21 19:05:21 IOBroker grafana-server[963]: 0x05c1bcd4:  0x0261df30  0x000c0138 <unicode/utf8.DecodeLastRuneInString+0x00000074>
          Apr 21 19:05:21 IOBroker grafana-server[963]: github.com/grafana/grafana/pkg/services/alerting/notifiers.init.10()
          Apr 21 19:05:21 IOBroker grafana-server[963]:         /drone/src/pkg/services/alerting/notifiers/pushover.go:97 +0x2c fp=0x5c1bc5c sp=0x5c1bc34 pc=0x2092c5c
          Apr 21 19:05:21 IOBroker grafana-server[963]: goroutine 110 [select]:
          Apr 21 19:05:21 IOBroker grafana-server[963]: go.opentelemetry.io/otel/sdk/trace.(*batchSpanProcessor).processQueue(0x572dec0)
          Apr 21 19:05:21 IOBroker grafana-server[963]:         /opt/drone/gomodcache/go.opentelemetry.io/otel/sdk@v1.0.0/trace/batch_span_processor.go:243 +0xf4
          Apr 21 19:05:21 IOBroker grafana-server[963]: go.opentelemetry.io/otel/sdk/trace.NewBatchSpanProcessor.func1(0x572dec0)
          Apr 21 19:05:21 IOBroker grafana-server[963]:         /opt/drone/gomodcache/go.opentelemetry.io/otel/sdk@v1.0.0/trace/batch_span_processor.go:111 +0x4c
          Apr 21 19:05:21 IOBroker grafana-server[963]: created by go.opentelemetry.io/otel/sdk/trace.NewBatchSpanProcessor
          Apr 21 19:05:21 IOBroker grafana-server[963]:         /opt/drone/gomodcache/go.opentelemetry.io/otel/sdk@v1.0.0/trace/batch_span_processor.go:109 +0x1e8
          Apr 21 19:05:21 IOBroker grafana-server[963]: goroutine 118 [select]:
          Apr 21 19:05:21 IOBroker grafana-server[963]: go.opencensus.io/stats/view.(*worker).start(0x5632ea0)
          lines 1-42
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @ronrich last edited by

            @ronrich

            Das Log geht noch weiter, vermute ich.

            sudo apt update
            sudo systemctl stop grafana-server
            sudo apt install --reinstall grafana
            sudo systemctl restart grafana-server
            
            R Homoran 2 Replies Last reply Reply Quote 0
            • 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
                                            • 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