Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#11263 closed defect (bug) (invalid)

Auto-upgrade error: Could not copy file...

Reported by: scribu Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Upgrade/Install Keywords:
Focuses: Cc:


Using basic FTP, with nightly build, I get this error for the Core upgrade:

Could not copy file: /public_html/wp/wp-content/upgrade/wordpress-latest.tmp/wordpress/wp-trackback.php

The wp-trackback.php file seems to be there already.

Change History (7)

comment:1 @scribu5 years ago

  • Cc scribu@… added

comment:2 @Denis-de-Bernardy5 years ago

My customers used to get this very frequently too, until I forced the FTP to refresh the connection every now and then. What happens, basically, is the FTP session silently dies after a certain duration, rather than after a certain duration per action. WP 2.9 introduced a constant that bumps the duration of the FTP session (can't recall what it is, though).

comment:3 @scribu5 years ago

I've tried setting FTP_TIMEOUT to 120, but that didn't help.

comment:4 @Denis-de-Bernardy5 years ago

I suggest you try again. I make it default to 900, personally. And I've seen some servers require 1800. :-P

comment:5 @Denis-de-Bernardy5 years ago

also, it's FS_TIMEOUT

comment:6 @dd325 years ago

I hate to say this.. But, Can you manually copy class-wp-upgrader.php and file.php from wp-admin/includes/ over the top of your current install and try again?

comment:7 @scribu5 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

I did a manual upgrade and it seems to be working now.

Note: See TracTickets for help on using tickets.