Package Details: grafana-bin 13.0.1-4

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/grafana/download?edition=oss
Licenses: Apache, AGPL
Conflicts: grafana
Provides: grafana
Submitter: wzyboy
Maintainer: wzyboy
Last Packager: wzyboy
Votes: 19
Popularity: 0.005543
First Submitted: 2016-03-16 04:52 (UTC)
Last Updated: 2026-05-21 19:47 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

wzyboy commented on 2026-05-21 19:47 (UTC)

Thanks. Fixed.

destroyedlolo commented on 2026-05-21 18:47 (UTC)

Hello, I'm trying to upgrade my Arm32b system but the package build is falling with the following error :

==> Validating source_armv7h files with sha256sums... grafana_13.0.1+security-01_25720641773_linux_arm-7.tar.gz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting grafana_13.0.1+security-01_25720641773_linux_arm-7.tar.gz with bsdtar ==> Starting prepare()... /home/laurent/.cache/yay/grafana-bin/PKGBUILD: line 39: cd: grafana-13.0.1: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... -> error making: grafana-bin-exit status 4 -> Failed to install the following packages. Manual intervention is required: grafana-bin - exit status 4

The "actual" directory is grafana-13.0.1+security-01

Bye

wzyboy commented on 2026-05-02 17:30 (UTC)

Thanks! I've fixed the removal of grafana-{cli,server}. I've also removed "*.js.map" files per @kisimre's suggestions. This reduced the package size quite a bit.

b14ck313 commented on 2026-05-02 13:22 (UTC)

After deprecating grafana-server and grafana-cli in v12 both binaries were now removed in v13. The grafana.service was already adapted correctly but the PKGBUILD still tries to install these files and thus fails.

Fixed by removing those lines:

--- PKGBUILD.old    2026-05-02 15:15:31.077814655 +0200
+++ PKGBUILD    2026-05-02 15:15:42.380202627 +0200
@@ -49,8 +49,6 @@
   install -Dm644 grafana.service "$pkgdir/usr/lib/systemd/system/grafana.service"

   cd ${_pkgname}-${pkgver}
-  install -Dm755 bin/grafana-server "$pkgdir/usr/bin/grafana-server"
-  install -Dm755 bin/grafana-cli "$pkgdir/usr/bin/grafana-cli"
   install -Dm755 bin/grafana "$pkgdir/usr/bin/grafana"
   install -Dm640 -o207 -g207 conf/sample.ini "$pkgdir/etc/grafana.ini"
   install -Dm644 conf/defaults.ini "$pkgdir/usr/share/grafana/conf/defaults.ini"

kisimre commented on 2026-05-02 13:12 (UTC)

Hi! There is a breaking change in the 13.0.1 Grafana release. It removes /bin/grafana-cli and /bin/grafana-server and this breaks the package build. If I remove lines 52 and 53 from PKGBUILD it builds and works fine. See https://grafana.com/whats-new/2026-04-14-removal-of-grafana-cli-and-grafana-server-commands/.

On a separate note, .js.map files make up about 20% of the package size. Do we actually need to include them?

Thanks.

df8oe commented on 2026-05-02 12:53 (UTC)

Does not install (aarch64):
==> Beginne package()...
install: der Aufruf von stat für 'bin/grafana-server' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
==> FEHLER: Ein Fehler geschah in package().
Breche ab...

kminehart commented on 2025-10-24 11:45 (UTC)

@Finghin I would consider instead using tar --strip-components and -C to make the tar extraction more resilient to changes in the folder name.

Finghin commented on 2025-09-07 07:18 (UTC) (edited on 2025-09-07 07:18 (UTC) by Finghin)

This package currently does not build, at least on arm64.

PKGBUILD: line 38: cd: grafana-v12.1.1: No such file or directory

To fix it, the v needs to be removed from the folder name in line 38:

cd ${_pkgname}-${pkgver}

kminehart-grafan commented on 2025-08-14 21:32 (UTC) (edited on 2025-08-14 21:32 (UTC) by kminehart-grafan)

Hello! I just made a change to how we publish Grafana. The current URL format should continue to work, however we do plan on deprecating it soon.

I would recommend using the new format by adding a new variable for BUILD_ID, which can be used to navigate to the GitHub Action that built the package via "https://github.com/grafana/grafana/actions/runs/${BUILD_ID}".

pkgver=12.1.1
build_id=16903967602
pkgrel=1

And the artifact URLs:

source_x86_64=("https://dl.grafana.com/grafana/release/grafana_${pkgver}_${build_id}_linux_amd64.tar.gz")
source_armv6h=("https://dl.grafana.com/grafana/release/grafana_${pkgver}_${build_id}_linux_arm-6.tar.gz")
source_armv7h=("https://dl.grafana.com/grafana/release/grafana_${pkgver}_${build_id}_linux_arm-7.tar.gz")
source_aarch64=("https://dl.grafana.com/grafana/release/grafana_${pkgver}_${build_id}_linux_arm64.tar.gz")

Thanks!

zinootje commented on 2025-01-27 16:01 (UTC)

Thanks for updating the package and fixing 32-bit arm support. Maybe you should remove the pinned comment saying it is disabled.