Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.This happens when I try to clone an environment with devshop.
I haven't tested it with stock Aegir but I'm pretty confident would be the same.
- Create drupal8 platform.
- Create drupal8 site.
- Create second drupal 8 platform.
- Clone first drupal8 site, select second drupal 8 platform.
- Task error:
Drush command terminated abnormally due to an unrecoverable error.
Error: Cannot redeclare composerRequireDrupal8() (previously declared in /var/aegir/platforms/drupal8platform1/vendor/composer/autoload_real.php:63) in /var/aegir/platforms/drupal8platform2/vendor/composer/autoload_real.php, line 70
I'm not sure where to start with fixing this one. I'm marking it major.










Comments
Comment #2
Jon PughThis is a critical blocker for us, we can't offer continuous integration without being able to clone sites.
Comment #3
ergonlogicI just deployed 2 D8 platforms, installed a site on one, then cloned it to the other. No errors were reported. Please re-open if you can reproduce this on a stock Aegir.
Comment #4
colanIn my case, this was caused by a local Drush installed in the source platform. Moving it out of the way solved the problem.
Drush will dispatch to the local version if there is one so it's best to not have any local versions installed.
Comment #5
colanSee #2946971: Remove Drush from hostmaster site install - preflight failure. Cannot verify old platforms or install new ones after upgrade to 7.x-3.144 for another incarnation of this.