-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid parameter configuration provided for $sourceDocument argument of Migration\RecordTransformer #651
Comments
Can I skip settings migration. What things will be migrated in settings? Can I continue with this. |
Hi @CharanjeetE what is exact version of Magento 1 you are migrating? |
settings migrates stores/websites and system configuration (core_config_data table) |
1.9.3.7 |
I have checked that if I will skip settings migrate:data also giving errors |
Please help me to sort out these issues these are taking my too much time. |
This error happens when M1 or M2 use prefix in tables name. Please add your prefix in config.xml file in tags
|
…when Magento DB uses prefix in tables name #651
I am not using any prefix in m1 and m2. All tables are with default name. |
One thing I want to confirm that is it required to m1 to be in running state or just I can use database. |
Please provide me solution for the first one question asked in starting. |
@CharanjeetE |
I am trying to migrate data from m1 to m2.3 and getting the following error.
Preconditions
Running this command
sudo php /var/www/m2.gocleaning.nl/bin/magento migrate:settings -r -a /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.7/config.xml
Steps to reproduce
Expected result
Actual result
[2019-02-08 08:05:59][INFO][mode: settings][stage: integrity check][step: Settings Step]: started
100% [============================] Remaining Time: < 1 sec
[2019-02-08 08:05:59][INFO][mode: settings][stage: integrity check][step: Stores Step]: started
100% [============================] Remaining Time: < 1 sec
[2019-02-08 08:05:59][WARNING]: Source documents are not mapped: core_store,core_store_group,core_website
[2019-02-08 08:05:59][WARNING]: Destination documents are not mapped: store,store_group,store_website
[2019-02-08 08:05:59][INFO][mode: settings][stage: data migration][step: Settings Step]: started
100% [============================] Remaining Time: < 1 sec
[2019-02-08 08:05:59][INFO][mode: settings][stage: data migration][step: Stores Step]: started
33% [=========>------------------] Remaining Time: < 1 sec
In AbstractFactory.php line 147:
Invalid parameter configuration provided for $sourceDocument argument of Migration\RecordTransformer
migrate:settings [-r|--reset] [-a|--auto] [--]
[root@Gocleaning-m2 opensource-to-opensource]# sudo php /var/www/m2.gocleaning.nl/bin/magento migrate:settings -r -a -vvv /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.7/config.xml
Reset the current position of migration to start from the beginning
[2019-02-08 08:11:13][INFO][mode: settings][stage: integrity check][step: Settings Step]: started
100% [============================] Remaining Time: < 1 sec
[2019-02-08 08:11:13][INFO][mode: settings][stage: integrity check][step: Stores Step]: started
100% [============================] Remaining Time: < 1 sec
[2019-02-08 08:11:13][WARNING]: Source documents are not mapped: core_store,core_store_group,core_website
[2019-02-08 08:11:13][WARNING]: Destination documents are not mapped: store,store_group,store_website
[2019-02-08 08:11:13][INFO][mode: settings][stage: data migration][step: Settings Step]: started
100% [============================] Remaining Time: < 1 sec
[2019-02-08 08:11:13][INFO][mode: settings][stage: data migration][step: Stores Step]: started
33% [=========>------------------] Remaining Time: < 1 sec
In AbstractFactory.php line 147:
[UnexpectedValueException]
Invalid parameter configuration provided for $sourceDocument argument of Migration\RecordTransformer
Exception trace:
() at /var/www/m2.gocleaning.nl/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:147
Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/m2.gocleaning.nl/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:246
Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/m2.gocleaning.nl/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/m2.gocleaning.nl/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/m2.gocleaning.nl/vendor/magento/framework/ObjectManager/ObjectManager.php:56
Magento\Framework\ObjectManager\ObjectManager->create() at /var/www/m2.gocleaning.nl/generated/code/Migration/RecordTransformerFactory.php:43
Migration\RecordTransformerFactory->create() at /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/src/Migration/Step/Stores/Data.php:100
Migration\Step\Stores\Data->perform() at /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/src/Migration/Mode/AbstractMode.php:81
Migration\Mode\AbstractMode->runStage() at /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/src/Migration/Mode/Settings.php:100
Migration\Mode\Settings->runData() at /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/src/Migration/Mode/Settings.php:58
Migration\Mode\Settings->run() at /var/www/m2.gocleaning.nl/vendor/magento/data-migration-tool/src/Migration/Console/MigrateSettingsCommand.php:54
Migration\Console\MigrateSettingsCommand->execute() at /var/www/m2.gocleaning.nl/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/m2.gocleaning.nl/vendor/symfony/console/Application.php:893
Symfony\Component\Console\Application->doRunCommand() at /var/www/m2.gocleaning.nl/vendor/symfony/console/Application.php:262
Symfony\Component\Console\Application->doRun() at /var/www/m2.gocleaning.nl/vendor/magento/framework/Console/Cli.php:102
Magento\Framework\Console\Cli->doRun() at /var/www/m2.gocleaning.nl/vendor/symfony/console/Application.php:145
Symfony\Component\Console\Application->run() at /var/www/m2.gocleaning.nl/bin/magento:23
migrate:settings [-r|--reset] [-a|--auto] [--]
Additional notes
I have exported the data from m1 server and imported in m2 server than trying to migrate from this data but getting errors.
The text was updated successfully, but these errors were encountered: