folgender Fehler kommt beim Update im Datenbank-Migrationsprozess:
Was kann ich tun? Vielen Dank
Error
Received the following error message:
An exception occurred while executing ’ ALTER TABLE order_delivery ADD COLUMN tracking_codes JSON NOT NULL AFTER shipping_method_id, ADD CONSTRAINT json.order_delivery.tracking_codes CHECK (JSON_VALID(tracking_codes)); ': SQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT json.order_delivery.tracking_codes failed for shopware.order_delivery
Please try to fix this error and restart the update.
Response
{„valid“:false,„errorMsg“:„An exception occurred while executing '\n ALTER TABLE order_delivery\n ADD COLUMN tracking_codes JSON NOT NULL AFTER shipping_method_id,\n ADD CONSTRAINT json.order_delivery.tracking_codes CHECK (JSON_VALID(tracking_codes));\n ':\n\nSQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT json.order_delivery.tracking_codes failed for shopware.order_delivery“}
Error
Received the following error message:
An exception occurred while executing ' ALTER TABLE `order_delivery` ADD COLUMN `tracking_codes` JSON NOT NULL AFTER `shipping_method_id`, ADD CONSTRAINT `json.order_delivery.tracking_codes` CHECK (JSON_VALID(`tracking_codes`)); ': SQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT `order_delivery.tracking_codes` failed for `sw6`.`order_delivery`
Please try to fix this error and restart the update.
Response
{"valid":false,"errorMsg":"An exception occurred while executing '\n ALTER TABLE `order_delivery`\n ADD COLUMN `tracking_codes` JSON NOT NULL AFTER `shipping_method_id`,\n ADD CONSTRAINT `json.order_delivery.tracking_codes` CHECK (JSON_VALID(`tracking_codes`));\n ':\n\nSQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT `order_delivery.tracking_codes` failed for `sw6`.`order_delivery`"}
vielen Dank - es wäre nett, wenn du den fix dann kurz hier postest - das Update hängt ja quasi fest. Komme ja nicht mehr ins Backend für eine neuere Version.
Ich wüsste auch gerne, wie man die Github-Sachen in die aktuelle Installation einbauen kann. Die angegebene Datei finde ich nicht im Installationsverzeichnis.