Uninstalling the GRIN Magento Module
- 22 May 2023
- Print
- DarkLight
- PDF
Uninstalling the GRIN Magento Module
- Updated on 22 May 2023
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
If you need to uninstall the GRIN Magento Module for any reason, you can follow the steps below. Uninstalling the module will cause Magento functionality in GRIN to fail, so we typically recommend you do not uninstall the module unless absolutely necessary.
Note
We highly recommend your Magento Admin completes the module setup. If you need further assistance, reach out to GRIN’s Support team.
What You'll Need
- The GRIN Magento Module already installed. You can learn how to install the module with our help article Installing the GRIN Magento Module.
- Composer v1, which you can download directly from Composer. If your server is running Composer 2.X, you can download Composer v1 to the working directory, then explicitly use the v1 executable with any composer command by specifying
./composer.phar
for any composer related commands, as shown below.
curl -O "https://getcomposer.org/download/1.10.22/composer.phar"
// Downloads v1 version of Composer
chmod a+x composer.phar
// Sets the file as executable
How to Do It
- Open Composer v1.
- Enter the following commands:
bin/magento module:disable Grin_Module
bin/magento module:uninstall Grin_Module
// Answer: y
You are about to remove code and/or database tables. Are you sure?[y/N] y
Enabling maintenance mode
// Answer: n
You are about to remove a module(s) that might have database data. Do you want to remove the data from database?[y/N] n
// This process with may take a while to complete
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush
// Optional if you see any processes related to the GRIN Module still listed
ps -aux
ps -aux | grep grin_module_webhook
Kill <pid>
Your GRIN Magento Module should now be uninstalled.
Was this article helpful?