Error while updating WP core or plugins
-
Hello,
So I have just taken over managing a client’s website and I am running into this error whenever I try to update WordPress and a similar error when trying to install or update a plugin:
Warning: unlink(/opt/bitnami/apps/wordpress/tmp/wordpress-5.5.3-new-bundled-7GuwR5.tmp): No such file or directory in /var/www/html/wp-admin/includes/file.php on line 999 Download failed.: Destination directory for file streaming does not exist or is not writable.
So far I have tried creating a new ‘temp’ folder and updating ‘WP_TEMP_DIR’ in wp-config.php with the directory, changing the permissions of the temp folder to 755, and changing the permissions of wp-content, the plugins folder, and even the individual plugin folders to 755. Nothing has worked.
The website is hosted with AWS Lightsail, which I am not too familiar with, so I don’t know if I am changing the correct folders. I have been editing in this directory via SSH: /opt/bitnami/apps/wordpress/htdocs. The other directory referenced (/var/www/html/wp-admin/includes) does not exist (there is no “www” in “/var/”)
Any and all help appreciated, sorry if this is a stupid question, but it’s driving me nuts.
- The topic ‘Error while updating WP core or plugins’ is closed to new replies.