1

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
  • 1
    Clean your caches and flush your site. Run this code : php bin/magento cache:flush Dec 3, 2019 at 10:25

2 Answers 2

1

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
3
  • ok I am trying this.
    – user84659
    Dec 3, 2019 at 10:26
  • It's working. thanks.
    – user84659
    Dec 3, 2019 at 10:41
  • my pleasure. :)
    – temper
    Dec 3, 2019 at 10:43
0

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 that you have read and understand our privacy policy and code of conduct.