[wp-trac] [WordPress Trac] #19574: Network Update dies on unresolved subsite/domain

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 15 23:37:39 UTC 2011


#19574: Network Update dies on unresolved subsite/domain
----------------------------+-----------------------------
 Reporter:  joshua.strebel  |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  3.3
 Severity:  normal          |   Keywords:
----------------------------+-----------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19574>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list