Opened 13 years ago
Closed 13 years ago
#19574 closed defect (bug) (duplicate)
Network Update dies on unresolved subsite/domain
Reported by: | joshua.strebel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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.
Reproduce:
-Multisite
-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
Suggestion:
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
implementing => incrementing