Make WordPress Core

Opened 4 years ago

Closed 4 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:


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

Change History (3)

#1 @joshua.strebel
4 years ago

  • Cc joshua.strebel added
  • Type changed from enhancement to defect (bug)

#2 @joshua.strebel
4 years ago

implementing => incrementing

#3 @SergeyBiryukov
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.