Title: Cannot Update or Add plugins
Last modified: June 20, 2024

---

# Cannot Update or Add plugins

 *  Resolved [incremental](https://wordpress.org/support/users/incremental/)
 * (@incremental)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/cannot-update-or-add-plugins/)
 * I have a wordpress site hosted by Ontraport. The website has worked for several
   years until this week, when the site no longer allows for updating existing plugins
   or adding new plugins. When I attempt either plugin operation through the WP 
   dashboard, I am presented with the following error:
 * “Update failed: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-
   4) : Missing archive file ‘/tmp/plugin-name.tmp'”
 * My understanding is that the error message indicates a full or missing temporary
   folder. To test this, I created a php script that indicates there are only 20kb
   available in the /tmp folder, which is the folder indicated in the WP error message.
 * Ontraport does not provide shell, cpanel, file manager, or ftp access to the 
   wordpress installation. I had been using WP File Manager for management of the
   server’s files, but that plugin has stopped working at the same time that this/
   tmp issue has occurred with the plugins. I believe that the WP File Manager issue
   is the same as the plugin update issue.
 * Ontraport has indicated that I should reach out to WordPress for support on this
   issue.
 * Can someone assist me with this resolving this error message in order to update/
   install plugins?

Viewing 1 replies (of 1 total)

 *  Thread Starter [incremental](https://wordpress.org/support/users/incremental/)
 * (@incremental)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/cannot-update-or-add-plugins/#post-17842044)
 * I fixed the plugin issue by repeatedly attempting to edit wp-config.php, until
   I was able to add cache settings for /wp-content/temp/.

Viewing 1 replies (of 1 total)

The topic ‘Cannot Update or Add plugins’ is closed to new replies.

## Tags

 * [Install](https://wordpress.org/support/topic-tag/install/)
 * [plugin](https://wordpress.org/support/topic-tag/plugin/)
 * [temp](https://wordpress.org/support/topic-tag/temp/)
 * [tmp](https://wordpress.org/support/topic-tag/tmp/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [incremental](https://wordpress.org/support/users/incremental/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/cannot-update-or-add-plugins/#post-17842044)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
