Produkt Import Fehler Log

Ich versuche gerade in Shopware 6.4.9.0 einen Produkt Import. Leider schlägt dieser immer fehl, es gibt aber keine verwertbaren Informationen warum. Die Log im Backend hätte man sich meiner Meinung direkt ganz schenken können. Gibt es wo eine verstecke Log mit dem tatsächlichen Fehlern? In Shopware 5 hatte man wenigstens ein Info, welches Feld nicht passt erhalten.

Hier stochert man im Trüben.

Danke :slight_smile:

Ahja und was auch immer unter „Fehlerhafte Einträge Herunterladen“ Steckt, der Button ist ohne Funktion in meiner Shopware Version.

Genau darunter siehst du die Fehler im Detail.

Wenn du den Shop auf dev-Modus stellst, dann siehst du unter /var/log(s) die Fehler im Detail.

Danke für den Hinweis. Aktuell ist es jedoch so, dass er die 3 Test Produkte weiter nicht Importiert sondern dauerhaft auf dem Status „Verarbeiten“ hängt. Somit auch keine Log Ausgabe.

Vermutlich wird dann im Backend ein 500er-Fehler geworfen, so dass es zu keine Ausgabe im Frontend kommt. Solch einen Fehler siehst du dann nur in den Logs im Dev-Modus.

Im Logs wurde nichts geschrieben. Es lag aber am Feld „delivery_time“.

Seit dem funktioniert auch der Fehler Button und man kommt zur Meldung:

_error
An exception occurred while executing ‚REPLACE INTO product_category (product_id, product_version_id, category_id, category_version_id) VALUES (‚L???‘?JY?|??oGɿ‘,‚???jK¾K??u,4%‘,’??3???h’5sVaG$l’,‚???jK¾K??u,4%‘);’: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (gs_audi_shopware.product_category, CONSTRAINT fk.product_category.category_id FOREIGN KEY (category_id, category_version_id) REFERENCES category (id, version_id) ON DELETE CASC)
An exception occurred while executing ‚REPLACE INTO product_category (product_id, product_version_id, category_id, category_version_id) VALUES (‘?@iP?M?\0mQNҟ’,‚???jK¾K??u,4%‘,’??3???h’5sVaG$l’,‚???jK¾K??u,4%‘);’: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (gs_audi_shopware.product_category, CONSTRAINT fk.product_category.category_id FOREIGN KEY (category_id, category_version_id) REFERENCES category (id, version_id) ON DELETE CASC)
An exception occurred while executing ‚REPLACE INTO product_category (product_id, product_version_id, category_id, category_version_id) VALUES (‚1o?@}NǂU?h?\n‘,‚???jK¾K??u,4%‘,‘??3???h’5sVaG$l’,‚???jK¾K??u,4%‘);’: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (gs_audi_shopware.product_category, CONSTRAINT fk.product_category.category_id FOREIGN KEY (category_id, category_version_id) REFERENCES category (id, version_id) ON DELETE CASC)

OKay. Hier musste bei der Kategorie ID das 0x raus.

_error
A file with the name „904_IPZL_4M0019907_ENG_001.jpg“ already exists.

Gibt es eine Option, dass die Dateien einfach überschrieben oder umbennant Importiert werden?