Closed (fixed)
Project:
Provision
Version:
6.x-2.0-rc4
Component:
Drush integration
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2013 at 15:30 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
anarcat commentedComment #2
ergonlogicI haven't been able to reproduce this. Anyone else seeing it?
Comment #3
anarcat commentedis this on a remote platform?
Comment #4
liam mcdermott commentedYes! :)
Yes:
Hopefully this is enough information to mark the bug active. Additionally, the site configuration files (on both the Aegir server and remote) are deleted, while the platforms/foo/sites/bar.com/* files and directory remain intact (as far as I can tell).
Comment #5
liam mcdermott commentedSomething else that may be of interest: I disabled the site prior to attempting to delete it, I'm guessing that's why the configuration files were removed.
Also, the database for the site was deleted by Aegir at some point during this process and re-enabling the site does not bring it back.
Comment #6
lieb commentedI just encountered this error.
- New install of Aegir-6.x-2.0-rc4.
- Created some new platforms using 'drush provision-save', and 'drush hosting-import' via a fabric script.
- Platforms verified fine and show normally in the front-end.
- Platforms were configured to use a pack server (which also verified fine in the front-end)
- Tried to delete them from the front-end and received the error.
Drush command terminated abnormally due to an unrecoverable error. Error: Call to a member function succeed() on a non-object in /var/aegir/.drush/provision/http/delete.provision.inc, line 15Did not yet dive into code or try any further debugging.
Comment #7
helmo commentedFor the record: @Liam McDermott: You talk about deleting a site, #0 about deleting a platform.
I've narrowed it down to cluster and pack, both wich I currently don't have a working test setup.
The _each_server() method returns a boolean, not an object ... maybe adding "return $this;" to the delete_config() methods would help. This patch is an untested guess...
Comment #8
anarcat commented@lieb can you test that patch?
Comment #9
lieb commentedSorry. Just getting to the testing now. Thanks.
Comment #10
lieb commentedDeleting a sites looks good. I still need to test deleting platforms.
Environment:
- aegir-6.x-2.0-rc4
- Multiserver environment with 3 packs of 2 servers each
Tested:
- Deleted sites from front-end
- Deleted sites using drush provision-delete
Confirmed:
- Command completes with no errors
- Site is removed from platform/sites directory
- Site configuration is removed from config/server_x/apache/vhost.d on each server in the pack
- Drush site alias is removed
- Database was dropped
This is with sites. I will test platforms and servers as well.
Comment #11
lieb commentedI have confirmed deleting a platform works fine. I believe this issue is resolved and the patch is good to go.
Comment #12
helmo commentedthanks all, committed as bb24fc803177f3a76e1c591b161e461a35849264