@dougEfresh Thanks. I have updated the service according to community/grafana
Search Criteria
Package Details: grafana-bin 11.3.0-1
Package Actions
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 |
Licenses: | Apache, AGPL |
Conflicts: | grafana |
Provides: | grafana |
Submitter: | wzyboy |
Maintainer: | wzyboy |
Last Packager: | wzyboy |
Votes: | 16 |
Popularity: | 0.083157 |
First Submitted: | 2016-03-16 04:52 (UTC) |
Last Updated: | 2024-11-12 21:52 (UTC) |
Dependencies (0)
Required by (17)
- beegfs-mon (requires grafana) (optional)
- bitmagnet (requires grafana) (optional)
- bitmagnet-beta (requires grafana) (optional)
- bitmagnet-bin (requires grafana) (optional)
- bitmagnet-git (requires grafana) (optional)
- froniusd (optional)
- gasmeter (optional)
- gitflux-git (requires grafana)
- grafana-pcp-bin (requires grafana)
- icingaweb2-module-grafana (requires grafana) (optional)
- prometheus-mumble-exporter (requires grafana) (optional)
- prometheus-xmpp-webhook (requires grafana) (optional)
- prometheus-xmpp-webhook-bin (requires grafana) (optional)
- prometheus-xmpp-webhook-git (requires grafana) (optional)
- smartmeter (optional)
- solarmeter (optional)
- teslamate (requires grafana)
Sources (5)
wzyboy commented on 2020-02-09 04:37 (UTC)
dougEfish commented on 2020-02-08 15:19 (UTC) (edited on 2020-02-08 15:42 (UTC) by dougEfish)
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.
cfg:default.paths.logs=/var/log/grafana
cfg:default.paths.data=/var/lib/grafana
This patch seems to work:
diff --git a/PKGBUILD b/PKGBUILD
index a2d6938..96e7dc0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ source_x86_64=("https://dl.grafana.com/oss/release/grafana-${pkgver}.linux-amd64
source_armv6h=("https://dl.grafana.com/oss/release/grafana-${pkgver}.linux-armv6.tar.gz")
source_armv7h=("https://dl.grafana.com/oss/release/grafana-${pkgver}.linux-armv7.tar.gz")
source_aarch64=("https://dl.grafana.com/oss/release/grafana-${pkgver}.linux-arm64.tar.gz")
-sha256sums=('44ceb7aad648c8e46a65026109fc0327bc6e01ba7060d97d9e83a3e8ad65379c')
+sha256sums=('41dd1a367f77cce69ef5537a0c49177ffadefffdf896a8f17fae4f5ed5d4677a')
sha256sums_x86_64=('0edc8207e356ef66eb7b1c78a1cdabc2cd5c0655de774000de2ad0397e543377')
sha256sums_armv6h=('1e1b0c43a188fae477da3cec6aad7480a1af5508c3f0c83241df27ba0d701315')
sha256sums_armv7h=('07ee97f550bfb7b34294308c2d56c0679901576b5d5baf562dd9d73edb5c45c5')
@@ -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
Group=grafana
Type=simple
WorkingDirectory=/usr/share/grafana
-ExecStart=/usr/bin/grafana-server \
- --config=/etc/grafana/grafana.ini \
- cfg:default.paths.logs=/var/log/grafana \
- cfg:default.paths.data=/var/lib/grafana
+ExecStart=/usr/bin/grafana-server --config=/etc/grafana/grafana.ini
LimitNOFILE=10000
TimeoutStopSec=20
Thanks
hexhu commented on 2019-12-01 10:18 (UTC)
The current sha256 hash of grafana-6.5.0.linux-amd64.tar.gz is incorrect:
curl -s https://dl.grafana.com/oss/release/grafana-6.5.0.linux-amd64.tar.gz | sha256sum
0fbd03aa27acaf7b8dee37d0230962aa11990e74b06e5f59aa417a46a07f1fcb -
Also, Grafana 6.5.1 has already been released, see https://grafana.com/grafana/download . The sha256 of https://dl.grafana.com/oss/release/grafana-6.5.1.linux-amd64.tar.gz should be dc3e745c65bc72e7d64a977246a625d6e013fc1371cc055ec6c869a45fef59d4.
erkexzcx commented on 2019-09-28 19:11 (UTC)
THANK YOU for ARM architecture support!
wzyboy commented on 2019-02-11 05:05 (UTC)
@kmohrf Awesome!
kmohrf commented on 2019-02-10 18:25 (UTC)
@wzyboy just as a heads up: the upcoming 6.0.0 release (currently in beta) has official support for armv6 :)
wzyboy commented on 2018-10-20 04:56 (UTC)
@intelfx Thanks. I copied the wrong checksum. I have fixed it now.
intelfx commented on 2018-10-20 04:54 (UTC)
Hello,
the binary release checksum for x86_64 is wrong, please fix it.
As per https://grafana.com/grafana/download it should be 5febfdef89fa0bcb2b190bdb62b0671d79f8e1afe3075f8cc7db50e28a9d6c8c
wzyboy commented on 2018-08-06 07:02 (UTC)
@daenney Thanks a lot. I have fixed the source URL.
daenney commented on 2018-08-04 10:41 (UTC) (edited on 2018-08-04 10:44 (UTC) by daenney)
The package is broken now, the sources for 5.2.2 do not exist:
-> Downloading grafana-5.2.2.linux-x64.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading <https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.2.2.linux-x64.tar.gz>
Aborting...
It should be: https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.2.2.linux-amd64.tar.gz. The suffix is -amd64
, not -x64
: https://grafana.com/grafana/download
The SHA256 is also off, should be: 74ecb544787d37a2f743faa2f2304ca11e37438c32ce5b13e07a70ae47982bbb
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.