This is all I know for now, I'll test more and update the issue. It seems to be happening on many servers, with Debian Jessie (8) and Apache 2.4+ and PHP 5.3 to 5.6.
Please report here if you encounter this issue as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | provision-migrate_rename_remove_site-2617718-4-7.patch | 950 bytes | npacker |
Comments
Comment #2
gboudrias commentedThis will produce a "database" error when visiting the old URL (instead of the logical 404), saying something like the database wasn't found (which is normal because it presumably got correctly deleted).
Comment #3
npacker commentedJust noticed this issue as well.
The cause seems to be the following logic:
In combination with:
The issue seems to be that the code is only deleting the old site if the platforms are different, even if the site is renamed in the process.
I'll see if I can devise a patch as it seems a straightforward issue to remedy.
Comment #4
npacker commentedHaven't had a chance to test this yet.
Comment #5
npacker commentedComment #6
gboudrias commentedThanks for the patch, seems to work nicely. Ideally I'd like to wait for someone else to test it too before committing since it's an important issue.
Comment #7
npacker commentedI expect to have a chance to test it today as well, should give us another data point.
Comment #9
helmo commentedWithout the patch I verified that the site specific folder was left behind.
And after applying it was properly cleaned up.
Committed!
Comment #10
helmo commentedComment #11
npacker commentedMarked #2498457: Migrated site not deleted in platforms sites directory as duplicate of this issue.