I'm having a problem when trying to update WordPress to the latest version I get the following error:
Download failed.: Destination directory for file streaming does not exist or is not writable. Installation Failed
I'm also having the same problem when uploading images, it fails and gives the following error
has failed to upload due to an error The uploaded file could not be moved to "the website path and then uploads directory"
I have checked the permissions of the folders and the folders themselves are set to 755 & the files inside them set to 644.
Could anyone tell me why it would be doing this?
Where running a plesk server.
Thank You,
Mark
Are there any more error messages, probably also in the servers log files? Probably the download for the update should be done to
/tmp
and you are not allowed to store files there? Try setting the constantWP_TEMP_DIR
which should change the directory. Put something like this in yourwp_config.php
:The permissions you're using seem reasonable, but they will only work if the FTP user that WordPress is using (set in your wp_config.php file) is the same as the owner of those files/folders.