michaelmcandrew / civicrm-buildkit-docker

This is a read only copy. Please make PRs here: https://lab.civicrm.org/michaelmcandrew/civicrm-buildkit-docker
https://lab.civicrm.org/michaelmcandrew/civicrm-buildkit-docker
GNU Affero General Public License v3.0
40 stars 31 forks source link

Error when creating dmaster demo site #72

Closed MarcMichalsky closed 3 years ago

MarcMichalsky commented 3 years ago

When I pull a fresh copy of this repository and execute docker-compose exec -u buildkit civicrm civibuild create dmaster the building process fails with the following error messages. The containers are all running.

Command site-install needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.                                               [error]
The drush command 'site-install' could not be executed.                                                                                                                                                 [error]

I tested it on two different Ubuntu machines with the same result.

michaelmcandrew commented 3 years ago

Hi @MarcMichalsky

I 'reset' my install with docker-compose down -v;rm -r build;mkdir build;docker-compose pull;docker-compose up -d.

I ran docker-compose exec -u buildkit civicrm civibuild create dmaster.

It completed OK for me.

I am guessing that there is some more useful diagnostic information about what went wrong during the build if you scroll further up in your output. Feel free to check it yourself - it might give you a clue. Otherwise, happy to help more.

MarcMichalsky commented 3 years ago

Oh, okay, that worked. I was not aware that after pulling a new version of civicrm-buildkit-docker I had to remove all volumes, too. The -v flag did the trick. Thanks a lot!

michaelmcandrew commented 3 years ago

Great :)