maybe the newlines in this file got mangled by e.g. editing it from a Windows machine or something like that? You could easily try to extract this file from the original package you have been installing Grafana from, right?
i completely uninstalled and re installed Grafana to get it up and running.
I modified the file on a Windows machine. I will try it one more time and edit it on a Linux.
Will keep you updated. I didn’t thought to exchange a text & picture is that hard ….
Not sure if im correct in this thread, but hopefully somebody could help me?
I was tasked to add an url to our grafana server and I just can’t get it to work.
I also slightly edited the .js file for the login-page but I highly doubt that this is my problem.
Sadly I’m very new to nginx and this URL-stuff in general.
Im getting the same error-message when I open my URL, It only works by including the port.
so:
http:// mynewdomain. de:3000 << works
http:// xx.xxx.xx.xxx:3000 << (static IPv4) works
http:// mynewdomain. de << gets me the above mentioned error message
http:// xx.xxx.xx.xxx << (static IPv4) gets me the above mentioned error message
Grafana v8.2.4 (d409b0ca16) OSS running on a Linux VPS, installed via
#################################### Server ####################################
[server]
# Protocol (http, https, h2, socket)
protocol = http
# The ip address to bind to, empty will bind to all interfaces
http_addr =
# The http port o use
http_port = 3000
# The public facing domain name used to access grafana from a browser
domain = mynewdomain.de
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = true
# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
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 (SSL TODO!)
;cert_file = /etc/grafana/grafana.key
;cert_key = /etc/grafana/grafana.key
# Unix socket path
;socket =
This is what the console says about the errors, I just cant explain myself why it does that. All the .js files are reachable when I just open for example http://mynewdomain.de/public/build/runtime.e5180647aa9f27ba6de7.js