# Migration Magento 1.9 zu SW 6

**URL:** <https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263>\
**Category:** Sonstiges\
**Created:** [15. April 2020 um 09:02 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263 "2020-04-15T09:02:12Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![FFWDcc](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@FFWDcc](https://forum.shopware.com/u/FFWDcc)\
**Post date:** [15. April 2020 um 09:02 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/1 "2020-04-15T09:02:12Z")

</div>

Hallo Zusammen,

wir haben einen Magento 1.9 Shop den wir zu SW 6 migrieren wollen. Wir haben den Importer konfiguriert und die Migration wird auch durchgeführt aber von 1600 Kunden werden nur &nbsp;1250 übernommen. Desweiteren werden nur 14 statt 900 Artikel angelegt.&nbsp;

Dies sind die Screenshots der Historie:

Produkte:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/4dc1731ebf9142cfcfa56d98484bbb02f65edd5e.png)

Customer:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/3e9b3a6f2442b2c9c9b90e39a12ee84182365b2b.png)

Auszug aus dem Errorlog der Customers/Orders

```
--------------------Log-entries---------------------

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 3" child not found.

[warning] SWAG_MIGRATION_EMPTY_NECESSARY_FIELD_CATEGORY
The category entity has one or more empty necessary fields
The category entity with the source id 1 does not have the necessary data for the field(s): name

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 39" child not found.

```

Wir müssen wir hier vorgehen? Vielen Dank.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [15. April 2020 um 09:06 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/2 "2020-04-15T09:06:54Z")

</div>

Liegt wahrscheinlich an der Kategorie - ist da was spezielles an der Kategorie mit der ID 3 aus dem Log?

---

<div class="post-metadata">

**Author:** ![FFWDcc](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@FFWDcc](https://forum.shopware.com/u/FFWDcc)\
**Post date:** [15. April 2020 um 09:11 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/3 "2020-04-15T09:11:19Z")

</div>

Kategorie 3 ist in Magento „alle Produkte“ also&nbsp;die Elternkategorie Aller.

SW6 haben wir frisch aufgesetzt und nichts vorab angelegt.

Was unse gerade aufgefallen ist: die 14 Artikel, die übernommen werden, sind in Magento auf dem Status „Deaktiviert“.

---

<div class="post-metadata">

**Author:** ![FFWDcc](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@FFWDcc](https://forum.shopware.com/u/FFWDcc)\
**Post date:** [15. April 2020 um 09:15 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/4 "2020-04-15T09:15:10Z")

</div>

Der Log war auch nur ein Auszug… da kommen noch mehr.  
Hier der Komplette:  
&nbsp;

```
Selected data:
- basicSettings (total: 1)
	- language (total: 0)
	- customer_group (total: 0)
	- category (total: 0)
	- country (total: 0)
	- currency (total: 1)
	- sales_channel (total: 0)
- products (total: 912)
	- product_manufacturer (total: 3)
	- property_group (total: 3)
	- product_custom_field (total: 10)
	- product (total: 896)
- processMediaFiles (total: 1236)
	- media (total: 1236)

--------------------Log-entries---------------------

[warning] SWAG_MIGRATION_EMPTY_NECESSARY_FIELD_CATEGORY
The category entity has one or more empty necessary fields
The category entity with the source id 1 does not have the necessary data for the field(s): name

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 3" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 39" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 60" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 59" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 80" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 61" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 229" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 283" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 85" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 284" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 92" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 88" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 96" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 289" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 213" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 83" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 84" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 69" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 68" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 106" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 105" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 74" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 107" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 81" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 82" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 286" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 116" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 285" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 288" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 287" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 173" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 174" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 75" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 76" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 220" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 175" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 176" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 177" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 179" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 178" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 77" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 181" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 180" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 78" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 231" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 182" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 232" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 219" child not found.

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
Parent entity for "category: 290" child not found.

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [15. April 2020 um 09:18 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/5 "2020-04-15T09:18:10Z")

</div>

Ja, wenn die Hauptkategorie nicht importiert werden kann, dann kann es der Rest auch nicht. Das ist also nicht verwundertlich.

Kann man denn bei der Hauptkategorie irgendwelche Daten pflegen? Name oder sowas?

---

<div class="post-metadata">

**Author:** ![FFWDcc](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@FFWDcc](https://forum.shopware.com/u/FFWDcc)\
**Post date:** [15. April 2020 um 09:22 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/6 "2020-04-15T09:22:41Z")

</div>

> [@Moritz Naczenski schrieb:](https://forum.shopware.com/profile/14574/Moritz%20Naczenski "Moritz%20Naczenski")
> 
> Ja, wenn die Hauptkategorie nicht importiert werden kann, dann kann es der Rest auch nicht. Das ist also nicht verwundertlich.
> 
> Kann man denn bei der Hauptkategorie irgendwelche Daten pflegen? Name oder sowas?

&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/5/51b23730309fec58802d9d4d0be736bfbc235a7c.png)  
Ja, der Magento Shop läuft ja.

---

<div class="post-metadata">

**Author:** ![htkassner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/htkassner/32/15625_2.png) [@htkassner](https://forum.shopware.com/u/htkassner)\
**Post date:** [15. April 2020 um 09:48 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/7 "2020-04-15T09:48:38Z")

</div>

Es scheint hier eher mit der Kategorie ID 1 ein Problem zu geben. Vermutlich ist dies die “hidden” Root Kategorie, die aber ggf. nicht als solche erkannt wird. Jedenfalls fehlt lt. Log bei dieser das Feld “name” und darum wird sie nicht geschrieben und eben alle anderen auch nicht. Das zieht sich dann bis zu den Produkten durch. Gerne einmal schauen wie die “root” Kategorie in der DB konfiguriert ist.&nbsp;

---

<div class="post-metadata">

**Author:** ![FFWDcc](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@FFWDcc](https://forum.shopware.com/u/FFWDcc)\
**Post date:** [15. April 2020 um 10:04 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/8 "2020-04-15T10:04:19Z")

</div>

> [@htkassner schrieb:](https://forum.shopware.com/profile/23794/htkassner "htkassner")
> 
> Es scheint hier eher mit der Kategorie ID 1 ein Problem zu geben. Vermutlich ist dies die „hidden“ Root Kategorie, die aber ggf. nicht als solche erkannt wird. Jedenfalls fehlt lt. Log bei dieser das Feld „name“ und darum wird sie nicht geschrieben und eben alle anderen auch nicht. Das zieht sich dann bis zu den Produkten durch. Gerne einmal schauen wie die „root“ Kategorie in der DB konfiguriert ist.&nbsp;

Die Kategorie mit der ID 1 hat alle Werte (bis auf ID und parent&nbsp;ID und so) auf NULL stehen. Also name steht auch auf NULL.&nbsp;

---

<div class="post-metadata">

**Author:** ![htkassner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/htkassner/32/15625_2.png) [@htkassner](https://forum.shopware.com/u/htkassner)\
**Post date:** [30. April 2020 um 11:56 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/9 "2020-04-30T11:56:53Z")

</div>

Nachdem wir uns das angesehen haben, liegt es in diesem Fall daran, dass die root Kategorie im Quellsystem keinen Namen hat. Dieser wird momentan vom Converter erwartet. Wir werden hierfür kurzfristig einen Fix in irgendeiner Form liefern.

Gruß  
Holger

---

<div class="post-metadata">

**Author:** ![Phlei](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@Phlei](https://forum.shopware.com/u/Phlei)\
**Post date:** [12. Mai 2020 um 08:01 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/10 "2020-05-12T08:01:54Z")

</div>

Hallo Holger,

gibt es hier schon Neuigkeiten? Stehe aktuell vor dem gleichen Problem (v6.1.5 Stable Version, Quelle Magento 1.8.1 und/oder Magento 1.9.4) und werde nicht schlau daraus, wo im Quellsystem der Name fehlen sollte.

Ich hatte die Migration vor einiger Zeit schon mal mit der gleichen Quelldatenbank und&nbsp;SW 6.0 EA getestet, da ging es.

Ich habe gesehen, dass es einen aktuelleren Stand des Migrations-Plugins gibt, der allerdings v6.2 voraussetzt. Ist der Fehler hier eventuell gefixt?&nbsp;

Gruß

Philipp

&nbsp;

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [12. Mai 2020 um 08:08 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/11 "2020-05-12T08:08:15Z")

</div>

Laut Changelog wurde der Fehler meines Erachtens mit Version 1.3.0 gefixt. Allerdings sollte die neueste Version 1.3.1 auch mit Shopware 6.1 laufen.

---

<div class="post-metadata">

**Author:** ![Phlei](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@Phlei](https://forum.shopware.com/u/Phlei)\
**Post date:** [12. Mai 2020 um 08:39 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/12 "2020-05-12T08:39:40Z")

</div>

Danke für das schnelle Feedback, aber alle aktuellen Versionen der Migrations-Plugins (SwagMigrationAssistant und SwagMigrationMagento)&nbsp;setzen v6.2 voraus.&nbsp;

Daher habe ich ein v6.2 installiert. Damit läuft es nun zumindest soweit durch, dass ich Kategorien und Produkte habe. Es gibt nun noch Fehler in manchen Adressdaten, aber das muss ich mir erstmal ansehen.

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [12. Mai 2020 um 08:55 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/13 "2020-05-12T08:55:12Z")

</div>

Bzgl. der Kompatibilität steht aber hier etwas anderes:&nbsp;[Magento-Migration-Profil | Migrations-Tools | Erweiterungen | Shopware Community Store](https://store.shopware.com/swag156421341964f/magento-migration-profil.html)

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [12. Mai 2020 um 09:22 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/14 "2020-05-12T09:22:25Z")

</div>

Hallo @SmartStylez‍

da muss ich kurz einwerfen: Die Anzeige bedeutet, dass es für diese Shopware Versionen kompatible Plugin Versionen gibt. Dies muss aber nicht zwingend die aktuellste sein. Heißt also Version x.x.x ist mit&nbsp;SW6.1 kompatibel, aber dann x.x+1.x ist nur mit SW6.2 kompatibel.

Viele Grüße aus Schöppingen

![cool](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [12. Mai 2020 um 10:31 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/15 "2020-05-12T10:31:10Z")

</div>

Ah, okay, sorry, da habe ich wieder was dazugelernt.

---

<div class="post-metadata">

**Author:** ![juergen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/juergen/32/13982_2.png) [@juergen](https://forum.shopware.com/u/juergen)\
**Post date:** [28. Juni 2021 um 17:04 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/16 "2021-06-28T17:04:28Z")

</div>

Ich versuche gerade ebenfalls eine Migration von einem Magento 1.9 zu SW v6.4.1.2 Stable Version.

Die Kunden wurden importiert, aber die Bestellungen und Produkte nicht.

Auch bei mir wird die Wurzelkategorie nicht migriert:

```auto
[warning] SWAG_MIGRATION_EMPTY_NECESSARY_FIELD_CATEGORY
The category entity has one or more empty necessary fields
The category entity with the source id 2 does not have the necessary data for the field(s): name

```

Gibt es da mittlerweile eine Lösung?

---

<div class="post-metadata">

**Author:** ![FFWDcc](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@FFWDcc](https://forum.shopware.com/u/FFWDcc)\
**Post date:** [29. Juni 2021 um 06:04 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/17 "2021-06-29T06:04:48Z")

</div>

Hallo,

wir haben der vermeintlichen root Kategorie einfache einen Eintrag bei name verpasst. Dazu haben wir eine lokale DB angelegt um die Integrität der produktiven DB nicht zu gefährden. Hat dann im ersten Anlauf funktioniert. Bei einer anderen Migration von Magento 1.9 hat der Connector diesen Fehler aber nicht mehr gebracht.

---

<div class="post-metadata">

**Author:** ![juergen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/juergen/32/13982_2.png) [@juergen](https://forum.shopware.com/u/juergen)\
**Post date:** [29. Juni 2021 um 08:24 UTC](https://forum.shopware.com/t/migration-magento-1-9-zu-sw-6/66263/18 "2021-06-29T08:24:05Z")

</div>

Danke. Ja ich habe den zu migrierenden Shop in Docker laufen und habe nun die Wurzelkategorie „Alle Produkte“ genannt. Danach konnte ich Artikel und Bestellungen migrieren.
