Skip to content

Commit

Permalink
Clear cache manually in update.sh to avoid post-update issues - closes
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed Nov 24, 2024
1 parent 190d2da commit a49fd0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a49fd0a

Please sign in to comment.