Cannot upgrade Wordpress to 3.8.1

Category: Wordpress

TheHigherSociety
Asked:
2014-02-02 11:07 pm EST

Hits: 1,359
Hi Team,
I am unable to update my wordpress after a recent attack on my website.
The error I am receiving is as follows:

Downloading update from https://wordpress.org/wordpress-3.8.1-no-content.zip…

Warning: touch() [function.touch]: Unable to create file /tmp/wordpress-3.tmp because No such file or directory in /home/illest6/public_html/wp-admin/includes/file.php on line 155

Warning: unlink(/tmp/wordpress-3.tmp) [function.unlink]: Operation not permitted in /home/illest6/public_html/wp-admin/includes/file.php on line 479

Download failed.: Could not open handle for fopen() to /tmp/wordpress-3.tmp

Installation Failed

Thanks,
Brandon

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

JeffMa
Staff
8,394 Points
2014-02-03 8:36 am EST
It appears that the previous hack may have damaged your WordPress core files. To resolve the issue, as well as perform the upgrade, you may still update WordPress manually which is quite simple. Do so so, you may follow WordPress' guide on manually updating WordPress.

You must login before you can post a comment about this answer.

0

JacobIMH
Staff
9,968 Points
2014-02-03 4:46 pm EST
Hello Brandon,

You could possibly be having issues relating to the /tmp directory WordPress is trying to save temporary files to. I'd recommend checking out our guide on fix WordPress download failed errors on update.

In that guide it mentions editing your WordPress wp-config.php file and adding this line towards the top:

define('WP_TEMP_DIR', ABSPATH . 'wp-content/');


That should set the temporary directory for WordPress to download its update files to, and it should be a folder within your account so you shouldn't run into permission issues.

If that's not working and you did have a WordPress website that was hacked, you also might find our guide on how to reinstall WordPress after a hack helpful.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!