After submitting a migrate task where the target site name has been changed, the migrate succeeds and the old site's files are removed, however, the old site vhost file remains, unaltered. We just upgraded to Aegir 3.9. This seems very similar to an issue submitted for version 3.3 (#2617718: Renaming site through Migrate doesn't remove old vhost or site folder).

Update: We've noticed deleted site vhost files aren't getting unlinked, either.

We're running apache 2.4 and PHP 5.6.

CommentFileSizeAuthor
#6 pack.php_.patch679 bytesjsedwick
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsedwick created an issue. See original summary.

jsedwick’s picture

Issue summary: View changes
jsedwick’s picture

Issue summary: View changes
jsedwick’s picture

Issue summary: View changes
jsedwick’s picture

We figured it out. It looks like this bug was introduced a while ago, in 3.8. Note: $configi should be $config in the delete_config function. Patch forthcoming......

/var/aegir/.drush/provision/http/Provision/Service/http/pack.php
function delete_config($configi, $data = array()) {
    $this->_each_server($this->server->master_web_servers, __FUNCTION__, array($config));
    $this->_each_server($this->server->slave_web_servers, __FUNCTION__, array($config));

    return $this;
  }
jsedwick’s picture

helmo’s picture

Issue summary: View changes
Status: Active » Fixed

Thanks, committed.

  • helmo committed a205c4d on 7.x-3.x authored by jsedwick
    Issue #2854360 by jsedwick: Renaming site on Migrate doesn't remove old...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.