I am using production mode in magento, but in frontend it is showing Maintenance mode is enabled.

I am new in magento. Please guide me. Thanks in advance.

  • 1
    Clean your caches and flush your site. Run this code : php bin/magento cache:flush Commented Dec 3, 2019 at 10:25

2 Answers 2


Check in your root directory their is var folder, under that find maintenance.log and delete it.

Second method is run below mentioned command in your terminal:

php bin/magento maintenance:disable

In the end, run this command:

php bin/magento cache:flush
  • ok I am trying this.
    – user84659
    Commented Dec 3, 2019 at 10:26
  • It's working. thanks.
    – user84659
    Commented Dec 3, 2019 at 10:41
  • my pleasure. :)
    – temper
    Commented Dec 3, 2019 at 10:43

Run from command line (using correct user and php):

sudo -u www-data php bin/magento maintenance:disable

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.