I haven't been able to successfully install Drupal Commons as a platform.

I'm running Aegir Beta2, and drush 3.3 that it installed.

I added Drupal Commons 6.x-1.3-dev, and it fails to verify. Here is the output:

Task starts processing Running: /var/aegir/drush/drush.php --root='/var/aegir/drupal_commons' provision-save '@platform_DrupalCommons13dev' --backend Drush bootstrap phase : _drush_bootstrap_drush() Found command: provision-save (commandfile=provision) Initializing drush commandfile: drush_make Initializing drush commandfile: drush_make_d_o Initializing drush commandfile: provision Load alias @self Load alias @server_master Loading apache driver for the http service Load alias @platform_DrupalCommons13dev Template loaded: /var/aegir/.drush/provision/provision_drushrc_alias.tpl.php Generated config Drush configuration file Changed permissions of /var/aegir/.drush/platform_DrupalCommons13dev.alias.drushrc.php to 400 Command dispatch complete Peak memory usage was 7.93 MB Running: /var/aegir/drush/drush.php @platform_DrupalCommons13dev provision-verify --backend The external command could not be executed due to an application error. Drush bootstrap phase : _drush_bootstrap_drush() Load alias @platform_DrupalCommons13dev Found command: provision-verify (commandfile=provision) Initializing drush commandfile: drush_make Initializing drush commandfile: drush_make_d_o Initializing drush commandfile: provision Load alias @server_master Loading apache driver for the http service Including /var/aegir/.drush/provision/dns/verify.provision.inc Including /var/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc Including /var/aegir/.drush/provision/platform/verify.provision.inc Drush bootstrap phase : _drush_bootstrap_drupal_root() Initialized Drupal 6.20 root directory at /var/aegir/drupal_commons Drupal sites directory /var/aegir/drupal_commons/sites is writable by the provisioning script Undefined variable: sites provision_drupal.drush.inc:318 This platform is running drupal 6.20 Found 43 modules in base Found 6 themes in base Found install profile default Drush command could not be completed. Output from failed command : Fatal error: Call to undefined function base_path() in /var/aegir/drupal_commons/profiles/drupal_commons/drupal_commons.profile on line 74 An error occurred at function : drush_hosting_task Command dispatch complete Peak memory usage was 20.08 MB

I've seen other issues with Drupal Commons and Aegir, but they seem to be different than this (for example: http://drupal.org/node/937864 )

Looks like the issue has to do with the profile. At the line:
Fatal error: Call to undefined function base_path() in /var/aegir/drupal_commons/profiles/drupal_commons/drupal_commons.profile on line 74

So this might be a profile issue, or maybe just an Aegir-specific issue.

Has anyone been able to install 1.3 from Aegir?

I've also posted this at the Aegir community site here: http://community.aegirproject.org/node/288

CommentFileSizeAuthor
#2 commons-1045778-fix-aegir-installs.diff1.16 KBskwashd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chipie’s picture

Subscribe

skwashd’s picture

Issue tags: +buyaline
FileSize
1.16 KB

I have fixed this and logged a pull request on github - https://github.com/acquia/commons/pull/1

The patch is also attached.

skwashd’s picture

Status: Active » Needs review

Updating status

omega8cc’s picture

Status: Needs review » Reviewed & tested by the community
jalneal’s picture

This Fixed for me as well.

mstef’s picture

Status: Reviewed & tested by the community » Closed (fixed)