Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst]Grafana Installationsprobleme

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

[gelöst]Grafana Installationsprobleme

Scheduled Pinned Locked Moved Solved Error/Bug
grafana
42 Posts 5 Posters 6.7k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SBorgS SBorg

    @Dominik-F Grumpf, sudo vergessen: sudo mv /etc/systemd/system/grafana.service /etc/systemd/system/grafana.service_old
    ...oder dein zwischenzeitliches "umask" hat ihn eh gegrillt.

    crunchipC Offline
    crunchipC Offline
    crunchip
    Forum Testing Most Active
    wrote on last edited by
    #26

    @SBorg sagte in Grafana Installationsprobleme:

    zwischenzeitliches "umask" hat ihn eh gegrillt.

    dann sollte doch ein

    sudo systemctl daemon-reload
    

    reichen

    umgestiegen von Proxmox auf Unraid

    SBorgS 1 Reply Last reply
    0
    • Dominik F.D Offline
      Dominik F.D Offline
      Dominik F.
      wrote on last edited by
      #27

      hat beides nicht geholfen:

      pi@raspberrypi4-io:~ $ file /lib/systemd/system/grafana.service
      /lib/systemd/system/grafana.service: cannot open `/lib/systemd/system/grafana.service' (No such file or directory)
      pi@raspberrypi4-io:~ $ 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
      Failed to enable unit: Unit /run/systemd/generator.late/grafana.service is transient or generated.
      pi@raspberrypi4-io:~ $ sudo systemctl daemon-reload
      pi@raspberrypi4-io:~ $ 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
      Failed to enable unit: Unit /run/systemd/generator.late/grafana.service is transient or generated.
      
      
      1 Reply Last reply
      0
      • crunchipC crunchip

        @SBorg sagte in Grafana Installationsprobleme:

        zwischenzeitliches "umask" hat ihn eh gegrillt.

        dann sollte doch ein

        sudo systemctl daemon-reload
        

        reichen

        SBorgS Offline
        SBorgS Offline
        SBorg
        Forum Testing Most Active
        wrote on last edited by SBorg
        #28

        @crunchip Nicht unbedingt. "masked" heißt so viel wie nicht "starten". Durch "umask" hast du dies umgangen, was dir der "richtige" Service dann übel nimmt...

        @Dominik-F was gibt denn ein ls /etc/systemd/system/graf* aus?

        LG SBorg ( SBorg auf GitHub)
        Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

        Dominik F.D crunchipC 2 Replies Last reply
        0
        • SBorgS SBorg

          @crunchip Nicht unbedingt. "masked" heißt so viel wie nicht "starten". Durch "umask" hast du dies umgangen, was dir der "richtige" Service dann übel nimmt...

          @Dominik-F was gibt denn ein ls /etc/systemd/system/graf* aus?

          Dominik F.D Offline
          Dominik F.D Offline
          Dominik F.
          wrote on last edited by
          #29

          @SBorg

          pi@raspberrypi4-io:~ $ ls /etc/systemd/system/graf*
          /etc/systemd/system/grafana-server.service
          
          SBorgS 1 Reply Last reply
          0
          • Dominik F.D Dominik F.

            @SBorg

            pi@raspberrypi4-io:~ $ ls /etc/systemd/system/graf*
            /etc/systemd/system/grafana-server.service
            
            SBorgS Offline
            SBorgS Offline
            SBorg
            Forum Testing Most Active
            wrote on last edited by
            #30

            @Dominik-F Ok, dann ist noch alles gut :)
             systemctl stop grafana-server
            sudo mv /etc/systemd/system/grafana.service /etc/systemd/system/grafana.service_old
            systemctl start grafana-server

            Jetzt sollte er eigentlich ohne Fehler laufen.

            LG SBorg ( SBorg auf GitHub)
            Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

            Dominik F.D 1 Reply Last reply
            0
            • SBorgS SBorg

              @Dominik-F Ok, dann ist noch alles gut :)
               systemctl stop grafana-server
              sudo mv /etc/systemd/system/grafana.service /etc/systemd/system/grafana.service_old
              systemctl start grafana-server

              Jetzt sollte er eigentlich ohne Fehler laufen.

              Dominik F.D Offline
              Dominik F.D Offline
              Dominik F.
              wrote on last edited by
              #31

              @SBorg

              Dieser Fehler ist irgendwie geblieben:

              pi@raspberrypi4-io:~ $ 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
              Failed to enable unit: Unit /run/systemd/generator.late/grafana.service is transient or generated.
              
              SBorgS 1 Reply Last reply
              0
              • Dominik F.D Dominik F.

                @SBorg

                Dieser Fehler ist irgendwie geblieben:

                pi@raspberrypi4-io:~ $ 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
                Failed to enable unit: Unit /run/systemd/generator.late/grafana.service is transient or generated.
                
                SBorgS Offline
                SBorgS Offline
                SBorg
                Forum Testing Most Active
                wrote on last edited by
                #32

                @Dominik-F Bei ls /etc/systemd/system/graf* dürfte er jetzt nur noch grafa..._old anzeigen?
                Versuche mal den Service zu starten : sudo systemctl enable grafana-server.service

                LG SBorg ( SBorg auf GitHub)
                Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                Dominik F.D 1 Reply Last reply
                0
                • SBorgS SBorg

                  @Dominik-F Bei ls /etc/systemd/system/graf* dürfte er jetzt nur noch grafa..._old anzeigen?
                  Versuche mal den Service zu starten : sudo systemctl enable grafana-server.service

                  Dominik F.D Offline
                  Dominik F.D Offline
                  Dominik F.
                  wrote on last edited by Dominik F.
                  #33

                  @SBorg

                  das spuckt er dann aus:

                  pi@raspberrypi4-io:~ $ ls /etc/systemd/system/graf*
                  /etc/systemd/system/grafana-server.service
                  pi@raspberrypi4-io:~ $ sudo systemctl enable grafana-server.service
                  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
                  Failed to enable unit: Unit /run/systemd/generator.late/grafana.service is trans                                                                                       ient or generated.
                  

                  oder kann es daran liegen, das ich die ini noch nicht angepasst habe?

                  SBorgS 1 Reply Last reply
                  -1
                  • Dominik F.D Dominik F.

                    @SBorg

                    das spuckt er dann aus:

                    pi@raspberrypi4-io:~ $ ls /etc/systemd/system/graf*
                    /etc/systemd/system/grafana-server.service
                    pi@raspberrypi4-io:~ $ sudo systemctl enable grafana-server.service
                    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
                    Failed to enable unit: Unit /run/systemd/generator.late/grafana.service is trans                                                                                       ient or generated.
                    

                    oder kann es daran liegen, das ich die ini noch nicht angepasst habe?

                    SBorgS Offline
                    SBorgS Offline
                    SBorg
                    Forum Testing Most Active
                    wrote on last edited by
                    #34

                    @Dominik-F Wenn ich mal richtig lesen würde :(
                    "/etc/systemd/system/grafana-server.service"

                    systemctl stop grafana-server
                    sudo mv /etc/systemd/system/grafana-server.service /etc/systemd/system/grafana-server.service_old
                    systemctl start grafana-server

                    Aber die grafana.ini zu konfigurieren ist nicht die schlechteste Idee.

                    LG SBorg ( SBorg auf GitHub)
                    Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                    Dominik F.D 1 Reply Last reply
                    0
                    • SBorgS SBorg

                      @Dominik-F Wenn ich mal richtig lesen würde :(
                      "/etc/systemd/system/grafana-server.service"

                      systemctl stop grafana-server
                      sudo mv /etc/systemd/system/grafana-server.service /etc/systemd/system/grafana-server.service_old
                      systemctl start grafana-server

                      Aber die grafana.ini zu konfigurieren ist nicht die schlechteste Idee.

                      Dominik F.D Offline
                      Dominik F.D Offline
                      Dominik F.
                      wrote on last edited by
                      #35

                      @SBorg

                      Hier das Ergebnis:

                      pi@raspberrypi4-io:~ $ sudo systemctl stop grafana-server
                      pi@raspberrypi4-io:~ $ sudo mv /etc/systemd/system/grafana-server.service /etc/systemd/system/grafana-server.service_old
                      mv: der Aufruf von stat für '/etc/systemd/system/grafana-server.service' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@raspberrypi4-io:~ $ sudo systemctl start grafana-server
                      
                      1 Reply Last reply
                      -1
                      • SBorgS SBorg

                        @crunchip Nicht unbedingt. "masked" heißt so viel wie nicht "starten". Durch "umask" hast du dies umgangen, was dir der "richtige" Service dann übel nimmt...

                        @Dominik-F was gibt denn ein ls /etc/systemd/system/graf* aus?

                        crunchipC Offline
                        crunchipC Offline
                        crunchip
                        Forum Testing Most Active
                        wrote on last edited by
                        #36

                        @SBorg ok, aber wie gesagt, bin da auch nur Laie, wie Dominik...versuche nur irgendwie zu helfen

                        ich hatte damals sudo update-rc.d grafana-server defaults ausgeführt....macht man wahrscheinlich auch nicht?
                        Ps :Frage am Rande wie markiere ich das weiß, so wie du es hast?

                        umgestiegen von Proxmox auf Unraid

                        SBorgS 1 Reply Last reply
                        0
                        • harrymH Offline
                          harrymH Offline
                          harrym
                          wrote on last edited by
                          #37

                          RTFM .... read the fucking manual! Linux ist nicht wie Windoof nur klicki klicki. Wenn DU nen RP4 mit 4GB vergewaltigen willst .... mach weiter. Mein Vorschlag ist alllerdig ... beschäftige dich mal mit den GRUNDZÜGEN von LINUX.

                          ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                          1 Reply Last reply
                          -1
                          • crunchipC crunchip

                            @SBorg ok, aber wie gesagt, bin da auch nur Laie, wie Dominik...versuche nur irgendwie zu helfen

                            ich hatte damals sudo update-rc.d grafana-server defaults ausgeführt....macht man wahrscheinlich auch nicht?
                            Ps :Frage am Rande wie markiere ich das weiß, so wie du es hast?

                            SBorgS Offline
                            SBorgS Offline
                            SBorg
                            Forum Testing Most Active
                            wrote on last edited by
                            #38

                            @crunchip Ist doch auch völlig Ok so :)
                            ...und dein "sudo update...." ist für den Autostart des Servers. Sollte er eigentlich selbst eintragen. Schadet aber auch nichts wenn man es ausführt, er trägt es eh nur einmal ein.
                            Das muss in "Backticks" eingeschlossen werden: `` (SHIFT + Taste neben ?ß)

                            @Dominik-F Ich glaube das einfachste wäre sudo apt autoremove grafana + sudo apt install grafana Geht ja einigermaßen schnell, denn die Installation sieht einfach ziemlich zerschossen aus.

                            LG SBorg ( SBorg auf GitHub)
                            Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                            Dominik F.D 1 Reply Last reply
                            1
                            • SBorgS SBorg

                              @crunchip Ist doch auch völlig Ok so :)
                              ...und dein "sudo update...." ist für den Autostart des Servers. Sollte er eigentlich selbst eintragen. Schadet aber auch nichts wenn man es ausführt, er trägt es eh nur einmal ein.
                              Das muss in "Backticks" eingeschlossen werden: `` (SHIFT + Taste neben ?ß)

                              @Dominik-F Ich glaube das einfachste wäre sudo apt autoremove grafana + sudo apt install grafana Geht ja einigermaßen schnell, denn die Installation sieht einfach ziemlich zerschossen aus.

                              Dominik F.D Offline
                              Dominik F.D Offline
                              Dominik F.
                              wrote on last edited by Dominik F.
                              #39

                              @harrym
                              Ich freue mich, dass du dich entschieden hast mir in diesem Thread zu helfen. Ich würde mich jedoch noch mehr freuen, wenn du mir konstruktive Hilfestellungen und Erklärungen geben würdest. @crunchip hatte mir schon mal gesagt, dass ein NUC dafür besser geeignet ist von der Leistung her, jedoch habe ich bisher noch nirgends lesen können das der RPI4 dadurch vergewaltigt wird. Auf der Grafana Seite kann ich bei Systemanforderungen leider nicht erkennen das der RPI dafür ungeeignet ist

                              @crunchip
                              Du hast mir sehr viel geholfen und ich bin dir sehr dankbar für die Zeit die du dir nimmst. Also mach weiter so :)

                              @SBorg
                              Ich werde das gleich mal eingeben und schauen was bei rauskommt und eine Rückmeldung geben.

                              Edit:
                              Die Deinstallation schlug fehl, er sagte, dass es nix mit Grafana geben würde.....war dann kurz am verzweifeln weil ich weiterhin auf Grafana zugreifen konnte.
                              hab dann noch mal

                              sudo systemctl enable grafana-server
                              

                              und warum auch immer....es kam kein Fehler^^
                              Ich gehe dann jetzt davon aus das alles korrekt läuft und werde weiter meinen RPI vergewaltigen bis ich auf einen Nuc umsteige :)

                              @crunchip @SBorg Vielen vielen Dank für eure super Hilfe und Unterstützung und für eure Geduld:)

                              crunchipC 1 Reply Last reply
                              1
                              • Dominik F.D Dominik F.

                                @harrym
                                Ich freue mich, dass du dich entschieden hast mir in diesem Thread zu helfen. Ich würde mich jedoch noch mehr freuen, wenn du mir konstruktive Hilfestellungen und Erklärungen geben würdest. @crunchip hatte mir schon mal gesagt, dass ein NUC dafür besser geeignet ist von der Leistung her, jedoch habe ich bisher noch nirgends lesen können das der RPI4 dadurch vergewaltigt wird. Auf der Grafana Seite kann ich bei Systemanforderungen leider nicht erkennen das der RPI dafür ungeeignet ist

                                @crunchip
                                Du hast mir sehr viel geholfen und ich bin dir sehr dankbar für die Zeit die du dir nimmst. Also mach weiter so :)

                                @SBorg
                                Ich werde das gleich mal eingeben und schauen was bei rauskommt und eine Rückmeldung geben.

                                Edit:
                                Die Deinstallation schlug fehl, er sagte, dass es nix mit Grafana geben würde.....war dann kurz am verzweifeln weil ich weiterhin auf Grafana zugreifen konnte.
                                hab dann noch mal

                                sudo systemctl enable grafana-server
                                

                                und warum auch immer....es kam kein Fehler^^
                                Ich gehe dann jetzt davon aus das alles korrekt läuft und werde weiter meinen RPI vergewaltigen bis ich auf einen Nuc umsteige :)

                                @crunchip @SBorg Vielen vielen Dank für eure super Hilfe und Unterstützung und für eure Geduld:)

                                crunchipC Offline
                                crunchipC Offline
                                crunchip
                                Forum Testing Most Active
                                wrote on last edited by
                                #40

                                @Dominik-F dann berichte mal, wenn du paar Sachen geloggt hast und dein erstes Dashboard angefertigt hast:+1:

                                umgestiegen von Proxmox auf Unraid

                                1 Reply Last reply
                                0
                                • ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #41

                                  Auf einem RaspBerry Pi 4 4GB mit Rasbian hat mir diese Anlietung geholfen.

                                  Quelle: https://simonhearne.com/2020/pi-influx-grafana/

                                  Step 3: Install Grafana§
                                  Again we need to add the Grafana packages to apt:

                                  wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
                                  echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                                  We can now update and install the binaries:

                                  sudo apt update && sudo apt install -y grafana
                                  Then simply enable the service and set to run at boot:

                                  sudo systemctl unmask grafana-server.service
                                  sudo systemctl start grafana-server
                                  sudo systemctl enable grafana-server.service
                                  Now we can check that grafana is up by loading it in a browser: http://<ipaddress>:3000. If so, you can log in with the username and password = admin and set a new admin password.

                                  Dominik F.D 1 Reply Last reply
                                  0
                                  • ? A Former User

                                    Auf einem RaspBerry Pi 4 4GB mit Rasbian hat mir diese Anlietung geholfen.

                                    Quelle: https://simonhearne.com/2020/pi-influx-grafana/

                                    Step 3: Install Grafana§
                                    Again we need to add the Grafana packages to apt:

                                    wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
                                    echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                                    We can now update and install the binaries:

                                    sudo apt update && sudo apt install -y grafana
                                    Then simply enable the service and set to run at boot:

                                    sudo systemctl unmask grafana-server.service
                                    sudo systemctl start grafana-server
                                    sudo systemctl enable grafana-server.service
                                    Now we can check that grafana is up by loading it in a browser: http://<ipaddress>:3000. If so, you can log in with the username and password = admin and set a new admin password.

                                    Dominik F.D Offline
                                    Dominik F.D Offline
                                    Dominik F.
                                    wrote on last edited by
                                    #42

                                    @Paul-OL

                                    Vielen Dank für deine Antwort. Grafana läuft mittlerweile bei mir und bin hardwaremäßig auch vom raspberry weg zu einem "nuc"

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    567

                                    Online

                                    32.4k

                                    Users

                                    81.5k

                                    Topics

                                    1.3m

                                    Posts
                                    Community
                                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                    ioBroker Community 2014-2025
                                    logo
                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Home
                                    • Recent
                                    • Tags
                                    • Unread 0
                                    • Categories
                                    • Unreplied
                                    • Popular
                                    • GitHub
                                    • Docu
                                    • Hilfe