Hallo Gemeinde,
ich versuche gerade einen Shopware 5 Shop auf 6 mit dem Migrationtool zu migrieren.
Kunden und Produkte haben geklappt, bei den Bestellungen gibt es Probleme.
Das Tool hat knapp 2100 Bestellungen von 2009 - 2016 übernommen - danach ist allerdings Ende. Von 2016 bis heute fehlen knapp 4500 Bestellungen. Ich habe sowohl versucht über API, als auch über Datenbank zu migrieren. Im Wesentlichen habe ich 4 Fehler in der Log, die dann massenhaft wieder auftauchen.
Fehler 1:
[warning] SWAG_MIGRATION_PAYMENT_METHOD_ENTITY_UNKNOWN
Cannot find payment_method
The customer entity with the source id "11" cannot find the depended payment_method entity with the source id "5".
[warning] SWAG_MIGRATION_PAYMENT_METHOD_ENTITY_UNKNOWN
Cannot find payment_method
The customer entity with the source id "14" cannot find the depended payment_method entity with the source id "5".
[warning] SWAG_MIGRATION_PAYMENT_METHOD_ENTITY_UNKNOWN
Cannot find payment_method
The customer entity with the source id "13" cannot find the depended payment_method entity with the source id "5".
Fehler 2:
[warning] SWAG_MIGRATION_SALUTATION_ENTITY_UNKNOWN
Cannot find salutation
The order entity with the source id "639" cannot find the depended salutation entity with the source id "mr".
[warning] SWAG_MIGRATION_SALUTATION_ENTITY_UNKNOWN
Cannot find salutation
The order entity with the source id "644" cannot find the depended salutation entity with the source id "mr".
[warning] SWAG_MIGRATION_SALUTATION_ENTITY_UNKNOWN
Cannot find salutation
The order entity with the source id "642" cannot find the depended salutation entity with the source id "mr".
[warning] SWAG_MIGRATION_SALUTATION_ENTITY_UNKNOWN
Cannot find salutation
The order entity with the source id "641" cannot find the depended salutation entity with the source id "mr".
Fehler: 3
[warning] SWAG_MIGRATION__SHOPWARE_ASSOCIATION_REQUIRED_MISSING_ORDER
Associated order not found
The order with the source id "1903" can not be found but is required for order_document.
[warning] SWAG_MIGRATION__SHOPWARE_ASSOCIATION_REQUIRED_MISSING_ORDER
Associated order not found
The order with the source id "1904" can not be found but is required for order_document.
[warning] SWAG_MIGRATION__SHOPWARE_ASSOCIATION_REQUIRED_MISSING_ORDER
Associated order not found
The order with the source id "1905" can not be found but is required for order_document.
[warning] SWAG_MIGRATION__SHOPWARE_ASSOCIATION_REQUIRED_MISSING_ORDER
Associated order not found
The order with the source id "1906" can not be found but is required for order_document.
Fehler 4:
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: order_document, sourceId: 01906d5bc13d71ec9c3920211554e4cb
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d040ca65`.`document`, CONSTRAINT `fk.document.order_id` FOREIGN KEY (`order_id`, `order_version_id`) REFERENCES `order` (`id`, `version_id`) ON UPDATE CASCADE)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: order_document, sourceId: 01906d5bc13d71ec9c3920211578f492
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d040ca65`.`document`, CONSTRAINT `fk.document.order_id` FOREIGN KEY (`order_id`, `order_version_id`) REFERENCES `order` (`id`, `version_id`) ON UPDATE CASCADE)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: order_document, sourceId: 01906d5bc13d71ec9c39202115e847f0
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d040ca65`.`document`, CONSTRAINT `fk.document.order_id` FOREIGN KEY (`order_id`, `order_version_id`) REFERENCES `order` (`id`, `version_id`) ON UPDATE CASCADE)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: order_document, sourceId: 01906d5bc13d71ec9c392021160ef9a4
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d040ca65`.`document`, CONSTRAINT `fk.document.order_id` FOREIGN KEY (`order_id`, `order_version_id`) REFERENCES `order` (`id`, `version_id`) ON UPDATE CASCADE)
Ich schließe aus einigen Meldungen, dass es wohl Probleme mit den Formularen gibt. Außerdem mit der Anrede „Mr.“ und mit den „Zahlungsmethoden“. Ich weiss aber nicht wo ich jetzt ansetzen soll. Bei der Migration hat er bei „Mr.“ in der Anrede keine Probleme gefunden. Auch die Zahlungsmethoden kann ich recht einfach zuordnen. Der Quellshop ist eigentlich so gut wie Shopware Standard - bis auf die Tatsache, dass Custom Products im Einsatz ist. Auch bei den Zahlungsmöglichkeiten wurden nur Vorkasse und das Standard Rechnung verwendet.
Ich würde mich über jeglichen Hinweis freuen.
kweb