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:
parent
3c22493cef
commit
4fa92ee917
1 changed files with 4 additions and 0 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Reference in a new issue