Package Details: grafana-bin 7.1.1-1

Git Clone URL: https://aur.archlinux.org/grafana-bin.git (read-only, click to copy)
Package Base: grafana-bin
Description: A general purpose dashboard and graph composer. It supports graphite, influxdb or opentsdb - binary version
Upstream URL: http://grafana.org
Licenses: Apache
Conflicts: grafana
Provides: grafana
Submitter: wzyboy
Maintainer: wzyboy (erkexzcx)
Last Packager: wzyboy
Votes: 7
Popularity: 0.028635
First Submitted: 2016-03-16 04:52
Last Updated: 2020-08-02 19:39

Dependencies (0)

Required by (8)

Sources (5)

Latest Comments

1 2 3 4 Next › Last »

erkexzcx commented on 2020-05-19 10:27

New major version 7.0.0 is out!

From packager's perspective, I had to perform a small change:

-  cp -r public scripts tools "$pkgdir/usr/share/grafana/"
+  cp -r public scripts plugins-bundled "$pkgdir/usr/share/grafana/"

but everything seem to work fine on my RPI4. If you notice any issues, especially with plugins, please let me know.

You will also need to perform these commands after each update in order to update manually installed plugins:

# grafana-cli plugins update-all
# systemctl restart grafana.service

ref: https://grafana.com/docs/grafana/latest/installation/upgrading/

erkexzcx commented on 2020-04-23 15:54

Somehow /var/log/grafana/grafana.log was owned by dhcpcd:dhcpcd user. Why, how and when - no idea. This fixed for me:

sudo chown -R grafana:grafana /var/log/grafana

WildOrangutan commented on 2020-04-17 19:48

@erkexzcx Managed to fix it. Was something with config and permissions. Sorry for wasting your time.

WildOrangutan commented on 2020-04-14 17:23

@erkexzcx I've tried that already, and it's not working for me. It broke a few weeks back, after updating my system. Thanks for trying to help.

erkexzcx commented on 2020-04-12 21:55

Hey @WildOrangutan. I just tested this package and was not able to reproduce. I suggest getting rid of these directories first:

rm -rf /usr/share/grafana
rm -rf /var/lib/grafana
rm -rf /var/log/grafana
rm -rf /var/logs/grafana #might not exist

then reinstall grafana-bin and try systemctl restart grafana.service. Let me know if this fixes.

WildOrangutan commented on 2020-04-12 21:31

Not really working out of the box, after fresh install

msg="Server shutdown" logger=server reason="Service init failed: Fail to connect to database: mkdir /usr/share/grafana/data: read-only file system"

erkexzcx commented on 2020-03-21 09:56

@wzyboy sorry for late reply, I must be retarded. I did not seen your message when I replied to @muesli. Using logs instead of log seemed to fix the issue for me as it didn't work with log dir during my tests.

It is all fixed and working great by now as expected.

muesli commented on 2020-03-06 10:38

Thank you, that indeed fixes my issues. Interestingly - and despite the log message seemingly indicating a different log path - this also made it start up fine again.

erkexzcx commented on 2020-03-06 10:37

Hi @muesli,

Should be fixed by now :) Most likely you will end up with this command:

# rm -r /var/logs/grafana

and likely with this too:

# rm -r /var/logs

it will now log into /var/log/grafana.

wzyboy commented on 2020-03-06 10:09

@muesli Hi, the log path change seems to be introduced by an intended commit by @erkexzcx: https://aur.archlinux.org/cgit/aur.git/commit/?h=grafana-bin&id=8d0c94c01f5d85e6b1583580c0eb147d41202ce6

@erkexzcx: Could you elaborate the reason of using /var/logs/ instead of /var/log/ ?