Hi

I've just tried to use Provision CiviCRM and Aegir 1.1 to create a new site, everything went well apart from the following:

WD php: Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /var/aegir/.drush/provision_civicrm/install.provision.inc on line 85 and defined in db_query() (line 2282 of /var/aegir/platforms/drupal-7.x-CiviCRM/includes/database/database.inc).

Drush command terminated abnormally due to an unrecoverable error.

Any advice appreciated.

(I've been using the release, please let me know if there's an alternative dev version that could be used).

Thanks

Luke

Comments

lukus’s picture

Hi

Some more updates.

I made use of the version of the provision script from head and received a different error:

Running: /usr/local/bin/php /var/aegir/drush/drush.php --php='/usr/local/bin/php' @www.example.com provision-install --backend 2>&1
The external command could not be executed due to an application error.

followed by successful actions then:

Drush command terminated abnormally due to an unrecoverable error. Error: Call to undefined function _block_rehash() in /var/aegir/platforms/drupal-7.x-civicrm/sites/all/modules/civicrm/drupal/civicrm.module, line 629
Output from failed command : Generating civicrm settings file .. The following extensions will be enabled: civicrm Do you really want to continue? (y/n): y Fatal error: Call to undefined function _block_rehash() in /var/aegir/platforms/drupal-7.x-civicrm/sites/all/modules/civicrm/drupal/civicrm.module on line 629 
bgm’s picture

Status: Active » Postponed (maintainer needs more info)

This is rather strange, and I cannot reproduce it.

Did you re-run the previously failed task, or are you creating a new site?

lukus’s picture

Hey - I'm creating a new site.

I'll try again.

lukus’s picture

Hi again

I receive the following errors at the moment:

Drush command terminated abnormally due to an unrecoverable error. Error: Call to undefined function _block_rehash() in /var/aegir/platforms/drupal-7.x-civicrm/sites/all/modules/civicrm/drupal/civicrm.module, line 629
Output from failed command : Generating civicrm settings file .. The following extensions will be enabled: civicrm Do you really want to continue? (y/n): y Fatal error: Call to undefined function _block_rehash() in /var/aegir/platforms/drupal-7.x-civicrm/sites/all/modules/civicrm/drupal/civicrm.module on line 629

Do these offer any more clues?

lukus’s picture

I've tried to perform the provision-save and provision-install commands from the command line:

The process halts with the error "You need to specify a valid url to install a site [0.13 sec, 7.47 MB]". Not sure if this is a red herring or not.

BTW: I'm using Nginx as my webserver .. I'm not sure if this might be making a difference.

bgm’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

3 years without activity, closing this issue. Please re-open if you run into this issue with the latest git version of provision_civicrm.