由于以下限制,如何启用 Magento 2.4 模块

问题描述

由于我是 Magento 2.4 的新手,我只是尝试通过禁用 Elasticsearch 将 M2.3 升级到 M 2.4

PHP bin/magento 模块:禁用 {Magento_Elasticsearch,Magento_InventoryElasticsearch,Magento_Elasticsearch6,Magento_Elasticsearch7}

我已成功将 Magento 更新到 2.4,现在我的产品目录不可见。

我们找不到符合选择的产品。

现在我尝试启用模式

PHP bin/magento 模块:启用 {Magento_Elasticsearch,Magento_Elasticsearch7} 并获得以下

Unable to change status of modules because of the following constraints:
Cannot enable Magento_InventoryElasticsearch because it depends on disabled modules:
Magento_Inventory: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_Inventory
Magento_InventoryApi: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventoryApi
Magento_InventorySales: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventorySales
Magento_InventoryCatalogApi: Magento_InventoryElasticsearch->Magento_InventoryCatalogApi
Magento_InventoryConfigurationApi: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventorySales->Magento_InventoryConfigurationApi
Magento_InventoryIndexer: Magento_InventoryElasticsearch->Magento_InventoryIndexer
Magento_InventorySalesApi: Magento_InventoryElasticsearch->Magento_InventorySalesApi
Magento_InventorySourceSelectionApi: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventorySales->Magento_InventorySourceSelectionApi
Magento_InventoryMultiDimensionalIndexerApi: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventoryMultiDimensionalIndexerApi
Magento_InventoryReservationsApi: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventorySales->Magento_InventoryReservationsApi
Magento_InventorySourceDeductionApi: Magento_InventoryElasticsearch->Magento_InventoryIndexer->Magento_InventorySales->Magento_InventorySourceDeductionApi

请建议如何启用。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)