From 1a0a6e952a101f26dd3a11bc40ce7a2730d6dee1 Mon Sep 17 00:00:00 2001 From: ljf Date: Sun, 27 Mar 2022 10:45:52 +0200 Subject: [PATCH 1/2] [fix] Permission in restore --- manifest.json | 2 +- scripts/restore | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 0a1db7b..d4ca0ed 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Metric & analytic dashboards for monitoring", "fr": "Tableaux de bords de supervision" }, - "version": "8.3.3~ynh1", + "version": "8.3.3~ynh2", "url": "https://grafana.com/oss/grafana/", "upstream": { "license": "AGPL-3.0-only", diff --git a/scripts/restore b/scripts/restore index 2477044..2394b76 100644 --- a/scripts/restore +++ b/scripts/restore @@ -78,6 +78,10 @@ ynh_restore_file --origin_path="/etc/influxdb" ynh_restore_file --origin_path="/etc/grafana" ynh_restore_file --origin_path="/var/lib/grafana/plugins" --not_mandatory +# Set permission with the new grafana user (id could have been changed) +chown -R root:grafana "/etc/grafana" +chown -R grafana:grafana "/var/lib/grafana/plugins" + #================================================= # RESTORE THE INFLUXDB DATABASE #================================================= From 25ac3787c2cf27bad729957017f6649f80a84018 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 27 Mar 2022 08:46:44 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ce9700..94267b9 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Metric & analytic dashboards for monitoring -**Shipped version:** 8.3.3~ynh1 +**Shipped version:** 8.3.3~ynh2 **Demo:** https://play.grafana.org diff --git a/README_fr.md b/README_fr.md index 0be50e3..9f5cffd 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Tableaux de bords de supervision -**Version incluse :** 8.3.3~ynh1 +**Version incluse :** 8.3.3~ynh2 **Démo :** https://play.grafana.org