magento / magento/data-migration-tool

Failed migration 1.7.0.2 to M.2.3.7-p2

Open
#883 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

I want to migrate from M1.7.0.2 to M2.3.7-p2. M2 is a pure instance, unfortunately there is such an error. Is it because there is no data-tool-migration: 2.3.7 version?

### Preconditions

1. Magento 2.3.7-p2
2. Data Tool migration 2.3.5

### Steps to reproduce

1. Prepare migration config
2. Run
3. php bin/magento -r -a migrate:settings app/code/Company/Migration/etc/opensource-to-opensource/1.7.0.2/config.xml

### Expected result

1. Passed Migration

### Actual result

1. [Screenshot, logs]
```Reset the current position of migration to start from the beginning

[2021-10-22 06:23:54][INFO][mode: settings][stage: integrity check][step: Settings Step]: started
100% [============================] Remaining Time: < 1 sec
[2021-10-22 06:23:54][INFO][mode: settings][stage: integrity check][step: Stores Step]: started
100% [============================] Remaining Time: < 1 sec
[2021-10-22 06:23:55][INFO][mode: settings][stage: data migration][step: Settings Step]: started
100% [============================] Remaining Time: < 1 sec
[2021-10-22 06:23:56][ERROR]: Unknown resource type:
In Settings.php line 101:

Data Migration failed

migrate:settings [-r|--reset] [-a|--auto] [--] ```
### Additional notes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported migrate:settings command and the configuration at app/code/Company/Migration/etc/opensource-to-opensource/1.7.0.2/config.xml. Read Settings.php around line 101 and reproduce the failure with Magento 2.3.7-p2 and Data Migration Tool 2.3.5. Done means the migration no longer reports an unknown resource type and the relevant migration test or command completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.