📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Potentially Abandoned v2.1.0

Zero Downtime Deployment

monogo/zero-downtime-deployment

Prevents database version exceptions during code deployments. Facilitates zero-downtime deployments, especially with CI/CD and Docker/Kubernetes.

25,747
Downloads
Below average
18
GitHub Stars
Below average
3y ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
6 warnings
PHPStan Level 8

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v2.1.0 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

Zero Downtime Deployment Magento compatibility status badge

README

Loaded from GitHub

Magento 2 module for Zero downtime deployment.

Module prevents showing database versions exception when you pull new code to the server. The best idea is to use CI/CD with Docker/Kubernetes. Suggested deployment:

  • get docker base image
  • run php bin/magento setup:upgrade on destination database
  • run php bin/magento setup:di:compile and php bin/magento setup:static-content:deploy on build container
  • deploy new container

NOTICE: If new version contain new classes (for example in EAV) or changed logic, Magento could behave unpredictable. You are using this module at your own risk!

Inspiration: https://medium.com/@egorshytikov/magento-0-downtime-deployment-2-9a6727efd57a

Thanks Yegor Shytikov!

This module will work only with Magento 2.4.0 and higher

Install

Git

  • Locate the /app/code directory which should be under the magento root installation.
  • If the code folder is not there, create it.
  • Create a folder Monogo inside the code folder.
  • Change to the Monogo folder and clone the Git repository (https://github.com/MonogoPolska/monogo-m2-zero-downtime-deployment.git) into Monogo specifying the local repository folder to be OptimizeDatabase e.g.

git clone https://github.com/MonogoPolska/monogo-zero-downtime-deployment ZeroDowntimeDeployment

Composer

composer require monogo/zero-downtime-deployment

Magento Setup

  • Run Magento commands

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

App Configuration Options

Go to Stores->Configuration->Monogo->Zero downtime deployment

  • Enable module Default value is 0 (No)
  • Enable logger Default value is 0 (No)

TODO

  • Tests

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.