CLEANBUILD:
==> Validating source_x86_64 files with sha256sums... grafana-7.4.5.linux-amd64.tar.gz ... FAILED
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) |
CLEANBUILD:
==> Validating source_x86_64 files with sha256sums... grafana-7.4.5.linux-amd64.tar.gz ... FAILED
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/
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
@erkexzcx Managed to fix it. Was something with config and permissions. Sorry for wasting your time.
@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.
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.
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"
@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.
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.
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
.
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.