System Status
Buy Now
  • Email & Apps
  • Office 365
Login
  • MyRackspace Portal
  • Cloud Control Panel
  • Rackspace Webmail Login
  • Cloud Office Control Panel
  • Support Home
  • How-To
  • Developer Documentation
  •  Blogs 
    • Expert Insights Tech Blog
    • Rackspace Blog
    • Solve: Thought Leadership

Support Network

End-to-End Multicloud Solutions.   Solving Together.â„¢   Learn more at Rackspace.com

How–To Home

Cloud Servers

  • Introduction
  • FAQ
  • All Articles

Disable maintenance mode in Magento

Last updated on:  2020-09-21

Authored by:  James Andrade


You can use maintenance mode in Magento® when you need to take your site offline to perform maintenance, updgrades, or configuration changes. This article describes how to disable maintenance mode after you finish making your offline changes.

Disable maintenance mode

Use the following steps to disable maintenance mode:

  1. Log in to your server.

  2. Navigate to the document root that contains your Magento installation.

    Locate your domain or website by using one of the following commands:

    CentOS/RHEL:

    httpd -S | grep domainname
    

    Ubuntu/Debian:

    apache2ctl -S | grep domainname
    

    Next, locate the document root:

    grep -i documentroot /path/to/vhost.conf
    
  3. Now locate the file called maintenance.flag.

  4. Remove the file maintenance.flag by using one of the following commmands:

    Magento 1:

     rm maintenance.flag
    

    Magento 2:

     rm var/.maintenance.flag
    

Share this information:

©2020 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER

About Rackspace
  • About
  • Customer Stories
  • Events
  • Programs
Blogs
  • The Rackspace Blog
  • Expert Insights Tech Blog
  • Solve: Thought Leadership
  • News
  • Contact Information
  • Legal
  • Careers
Site Information
  • Style Guide for Technical Content
  • Trademarks
  • Privacy Statement
  • Website Terms
Support Network
  • Support Network Home
  • Rackspace How-To
  • API Documentation
  • Developer Center
  • ©2020 Rackspace US, Inc.