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:

  1. Enable the maintenance mode for the site.
  2. 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

  1. SSH to your environment.
  2. Run the php bin/magento cache:clean command.

Enable or disable maintenance mode in our developer documentation.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a