• Hi everyone,

    Probably an easy solvable question but I can’t seem to figure it out.
    Whenever I try to update wordpress or plugins I get the following message:

    Downloading update from https://downloads.wordpress.org/release/nl_NL/wordpress-5.3.1.zip…

    Download failed.: Destination directory for file streaming does not exist or is not writable.

    Installation Failed

    I can’t find where I can change the destination directory, which is what I assume I must do?

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • This is usually caused by incorrect permissions in the wp-content/ folder, as WordPress needs to create a temporary folder to put the files when downloaded, before install.

    Fix this by changing the “wp-content” folder’s permissions to 755.

    If this doesn’t work check the wp-config.php file and if it’s not already defined, add:

    define(‘WP_TEMP_DIR’, ABSPATH . ‘/../temp/’);

    Thread Starter judithdevl

    (@judithdevl)

    I checked the permission, it is 755

    And I went to the wp-content folder, I added the code bit this did not work.
    The current code is:
    define(‘WP_TEMP_DIR’, ‘/var/www/vhosts/intoflow.be/httpdocs/wp-content/uploads’);

    I don’t know if that has anything to do with it?

    Can you try changing the temp path to:

    define(‘WP_TEMP_DIR’, ABSPATH . ‘/../temp/’);

    Thread Starter judithdevl

    (@judithdevl)

    Nope, got a 500error when I tried that.

    Can you try with:

    define(‘WP_TEMP_DIR’, ‘/var/www/vhosts/intoflow.be/tmp’);

    Make sure to manually create the folder:

    /var/www/vhosts/intoflow.be/tmp

    and that it is with permissions 755 or if these do not work, set it up to 777.

    Thread Starter judithdevl

    (@judithdevl)

    So I accidentally took my website offline for 30min while trying to fix this.
    I’ve decided to hand it over to someone with actual wordpress knowledge (which is not me, but thank you so much for your help!)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t update wordpress’ is closed to new replies.