data-migration-tool
data-migration-tool copied to clipboard
The website with id 1 that was requested wasn't found. Verify the website and try again
Preconditions
- Magento 1.9.3.7 and Magento 2.3.4
- Data Migration tool 2.3.4
Steps to reproduce
- Install and configure data migration tool
- Run
bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.7/config.xml
and wait to finish - Run
bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.7/config.xml
Expected result
- Expecting the actual data to migrate after settings and stores are migrated.
Actual result
- Error after running migrate:data.
In WebsiteRepository.php line 110:
The website with id 1 that was requested wasn't found. Verify the website and try again.
Additional notes
I tried manually fixing it but I don't know where it is going wrong. The settings and stores get transferred in the migrate:settings step. I can see the data in de M2 database. But I cannot see any website or store with id 1. So I don't know why Magento is trying to load it anyway.
Hi @Aquive. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Try this one
DELETE FROM core_config_data WHERE scope_id = 1 AND scope = 'websites';
Thank you @panusit it works for me on Magento 2.3.5-p2 you saved my day 👍
This worked for me also. thank you