WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Plugin Update Not Writeable (15 posts)

  1. Richard
    Member
    Posted 1 year ago #

    I have just updated my wordpress sites, and now I'm getting a message saying

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

    How do I fix this? Can I fix it in FileZilla?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.
    http://codex.wordpress.org/Changing_File_Permissions

  3. Richard
    Member
    Posted 1 year ago #

    Would I set the permission to change that folder only or all files and folders inside wp-content

  4. Runamok81
    Member
    Posted 1 year ago #

    +1
    After backing up, and updating to wordpress 3.5 on IIS6. I am now receiving error message when downloading or updating plugins.

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

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    @Richard: That folder only

  6. Richard
    Member
    Posted 1 year ago #

    I'm on IIS too, is the problem IIS only?

  7. Richard
    Member
    Posted 1 year ago #

    @esmi Thanks

  8. Richard
    Member
    Posted 1 year ago #

    Every time I set the permission Filezilla refreshes it but when I check it goes back to 'xxx'

  9. Richard
    Member
    Posted 1 year ago #

    None of these worked :( : 767, 775, 777

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    Contact your hosts. This may be a folder ownership issue.

  11. Richard
    Member
    Posted 1 year ago #

    Ok, thanks for the help anyway. I have a backup site if anything else goes wrong...

  12. Runamok81
    Member
    Posted 1 year ago #

    Richard, Samuel(this post) may have provided a workaround. Give it a try and report back.

    Define a new temporary folder, one that wordpress has rights too. Add this line to your wp-config.php
    define('WP_TEMP_DIR','C:\Inetpub\wwwroot\wordpress\tmp');

  13. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    Reposting here for clarity:

    When WordPress downloads a plugin ZIP file, then it has to be able to write that file somewhere. To do this, it uses the "temp" directory.

    If WP detects that it cannot write files to this temp directory, then you get the error message you are now getting. WP tries to find a valid temp directory, but sometimes servers are configured poorly.

    You can work around this by specifying a temp directory on your server with a place that you know WordPress is allowed to write files to. You can do this by adding this line of code into the wp-config.php file.

    define('WP_TEMP_DIR','/path/to/a/temp/dir');

    That will tell WP where to write the temporary files.

  14. philip.levine
    Member
    Posted 1 year ago #

    Just to add my 2 cents to this.

    I too am using IIS 7 and adding the define wp_temp_dir to the wp_config.php does resolve the issue, however, I view this as a temporary solution as I shouldn't have to edit every since wp-config.php file on my server when this has been working so well without it.

  15. Richard
    Member
    Posted 1 year ago #

    @Otto does it only have to be a temp or should it direct to wp-content

Topic Closed

This topic has been closed to new replies.

About this Topic