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?
You could try using the dependency checker and trying it manually but you should back everything up first.
– Steve Johnson Feb 04 '16 at 20:47UpgradeSchemafile. Uninstalling and re-installing fixes this, but it is forever stuck uninstalling ... Link: https://github.com/firegento/firegento-magesetup2 – tecjam Jul 13 '16 at 12:33