Package Details: grafana-bin 6.6.2-3

Git Clone URL: (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:
Licenses: Apache
Conflicts: grafana
Provides: grafana
Submitter: wzyboy
Maintainer: wzyboy (erkexzcx)
Last Packager: erkexzcx
Votes: 7
Popularity: 0.83
First Submitted: 2016-03-16 04:52
Last Updated: 2020-02-21 10:15

Dependencies (0)

Required by (8)

Sources (5)

Latest Comments

1 2 3 Next › Last »

erkexzcx commented on 2020-02-21 10:24

All issues should be fixed by now.

Just a notice to other maintainers and users - there is grafana package in official repos, so you should use that package instead. This package is relevant to those who use Arch Linux on non x86_64 architectures, such as Raspberry Pi (as this is the only binary version of Grafana for them).

erkexzcx commented on 2020-02-12 23:07

Thanks. I will take a look at this AUR package during this week sometime.

wzyboy commented on 2020-02-12 23:06

@erkexzcx: I am sorry. I am busy in real life and haven't updated my own system for a while. I have made you a co-maintainer. Please help me fix this if you have time. Thanks a lot!

erkexzcx commented on 2020-02-12 13:17

If you make me a maintainer, I can help fix these issues.

erkexzcx commented on 2020-02-12 13:16

Please try to install this package on fresh system and see it yourself. Seems pretty much everything is broken and this package requires so much manual work to get it to work.

erkexzcx commented on 2020-02-12 13:12

ExecStart=/usr/bin/grafana-server --config=/etc/grafana.ini

Should be

ExecStart=/usr/bin/grafana-server --config=/etc/grafana/grafana.ini

And in overall this AUR package is broken:

Feb 12 13:10:49 homeserver systemd[1]: Started Grafana service.
Feb 12 13:10:49 homeserver grafana-server[3837]: Failed to start grafana. error: failed to create log directory "/usr/share/grafana/data/log": mkdir /usr/share/grafana/data: read-only file >
Feb 12 13:10:49 homeserver systemd[1]: grafana.service: Main process exited, code=exited, status=1/FAILURE
Feb 12 13:10:49 homeserver systemd[1]: grafana.service: Failed with result 'exit-code'.

erkexzcx commented on 2020-02-10 18:08

Hey. Any ideas why is this happening?

[root@homeserver log]# systemctl status grafana.service
● grafana.service - Grafana service
     Loaded: loaded (/usr/lib/systemd/system/grafana.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Mon 2020-02-10 18:06:31 UTC; 1s ago
    Process: 13448 ExecStart=/usr/bin/grafana-server --config=/etc/grafana.ini (code=exited, status=1/FAILURE)
   Main PID: 13448 (code=exited, status=1/FAILURE)

Feb 10 18:06:31 homeserver systemd[1]: Started Grafana service.
Feb 10 18:06:31 homeserver grafana-server[13448]: Failed to start grafana. error: failed to initialize file handler: open /usr/share/grafana/data/log/grafana.log: read-only file system
Feb 10 18:06:31 homeserver systemd[1]: grafana.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 18:06:31 homeserver systemd[1]: grafana.service: Failed with result 'exit-code'.
[root@homeserver log]# ls -l
total 0
-rwxrwxrwx 1 grafana grafana 0 Feb 10 18:05 grafana.log
[root@homeserver log]# pwd
[root@homeserver log]#

FS is not read-only - I can create new files in it.

wzyboy commented on 2020-02-09 04:37

@dougEfresh Thanks. I have updated the service according to community/grafana

dougEfresh commented on 2020-02-08 15:19

Can we remove these config lines in the service definition ? I changed /etc/grafana/grafana.ini with updated data location and the command line overwrites my grafana.ini.


This patch seems to work:

diff --git a/PKGBUILD b/PKGBUILD
index a2d6938..96e7dc0 100644
@@ -19,7 +19,7 @@ source_x86_64=("${pkgver}.linux-amd64
@@ -33,6 +33,8 @@ package() {
   install -dm755 "${pkgdir}/var/log/grafana"
   install -Dm755 bin/grafana-server "$pkgdir/usr/bin/grafana-server"
   install -Dm755 bin/grafana-cli "$pkgdir/usr/bin/grafana-cli"
+  sed -i  '/^;data = /c\data = /var/lib/grafana'   conf/sample.ini
+  sed -i  '/^;logs = /c\logs = /var/logs/grafana'  conf/sample.ini
   install -Dm644 conf/sample.ini "$pkgdir/etc/${_pkgname}/${_pkgname}.ini"
   install -Dm644 conf/defaults.ini "$pkgdir/usr/share/grafana/conf/defaults.ini"
   cp -r public scripts tools "$pkgdir/usr/share/grafana/"
diff --git a/grafana.service b/grafana.service
index 08cbaff..c52175b 100644
--- a/grafana.service
+++ b/grafana.service
@@ -8,10 +8,7 @@ User=grafana
-ExecStart=/usr/bin/grafana-server                  \
-          --config=/etc/grafana/grafana.ini        \
-          cfg:default.paths.logs=/var/log/grafana  \
+ExecStart=/usr/bin/grafana-server --config=/etc/grafana/grafana.ini


hexhu commented on 2019-12-01 10:18

The current sha256 hash of grafana-6.5.0.linux-amd64.tar.gz is incorrect:

curl -s | sha256sum
0fbd03aa27acaf7b8dee37d0230962aa11990e74b06e5f59aa417a46a07f1fcb  -

Also, Grafana 6.5.1 has already been released, see . The sha256 of should be dc3e745c65bc72e7d64a977246a625d6e013fc1371cc055ec6c869a45fef59d4.