Important
You are browsing upcoming documentation for version 6.1 of OroCommerce, scheduled for release in 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
How to Manage Maintenance Mode
Maintenance Commands
Maintenance commands enable you to turn on the maintenance mode for the webserver and services (consumers, cron, websocket).
Maintenance On
To enable maintenance mode for the webserver and services (consumers, cron, websocket), use the maintenance:on command.
maintenance:on
Maintenance Off
To disable maintenance mode for the webserver and services (consumers, cron, websocket), use the maintenance:off command.
maintenance:off
Emergency Commands
Emergency commands enable you to turn the maintenance mode for the webserver without stopping services.
Emergency On
The idea behind this command is that it does not block the infrastructure from changes that are rolling out continuously (unlike when you turn on the usual maintenance where the infrastructure is blocked from rolling out changes).
To enable emergency mode for the webserver without stopping services, use the emergency:on command.
emergency:on
Emergency Off
To disable emergency mode for the webserver, use the emergency:off command.
emergency:off