From cda00cd6ef5f604d96b881af4a52b331eb40d50c Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Tue, 5 May 2026 16:13:44 -0500 Subject: [PATCH] Fix cache permission error by creating cache data dir explicitly --- scripts/upgrade | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index de2e82e..d5cd095 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,6 +74,7 @@ pushd "$install_dir" #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) + mkdir -p $install_dir/storage/framework/cache/data/ php$php_version artisan view:clear php$php_version artisan cache:clear @@ -82,10 +83,6 @@ pushd "$install_dir" # Optimize the framework for better performance php$php_version artisan optimize --no-interaction --verbose - - # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - #php$php_version artisan view:clear - #php$php_version artisan cache:clear popd #=================================================