![]() One way to find these processes is to run the ps -ef | grep queue:consumers:start command, and then run the kill command for each consumer. To enable maintenance mode for all clients except 192.0.2.10 and 192.0.2.11: bin/magento maintenance:enable -ip=192.0.2.10 -ip=192.0.2.11Īfter you place the application in maintenance mode, you must stop all message queue consumer processes. The bin/magento maintenance:status command displays the status of maintenance mode.įor example, to enable maintenance mode with no IP address exemptions: bin/magento maintenance:enable To clear the list of exempt IPs, use magento maintenance:enable -ip=none or see Maintain the list of exempt IP addresses. Using -ip= with magento maintenance:disable saves the list of IPs for later use. To exempt more than one IP address in the same command, use the option multiple times. The -ip= option is an IP address to exempt from maintenance mode (for example, developers doing the maintenance). Use the magento maintenance CLI command to enable or disable maintenance mode.Ĭommand usage: bin/magento maintenance:enable | īin/magento maintenance:disable | If an entry point is accessed using HTTP and the client IP address corresponds to one of the entries in that list, then maintenance mode is off.īefore you use this command to enable or disable maintenance mode, you must install the application. ![]() Var/.maintenance.ip can contain a list of IP addresses. Otherwise, maintenance mode is on unless var/.maintenance.ip exists. If var/.maintenance.flag does not exist, maintenance mode is off and the application operates normally. The application detects maintenance mode as follows: Disabling bootstrapping is helpful while you are maintaining, upgrading, or reconfiguring your site. If you need to use a custom maintenance page, see Create the custom maintenance page topic.Īdobe Commerce and Magento Open Source use maintenance mode to disable bootstrapping. ![]() The following guide refers to a standard maintenance mode page. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |