Receiving error on step 5 DataMigration Pro

Hello, I am receiving an error on step 5:

The table “{{inventory_source_item}}” for active record class “Mage2InventorySourceItem” cannot be found in the database.  I have run setup: upgrade, and am running Magento 2.3.2 with DataMigration Pro (CE) 3.2.0

Thanks.  

3 answers

Profile photo of Mall Staff 184060.00 $tone September 5, 2019
Public

Hi there,

The table “{{inventory_source_item}}” for active record class “Mage2InventorySourceItem” cannot be found in the database.

That was because the table named ‘inventory_source_item’ was missing in your M2 database. It indicated that you had not installed M2.3.2 successfully and the related core module named ‘Magento_Inventory’ wasn’t installed in your M2.3.2 site yet.
 
So, please enable this core module to solve the issue you mentioned.

After you enabled that module, you can continue with data migration in step #5 using this command: 
php -f bin/ubdatamigration run --step=5;
 
Regards,
Mall.

#1
Profile photo of BIGAND JEROME 630.00 $tone August 2, 2021
Public

Hi Mall, I have same problem with last version of your 3.2.6 extension.
I had disable all these feature because Magento invetory create some trouble like explain here :
https://www.mexbs.com/magento-blog/disabling-the-magento-msi/
Is it possible to use migration of products without MSI enable ? (it could be a good option)
or in other case, you confirm I need to re-enable ALL the core extrensions relative to MSI :
Magento_Inventory Magento_InventoryAdminUi Magento_InventoryAdvancedCheckout Magento_InventoryApi Magento_InventoryBundleImportExport Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi Magento_InventoryBundleProductIndexer Magento_InventoryCatalog Magento_InventorySales Magento_InventoryCatalogAdminUi Magento_InventoryCatalogApi Magento_InventoryCatalogSearch Magento_InventoryConfigurableProduct Magento_InventoryConfigurableProductAdminUi Magento_InventoryConfigurableProductIndexer Magento_InventoryConfiguration Magento_InventoryConfigurationApi Magento_InventoryDistanceBasedSourceSelection Magento_InventoryDistanceBasedSourceSelectionAdminUi Magento_InventoryDistanceBasedSourceSelectionApi Magento_InventoryElasticsearch Magento_InventoryExportStockApi Magento_InventoryIndexer Magento_InventorySalesApi Magento_InventoryGroupedProduct Magento_InventoryGroupedProductAdminUi Magento_InventoryGroupedProductIndexer Magento_InventoryImportExport Magento_InventoryInStorePickupApi Magento_InventoryInStorePickupAdminUi Magento_InventorySourceSelectionApi Magento_InventoryInStorePickup Magento_InventoryInStorePickupGraphQl Magento_InventoryInStorePickupShippingApi Magento_InventoryInStorePickupQuoteGraphQl Magento_InventoryInStorePickupSales Magento_InventoryInStorePickupSalesApi Magento_InventoryInStorePickupQuote Magento_InventoryInStorePickupShipping Magento_InventoryInStorePickupShippingAdminUi Magento_InventoryCache Magento_InventoryLowQuantityNotification Magento_InventoryLowQuantityNotificationApi Magento_InventoryMultiDimensionalIndexerApi Magento_InventoryProductAlert Magento_InventoryRequisitionList Magento_InventoryReservations Magento_InventoryReservationCli Magento_InventoryReservationsApi Magento_InventoryExportStock Magento_InventorySalesAdminUi Magento_InventorySalesFrontendUi Magento_InventorySetupFixtureGenerator Magento_InventoryShipping Magento_InventoryShippingAdminUi Magento_InventorySourceDeductionApi Magento_InventorySourceSelection Magento_InventoryInStorePickupFrontend Magento_InventoryLowQuantityNotificationAdminUi Magento_InventoryInStorePickupSalesAdminUi Magento_InventoryInStorePickupWebapiExtension
 
??
 
 
 

#2
Profile photo of Mall Staff 184060.00 $tone August 3, 2021
Public

Hi Bigand Jerome,

Is it possible to use migration of products without MSI enable ? 

Yes, you can try these steps:
+ Open the PHP file at: pub/ub-tool/protected/controllers/Step5Controller.php
and find the code line:

$msiEnabled = 1; //1- enabled MSI module, 0 - disabled MSI module

and replace it with:

$msiEnabled = 0; //1- enabled MSI module, 0 - disabled MSI module

+ Once done, you continue with delta migration in step #5.

Regards,
Mall.
 

#3

Please login or Register to Submit Answer

Written By

Comments