From b25671e9221ee8fe40db9e92c86721f32c53bb83 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Mon, 8 Aug 2022 13:15:21 -0400 Subject: [PATCH] fix upgrade --- check_process | 2 +- scripts/upgrade | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/check_process b/check_process index ac4363b..6cd9557 100644 --- a/check_process +++ b/check_process @@ -8,7 +8,7 @@ setup_sub_dir=0 setup_root=1 setup_nourl=0 - setup_private=1 + setup_private=0 setup_public=1 upgrade=1 backup_restore=1 diff --git a/scripts/upgrade b/scripts/upgrade index 588489a..d373b35 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -104,14 +104,6 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=1 ynh_install_app_dependencies $pkg_dependencies -#================================================= -# PHP-FPM CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1 - -# Create a dedicated PHP-FPM config -ynh_add_fpm_config - #================================================= # NGINX CONFIGURATION #================================================= @@ -130,8 +122,8 @@ ynh_add_config --template=".env.template" --destination="$final_path/.env" # FIXME: this should be handled by the core in the future # You may need to use chmod 600 instead of 400, # for example if the app is expected to be able to modify its own config -chmod 400 "$final_path/some_config_file" -chown $app:$app "$final_path/some_config_file" +chmod 400 "$final_path/.env" +chown $app:$app "$final_path/.env" #================================================= # SPECIFIC UPGRADE