1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00

Workaround for missing "/var/lib/grafana/plugins"

This commit is contained in:
yalh76 2022-03-08 20:43:51 +01:00
parent 3c22493cef
commit 4fa92ee917

View file

@ -36,6 +36,10 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=4
# Workaround for missing "/var/lib/grafana/plugins"
mkdir -p "/var/lib/grafana/plugins"
chown -R $app:$app "/var/lib/grafana/plugins"
# Backup the current version of the app
ynh_backup_before_upgrade
ynh_clean_setup () {