All of the platforms code is deleted, but the root folder remains.

Comments

fastangel’s picture

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.

What do you think? Should we find other solution?

fastangel’s picture

Status: Active » Needs review

I change while to need review.

jon pugh’s picture

When aegir delete a platform doesn't remove vhost file

Is 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.

fastangel’s picture

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.

jon pugh’s picture

Version: » 6.x-1.x-dev
Issue summary: View changes
Parent issue: » #2218539: [META] DevShop 1.0.0 release

I will review this and confirm it is fixed.

jon pugh’s picture

Component: devshop_provision » General

Yep, still an issue.

All the subfolders get deleted but not the project folder.

daggerhart’s picture

Status: Needs review » Closed (outdated)
Issue tags: +Seattle2019

Issue queue is now mantained at Github.