Active
Project:
Migrate Plus
Version:
8.x-5.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
31 Aug 2021 at 08:33 UTC
Updated:
13 Nov 2022 at 16:03 UTC
Jump to comment: Most recent
Reimporting content from Drupal 7 to Drupal 8/9 results in duplicate entry error, when there is new created content on new site
migrate some content from d7. Create new content on Drupal 8/9 site. then redo migrate-import. results in duplicate entry errors. for node_complete migrations.
[error] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '824f7429-533e-485c-a5df-b7b56202bbe8' for key 'node_field__uuid__value': UPDATE "node" SET "vid"=:db_update_placeholder_0, "type"=:db_update_placeholder_1, "uuid"=:db_update_placeholder_2, "langcode"=:db_update_placeholder_3
WHERE "nid" = :db_condition_placeholder_0; Array
i am looking for a solution
Comments
Comment #2
sarguna raj m commentedHello,
Is there any workaround for this issue? My thought is that we need to remove/truncate the data entirely and reimport it again?
Thanks.
Comment #3
vlyalko commentedHi, anyone figured out the solution for it? I, also, thought, deleting previously migrated content, would help avoid this error, but it did not help
Comment #4
mohammad-fayoumiThe steps I took to resolve this problem are as follows: