Network Update dies on unresolved subsite/domain
|Reported by:||joshua.strebel||Owned by:|
When running multisite network update (/network/upgrade.php?action=upgrade) if a subsite domain (or mapped domain) fails to resolve it dies and the update loop stops.
Simply implementing the n value in network/upgrade.php?action=upgrade&n=37 and refreshing will skip failed site and continue running through 5 at a time.
-Donncha Domain mapping plugin with domains mapped to subsites
-Say foo.domain.com is mapped to site 35, but foo.domain.com has a dns issue and cannot be resolved.
-When the script hits n=35 it stops with Error message: couldn't connect to host
Log the failure and skip the bad domain and proceed with the rest. When complete print list of failed update tasks for manual follow up. Or try then again on the non domain mapped subsite url domcin.com/site2