You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clearing the symfony cache with php bin/console cache:clear -e prod the status of the maintenance mode is also cleared. Is it possible to change this behaviour?
To stay in maintenance mode after updating and clearing the cache, would be helpfull to check, if everything works properly before open it again for the visitors.
The text was updated successfully, but these errors were encountered:
Unfortunately the default Lexik configuration is not meant for Symfony 3, but it's correct their lock file is outside the environment cache directory. I think @Toflar's suggestion makes sense, another option might be %kernel.cache_dir%/../(maintenance_)lock
agoat
changed the title
Maintenance mode automatically deactivates after cache:clear
Maintenance mode automatically deactivated after cache:clear
Apr 3, 2017
When clearing the symfony cache with
php bin/console cache:clear -e prod
the status of the maintenance mode is also cleared. Is it possible to change this behaviour?To stay in maintenance mode after updating and clearing the cache, would be helpfull to check, if everything works properly before open it again for the visitors.
The text was updated successfully, but these errors were encountered: