PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, August 22, 2022

[FIXED] How can I disable Magento 2 maintenance mode without using ssh

 August 22, 2022     magento2     No comments   

Issue

How can I disable the Magento 2 maintenance mode without using ssh?

On my server I don't have ssh. Can I disable the maintenance mode anyway?

Screenshot showing error message


Solution

If there is var/.maintenance.flag, Magento 2 maintenance mode is on. The only exception is related to var/.maintenance.ip. Since it can contain a list of IP addresses, a restriction occurs when an entry point is accessed via HTTP and the client IP address corresponds to an entry from the list. Thus, Magento 2 maintenance mode is off even if there is var/.maintenance.flag.

 The following commands are associated with Magento 2 maintenance mode: magento maintenance:enable [--ip= ... --ip=] | [ip=none]

 



Answered By - CedCommerce
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,213,146

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing