Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration
Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration
我在尝试本地安装 Magento 时遇到此错误:
The configuration file has changed. Run app:config:import or
setup:upgrade command to synchronize configuration.
当 运行 "app:config:import" 什么都没有解决时,当 运行 "setup:upgrade" 它运行然后失败,原因如下:
Import failed: Hash has not been saved.
有谁知道如何解决这个问题?我在本地环境中处于 "Default" 模式 运行。
我假设这是全新安装。
如果是,请尝试跳过 app:config:import
命令,因为您目前还没有要导入的配置..
如果不是全新安装,请检查:
- app/etc/env.php 里面有正确的权限和凭据
- app/etc/config.php 已正确列出所有 extensions/modules 且权限正确
我在尝试本地安装 Magento 时遇到此错误:
The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration.
当 运行 "app:config:import" 什么都没有解决时,当 运行 "setup:upgrade" 它运行然后失败,原因如下:
Import failed: Hash has not been saved.
有谁知道如何解决这个问题?我在本地环境中处于 "Default" 模式 运行。
我假设这是全新安装。
如果是,请尝试跳过 app:config:import
命令,因为您目前还没有要导入的配置..
如果不是全新安装,请检查:
- app/etc/env.php 里面有正确的权限和凭据
- app/etc/config.php 已正确列出所有 extensions/modules 且权限正确