Issues with Grafana v7.5.17: "If you're seeing this Grafana has failed to load its application files"

Hello everyone,

I’m currently experiencing an issue with Grafana Open Source version 7.5.17 on my server. Whenever I attempt to open the visualization, I encounter the following error across multiple browsers (Edge, Firefox, Chrome), but I want to use Edge, both with HTTP and HTTPS protocols:

If you’re seeing this Grafana has failed to load its application files

The error message suggests several potential causes:

1. This could be caused by your reverse proxy settings.

2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath. If not using a reverse proxy make sure to set serve_from_sub_path to true.

3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build

4. Sometimes restarting grafana-server can help

5. Check if you are using a non-supported browser. For more information, refer to the list of supported browsers.

Has anyone else encountered this issue? Could you provide guidance on how to resolve it? Any suggestions or troubleshooting steps would be greatly appreciated.

Thank you!

I get this message usually when i have moved grafana to a different folder path or sub path, or i am trying to proxy grafana using a different folder, the settings to tweak to see if you can get it working are in the grafana.ini:

it’s usually a combination of root_url, serve_from_sub_path etc.

also if you are using nginx or apache etc. to proxy grafana on a sub folder or custom location, i had to do a rewrite like this:

rewrite ^/grafana/(.*) /$1 break;