[wp-trac] [WordPress Trac] #18159: Automatic Plugin and Theme Upgrade Fails

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 20 08:43:08 UTC 2011


#18159: Automatic Plugin and Theme Upgrade Fails
-------------------------------+------------------------------
 Reporter:  Adeptris           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by dd32):

 > I still think the problem is the WordPress plugin and theme upgrade
 functions

 There may be a bug in it with certain server configurations, However, I
 cant duplicate the problem.
 Your screenshots clearly show the FTP server is denying !WordPress the
 STORE (create) and CWD (change directories) commands, those are
 unfortunately, out of control of WordPress - So it's a bit hard to nail it
 as a bug in the upgrader (thats working for many thousands of others).

 I'll repeat my question from earlier:
 > Does your FTP client give you the 'chmod'/file permissions fields? It
 could be that the server is translating a Unix chmod value into a Windows
 ACL incorrectly (or vice versa).
 I'd like to see the permission set that the files have according to the
 FTP Server.

 > Same Problem: All files and folders deleted except one, it is always one
 folder or file that fails, I am not convinced it is a server issue as it
 has just started to happen.

 Just because it happened at approximately the same time, it doesnt always
 mean the upgrade caused it,
 There were 3 changes to the upgrade code in 3.2:
  * [17525] affected the FTP class, caches known data, significantly sped
 up FTP operations and fixed a lot of FTP Servers becoming unresponsive.
 You can check to see if this caused it by reverting to the 3.1 files for
 `wp-admin/includes/class-wp-filesystem-*.php`
  * [17590] affected deleting the previous versions folders - There should
 be no logical changes there, You can try using the 3.1 version of `wp-
 admin/includes/class-wp-upgrader.php` to test that, note that Core Updates
 will fail if you do that.
  * [18225] and [18227] - Only affects Core upgrades, not plugins.

 From what you've said, This sounds like it's a Shared hosting environment
 (ie. Not a dedicated windows VM?), Is there any chance of me having a
 first-hand look at it? (with a test install or account) for that matter,
 have you tried another instance of WordPress on the same server? feel free
 to contact me via email if you're able to provide any help there:
 wordpress [at] dd32.id.au

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18159#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list