From b4fd2e99c61f8b1d528f1882ad4a3e2e25406e89 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Tue, 4 Sep 2018 19:11:41 +0530 Subject: [PATCH] Forgot bin/console in upgrade script --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index fe30ac5..d75e20c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,8 +77,8 @@ ynh_install_php7 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source "$final_path" init_composer_update $final_path -cd $final_path && sudo /usr/bin/php7.2 cache:clear --env=prod -cd $final_path && sudo /usr/bin/php7.2 cache:warmup --env=prod +cd $final_path && sudo /usr/bin/php7.2 bin/console cache:clear --env=prod +cd $final_path && sudo /usr/bin/php7.2 bin/console cache:warmup --env=prod cd $final_path && sudo /usr/bin/php7.2 bin/console doctrine:migrations:migrate #================================================= # NGINX CONFIGURATION