PMET-public / mdm

3 stars 1 forks source link

Error: Can not get COMPOSE_PROJECT_NAME. #29

Closed keithbentrup closed 3 years ago

keithbentrup commented 3 years ago

After an update to MDM, I get the following error: image [2020-09-23T13:12:39Z] Error: Can not get COMPOSE_PROJECT_NAME. [2020-09-23T13:12:39Z] Error: Command COMPOSE_PROJECT_NAME="$(get_compose_project_name)" failed with exit code 1 on line 1041 of /Users/kbentrup/.mdm/1.0.0-dev/bin/lib.sh.

keithbentrup commented 3 years ago

This error is because the config file has been updated to be more consistent with the magento docker project. To resolve it, please open a terminal where you the downloaded the app and run the following cmd:

find . -type d -path "*Resources/app" -exec bash -c "cat {}/.mdm_app_config >> {}/.docker/config.env" \;

This should copy over the config and resolve the issue.