diff --git a/scripts/upgrade b/scripts/upgrade index 5eff8c8..0f1246d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -88,6 +88,7 @@ ynh_print_info "Backing up the app before upgrading (may take a while)..." # Backup the current version of the app ynh_backup_before_upgrade ynh_clean_setup () { + ynh_clean_check_starting # restore it if the upgrade fails ynh_restore_upgradebackup }