We want to streamline a magento installation managed via composer.
So, for example we have no need for Magento_SendFriend module, nor Magento_Review, and maybe other not essential / small modules.
So following the documentation I would issue the following command:
php bin/magento module:uninstall -r -c Magento_SendFriend
So far so good, as it starts to rattle through ..
You are about to remove code and/or database tables. Are you sure?[y/N]y
Enabling maintenance mode
You are removing data without a database backup.
No data to clear in Magento_SendFriend
Removing Magento_SendFriend from module registry in database
Removing Magento_SendFriend from module list in deployment configuration
Removing code from Magento codebase:
However, it has been stuck there for the past hour and a half, with the only edits I have found having been done to the app/etc/config.php
.
- 'Magento_SendFriend' => 1,
Does it make sense to use this new option to remove unused or unneeded modules?
Is it normal for it to take this long?
UpgradeSchema
file. Uninstalling and re-installing fixes this, but it is forever stuck uninstalling ... Link: github.com/firegento/firegento-magesetup2