Hello, I’ve setup Grafana in my work environment successfully, so we can monitor various physical severs and containers. But others are getting an error web page when trying to access the web UI.
I’m currently running Grafana with Prometheus and Prometheus Node Exporter from RHEL 8 workstation with Podman v3.4.2. We are not using a Reverse Proxy.
I’m able to login into Grafana successfully from my workstation, able to import a few dashboards and monitor two of our physical servers. Going good so far.
When I send out the URL for the web UI (using Firefox that came with RHEL 8), other users are getting the following when trying to access it:
If you’re seeing this Grafana has failed to load its application files
This could be caused by your reverse proxy settings.
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.
IF you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build
Sometimes restarting grafana-serve can help
Check if you are using a non-supported browser. For more information, refer to the list of supported browsers.
This is the command I used to run the Grafana container:
sudo podman run -dit --name grafana --net podman -p 3000:3000 --privileged
-v /etc/grafana/grafana.ini:/etc/grafana/grafana.ini:Z
-v grafana-storage:/var/lib/grafana:Z
docker.io/grafana/grafana:latest
I’ve made the following changes to the /etc/grafana/grafana.ini
domain = FQDN (of the workstation I’m working from daily)
serve_from_sub_path = true
Restarted the container and same result as before.
To test, I’ve downloaded an httpd image (Apache), launched a container from my workstation, and from a remote workstation able to access the Test Page, so I know I can reach web content being served up from my Workstation remotely.
thanks