diff --git a/scripts/upgrade b/scripts/upgrade index d46766b..511f98a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,6 +114,9 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --keep="config/packages/local.yaml var/invoices/ var/data/" + pushd "$final_path" + ynh_exec_as $app php$YNH_PHP_VERSION bin/console cache:clear --env=prod + popd fi chmod 750 "$final_path"