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 per Browser nicht mehr erreichbar

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Grafana per Browser nicht mehr erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • MartinP
      MartinP @gmt94 last edited by

      @gmt94 Stimmt denn die IP-Adresse noch? Nicht, dass z.B. das Lesezeichen auf eine falsche IP verweist ...

      Ansonsten in

      /var/log/grafana/grafana.log

      Nachschauen, ob sich etwas Auffälliges findet ...

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

        @gmt94 sagte in Grafana per Browser nicht mehr erreichbar:

        Hab dann per SSH Grafana wieder gelöscht und neuinstalliert

        wie bzw mit welchen Befehlen?
        entscheidend ist das löschen, den "einfaches" löschen, entfernt nur grafana, nicht aber die config

        G 1 Reply Last reply Reply Quote 0
        • G
          gmt94 @MartinP last edited by

          @martinp said in Grafana per Browser nicht mehr erreichbar:

          /var/log/grafana/grafana.log

          da kommt das hier:

          Henning@Henning:~ $ /var/log/grafana/grafana.log
          -bash: /var/log/grafana/grafana.log: Permission denied
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • G
            gmt94 @crunchip last edited by

            @crunchip

            ich habe das hier im Internet gefunden:

            sudo apt-get remove --auto-remove grafana
            sudo apt-get purge --auto-remove grafana
            sudo apt-get autoclean
            sudo apt-get autoremove
            

            was wären die Befehle um Grafana komplett vom System zu bekommen?

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

              @gmt94 ja ist ok, würde auch so reichen

              sudo apt-get remove --purge grafana
              sudo apt-get autoremove
              

              was sagt denn der grafana status?

              sudo systemctl status grafana-server
              
              G 1 Reply Last reply Reply Quote 0
              • G
                gmt94 @crunchip last edited by

                @crunchip said in Grafana per Browser nicht mehr erreichbar:

                sudo systemctl status grafana-server

                Da kommt failed:

                The programs included with the Debian GNU/Linux system are free software;
                the exact distribution terms for each program are described in the
                individual files in /usr/share/doc/*/copyright.
                
                Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                permitted by applicable law.
                Last login: Sat Dec 14 12:50:58 2024 from 192.168.178.15
                
                Wi-Fi is currently blocked by rfkill.
                Use raspi-config to set the country before use.
                
                Henning@Henning:~ $ sudo systemctl status grafana-server
                × grafana-server.service - Grafana instance
                     Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; prese>
                     Active: failed (Result: exit-code) since Sat 2024-12-14 13:15:06 CET; 8min>
                   Duration: 111ms
                       Docs: http://docs.grafana.org
                    Process: 3663 ExecStart=/usr/share/grafana/bin/grafana server --config=${CO>
                   Main PID: 3663 (code=exited, status=1/FAILURE)
                        CPU: 141ms
                
                Dec 14 13:15:06 Henning systemd[1]: grafana-server.service: Scheduled restart j>
                Dec 14 13:15:06 Henning systemd[1]: Stopped grafana-server.service - Grafana in>
                Dec 14 13:15:06 Henning systemd[1]: grafana-server.service: Start request repea>
                Dec 14 13:15:06 Henning systemd[1]: grafana-server.service: Failed with result >
                Dec 14 13:15:06 Henning systemd[1]: Failed to start grafana-server.service - Gr>
                lines 1-14/14 (END)
                
                
                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @gmt94 last edited by

                  @gmt94

                  Mach das Mäusekino mal auf Breitformat.
                  Dann sieht man auch mehr von den Meldugen.

                  G 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @gmt94 last edited by

                    @gmt94 sagte in Grafana per Browser nicht mehr erreichbar:

                    Da kommt failed:

                    erst später!

                    Das dazwischen ist alles abgeschnitten

                    1 Reply Last reply Reply Quote 0
                    • G
                      gmt94 @Thomas Braun last edited by

                      @thomas-braun

                      sorry, jetzt auch gesehen:

                      
                      Henning@Henning:~ $ sudo systemctl status grafana-server
                      × grafana-server.service - Grafana instance
                           Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; preset: enabled)
                           Active: failed (Result: exit-code) since Sat 2024-12-14 13:30:29 CET; 17min ago
                         Duration: 121ms
                             Docs: http://docs.grafana.org
                          Process: 4521 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:d>
                         Main PID: 4521 (code=exited, status=1/FAILURE)
                              CPU: 147ms
                      
                      Dec 14 13:30:29 Henning systemd[1]: grafana-server.service: Main process exited, code=exited, status=1/FAILURE
                      Dec 14 13:30:29 Henning systemd[1]: grafana-server.service: Failed with result 'exit-code'.
                      Dec 14 13:30:29 Henning systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
                      Dec 14 13:30:29 Henning systemd[1]: Stopped grafana-server.service - Grafana instance.
                      Dec 14 13:30:29 Henning systemd[1]: grafana-server.service: Start request repeated too quickly.
                      Dec 14 13:30:29 Henning systemd[1]: grafana-server.service: Failed with result 'exit-code'.
                      Dec 14 13:30:29 Henning systemd[1]: Failed to start grafana-server.service - Grafana instance.
                      lines 1-16/16 (END)
                      
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @gmt94 last edited by

                        @gmt94

                        Da wird der Service zu schnell versucht wieder herzustellen.
                        Das kann eine Folge von falschen Token / Passworten sein.
                        Dann startet der nämlich durch und ein Neustart wird versucht.

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          gmt94 @Thomas Braun last edited by

                          @thomas-braun

                          und wie kann ich das unterbinden oder reparieren?

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

                            @gmt94 sagte in Grafana per Browser nicht mehr erreichbar:

                            Henning@Henning:~ $ /var/log/grafana/grafana.log
                            -bash: /var/log/grafana/grafana.log: Permission denied

                            less /var/log/grafana/grafana.log
                            

                            wäre ein richtiges Kommando an der Stelle.

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              gmt94 @Thomas Braun last edited by

                              @thomas-braun said in Grafana per Browser nicht mehr erreichbar:

                              less /var/log/grafana/grafana.log

                              Henning@Henning:~ $ less /var/log/grafana/grafana.log
                              /var/log/grafana/grafana.log: Permission denied
                              Henning@Henning:~ $
                              
                              
                              MartinP 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @gmt94 last edited by

                                @gmt94 sagte in Grafana per Browser nicht mehr erreichbar:

                                und wie kann ich das unterbinden oder reparieren?

                                Richtiges PW verwenden (wenn es denn an den Credentials liegt)

                                G 1 Reply Last reply Reply Quote 0
                                • MartinP
                                  MartinP @gmt94 last edited by

                                  @gmt94 dass die Grafana log files von einem normalen User nicht gelesen dürfen ist merkwürdig.
                                  Versuche es mal mit vorangestelltem sudo

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    gmt94 @MartinP last edited by

                                    @martinp

                                    Henning@Henning:~ $ sudo less /var/log/grafana/grafana.log
                                    logger=settings t=2024-12-14T11:42:28.980263952+01:00 level=info msg="Starting Grafana" version=11.2.0 commit=c57667e4481563f5e6cf945b03bc0626caa4dbeb branch=HEAD compiled=2024-12-14T11:42:28+01:00
                                    logger=settings t=2024-12-14T11:42:28.980816251+01:00 level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini
                                    logger=settings t=2024-12-14T11:42:28.980858548+01:00 level=info msg="Config loaded from" file=/etc/grafana/grafana.ini
                                    logger=settings t=2024-12-14T11:42:28.980869288+01:00 level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana"
                                    logger=settings t=2024-12-14T11:42:28.980878807+01:00 level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana"
                                    logger=settings t=2024-12-14T11:42:28.98088664+01:00 level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins"
                                    logger=settings t=2024-12-14T11:42:28.980894752+01:00 level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning"
                                    logger=settings t=2024-12-14T11:42:28.980903381+01:00 level=info msg=Target target=[all]
                                    logger=settings t=2024-12-14T11:42:28.980925752+01:00 level=info msg="Path Home" path=/usr/share/grafana
                                    logger=settings t=2024-12-14T11:42:28.980933085+01:00 level=info msg="Path Data" path=/var/lib/grafana
                                    logger=settings t=2024-12-14T11:42:28.980940363+01:00 level=info msg="Path Logs" path=/var/log/grafana
                                    logger=settings t=2024-12-14T11:42:28.980947733+01:00 level=info msg="Path Plugins" path=/var/lib/grafana/plugins
                                    logger=settings t=2024-12-14T11:42:28.98100553+01:00 level=info msg="Path Provisioning" path=/etc/grafana/provisioning
                                    logger=settings t=2024-12-14T11:42:28.981014345+01:00 level=info msg="App mode production"
                                    logger=featuremgmt t=2024-12-14T11:42:28.981466069+01:00 level=info msg=FeatureToggles lokiQueryHints=true alertingNoDataErrorExecution=true prometheusDataplane=true topnav=true prometheusConfigOverhaulAuth=true logsContextDatasourceUi=true addFieldFromCalculationStatFunctions=true logsExploreTableVisualisation=true annotationPermissionUpdate=true recordedQueriesMulti=true managedPluginsInstall=true dashgpt=true alertingSimplifiedRouting=true angularDeprecationUI=true nestedFolders=true prometheusAzureOverrideAudience=true transformationsRedesign=true recoveryThreshold=true cloudWatchRoundUpEndTime=true lokiStructuredMetadata=true transformationsVariableSupport=true groupToNestedTableTransformation=true dataplaneFrontendFallback=true prometheusMetricEncyclopedia=true awsAsyncQueryCaching=true logsInfiniteScrolling=true formatString=true logRowsPopoverMenu=true correlations=true exploreMetrics=true tlsMemcached=true panelMonitoring=true publicDashboards=true influxdbBackendMigration=true ssoSettingsApi=true cloudWatchNewLabelParsing=true alertingInsights=true cloudWatchCrossAccountQuerying=true lokiMetricDataplane=true autoMigrateXYChartPanel=true lokiQuerySplitting=true kubernetesPlaylists=true
                                    logger=sqlstore t=2024-12-14T11:42:28.981636774+01:00 level=info msg="Connecting to DB" dbtype=sqlite3
                                    logger=sqlstore t=2024-12-14T11:42:28.981669422+01:00 level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db
                                    logger=migrator t=2024-12-14T11:42:28.984510714+01:00 level=info msg="Locking database"
                                    logger=migrator t=2024-12-14T11:42:28.984566955+01:00 level=info msg="Starting DB migrations"
                                    logger=migrator t=2024-12-14T11:42:28.985813369+01:00 level=info msg="Executing migration" id="create migration_log table"
                                    logger=migrator t=2024-12-14T11:42:28.988262455+01:00 level=info msg="Migration successfully executed" id="create migration_log table" duration=2.446456ms
                                    logger=migrator t=2024-12-14T11:42:28.994678727+01:00 level=info msg="Executing migration" id="create user table"
                                    logger=migrator t=2024-12-14T11:42:28.996875479+01:00 level=info msg="Migration successfully executed" id="create user table" duration=2.195715ms
                                    logger=migrator t=2024-12-14T11:42:29.00007505+01:00 level=info msg="Executing migration" id="add unique index user.login"
                                    logger=migrator t=2024-12-14T11:42:29.001292001+01:00 level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.218414ms
                                    logger=migrator t=2024-12-14T11:42:29.005608041+01:00 level=info msg="Executing migration" id="add unique index user.email"
                                    logger=migrator t=2024-12-14T11:42:29.006858899+01:00 level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.251839ms
                                    logger=migrator t=2024-12-14T11:42:29.009465189+01:00 level=info msg="Executing migration" id="drop index UQE_user_login - v1"
                                    logger=migrator t=2024-12-14T11:42:29.010295879+01:00 level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=831.004µs
                                    logger=migrator t=2024-12-14T11:42:29.016269779+01:00 level=info msg="Executing migration" id="drop index UQE_user_email - v1"
                                    logger=migrator t=2024-12-14T11:42:29.017043171+01:00 level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=773.207µs
                                    logger=migrator t=2024-12-14T11:42:29.019526258+01:00 level=info msg="Executing migration" id="Rename table user to user_v1 - v1"
                                    logger=migrator t=2024-12-14T11:42:29.022404809+01:00 level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.876588ms
                                    logger=migrator t=2024-12-14T11:42:29.025288416+01:00 level=info msg="Executing migration" id="create user table v2"
                                    logger=migrator t=2024-12-14T11:42:29.026734701+01:00 level=info msg="Migration successfully executed" id="create user table v2" duration=1.445748ms
                                    logger=migrator t=2024-12-14T11:42:29.02972879+01:00 level=info msg="Executing migration" id="create index UQE_user_login - v2"
                                    logger=migrator t=2024-12-14T11:42:29.030753554+01:00 level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.026264ms
                                    logger=migrator t=2024-12-14T11:42:29.0333339+01:00 level=info msg="Executing migration" id="create index UQE_user_email - v2"
                                    logger=migrator t=2024-12-14T11:42:29.034199608+01:00 level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=865.486µs
                                    logger=migrator t=2024-12-14T11:42:29.036884585+01:00 level=info msg="Executing migration" id="copy data_source v1 to v2"
                                    logger=migrator t=2024-12-14T11:42:29.037544273+01:00 level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=658.744µs
                                    logger=migrator t=2024-12-14T11:42:29.040558918+01:00 level=info msg="Executing migration" id="Drop old table user_v1"
                                    logger=migrator t=2024-12-14T11:42:29.04135607+01:00 level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=797.319µs
                                    logger=migrator t=2024-12-14T11:42:29.044195213+01:00 level=info msg="Executing migration" id="Add column help_flags1 to user table"
                                    logger=migrator t=2024-12-14T11:42:29.045865592+01:00 level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.669638ms
                                    logger=migrator t=2024-12-14T11:42:29.048629254+01:00 level=info msg="Executing migration" id="Update user table charset"
                                    logger=migrator t=2024-12-14T11:42:29.048692606+01:00 level=info msg="Migration successfully executed" id="Update user table charset" duration=65.316µs
                                    /var/log/grafana/grafana.log
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gmt94 @Thomas Braun last edited by

                                      @thomas-braun

                                      ja okay, wo soll ich das richtige PW eingeben? Sorry ich stehe da gerade auf dem Schlauch

                                      Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @gmt94 last edited by

                                        @gmt94 sagte in Grafana per Browser nicht mehr erreichbar:

                                        wo soll ich das richtige PW eingeben?

                                        Keine Ahnung. Ich verwende kein grafana.

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

                                          @gmt94 lösch doch nochmal grafana, vllt hatte es vorhin nicht funktioniert und die fehlerhafte config, bzw Datenbank war noch vorhanden, dann kommt ebenfalls die Meldung

                                          @gmt94 sagte in Grafana per Browser nicht mehr erreichbar:

                                          Start request repeated too quickly.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            gmt94 @crunchip last edited by

                                            @crunchip

                                            Probiere ich nachher nochmal wenn ich wieder zuhause bin.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            558
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            25
                                            670
                                            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