From a3b0c8ce075bc930af9b26a6669a3fc6579d3d40 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 12 Jun 2020 20:18:09 +0200 Subject: [PATCH] fix upgrade --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2e71ca6..47f440b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -206,11 +206,13 @@ ynh_add_swap --size=$swap_needed if [ "$upgrade_type" == "UPGRADE_APP" ] then + ynh_script_progression --message="Installing composer dependencies..." + # Set right permissions chown -R $app:www-data $final_path # Install Composer and Flarum - ynh_install_composer --user=$app --phpversion=$phpversion --workdir=$final_path + ynh_install_composer --phpversion=$phpversion --workdir=$final_path # Perform migrations and clear cache pushd $final_path