I have a local magento 2 shop running and I would like to set up an under maintenance page when maintenance mode is enabled. Right now when enable maintenance mode it only shows:

1 exception(s):
Exception #0 (Exception): Unable to proceed: the maintenance mode is enabled. 

Exception #0 (Exception): Unable to proceed: the maintenance mode is enabled. 
<pre>#1 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:40]

How can I set up a custom page? Thanks in advance!

1 Answer 1


Good morning,

Here is the documentation on how to achieve this.


Let me know if you need any further assistance.

  • Thank you for you suggestion, but it does not seem to work. I have found another suggestion: magento.stackexchange.com/questions/263825/… but this also does not seem to work. Nov 9, 2020 at 10:28
  • What version of Magento are you using?
    – Joao71
    Nov 9, 2020 at 10:33
  • I am using Magento 2.3.4 Nov 9, 2020 at 10:36
  • I have found the problem. I am using docker for my local magento shop and the custom files weren't copied into the container. After copying them it worked. Nov 9, 2020 at 10:47

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.

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