php bin/magento setup:upgrade Duplicate module entry


Explanation:
 
Another version of module already exist or same module already exist,So whenever we run the command
php bin/magento setup:upgrade 
Its will throw an error of duplicate module .
 

Solution:


  1. Open phpmyadmin and look for table name "setup_module"
  2. Look for module name in setup_module folder.
  3. Remove older module entry from table.
  4. Again execute the command bin/magento setup:upgrade
Hopefully it will be fixed .
Please comment and share your thoughts on issue.
 
 

No comments:

Post a Comment