Title: Plugin Updates Consistently Fail
Last modified: June 22, 2021

---

# Plugin Updates Consistently Fail

 *  [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/)
 * For about the last month or so, every time I there’s an update available (usually
   for a plugin), 2 out of 3 times the update will fail, leaving me with an horrendous
   manual clean-up job, and frustrating downtime. At one point I found myself having
   to reinstall and reconfigure Jetpack from scratch. My gut feeling is that this
   is an issue with my hosting, but I thought I’d throw this one out there just 
   in case somebody has a better idea. It’s getting to the point where I don’t feel
   safe to run updates any more.
 * Kev
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-updates-consistently-fail%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [bacciotti](https://wordpress.org/support/users/baciotti/)
 * (@baciotti)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14582968)
 * Hi [@kfutter](https://wordpress.org/support/users/kfutter/)
 * Probaly is a hosting issue, indeed. But have you checked the wp-content/plugins
   permissions?
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14582979)
 * I haven’t, but it’s probably a good suggestion to do so, even though nothing 
   should have changed. I guess it would still qualify as a hosting issue, though!
   However, I would expect a 100% failure rate if it was a permissions issue, whereas
   it’s more like 70%. For the record, what should the permissions be? 644?
 * Kev
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14583021)
 * I’ve just discovered that they should be 755, and upon checking, they are correct
   on my site. So I guess that’s one potential problem we can rule out now.
 * Kev
 *  [bacciotti](https://wordpress.org/support/users/baciotti/)
 * (@baciotti)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14583126)
 * Hum, ok.
 * And the “Memory limit” on wp-config.php (and php.ini) are 256M or higher? Maybe
   the high process should cause CPU issues and stop updating.
 * Another idea is reinstall the WordPress core, but I can’t rely this is solve 
   your problem.
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14583142)
 * I doubt the memory limit is as high as 256M, but I can check wp-config.php at
   least. I don’t think I have access to php.ini on my hosting platform. It would
   also be something that shouldn’t have changed in anyway in the last month or 
   so.
 * Kev
    -  This reply was modified 4 years, 11 months ago by [kfutter](https://wordpress.org/support/users/kfutter/).
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14583222)
 * So, wp-config.php has no memory limit setting, so I added the following line:
 * `define('WP_MEMORY_LIMIT', '256M');`
 * I can’t edit php.ini directly, but cPanel does give me a user form where I can
   make the adjustment if necessary. I’m just not clear about where I need to do
   both, or whether the wp-config setting is sufficient.
 * Kev
 *  [bacciotti](https://wordpress.org/support/users/baciotti/)
 * (@baciotti)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14583273)
 * I’ve been reading something about your issue and I am going to post it here, 
   maybe can help you (I suggest you to make a backup before):
 * 1) Add this code in yout wp-config.php:
    `Define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-
   content/’);`
 * 2) Another possible solution for your WordPress plugin update failing is to change
   the permission of the “upgrade” directory to 777.
 * 3) Have your disk space enough?
 * I hope it helps.
    -  This reply was modified 4 years, 11 months ago by [bacciotti](https://wordpress.org/support/users/baciotti/).
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14583557)
 * Thanks. I’ll check out those tips tomorrow, but I don’t want to make too many
   changes at once. Now that I’ve make a couple, I’d like to see what happens the
   next time I run an update.
 * Kev
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14586990)
 * So, two more updates to run today, and they both completed without any issues.
   This could just be a coincidence, so I’d need to run a few more updates successfully
   to be certain that the issue has been resolved. So far, the only changes I made
   were to the memory limits.
 * Kev
 *  [bacciotti](https://wordpress.org/support/users/baciotti/)
 * (@baciotti)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14587114)
 * Ok, good news. Please take attention if it happens with one plugin specifically
   or it is random.
 * Wait some days and tell us if the problem occurs again.
 * 🙂
 *  Thread Starter [kfutter](https://wordpress.org/support/users/kfutter/)
 * (@kfutter)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14590701)
 * Two more plugin upgrades today, and both went off without a hitch, so that’s 
   good news. I’ll feel even better if I can get upgrades to major plugins like 
   Woocommerce or Jetpack to do the same, but so far it’s looking good.
 * Kev

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Plugin Updates Consistently Fail’ is closed to new replies.

## Tags

 * [update](https://wordpress.org/support/topic-tag/update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [kfutter](https://wordpress.org/support/users/kfutter/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-updates-consistently-fail/#post-14590701)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
