From 8e0bd5ce93188b14e3bed2c57b6743b06dc0122c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:53:02 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index cc7a027..4676115 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,11 +67,11 @@ ynh_script_progression --message="Upgrading the database..." --weight=1 pushd "$install_dir" # Clear caches # https://github.com/invoiceninja/invoiceninja/issues/7397 - ynh_secure_remove --file=$install_dir/bootstrap/cache/ - ynh_secure_remove --file=$install_dir/storage/framework/cache/ - ynh_secure_remove --file=$install_dir/storage/framework/sessions/ + #ynh_secure_remove --file=$install_dir/bootstrap/cache/ + #ynh_secure_remove --file=$install_dir/storage/framework/cache/ + #ynh_secure_remove --file=$install_dir/storage/framework/sessions/ - mkdir -p $install_dir/bootstrap/cache/ $install_dir/storage/framework/cache/ $install_dir/storage/framework/sessions/ + #mkdir -p $install_dir/bootstrap/cache/ $install_dir/storage/framework/cache/ $install_dir/storage/framework/sessions/ # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) php$phpversion artisan view:clear @@ -84,8 +84,8 @@ pushd "$install_dir" php$phpversion artisan optimize --no-interaction --verbose # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - php$phpversion artisan view:clear - php$phpversion artisan cache:clear + #php$phpversion artisan view:clear + #php$phpversion artisan cache:clear popd chmod 750 "$install_dir"