-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Grafana: Installs fails on ARMv6 Buster+ #3213
Comments
+ DietPi-Software | Grafana: Remove outdated bintray repo for ARMv6 installs and use latest package from official Grafana downloads instead: #3213 + DietPi-Software | Grafana: Failsafe data dir preparation in case /var/lib/grafana is missing and never overwrite permissions on existing dir. + DietPi-Software | Grafana: Cleanup on software uninstall, since the package purge leaves user, /var and /etc data in place
@TBail Indeed the 3rd party bintray repo that we use to pull Grafana on ARMv6 models, does not contain a Buster branch. I just rechecked and actually it ships a totally outdated version. The official Grafana APT repo seems to not have an ARMv6-compatible branch, but I am not 100% sure since they don't allow to browser their repo dir structure 😉. Will recheck/ask them. Because they DO ship updated ARMv6 packages. Please do the following to install the newest package (the bintray repo ships v5.1.4 to compare):
To apply DietPi setup to have userdata in /mnt/dietpi_userdata/grafana:
To adjust web UI port and password: I applied this as well for v6.27: #3214 What do you think about an automated reinstall on v6.27 patch to have the above updated package applied to all ARMv6 systems? Existing data, configs, permissions etc are preserved, hence we would only remove the obsolete/outdated bintray repo and install the package as above on top. Another option is that we move the config dir |
+ DietPi-Software | Grafana: Remove outdated bintray repo for ARMv6 installs and use latest package from official Grafana downloads instead: #3213 + DietPi-Software | Grafana: Failsafe data dir preparation in case /var/lib/grafana is missing and never overwrite permissions on existing dir. + DietPi-Software | Grafana: Cleanup on software uninstall, since the package purge leaves user, /var and /etc data in place + DietPi-Software | Grafana: Remove obsolete sysvinit service
Hi! Just started using dietpi! Awesome work guys and thanks. Apparently the same issue applies for installing the GitClient using
Does this issue relate? Thanks in advance, Stefano |
@SteluHH Jep the issue is just the same, although strange that it did not show up earlier. When removing the grafana.list as I mentioned above, the Git install should work fine as well. So the error indeed has nothing to do with Git but the symptom of invalid Grafana repo just shows up on any APT update call. |
@SteluHH
Jep, dietpi-software does nothing else, no custom changes on top if the apt-get install. It's listed only in "Software Additional" for completeness and since it is required for some other major titles like Pi-hole.
Ha, I just found that Grafana is available via Raspbian repo as well (opposed to Debian):
This must be the reason why the install then still succeeds. However the version 2.6.0 is VERY outdated: http://raspbian.raspberrypi.org/raspbian/pool/main/g/grafana/ (early 2016) As long as it works, okay, however you can easily update to the current version 6.4.3 with the first set of commands I provided above 😉: #3213 (comment) |
Interestingly, I AM at version 6 with your script you posted earlier though :) |
@SteluHH |
Creating a bug report/issue
Here are the blue lines
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Additional logs:
The text was updated successfully, but these errors were encountered: