Package Details: grafana-bin 10.4.1-1

Git Clone URL: https://aur.archlinux.org/grafana-bin.git (read-only, click to copy)
Package Base: grafana-bin
Description: Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB - binary version
Upstream URL: https://grafana.com/
Licenses: Apache, AGPL
Conflicts: grafana
Provides: grafana
Submitter: wzyboy
Maintainer: wzyboy
Last Packager: wzyboy
Votes: 14
Popularity: 1.20
First Submitted: 2016-03-16 04:52 (UTC)
Last Updated: 2024-03-26 03:38 (UTC)

Dependencies (0)

Required by (15)

Sources (5)

Pinned Comments

wzyboy commented on 2023-11-17 00:52 (UTC) (edited on 2023-11-17 01:08 (UTC) by wzyboy)

Please note that 32-bit ARM support (armv6 and armv7) has been temporarily disabled upstream: https://grafana.com/blog/2023/09/29/grafana-and-grafana-enterprise-updates-for-armv6-and-armv7-will-be-temporarily-paused/

I don't use 32-bit ARM personally. If you do, please pin your version and do not upgrade to v10.2. If 32-bit ARM support is resumed upstream, please mark the package as outdated to notify me and I will add it back.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

wzyboy commented on 2020-03-06 10:09 (UTC)

@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/ ?

muesli commented on 2020-03-06 09:10 (UTC)

From the PKGBUILD:

install -dm755 "${pkgdir}/var/logs/grafana"

This looks like a typo: it should read /var/log.

muesli commented on 2020-03-06 09:03 (UTC)

Updated from 6.5 to 6.6.2 and now I'm also seeing this error:

Mar 06 08:59:04 alarm grafana-server[32113]: Failed to start grafana. error: failed to initialize file handler: open /usr/share/grafana/data/log/grafana.log: read-only file system

erkexzcx commented on 2020-02-21 10:24 (UTC)

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 (UTC)

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

wzyboy commented on 2020-02-12 23:06 (UTC)

@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 (UTC)

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

erkexzcx commented on 2020-02-12 13:16 (UTC)

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 (UTC)

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 (UTC)

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
/usr/share/grafana/data/log
[root@homeserver log]#

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