diff --git a/scripts/upgrade b/scripts/upgrade index 9fc6a5e..3f6ece4 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -97,14 +97,6 @@ then } fi -# Exit if an error occurs during the execution of the script -ynh_abort_if_errors - -if ynh_legacy_permissions_exists; then - ynh_legacy_permissions_delete_all - ynh_permission_create --permission="api" --label="api" --url="re:$domain\/.well-known\/.*" --allowed="visitors" "all_users" --auth_header="false" --show_tile="false" --protected="true" -fi - #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -426,7 +418,7 @@ ynh_add_fail2ban_config --logpath="/home/yunohost.app/$app/data/nextcloud.log" - #================================================= ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." -ynh_systemd_action --service_name=nginx --action=reload +#ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name="php${phpversion}-fpm" --action=reload #=================================================