diff --git a/check_process b/check_process index fa8fdb1..6cdf741 100644 --- a/check_process +++ b/check_process @@ -12,7 +12,6 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=1ef6a65e00dbb39dac8919cf6c5f4313fea8462e backup_restore=1 multi_instance=0 port_already_use=0 diff --git a/scripts/upgrade b/scripts/upgrade index 9970059..d11cf75 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -70,7 +70,15 @@ then ynh_exec_warn_less sudo -u $app $mc_path/mc mirror --preserve "minio/$d" "$tmp/$d" fi done - if ynh_compare_current_package_version --comparison gt --version 2022.09.01~ynh1 + if ynh_compare_current_package_version --comparison eq --version 2022.09.01~ynh1 + then + ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum" + fi + if ynh_compare_current_package_version --comparison eq --version 2022.11.11~ynh1 + then + ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum" + fi + if ynh_compare_current_package_version --comparison eq --version 2023.01.11~ynh1 then ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum" fi