Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I was checking this. And I found a problem. When aegir delete a platform doesn't remove vhost file. The information in the vhost file contain the path to the folder.
<Directory /var/aegir/projects/project_dev/dev>
Order allow,deny
Allow from all
# Extra configuration from modules:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule sites/%{SERVER_NAME}/files/backup_migrate - [F]
RewriteRule files/backup_migrate - [F]
</IfModule>
# Include the platform's htaccess file
Include /var/aegir/projects/project_dev/dev/.htaccess
# Do not read any .htaccess in the platform
AllowOverride none
</Directory>
Then if we delete folder and aegir do a verify apache can't reload and we get error in vhost file.
Forget my last comment. I was confused about the behavior of aegir. I fixed this problem http://drupal.org/node/1960242. I found other problem that sites lose project information. I fixed with drupal_write_record.
I did some test and now work fine and delete root folder.
Comments
Comment #1
fastangel commentedI was checking this. And I found a problem. When aegir delete a platform doesn't remove vhost file. The information in the vhost file contain the path to the folder.
Then if we delete folder and aegir do a verify apache can't reload and we get error in vhost file.
What do you think? Should we find other solution?
Comment #2
fastangel commentedI change while to need review.
Comment #3
jon pughIs this a problem with aegir core? When a platform or site is deleted, it's associated apache config (platform.d or vhost.d) should be deleted too...
Does that not happen?
DevShop should simply trigger default Delete aegir tasks.
Comment #4
fastangel commentedForget my last comment. I was confused about the behavior of aegir. I fixed this problem http://drupal.org/node/1960242. I found other problem that sites lose project information. I fixed with drupal_write_record.
I did some test and now work fine and delete root folder.
Comment #5
jon pughI will review this and confirm it is fixed.
Comment #6
jon pughYep, still an issue.
All the subfolders get deleted but not the project folder.
Comment #7
daggerhart commentedIssue queue is now mantained at Github.