Since the /core patch was applied to Drupal 8 it's no longer possible to deploy sites that are D8, it would be great if we could get this working again so that we can work on core patches.

Comments

omega8cc’s picture

Status: Active » Fixed

It is now supported out of the box.

attiks’s picture

Status: Fixed » Needs work

It's probably me, but after creating a platform I get

The command could not be executed successfully (returned: Fatal error: Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /var/aegir/platforms/h011/testswarm/drupal8/core/includes/bootstrap.inc on line 2335 Fatal error: Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /var/aegir/platforms/h011/testswarm/drupal8/core/includes/bootstrap.inc on line 2335 , code: 255)

This is on a clean, fresh server install:
ubuntu 11.10 64 bit
drush version 4.6-dev

Possible related issues:
#1541990: Improve check before calling t() (D8 drupal_container() patch broke drush)
#1540110: Drush calling t() before D8 dependency injection construct is available

Debug output:

aegir@static:~/platforms/h011/testswarm/drupal8$ drush @platform_d8_testswarm provision-verify --debug
Bootstrap to phase 0. [0.02 sec, 2.86 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.02 sec, 3.08 MB] [bootstrap]
Load alias @platform_d8_testswarm [0.02 sec, 3.09 MB]                                                                                 [notice]
Bootstrap to phase 0. [0.06 sec, 9.52 MB]                                                                                          [bootstrap]
Found command: provision-verify (commandfile=provision) [0.06 sec, 9.52 MB]                                                        [bootstrap]
Initializing drush commandfile: db [0.06 sec, 9.53 MB]                                                                             [bootstrap]
Initializing drush commandfile: dns [0.06 sec, 9.53 MB]                                                                            [bootstrap]
Initializing drush commandfile: drush_make [0.06 sec, 9.53 MB]                                                                     [bootstrap]
Initializing drush commandfile: drush_make_d_o [0.06 sec, 9.53 MB]                                                                 [bootstrap]
Initializing drush commandfile: example [0.06 sec, 9.53 MB]                                                                        [bootstrap]
Initializing drush commandfile: http [0.06 sec, 9.54 MB]                                                                           [bootstrap]
Initializing drush commandfile: provision [0.07 sec, 9.54 MB]                                                                      [bootstrap]
Load alias @server_master [0.07 sec, 9.55 MB]                                                                                         [notice]
Loading nginx driver for the http service [0.07 sec, 9.67 MB]                                                                         [notice]
Loading nginx driver for the cdn service [0.07 sec, 9.71 MB]                                                                          [notice]
Initializing drush commandfile: provision_cdn [0.07 sec, 9.72 MB]                                                                  [bootstrap]
Including /var/aegir/.drush/provision/dns/verify.provision.inc [0.07 sec, 9.72 MB]                                                 [bootstrap]
Including /var/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc [0.07 sec, 9.72 MB]                              [bootstrap]
Including /var/aegir/.drush/provision_boost/verify.provision.inc [0.07 sec, 9.73 MB]                                               [bootstrap]
Including /var/aegir/.drush/provision_cdn/verify.provision.inc [0.07 sec, 9.78 MB]                                                 [bootstrap]
Including /var/aegir/.drush/provision/platform/verify.provision.inc [0.07 sec, 9.79 MB]                                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.08 sec, 9.99 MB]                                                         [bootstrap]

Fatal error: Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /var/aegir/platforms/h011/testswarm/drupal8/core/includes/bootstrap.inc on line 2335

Fatal error: Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found in /var/aegir/platforms/h011/testswarm/drupal8/core/includes/bootstrap.inc on line 2335
omega8cc’s picture

Status: Needs work » Fixed

Please open new issue with all required config/log files attached.

omega8cc’s picture

Also, if there is a bug in D8, we can't do anything on our side. D8 is under active development, so it is expected that it may be broken, even if it worked when we have added its experimental support in Aegir. That is the idea behind adding this in Octopus - to help with catching fatal issues early.

omega8cc’s picture

It looks like the hotfix from #1541990: Improve check before calling t() (D8 drupal_container() patch broke drush) is good enough, so it has been applied in https://github.com/omega8cc/drush_4x/commit/3f7ddcbc2ffb1646fe6e92e3a431...

Thanks for the report and the hint!

attiks’s picture

You're welcome ;p

Status: Fixed » Closed (fixed)

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

omega8cc’s picture

omega8cc’s picture

Project: Barracuda » Octopus
Component: Code » Drupal Platforms
Status: Closed (fixed) » Closed (duplicate)

For follow-up please check #1616954: Drupal 8 support