This article provides a fix for when maintenance mode is enabled (a Magento Commerce Cloud issue) but the store front is still available for customers.
- Magento Commerce Cloud, all versions
Steps to reproduce
- Enable the maintenance mode for the site.
- Navigate to the store front.
The maintenance page is displayed.
Store front pages are displayed as usual.
Pages are still cached so the maintenance page does not show.
Solution to site visible despite being in maintenance mode
- SSH to your environment.
- Run the
php bin/magento cache:cleancommand.