I want to uninstall Payssion Module all folder and database. How can i do? i read this reference but not understand. http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-uninstall-mods.html

1 Answer 1


You can uninstall a module through ssh if it was installed using ssh. If yes then issue command:

php bin/magento module:uninstall -r <Vendor>_<Module>

-r flag removes module data. then issue:

php bin/magento setup:upgrade

If module was not installed through ssh:

  • remove the module directory app/code//

  • drop module database tables (if it created any)

  • remove entry from core_config_data and setup_module tables

Run command

php bin/magento setup:upgrade

  • I installed Payssion using ssh. i run this command. But show an error. 'php bin/magento module:uninstall -r Payssion_Payment' error : Payssion_Payment is not an installed composer package Commented Dec 8, 2017 at 7:15
  • php bin/magento module:uninstall MODULE_NAME => Module: Uninstall Commented Dec 8, 2017 at 7:50
  • nothing happen. snag.gy/UQEfC0.jpg Commented Dec 8, 2017 at 8:27
  • Now check Module: Status => php bin/magento module:status Commented Dec 8, 2017 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.