grafana package doesn't work; blank page and errors in console

Bug #1883979 reported by Nathan Dorfman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

I installed a recent Raspbian Lite image on an OG Raspberry Pi 1 Model B Rev 2. After an apt update/upgrade and install --no-install-recommends grafana, navigating to http://<host>:3000/ shows a blank page, with both firefox-esr and chromium from a nearby Debian buster machine. Some errors can be seen in the browser's development console.[1]

I used the --no-install-recommends flag because the Recommended phantomjs package wants to pull in all of X11, for a total of >1GB. The only other Recommended package is libjs-common, which I tried installing manually after the fact; that didn't seem to have any effect.

I couldn't find any grafana package in https://packages.debian.org/index so I guess it must be Raspbian-specific?

[1]: Requesting search results.. search_results.js:1:9
TypeError: window.jQuery.event.props is undefined draganddrop.js:25:9
    Angular 2
        <anonymous>
        <anonymous>
Error: [$injector:modulerr] Failed to instantiate module ang-drag-drop due to:
[$injector:nomod] Module 'ang-drag-drop' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.3/$injector/nomod?p0=ang-drag-drop
minErr/<@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:68:12
module/<@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:1958:17
ensure@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:1882:38
module@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:1956:14
loadModules/<@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:4362:22
forEach@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:336:20
loadModules@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:4346:5
createInjector@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:4272:11
doBootstrap@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:1630:20
bootstrap@http://reade:3000/public/vendor/angular/angular.js?bust=1592429714642:1651:12
app.boot/</<@http://reade:3000/public/app/app.js?bust=1592429714642:85:19
mightThrow@http://reade:3000/public/vendor/jquery/dist/jquery.js?bust=1592429714642:3535:29
resolve/</process<@http://reade:3000/public/vendor/jquery/dist/jquery.js?bust=1592429714642:3603:12

http://errors.angularjs.org/1.4.3/$injector/modulerr?p0=ang-…ery%2Fdist%2Fjquery.js%3Fbust%3D1592429714642%3A3603%3A12%0A angular.js:68:12
    Angular 7
        minErr
        loadModules
        forEach
        loadModules
        createInjector
        doBootstrap
        bootstrap
    boot http://reade:3000/public/app/app.js?bust=1592429714642:85
    jQuery 2
        mightThrow
        process

Revision history for this message
peter green (plugwash) wrote :

I don't believe we have modified it, it looks like it was previously in Debian but was removed.

We don't automatically propagate removals from Debian to Raspbian, we probablly should but I haven't got around to figuring out the details (dependency issues mean we don't want to do it blindly). I have now removed.

I have now removed the package from raspbian buster and bullseye.

Revision history for this message
Nathan Dorfman (ndorf) wrote :

OK, thanks. Not exactly the resolution I was hoping for, but a quick resolution nonetheless :)

Revision history for this message
Nathan Dorfman (ndorf) wrote :

In case anyone is interested: https://bugs.debian.org/835210

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.