Loading...


Related Products


Date Published: February 24, 2022

Failing Acquia Cloud Site Factory deployments after a BLT update

Issue:

You are using Acquia Cloud Site Factory with BLT, you can see an entry similar to :

Starting hook: post-code-deploy 
Executing: /mnt/users/docroot/environment.shell /var/www/html/docroot.environment/hooks/common/post-code-deploy/post-code-deploy.sh

... in the Acquia Cloud Site Factory Task logs DocrootUpdate task and the deployment is failing.

Resolution:

Remove the failing post-code-deploy hook from the project codebase as it is not supported on Acquia Cloud Site Factory. A list of Acquia Cloud Site Factory supported hooks can be found in Hooks in Acquia Cloud Site Factory.

    Cause:

    BLT is known to regenerate hooks on when updating it, the hook was likely accidentally committed.

    Did not find what you were looking for?

    If this content did not answer your questions, try searching or contacting our support team for further assistance.

    Back to Section navigation