第一个问题,如果我做错了什么,请告诉我。
我有一个Magento2.1.4安装,我试图通过进入安装->组件管理器来卸载Magento /data-迁移工具。每次尝试都失败了。控制台日志提供了以下详细信息。
[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发布于 2019-02-27 11:58:33
您可以通过composer卸载一个模块,如果它是使用composer安装的。如果是,那么使用以下命令:
php bin/magento module:uninstall -r <Vendor>_<Module>-r标志移除模块数据。然后发行:
php bin/magento setup:upgrade如果没有通过composer安装模块:
运行命令
php bin/magento setup:upgradehttps://stackoverflow.com/questions/43626821
复制相似问题