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 Installation - Fehler grafana-rpi:armhf

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Grafana Installation - Fehler grafana-rpi:armhf

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

      @thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:

      sudo apt autoremove

      iobroker@iobroker:~ $ sudo apt install grafana
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf
        libpng16-16:armhf libuuid1:armhf zlib1g:armhf
      Use 'sudo apt autoremove' to remove them.
      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/76.8 MB of archives.
      After this operation, 271 MB of additional disk space will be used.
      (Reading database ... 47950 files and directories currently installed.)
      Preparing to unpack .../grafana_9.1.4_arm64.deb ...
      Unpacking grafana (9.1.4) ...
      Setting up grafana (9.1.4) ...
      ### 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
      iobroker@iobroker:~ $ sudo apt autoremove
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following packages will be REMOVED:
        libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf
        libpng16-16:armhf libuuid1:armhf zlib1g:armhf
      0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
      After this operation, 2,598 kB disk space will be freed.
      Do you want to continue? [Y/n] y
      (Reading database ... 54954 files and directories currently installed.)
      Removing libfontconfig1:armhf (2.13.1-4.2) ...
      Removing libfreetype6:armhf (2.10.4+dfsg-1+deb11u1) ...
      Removing libbrotli1:armhf (1.0.9-2+b2) ...
      Removing libexpat1:armhf (2.2.10-2+deb11u3) ...
      Removing libpng16-16:armhf (1.6.37-3) ...
      Removing libuuid1:armhf (2.36.1-8+deb11u1) ...
      Removing zlib1g:armhf (1:1.2.11.dfsg-2+deb11u2) ...
      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u4) ...
      iobroker@iobroker:~ $
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @heli-wolf last edited by

        @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

        systemctl status grafana-server.service
        sudo systemctl daemon-reload
        sudo systemctl enable grafana-server
        
        H 1 Reply Last reply Reply Quote 0
        • H
          heli-wolf @Thomas Braun last edited by

          @thomas-braun

          nach dem ersten Befehl
          systemctl status grafana-server.service
          kam folgendes:

          Warning: The unit file, source configuration file or drop-ins of grafana-server>
          ● grafana-server.service - Grafana instance
               Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendo>
               Active: failed (Result: signal) since Mon 2022-09-12 19:52:17 CEST; 1h 27m>
                 Docs: http://docs.grafana.org
              Process: 15830 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --p>
             Main PID: 15830 (code=killed, signal=SYS)
                  CPU: 68ms
          
          Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Scheduled restart >
          Sep 12 19:52:17 iobroker systemd[1]: Stopped Grafana instance.
          Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Start request repe>
          Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Failed with result>
          Sep 12 19:52:17 iobroker systemd[1]: Failed to start Grafana instance.
          ~
          ~
          ~
          ~
          ~
          ~
          ~
          ~
          ~
          
          iobroker@iobroker:~ $
          
          
          H Thomas Braun 2 Replies Last reply Reply Quote 0
          • H
            heli-wolf @heli-wolf last edited by

            @heli-wolf

            rest lief ohne Probleme:

            iobroker@iobroker:~ $ sudo systemctl daemon-reload
            [sudo] password for iobroker:
            iobroker@iobroker:~ $ sudo systemctl enable grafana-server
            Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
            Executing: /lib/systemd/systemd-sysv-install enable grafana-server
            iobroker@iobroker:~ $
            
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @heli-wolf last edited by Thomas Braun

              @heli-wolf

              Mach das Mäusekinofenster von puTTY mal breiter. Da fehlt die rechte Hälfte.
              Dann

              systemctl status grafana-server.service
              
              H 1 Reply Last reply Reply Quote 0
              • H
                heli-wolf @Thomas Braun last edited by

                @thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:

                systemctl status grafana-server.service

                iobroker@iobroker:~ $ systemctl status grafana-server.service
                ● grafana-server.service - Grafana instance
                     Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
                     Active: failed (Result: signal) since Mon 2022-09-12 19:52:17 CEST; 1h 31min ago
                       Docs: http://docs.grafana.org
                   Main PID: 15830 (code=killed, signal=SYS)
                        CPU: 68ms
                
                Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
                Sep 12 19:52:17 iobroker systemd[1]: Stopped Grafana instance.
                Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Start request repeated too quickly.
                Sep 12 19:52:17 iobroker systemd[1]: grafana-server.service: Failed with result 'signal'.
                Sep 12 19:52:17 iobroker systemd[1]: Failed to start Grafana instance.
                iobroker@iobroker:~ $
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @heli-wolf last edited by

                  @heli-wolf

                  Boote die Kiste mal durch.

                  sudo reboot
                  

                  Und dann nochmal

                  systemctl status grafana-server.service
                  
                  H 1 Reply Last reply Reply Quote 0
                  • H
                    heli-wolf @Thomas Braun last edited by

                    @thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:

                    systemctl status grafana-server.service

                    iobroker@iobroker:~ $ systemctl status grafana-server.service
                    ● grafana-server.service - Grafana instance
                         Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendo>
                         Active: active (running) since Mon 2022-09-12 21:26:33 CEST; 24s ago
                           Docs: http://docs.grafana.org
                       Main PID: 650 (grafana-server)
                          Tasks: 15 (limit: 8986)
                            CPU: 2.987s
                         CGroup: /system.slice/grafana-server.service
                                 └─650 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini ->
                    
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=live.push_http t=2022-09-1>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ticker t=2022-09-12T21:26:>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=infra.usagestats.collector>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=server t=2022-09-12T21:26:>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=provisioning.alerting t=20>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=provisioning.alerting t=20>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ngalert t=2022-09-12T21:26>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=grafanaStorageLogger t=202>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ngalert.multiorg.alertmana>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=http.server t=2022-09-12T2>
                    lines 1-20/20 (END)
                    ● grafana-server.service - Grafana instance
                         Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
                         Active: active (running) since Mon 2022-09-12 21:26:33 CEST; 24s ago
                           Docs: http://docs.grafana.org
                       Main PID: 650 (grafana-server)
                          Tasks: 15 (limit: 8986)
                            CPU: 2.987s
                         CGroup: /system.slice/grafana-server.service
                                 └─650 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb>
                    
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=live.push_http t=2022-09-12T21:26:45.201864419+02:00 level=info msg="Live Push Gat>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ticker t=2022-09-12T21:26:45.245089302+02:00 level=info msg=starting first_tick=20>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=infra.usagestats.collector t=2022-09-12T21:26:45.551953479+02:00 level=info msg="r>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=server t=2022-09-12T21:26:45.55277811+02:00 level=info msg="Writing PID file" path>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=provisioning.alerting t=2022-09-12T21:26:45.600007286+02:00 level=info msg="starti>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=provisioning.alerting t=2022-09-12T21:26:45.600505784+02:00 level=info msg="finish>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ngalert t=2022-09-12T21:26:45.601030486+02:00 level=info msg="warming cache for st>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=grafanaStorageLogger t=2022-09-12T21:26:45.620020442+02:00 level=info msg="storage>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ngalert.multiorg.alertmanager t=2022-09-12T21:26:45.638255863+02:00 level=info msg>
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=http.server t=2022-09-12T21:26:45.643460555+02:00 level=info msg="HTTP Server List>
                    ~
                    ~
                    ~
                    lines 1-20/20 (END)
                    ● grafana-server.service - Grafana instance
                         Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
                         Active: active (running) since Mon 2022-09-12 21:26:33 CEST; 24s ago
                           Docs: http://docs.grafana.org
                       Main PID: 650 (grafana-server)
                          Tasks: 15 (limit: 8986)
                            CPU: 2.987s
                         CGroup: /system.slice/grafana-server.service
                                 └─650 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/va>
                    
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=live.push_http t=2022-09-12T21:26:45.201864419+02:00 level=info msg="Live Push Gateway initialization"
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ticker t=2022-09-12T21:26:45.245089302+02:00 level=info msg=starting first_tick=2022-09-12T21:26:50+02:00
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=infra.usagestats.collector t=2022-09-12T21:26:45.551953479+02:00 level=info msg="registering usage stat providers" usageStatsProvidersLen=2
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=server t=2022-09-12T21:26:45.55277811+02:00 level=info msg="Writing PID file" path=/run/grafana/grafana-server.pid pid=650
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=provisioning.alerting t=2022-09-12T21:26:45.600007286+02:00 level=info msg="starting to provision alerting"
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=provisioning.alerting t=2022-09-12T21:26:45.600505784+02:00 level=info msg="finished to provision alerting"
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ngalert t=2022-09-12T21:26:45.601030486+02:00 level=info msg="warming cache for startup"
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=grafanaStorageLogger t=2022-09-12T21:26:45.620020442+02:00 level=info msg="storage starting"
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=ngalert.multiorg.alertmanager t=2022-09-12T21:26:45.638255863+02:00 level=info msg="starting MultiOrg Alertmanager"
                    Sep 12 21:26:45 iobroker grafana-server[650]: logger=http.server t=2022-09-12T21:26:45.643460555+02:00 level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket=
                    ~
                    ~
                    ~
                    lines 1-20/20 (END)
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @heli-wolf last edited by

                      @heli-wolf

                      Läuft.

                      sudo apt update
                      

                      um zu schauen ob apt/dpkg jetzt auch sauber ist.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        heli-wolf @Thomas Braun last edited by

                        @thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:

                        sudo apt update

                        iobroker@iobroker:~ $ sudo apt update
                        Hit:1 http://deb.debian.org/debian bullseye InRelease
                        Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                        Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                        Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                        Hit:6 https://repos.influxdata.com/debian bullseye InRelease
                        Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        All packages are up to date.
                        iobroker@iobroker:~ $
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @heli-wolf last edited by

                          @heli-wolf
                          Gut.
                          Und

                          apt policy grafana*
                          

                          spuckt jetzt auch die Versionen aus den Repos aus und nicht mehr die .deb-Dateien?

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            heli-wolf @Thomas Braun last edited by

                            @thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:

                            apt policy grafana*

                            iobroker@iobroker:~ $ apt policy grafana*
                            N: Unable to locate package grafana_9.1.4_armhf.deb
                            N: Unable to locate package grafana-rpi_7.5.0_armhf.deb
                            N: Unable to locate package grafana-rpi_9.1.4_armhf.deb
                            iobroker@iobroker:~ $
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @heli-wolf last edited by

                              @heli-wolf

                              Nochmal. Wo hast du die drei genannten Dateien her und wo hast du die abgelegt und wie hast du die installiert?

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                heli-wolf @Thomas Braun last edited by

                                @thomas-braun
                                Das war ein Onlinekurs von Stefan auf Verdrahtet.com

                                Die Installation war:
                                wget https://dl.grafana.com/oss/release/grafana-rpi_7.5.0_armhf.deb

                                sudo dpkg -i grafana-rpi_7.5.0_armhf.deb

                                sudo /bin/systemctl enable grafana-server

                                sudo /bin/systemctl start grafana-server

                                und die anderen Beiden habe ich von diversen Internetrecherchen ebenfalls versucht.

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @heli-wolf last edited by

                                  @heli-wolf

                                  Mit Verlaub...
                                  Ganz große Grütze wird da verzapft.
                                  Dann leg dir die Datein nochmal genau dorthin wo sie zuerst waren.
                                  Du hast die zwischenzeitlich gelöscht, vermute ich?

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    heli-wolf @Thomas Braun last edited by

                                    @thomas-braun
                                    sollte ich die drei befehle nochmals ausführen?
                                    sudo dpkg -i grafana-rpi_7.5.0_armhf.deb
                                    sudo dpkg -i grafana-rpi_9.1.4_armhf.deb
                                    den dritten weiß ich nicht mehr wo der her ist

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @heli-wolf last edited by Thomas Braun

                                      @heli-wolf
                                      NEIN!
                                      -i bedeutet Installieren, das willst du ja gerade nicht.

                                      dpkg -l grafana
                                      dpkg -l grafana-rpi
                                      
                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        heli-wolf @Thomas Braun last edited by

                                        @thomas-braun

                                        iobroker@iobroker:~ $ dpkg -l 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        9.1.4        arm64        Grafana
                                        iobroker@iobroker:~ $ dpkg -l grafana-rpi
                                        dpkg-query: no packages found matching grafana-rpi
                                        iobroker@iobroker:~ $
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @heli-wolf last edited by

                                          @heli-wolf

                                          Irgendwo hängt der .deb-Mist noch drin. Ich weiß nur nicht wo, weil man eigentlich nie Pakete auf diese Art installiert, man nutzt immer apt oder apt-get oder sonst einen 'intelligenten' Paketmanager, aber nicht dpkg.
                                          Wenn du also nochmal irgendwo dpkg -i oder sowas lesen solltest: Mach die Seite gleich zu, ist zu 99% Quark.

                                          sudo apt-get clean
                                          

                                          versuchen.

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            heli-wolf @Thomas Braun last edited by

                                            @thomas-braun

                                            iobroker@iobroker:~ $ sudo apt-get clean
                                            iobroker@iobroker:~ $
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            717
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            91
                                            4153
                                            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