Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: gboudrias at Praxis Labs Coop 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 CreditAttribution: 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 CreditAttribution: npacker commentedHaven't had a chance to test this yet.
Comment #5
npacker CreditAttribution: npacker commentedComment #6
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop 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 CreditAttribution: npacker commentedI expect to have a chance to test it today as well, should give us another data point.
Comment #9
helmo CreditAttribution: helmo at Initfour websolutions 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 CreditAttribution: helmo at Initfour websolutions commentedComment #11
npacker CreditAttribution: npacker commentedMarked #2498457: Migrated site not deleted in platforms sites directory as duplicate of this issue.