首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法卸载Magento数据迁移工具(组件类型未设置)

无法卸载Magento数据迁移工具(组件类型未设置)
EN

Stack Overflow用户
提问于 2017-04-26 06:43:12
回答 1查看 582关注 0票数 1

第一个问题,如果我做错了什么,请告诉我。

我有一个Magento2.1.4安装,我试图通过进入安装->组件管理器来卸载Magento /data-迁移工具。每次尝试都失败了。控制台日志提供了以下详细信息。

代码语言:javascript
复制
[2017-04-26 01:05:02 CDT] Job "maintenance_mode {"enable":true}" has been started

[2017-04-26 01:05:02 CDT] Magento maintenance mode is enabled.

[2017-04-26 01:05:02 CDT] Job "maintenance_mode {"enable":true}" has successfully completed

[2017-04-26 06:24:02 UTC] Job "setup:cache:disable []" has started
Changed cache status:
config: 1 -> 0
layout: 1 -> 0
block_html: 1 -> 0
collections: 1 -> 0
reflection: 1 -> 0
db_ddl: 1 -> 0
eav: 1 -> 0
customer_notification: 1 -> 0
full_page: 1 -> 0
config_integration: 1 -> 0
config_integration_api: 1 -> 0
translate: 1 -> 0
config_webservice: 1 -> 0

[2017-04-26 06:24:02 UTC] Job "setup:cache:disable []" has been successfully completed

[2017-04-26 06:24:02 UTC] Job "setup:component:uninstall {"components":[{"name":"magento/data-migration-tool"}],"dataOption":false}" has started

[2017-04-26 06:24:02 UTC] An error occurred while executing job "setup:component:uninstall {"components":[{"name":"magento/data-migration-tool"}],"dataOption":false}": Component type not set

[2017-04-26 06:24:02 UTC] Job "setup:cache:enable ["config layout block_html collections reflection db_ddl eav customer_notification full_page config_integration config_integration_api translate config_webservice"]" has started
Changed cache status:
config: 0 -> 1
layout: 0 -> 1
block_html: 0 -> 1
collections: 0 -> 1
reflection: 0 -> 1
db_ddl: 0 -> 1
eav: 0 -> 1
customer_notification: 0 -> 1
full_page: 0 -> 1
config_integration: 0 -> 1
config_integration_api: 0 -> 1
translate: 0 -> 1
config_webservice: 0 -> 1
Cleaned cache types:
config
layout
block_html
collections
reflection
db_ddl
eav
customer_notification
full_page
config_integration
config_integration_api
translate
config_webservice

[2017-04-26 06:24:03 UTC] Job "setup:cache:enable ["config layout block_html collections reflection db_ddl eav customer_notification full_page config_integration config_integration_api translate config_webservice"]" has been successfully completed
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-02-27 11:58:33

您可以通过composer卸载一个模块,如果它是使用composer安装的。如果是,那么使用以下命令:

代码语言:javascript
复制
php bin/magento module:uninstall -r <Vendor>_<Module>

-r标志移除模块数据。然后发行:

代码语言:javascript
复制
php bin/magento setup:upgrade

如果没有通过composer安装模块:

  • 删除模块目录app/code//
  • 删除模块数据库表(如果有创建的话)
  • 从core_config_data和setup_module表中删除条目

运行命令

代码语言:javascript
复制
php bin/magento setup:upgrade
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43626821

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档