A site I have been involved with has twice in the last couple of weeks gone into maintenance mode due to the presence of the maintenance.flag file.

Neither time has anybody been installing / upgrading anything through Magento Connect which is the usual culprit for this, so was wondering if there are other parts of Magento that set this flag for any reason?

Any suggestions much appreciated.

  • 1
    grep your installation for maintenance.flag string. Normally it has to be found in index.php, backup helper and magento connect. Anything else would be your clue. Sep 25, 2013 at 12:08

1 Answer 1


The auto backup procedure can also create the maintenance.flag if the setting from System->Configuration->System->Scheduled Backup Settings->Maintenance Mode is set to Yes.
Also the manual backup procedure does it if you specify it.

  • Thank you, unfortunately on this store the scheduled backup is off and no manual ones had been performed when it occurred.
    – Johnboy
    Sep 25, 2013 at 11:27

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.