I just installed Grafana for the first time (2.6.0, Debian “unstable” package) and I get only a blank screen (solid black on Firefox, solid white on Chrome) when visiting the home page.
I activated router_logging = true and I see that HTTP requests seem OK:
At the end of http://docs.grafana.org/troubleshooting/, I noticed “When you load Grafana and all you get is a blank white page then you probably have a javascript syntax error in config.js” But I did’n touch this file at all, it is still the stock one:
define([
'app/core/settings',
],
function (Settings) {
"use strict";
var bootData = window.grafanaBootData || { settings: {} };
var options = bootData.settings;
return new Settings(options);
});
Looks like a typical JS dependency mess. Can you check if your JavaScript dependencies are configured hard in your package or is there “yarn install” or “npm install” happenning on the way?
Why such an old release? Did you download it from our official releases? There is a broken, very old, unofficiall package in a Debian repo I think, don’t use it, use our official Deb release or our apt repo
It’s the one in Debian official “unstable” (the most up-to-date). I do not manage only Grafana, but also other programs, and it is important for me that there are installed as packages, upgradeable, etc. Installing many things from many different places work immediately, but is sure to break later.
Hi I tried to add the repo as described but it doesn’t work:
~# add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster