I have inventory_reservation inconsistencies that I need to clean up on M2 2.3.1 so following this wiki guide https://github.com/magento/inventory/wiki/CLI-Reference but when running it I get error

'there are no commands defined in the inventory:reservation namespace".

  • ? anyone have an idea?
    – nathan
    Sep 23, 2019 at 7:32
  • set permission to your root and others. Sep 23, 2019 at 8:57
  • ran command as root
    – nathan
    Sep 23, 2019 at 9:30
  • verify with php bin/magento Sep 23, 2019 at 9:40
  • still no joy getting this to work
    – nathan
    Oct 2, 2019 at 14:53

2 Answers 2


I was having trouble with that too. So, after some research, here are my findings:

There's no CLI module installed, so you need to install it or upgrade MSI to latest version. For Magento 2.3.1 in particular, use: composer require "magento/inventory-composer-metapackage": "1.1.3 as 1.1.1"

Hope this will help.


Make sure the Magento_InventoryReservationCli module is enabled:

bin/magento module:enable Magento_InventoryReservationCli

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.