From 5d1632b381182fc8cf3b91b28577e8ef35d85302 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 5 Apr 2021 12:28:33 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 88d88c4..3ee2b25 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -144,8 +144,7 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie #================================================= ynh_script_progression --message="Installing Composer..." --weight=1 - -ynh_secure_remove --file="$final_path/composer.lock" +#ynh_secure_remove --file="$final_path/composer.lock" # Upgrade composer itself ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--prefer-source --no-dev" @@ -169,6 +168,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading Lychee source files..." --weight=4 pushd $final_path + composer install --no-dev php$phpversion artisan key:generate --no-interaction --force php$phpversion artisan migrate --no-interaction --force popd