Drupal 8 is under active development, so there are changes breaking previously working support in our Aegir setup with forked and modified Drush 4.6-dev possible. This issue should be used to report and accumulate any new issues related to D8 support in BOA.

CommentFileSizeAuthor
#14 Status-D8-BOA.jpg129.41 KBomega8cc
#14 Aegir-D8-BOA.jpg138.71 KBomega8cc
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

omega8cc’s picture

There are tons of notices like: Use of undefined constant DRUPAL_BOOTSTRAP_LANGUAGE - assumed 'DRUPAL_BOOTSTRAP_LANGUAGE' drush.inc:639

omega8cc’s picture

This one breaks site provisioning currently:

Drush command terminated abnormally due to an unrecoverable error. Error: Call to undefined function user_save() in /data/disk/o2/.drush/provision/platform/drupal/install_8.inc, line 149
Undefined index: login_link install.provision.inc:60
omega8cc’s picture

Notices are gone after adding a better fix.

Poieo’s picture

I'm still receiving the error from #2 after applying the patch in #3.

omega8cc’s picture

I know, it is a work in progress, but delayed a bit since we are working on moving to Drush 5 by default as a permanent "fix".

Poieo’s picture

Sounds good.

I was able to get past the error by changing line 149 from

$account = user_save($account,  $edit);

to

$account->save();

The install still through some cache errors but it went through.

omega8cc’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

omega8cc’s picture

Status: Closed (fixed) » Postponed

Note that we have removed Drupal 8.0-dev-edge support, because it no longer works, and even Drush 5 dropped support for Drupal 8. The last working Drupal 8 build is available as Drupal 8.0-dev-tested platform. You can still try to install/test Drupal 8.0-dev-edge if you will put _ALLOW_UNSUPPORTED=YES in your /root/.USER.octopus.cnf config file.

omega8cc’s picture

Category: bug » feature
niccolox’s picture

Any updates on this?

Does it make sense to use the experimental aegir 2 branch ?

markwk’s picture

@omega8cc I'm also curious on Aegir support of Drupal 8. I got a few team modules we'd like to port and demo on your servers and even potentially one crazy client wanting to consider building on Drupal 8 already. Bref... any idea on when we might expect "rough" support on Drupal 8 release? in alpha or not until we hit beta?

omega8cc’s picture

We would need to switch to recent Aegir 2.x head, force Drush 7 by default (not yet released master in development, which is the only version supporting D8) and then make Aegir 2.x compatible with Drush 7 to even start looking into this, while Aegir is not going to support D8 officially before 3.x, so it is not going to happen in BOA-2.1.x series. It is an unknown amount of work at this stage (but maybe not that hard) and will require maintaining two versions of BOA, because we would need to break backward compatibility, force newer PHP versions etc.

omega8cc’s picture

Version: » 6.x-2.x-dev
Component: Code » Drupal Platforms
Issue summary: View changes
Status: Postponed » Needs review
FileSize
138.71 KB
129.41 KB

I'm happy to report that BOA-2.4.x-dev supports latest Drupal 8, as shown in the attached screenshots. Note that it is not Aegir 3.x yet, but a hybrid of Drush 7, Provision 3.x and Hostmaster 2.x, plus some extra BOA magic, which allows us to support Drupal 8 and (soon) also Backdrop CMS even before Aegir 3.x enters Beta/RC/Stable phase.

You can try this BOA version with in-modern and up-modern install/upgrade modes used with boa, barracuda and octopus wrappers.

Merry Christmas and Happy Holidays!

Aegir-D8-BOA

Status-D8-BOA

omega8cc’s picture

Known problems:

1. Site install works only for D8 created as a custom platform -- the built-in D8 platform with symlinked core doesn't work (yet). Not sure if this is Drush or Drupal problem with symlinks, or something else.

2. Sometimes you need to rename freshly installed D8 site to get its css/js working properly.

omega8cc’s picture

Status: Needs review » Needs work
omega8cc’s picture

Status: Needs work » Fixed

All known problems have been fixed.

Pls’s picture

Awesome work on supporting latest and greatest. omega8cc, you simply rule! Happy holidays! :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.