[wp-trac] [WordPress Trac] #37431: Update WordPress 4.5.2 > 4.5.3 Failed - The update could not be unpacked

WordPress Trac noreply at wordpress.org
Thu Jul 21 08:48:00 UTC 2016


#37431: Update WordPress 4.5.2 > 4.5.3 Failed - The update could not be unpacked
-----------------------------+-----------------------------
 Reporter:  konobi           |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  4.5.3
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 '''Error msg:'''
 Downloading update from
 https://downloads.wordpress.org/release/wordpress-4.5.3-no-content.zip…
 Unpacking the update…
 Verifying the unpacked files…
 The update could not be unpacked
 Installation Failed


 Web server: Apache 2 running under 'www-data' user
 WP installatin directory is under 'wp-user' user
 PHP: latest 5.5.37
 FTP: vsftpd 3.0.2
 OS: Debian 7.11

 All files are set to 0644 and all directories are set to 0755, and
 writable by only the user and readable by everyone else, including the web
 server.

 WP config:
 {{{#!php
 <?php
 define( 'FS_METHOD', 'ftpext' );
 define( 'FTP_USER', 'wp-user' );
 define( 'FTP_PASS', 'passw0rd' );
 define( 'FTP_HOST', '127.0.0.1:21' );
 }}}


 Manual update is not an option because hundreds of WP installations!
 It works over ssh2 method but only ftpext method is allowed. Also, 'chown
 -R www-data:' works but this also is not allowed (security issue).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37431>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list