JustPaste.it

hi after many test this is the best i can do for this but i still get an error.

 

so i create a platform in /var/aegir/platforms (we use composer to create it with bower npm and gulp to generate css and other stuff) this create a folder which contant a "web" directory where the drupal installation resite (/var/aegir/platforms/<platform>/web) 

the platform creation works; this as been tested and retested

so my script to create the paltform and register it in aegir :

  • drush --root="/var/aegir/platforms/test3/web" provision-save "@platform_test3" --context_type='platform'
  • drush @platform_test3 provision-verify
  • drush @hostmaster hosting-import @platform_test3

this works correctly without any errors

then we create a site with

  1. drush --uri="pc1.aegir-dev-01.stingraydigital.com" --context_type='site' --platform="@platform_test3" --server='@server_master' --db_server='@server_localhost' --client_name='admin' provision-save "@pc1.aegir-dev-01.xxx.com"
  2. drush @pc1.aegir-dev-01.xxx.com provision-install
  3. drush @hostmaster hosting-import @pc1.aegir-dev-01.xxx.com
  4. drush @hostmaster hosting-task @pc1.aegir-dev-01.xxx.com verify

 

this works but it generate an error on step 3 in the frontend. the site is showing in the frontend and is up but the task fail which is not ok for our process

Calling hook drush_db_provision_install_validate
Returned from hook drush_db_provision_install_validate
Calling hook drush_provision_drupal_provision_install_validate
PROVISION_SITE_INSTALLED (***** this is the error *****)
Returned from hook drush_provision_drupal_provision_install_validate
Command dispatch complete
Returned from hook drush_hosting_task
Invoking hosting_install_task_rollback hooks.
Changes made in drush_hosting_task have been rolled back.
Command dispatch complete
Updated task status to "Failed"