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 nicht mehr

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Grafana startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • Almixx
      Almixx @Marc Berg last edited by Almixx

      wie bekommt man das wieder repariert?

      pi@Raspi64:~ $ sudo grep -n "http, https, h2, socket" /usr/share/grafana/conf/defaults.ini
      41:http, https, h2, socket)
      pi@Raspi64:~ $ ls -la /usr/share/grafana/conf/defaults.ini*
      -rw-r--r-- 1 root root 90084  9. Okt 09:30 /usr/share/grafana/conf/defaults.ini
      
      Marc Berg Thomas Braun 2 Replies Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Almixx last edited by

        @almixx sagte in Grafana startet nicht mehr:

        1. Okt 09:30

        ja, hast du nicht nur geschaut, sondern heute geändert.

        Entweder Sicherung der Datei einspielen, oder die default.ini komplett zeigen, wie @Thomas-Braun schon schreibt.

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

          @almixx

          wie bekommt man das wieder repariert?

          Dazu müsste man sehen, was du da mit (zum 'nur gucken' vollkommen unnötigen) root-Rechten verbogen hast.

          1 Reply Last reply Reply Quote 0
          • Almixx
            Almixx @Marc Berg last edited by Almixx

            @marc-berg wie bekomme ich denn alles unter Putty makiert, so dass ich das hier einfügen kann?

            Marc Berg 1 Reply Last reply Reply Quote 0
            • Marc Berg
              Marc Berg Most Active @Almixx last edited by

              @almixx sagte in Grafana startet nicht mehr:

              @marc-berg wie bekomme ich denn alles unter Putty makiert, so dass ich da einfügen kann?

              Für den Anfang reicht vielleicht die Zeile 41, in der "http, https, h2, socket)" steht, und ein paar Zeilen darüber und darunter

              Almixx 1 Reply Last reply Reply Quote 0
              • Almixx
                Almixx @Marc Berg last edited by

                @marc-berg

                # Protocol (
                http, https, h2, socket)
                protocol = http
                
                # Minimum TLS version allowed. By default, this value is empty. Accepted values are: TLS1.2, TLS1.3. If nothing is set TLS1.2 would be taken
                min_tls_version = ""
                
                # The ip address to bind to, empty will bind to all interfaces
                http_addr =
                
                # The http port to use
                http_port = 3000
                
                # The public facing domain name used to access grafana from a browser
                domain = localhost
                
                # Redirect to correct domain if host header does not match domain
                # Prevents DNS rebinding attacks
                enforce_domain = false
                
                # The full public facing url
                root_url = %(protocol)s://%(domain)s:%(http_port)s/
                
                # Serve Grafana from subpath specified in `root_url` setting. By default it is set to `false` for compatibility reasons.
                serve_from_sub_path = false
                
                # Log web requests
                router_logging = false
                
                # the path relative working path
                static_root_path = public
                
                # enable gzip
                enable_gzip = false
                
                # https certs & key file
                cert_file =
                cert_key =
                cert_pass =
                
                # Certificates file watch interval
                certs_watch_interval =
                
                # Unix socket gid
                # Changing the gid of a file without privileges requires that the target group is in the group of the process and that the process is the file owner
                # It is recommended to set the gid as http server user gid
                # Not set when the value is -1
                socket_gid = -1
                
                # Unix socket mode
                socket_mode = 0660
                
                # Unix socket path
                socket = /tmp/grafana.sock
                
                # CDN Url
                cdn_url =
                
                # Sets the maximum time in minutes before timing out read of an incoming request and closing idle connections.
                # `0` means there is no timeout for reading the request.
                read_timeout = 0
                
                
                Marc Berg Thomas Braun 3 Replies Last reply Reply Quote 0
                • Marc Berg
                  Marc Berg Most Active @Almixx last edited by Marc Berg

                  @almixx sagte in Grafana startet nicht mehr:

                  Protocol (

                  Da hast Du einen Zeilenumbruch reingebaut:

                  # Protocol (
                  http, https, h2, socket)
                  

                  Mach daraus:

                  # Protocol (http, https, h2, socket)
                  
                  1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Almixx last edited by Thomas Braun

                    @almixx sagte in Grafana startet nicht mehr:

                    Ist jetzt nur geraten, aber richtig wird das wohl so aussehen müssen:

                    # Protocol (http, https, h2, socket)
                    protocol = http
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Almixx last edited by

                      @almixx

                      Der Fall ist übrigens ein Paradebeispiel dafür, dass man nur mit den minimalst erforderlichen Rechten unterwegs ist.
                      Die Datei kann mit den Rechten jeder anschauen.

                      -rw-r--r-- 1 root root 90084  9. Okt 09:30 /usr/share/grafana/conf/defaults.ini
                      

                      Wenn du da mit deinem Standarduser agiert hättest wäre der Zeilenumbruch auch nie an dieser Stelle geschrieben worden.

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

                        @thomas-braun
                        🤷‍♂️ habe davon nicht soviel Ahnung...

                        geht wieder, vielen vielen Dank!!!!

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

                          @almixx sagte in Grafana startet nicht mehr:

                          habe davon nicht soviel Ahnung...

                          Ich aber...
                          Verwende sudo usw. nur in Fällen, in denen es auch erforderlich ist.
                          Das System sagt dir schon, wenn deine Rechte nicht ausreichen.

                          1 Reply Last reply Reply Quote 2
                          • Almixx
                            Almixx @Almixx last edited by Almixx

                            @Thomas-Braun @Marc-Berg
                            Nachwievor lassen sich die neu erstellten Panel's nicht in IOB integrieren. Habt ihr da vlt. auch ne Idee?

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            831
                            Online

                            32.2k
                            Users

                            80.9k
                            Topics

                            1.3m
                            Posts

                            grafana influxdb2 iobroker
                            3
                            18
                            106
                            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