Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11263 closed defect (bug) (invalid)

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

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

Description

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)

#1 @scribu
15 years ago

  • Cc scribu@… added

#2 @Denis-de-Bernardy
15 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).

#3 @scribu
15 years ago

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

#4 @Denis-de-Bernardy
15 years ago

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

#5 @Denis-de-Bernardy
15 years ago

also, it's FS_TIMEOUT

#6 @dd32
15 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?

#7 @scribu
15 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.