Subdirs appear broken in Aegir 3. We see the following warning on site edit forms after enabling subdirs:
Notice: Undefined index: #description in hosting_subdirs_form_alter() (line 13 of /var/aegir/hostmaster-7.x-3.x/profiles/hostmaster/modules/hosting/subdirs/hosting_subdirs.module).
In addition, validation fails for subdir aliases:
The domain name test1.com/a is not a valid url
Finally, migrations throw the following warnings:
[...]
Calling hook drush_http_pre_provision_migrate
Undefined offset: 1 Subdir.php:46
Undefined offset: 1 Subdir.php:46
unlink(/var/aegir/config/server_master/apache/vhost.d/): Is a directory FileSystem.php:122
Returned from hook drush_http_pre_provision_migrate
[...]
Presumably #2213387: Subdir aliases prevent non-subdir aliases from working will be an issue too. There are probably other issues, but this is enough to start work on it.
Comments
Comment #1
ergonlogicFixed the first couple problems, and did a bunch of clean-up and consolidation in 6d5e61311ea. So subdirs work in 7.x-3.x now.
The migration failures remain, but they aren't specific to 7.x-3.x as I've replicated in 6.x-2.x. Follow-up issue: #2215211: Subdirs cause warnings in migrations