Skip to content

Magento 2 automatically disables maintenance mode after certain actions #9918

@royvanos

Description

@royvanos

Preconditions

  1. Any Magento 2 version

Steps to reproduce

  1. Enable maintenance mode
    2.a Run scheduled backup with maintenance mode enabled
    2.b Switch from developer mode to production mode

Expected result

  1. Maintenance mode enabled

Actual result

  1. Maintenance mode disabled

After doing a scheduled backup with maintenance mode enabled the store takes itself out of maintenance mode when done. Same for switching to production mode.

In my opinion Magento 2 should check if maintenance mode was enabled in the first place and should not disable maintenance mode if so.

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions