beetboxvm / beetbox

Pre-provisioned L*MP stack
http://beetbox.rtfd.org
92 stars 19 forks source link

Beetbox and Drupal 8 #338

Closed lsolesen closed 8 years ago

lsolesen commented 8 years ago

I've successfully put beetbox to work for several Drupal 7 sites, but I cannot quite figure out how to do it for Drupal 8.

I've tried this: https://github.com/motionsplan/motionsplan-d8, but end up with this error:

==> beetbox: fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/usr/local/bin/drush", "site-install", "standard", "-y", "--site-name=motionsplan-d8.local", "--account-name=admin", "--account-pass=admin", "--db-url=mysql://beetbox:beetbox@localhost/beetbox"], "delta": "0:00:00.287661", "end": "2016-10-16 20:53:02.358177", "failed": true, "rc": 1, "start": "2016-10-16 20:53:02.070516", "stderr": "Command site-install needs a higher bootstrap level to run - you will    [error]\nneed to invoke drush from a more functional Drupal environment to run\nthis command.\nThe drush command 'site-install standard' could not be executed.         [error]", "stdout": "", "stdout_lines": [], "warnings": []}
thom8 commented 8 years ago

You'll need to update beet_root to the directory of the Drupal install -- https://github.com/motionsplan/motionsplan-d8/blob/migrate/.beetbox/config.yml#L7

In this case it would be web rather than docroot

lsolesen commented 8 years ago

Thanks. However still same problem. My first D8 project, so maybe I messed up what has been committed to /web?

Den man. 17. okt. 2016 08.29 skrev Thom Toogood notifications@github.com:

You'll need to update beet_root to the directory of the Drupal install -- https://github.com/motionsplan/motionsplan-d8/blob/migrate/.beetbox/config.yml#L7

In this case it would be web rather than docroot

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beetboxvm/beetbox/issues/338#issuecomment-254122804, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJCOhSNJi8K_r9VwKJwOf_aO8M-vwoeks5q0xXOgaJpZM4KYP3I .

thom8 commented 8 years ago

@lsolesen give this a go -- https://github.com/motionsplan/motionsplan-d8/pull/1

All composer dependencies need to be installed before the drush install. Also removed services.yml & settings.php which are created during the install.

lsolesen commented 8 years ago

Thank you so much. That fixed it, and I am ready to develop my D8 site :)