1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2025-01-31 12:01:39 +01:00

Clear cache manually in update.sh to avoid post-update issues - closes #4366

This commit is contained in:
FreeScout 2024-11-24 02:06:17 -08:00
parent 190d2daece
commit a49fd0ad33

View File

@ -193,6 +193,16 @@ fi
printf "\nClearing cache:\n"
# First clear cache manually to avoid such issues:
# https://github.com/freescout-help-desk/freescout/issues/4366
rm -f $PROJECT_ROOT/bootstrap/cache/config.php
rm -rf $PROJECT_ROOT/storage/framework/cache/data/*
rm -f $PROJECT_ROOT/storage/framework/views/*
rm -f $PROJECT_ROOT/storage/framework/sessions/*
rm -f $PROJECT_ROOT/public/js/builds/*
rm -f $PROJECT_ROOT/public/css/builds/*
php artisan freescout:clear-cache
#php artisan package:discover