Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. "Unauthorized" Meldung beim Sign in in Grafana

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    "Unauthorized" Meldung beim Sign in in Grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wibear @Ro75 last edited by

      @ro75

       systemctl status grafana-server
      ● grafana-server.service - Grafana instance
           Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendo>
           Active: failed (Result: exit-code) since Sat 2024-10-19 16:17:44 CEST; 7mi>
             Docs: http://docs.grafana.org
          Process: 9362 ExecStart=/usr/share/grafana/bin/grafana server --config=${CO>
         Main PID: 9362 (code=exited, status=1/FAILURE)
              CPU: 412ms
      
      Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Scheduled resta>
      Oct 19 16:17:44 iobroker-pi systemd[1]: Stopped Grafana instance.
      Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Start request r>
      Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Failed with res>
      Oct 19 16:17:44 iobroker-pi systemd[1]: Failed to start Grafana instance.
      lines 1-13/13 (END)
      ● grafana-server.service - Grafana instance
           Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
           Active: failed (Result: exit-code) since Sat 2024-10-19 16:17:44 CEST; 7min ago
             Docs: http://docs.grafana.org
          Process: 9362 ExecStart=/usr/share/grafana/bin/grafana server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packagi>
         Main PID: 9362 (code=exited, status=1/FAILURE)
              CPU: 412ms
      
      Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
      Oct 19 16:17:44 iobroker-pi systemd[1]: Stopped Grafana instance.
      Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Start request repeated too quickly.
      Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Failed with result 'exit-code'.
      Oct 19 16:17:44 iobroker-pi systemd[1]: Failed to start Grafana instance.
      
      
      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @wibear last edited by

        @wibear warum ist da alles abgeschnitten?

        W 1 Reply Last reply Reply Quote 0
        • W
          wibear @Homoran last edited by

          @homoran

          Ist es besser?

          wibear@iobroker-pi:~ $ systemctl status grafana-server
          ● grafana-server.service - Grafana instance
               Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
               Active: failed (Result: exit-code) since Sat 2024-10-19 16:17:44 CEST; 10min ago
                 Docs: http://docs.grafana.org
              Process: 9362 ExecStart=/usr/share/grafana/bin/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} cfg:default.paths.>
             Main PID: 9362 (code=exited, status=1/FAILURE)
                  CPU: 412ms
          
          Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
          Oct 19 16:17:44 iobroker-pi systemd[1]: Stopped Grafana instance.
          Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Start request repeated too quickly.
          Oct 19 16:17:44 iobroker-pi systemd[1]: grafana-server.service: Failed with result 'exit-code'.
          Oct 19 16:17:44 iobroker-pi systemd[1]: Failed to start Grafana instance.
          
          
          1 Reply Last reply Reply Quote 0
          • Ro75
            Ro75 last edited by

            @wibear sagte in "Unauthorized" Meldung beim Sign in in Grafana:

            grafana-server.service: Start request repeated too quickly.

            schaue mal hier. Da wurde das Problem schon einmal besprochen.

            Ro75.

            W 1 Reply Last reply Reply Quote 0
            • W
              wibear @Ro75 last edited by

              @ro75 sagte in "Unauthorized" Meldung beim Sign in in Grafana:

              Da wurde das Problem schon einmal besprochen.

              Ich habe die Datei /lib/systemd/system/grafana-server.service mit meiner verglichen: identisch.
              Mehr konnte ich dem Beitrag nicht entnehmen.

              Ro75 1 Reply Last reply Reply Quote 0
              • Ro75
                Ro75 @wibear last edited by

                @wibear dann hätte ich außer einem kompletten Neuanfang (Installation Debian12) - wäre auch die beste Option, nur noch eine Idee.

                1. sichere die Datei "/var/lib/grafana/grafana.db"
                2. Entferne Grafana von deinem System
                3. Installiere Grafana komplett neu
                4. Starte Grafana und schaue ob du wieder zur Anmeldung kommst

                Wenn ja dann ab hier weiter

                1. Stoppe Grafana
                2. Kopiere die Datei unter Punkt 1 zurück und gib dieser Datei die Rechte von der existierenden
                3. Starte Grafana neu.

                Ro75.

                W 1 Reply Last reply Reply Quote 0
                • W
                  wibear @Ro75 last edited by

                  @ro75

                  Es kommt ein Fehler beim Versuch runterzuladen:

                  519aad07-9ed9-4ef3-add1-5ab4c444ee20-grafik.png

                  Ro75 1 Reply Last reply Reply Quote 0
                  • Ro75
                    Ro75 @wibear last edited by

                    @wibear was hast du denn immer mit dem "Berechtigungsfenster"? Mit welchen Account loggst du dich den via Filezilla ein?

                    Ro75.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      wibear @Ro75 last edited by

                      @ro75 sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                      Mit welchen Account loggst du dich den via Filezilla ein?

                      Mit dem Account, mit dem ich mich über die Console anmelde.

                      Ro75 1 Reply Last reply Reply Quote 0
                      • Ro75
                        Ro75 @wibear last edited by

                        @wibear sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                        Mit dem Account, mit dem ich mich über die Console anmelde.

                        Alles klar, damit kann ich nichts anfangen? Root? pi? iobroker? klaus?

                        Ro75.

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          wibear @Ro75 last edited by

                          @ro75 sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                          Root? pi? iobroker? klaus?

                          es ist der einzige User, den ich bei der Installation angelegt habe. Müsste eigentlich root sein.

                          Ro75 1 Reply Last reply Reply Quote 0
                          • Ro75
                            Ro75 @wibear last edited by

                            @wibear genau. Die Rechte, Eigentümer, Gruppe stimmen nicht.

                            f226ad9f-e10f-4b6f-b341-9eac028fb376-image.png

                            Bei dir ist es root/grafana und 0640. Da passt was überhaupt nicht. Hast du von Grafana via Backitup eine Sicherung die OK ist? Wenn ja, setze neu auf.

                            Und nix mir Root in Zukunft.

                            Ro75.

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              wibear @Ro75 last edited by

                              @ro75 sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                              Hast du von Grafana via Backitup eine Sicherung die OK ist?

                              Die Sicherung wurde mit OK geladen, hat aber nichts gebracht.
                              Ich versuche Grafana neu zu installieren, wie Du zuvor vorgeschlagen hast.

                              Ro75 1 Reply Last reply Reply Quote 0
                              • Ro75
                                Ro75 @wibear last edited by

                                @wibear sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                                Die Sicherung wurde mit OK geladen, hat aber nichts gebracht.

                                Das ist gut. Mir ging es nur darum, ob in gepackten Datei auch was drin ist.

                                Ro75.

                                1 Reply Last reply Reply Quote 0
                                • W
                                  wibear @Thomas Braun last edited by

                                  @thomas-braun
                                  Hallo Thomas, ich benutze momentan eine SSD und versuche jetzt auf einer SD dieses Update auf 64-bit auf einem Raspi 4B mit einem Image für Bookworm Lite mittels Raspberry Pi Imager durchzuspielen. Dafür klemme ich die SSD ab und versuche es mit der SD zu booten. Der Raspi bootet aber nicht und die beiden LEDs vorne rot und grün leuchten permanent. Woran könnte es bitte liegen. Danke und Grüße

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

                                    @wibear sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                                    Der Raspi bootet aber nicht und die beiden LEDs vorne rot und grün leuchten permanent. Woran könnte es bitte liegen.

                                    An der Boot-Reihenfolge. Kann man z. B. in

                                    sudo raspi-config
                                    

                                    einstellen.

                                    W 1 Reply Last reply Reply Quote 0
                                    • W
                                      wibear @Thomas Braun last edited by

                                      @thomas-braun sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                                      An der Boot-Reihenfolge.

                                      Die Boot-Reihenfolge wurde noch mit der SSD so eingestellt: zuerst SD, danach SSD. Ich komme aber jetzt überhaupt nicht an Raspi ran??

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

                                        @wibear Dann klemm die SSD an und kontrollier es.

                                        W 2 Replies Last reply Reply Quote 0
                                        • W
                                          wibear @Thomas Braun last edited by

                                          @thomas-braun sagte in "Unauthorized" Meldung beim Sign in in Grafana:

                                          Dann klemm die SSD an und kontrollier es.

                                          Die Reihenfolge scheint richtig zu sein...

                                          785a2cdc-d7fa-4565-bbdb-1039c5de9d3e-grafik.png

                                          Ro75 1 Reply Last reply Reply Quote 0
                                          • Ro75
                                            Ro75 @wibear last edited by

                                            @wibear SSD an USB2 oder USB3 angeschlossen? Manche Controller laufen nur sauber über USB2-Anschluss

                                            Ro75.

                                            W 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            835
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            123
                                            5174
                                            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