Site in maintenance mode but available to customers
This article provides a fix for when maintenance mode is enabled (an Adobe Commerce on cloud infrastructure issue), but the storefront is still available for customers.
Affected products and versions
- Adobe Commerce on cloud infrastructure (all versions)
Issue
Steps to reproduce:
- Enable the maintenance mode for the site.
- Navigate to the storefront.
Expected result:
The maintenance page is displayed.
Actual result:
Storefront pages are displayed as usual.
Cause
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:clean
command.
Related reading
Enable or disable maintenance mode in our developer documentation.
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a