-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintenance mode automatically deactivated after cache:clear #728
Comments
|
We must not store the lock file in the Sf cache directory. Here's the default Lexik configuration: driver:
options: {file_path: %kernel.root_dir%/cache/lock} |
|
Imho it should just go to |
|
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 |
|
Fixed in contao/standard-edition@421a23a and contao/manager-bundle@4be5612. |
When clearing the symfony cache with
php bin/console cache:clear -e prodthe 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: