Description
Preconditions
- Magento 2.2.3 or 2.2.4
- PHP 7.1.18
- Ubuntu 16.04.4 LTS
- mysql Ver 14.14 Distrib 5.7.22-22, for debian-linux-gnu (x86_64) using 6.3
Steps to reproduce
- clean install of Magento 2.2.3 or 2.2.4
- bin/magento app:config:dump
- bin/magento app:config:import
- change only the base_url in the env.php files
'web' => array ( 'unsecure' => array ( 'base_url' => 'http://m223ee.ffm/', 'base_link_url' => '{{unsecure_base_url}}',
- bin/magento app:config:import
Expected result
- Expected output :
Processing configurations data from configuration file...
System config was processed
Actual result
- Output: Processing configurations data from configuration file...
Import failed: Area code not set: Area code must be set before starting a session. - var/log/exception.log:
report.ERROR: Area code not set: Area code must be set before starting a session. {"exception":"[object] (Magento\Framework\Exception\State\InvalidTransitionException(code: 0): Area code not set: Area code must be set before starting a session. at /home/springerin/Workspace/Progetti/m224ee/vendor/magento/module-config/Model/Config/Importer.php:137, Magento\Framework\Exception\SessionException(code: 0): Area code not set: Area code must be set before starting a session. at /home/springerin/Workspace/Progetti/m224ee/vendor/magento/framework/Session/SessionManager.php:175, Magento\Framework\Exception\LocalizedException(code: 0): Area code is not set at /home/springerin/Workspace/Progetti/m224ee/vendor/magento/framework/App/State.php:152)"} []
Metadata
Metadata
Assignees
Labels
Type
Projects
Status