From d9b20e5c1f88eb7a982e32e227eebfc5ed85e433 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 30 Jan 2022 14:38:30 +0100 Subject: [PATCH] fix datadir --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index d039df0..8cbf6e5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,9 +62,9 @@ systemctl disable $app-celery --quiet ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1 if [ -z "$datadir" ]; then - datadir=$(ynh_app_setting_get --app=$app --key=datadir) + datadir=$(ynh_app_setting_get --app=$app --key=data_path) ynh_app_setting_set --app=$app --key=datadir --value=$datadir - ynh_app_setting_delete --app=$app --key=datadir + ynh_app_setting_delete --app=$app --key=data_path ynh_app_setting_delete --app=$app --key=db_pwd ynh_app_setting_delete --app=$app --key=admin_email fi