jalogut / magento2-deployer-plus

Tool based on deployer.org to perform zero downtime deployments of Magento 2 projects
GNU General Public License v3.0
200 stars 60 forks source link

Compiling fails due to disabled modules #42

Closed mage2go closed 5 years ago

mage2go commented 5 years ago

I am encountering the following error when deploying:

➤ Executing task files:compile [production] > cd ~/magento2/releases/20191121160900 && (/usr/bin/php ./bin/magento setup:di:compile) [production] < You cannot run this command because modules are not enabled. You can enable modules by running the 'module:enable --all' command. ➤ Executing task deploy:failed

Is there something i am missing here? I'm not sure why the modules are disabled in the first place..

VivekShingala commented 3 years ago

Hi @mage2go

Could you please share how did you resolve it?

VivekShingala commented 3 years ago

Ok, we resolved it by untracking app/etc/config.php file from .gitingore. Basically, the file app/etc/config.php was missing.