Fixed the cache cleanup in the update script.

feature/dockerized-app
Ruslan Baidan 2022-10-12 11:50:21 +02:00
parent cb084d6a21
commit 35a44c2b2e
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
1 changed files with 3 additions and 3 deletions

View File

@ -105,9 +105,9 @@ cd ../..
if [[ $forceClearCache -eq 1 ]]; then if [[ $forceClearCache -eq 1 ]]; then
# Clear Laminas cache # Clear Laminas cache
php ./public/index.php orm:clear-cache:metadata rm -rf data/cache/*
php ./public/index.php orm:clear-cache:query rm -rf data/DoctrineORMModule/Proxy/*
php ./public/index.php orm:clear-cache:result rm -rf data/LazyServices/Proxy/*
# Clear Laminas cache # Clear Laminas cache
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade