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.
I can't think of a good reason why we don't migrate disabled sites, anyone?
Comment | File | Size | Author |
---|---|---|---|
#5 | hosting-1066178-5.patch | 749 bytes | helmo |
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedWhy would you like to migrate disabled site?
You probably want to check the site before migrating it, to make sure it works, so you will know if you should revert to some earlier backup etc. Otherwise you are doing something you can't revert easily and you will have to enable the site anyway, also to make sure it works without issues after migration.
I don't see any good reason for migrating disabled site instead of enabling it first :)
Comment #2
univate CreditAttribution: univate commentedI think the best reason for allowing it is if you want to get rid of an old platform by upgrading all sites from one platform to another. But if you have a disabled site you then need to go through the steps to enabling before migrating and then re-disabling them again after migrate.
I think the issue here is why have a limitation? If migrating a disabled site can be done without causing problems, why not allow it.
Comment #3
Steven Jones CreditAttribution: Steven Jones commentedIs this a UI thing? I'm assuming that there's nothing in the backend stopping us from doing this.
Comment #4
ergonlogicNew features need to be implemented in Aegir 3.x, then we can consider back-porting to Aegir 2.x.
Comment #5
helmo CreditAttribution: helmo commentedI just tried this and it seems to work "ok"-ish with this mini patch. (bases on 6.x-2.x and also applies to 7.x-3.x)
What I noticed was that the migrate went ok, but when I tried to enable the site afterwards it was left in maintenance mode (set in settings.php). Running a verify task cured it.
If we would like to support this it should probably be an 'expert' setting to allow this. And someone would have to check why the maintenance mode is left on.