cancel
Showing results for 
Search instead for 
Did you mean: 

"ERROR 500 - Internal Server Error!" When Migrating Customers

"ERROR 500 - Internal Server Error!" When Migrating Customers

I'm trying to migrate my data from Magento 1.9.3 to Magento 2.0 however when I migrate my 11,000 customers, it comes up with an error 500 page after about 5 minutes.  

 

When I try to run the tool again, I get the following error:

CDbException CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2' for key 'PRIMARY'. The SQL statement executed was: INSERT INTO `customer_group` (`tax_class_id`, `customer_group_id`, `customer_group_code`) VALUES (:yp0, :yp1, :yp2)

 

Any ideas?

2 REPLIES 2

Re: "ERROR 500 - Internal Server Error!" When Migrating Customers

How to diagnose «500 Internal Server Error» in Magento 2: https://mage2.pro/t/854

Re: "ERROR 500 - Internal Server Error!" When Migrating Customers

I figured out the issue, thanks!!! There was a timeout on PHP scripts.

 

I successfully migrated all of the customers however when I look at Magento 2.0's admin interface, no customers appear. Does anyone know why?