0

Following directions from Magento Documentation for Command-line upgrade to Magento 2.1. Running into some errors when data is upgrading. Below are the errors i receive after running the upgrade command.

[Zend_Db_Statement_Exception]                                                                                        
  SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4-Images' for key 'EAV_ATTRIBUTE_GROUP_ATTRI  
  BUTE_SET_ID_ATTRIBUTE_GROUP_NAME', query was: UPDATE `eav_attribute_group` SET `attribute_group_name` = ? WHERE (`a  
  ttribute_group_id`=10)  

  [PDOException]                                                                                                       
  SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4-Images' for key 'EAV_ATTRIBUTE_GROUP_ATTRI  
  BUTE_SET_ID_ATTRIBUTE_GROUP_NAME'    

Any insight would be appreciated

  • Did you attempt to install this more than once? – musicliftsme Jun 30 '16 at 3:51
1

This issue is related to a migration from Magento 1.9. Just go to eav_attribute_group, delete the row with images in attribute_group_name and re-run upgrade.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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