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
# Clear Laminas cache
php ./public/index.php orm:clear-cache:metadata
php ./public/index.php orm:clear-cache:query
php ./public/index.php orm:clear-cache:result
rm -rf data/cache/*
rm -rf data/DoctrineORMModule/Proxy/*
rm -rf data/LazyServices/Proxy/*
# Clear Laminas cache
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade