• Hi,

    I have move my site for a real server.
    The problem is that now i cant update core, themes or plugins.
    Yesterday upload files where a problem to but i solve buy putting the folder in 777 mode (that is not a secure one i think).
    The error that appears when i try to update is:
    An error occurred while updating Twenty Fifteen: Unable to create directory

    Do i have to put all my wp-content in 777 ?

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can get more information about WordPress permission at this link

    https://codex.www.ads-software.com/Changing_File_Permissions

    If you have moved your site you need to make sure your Apache user has write access to wp-content so it can make changes.

    Thread Starter rhercules

    (@rhercules)

    Hi,

    Apache users ? Users in phpmyadmin or users in my ubuntu server ?
    I just add www-data group to my ubuntu server user but still cant update nothing.

    So how do i give permission for users in Apache ?

    Regards

    Your Apache user would be which ever user apache is running as. On Ubuntu the default is www-data, you need to ensure that that user has permissions to write to your public_html folder and WordPress files and folders within. Your server should already have a www-data group.

    Quickest way assuming your permissions are set correctly is to ensure that www-data owns your public_html folder

    sudo chown -R www-data:www-data public_html/

    You will need to alter paths to match your configuration. If you continue to struggle it might be worth contacting your hosting/server provider for assistance.

    Thread Starter rhercules

    (@rhercules)

    Lets se:

    I have a user in my ubuntu server call xpto and all my wordpress is xpto:xpto and i have add that user to group www-data
    All my files in WP are 664 and dir 755
    The user in myphpadmin is xpto the same in WordPress.

    So did i miss something ? I guess so.

    Thanks for trying to help ??

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move site now i CANT update anything’ is closed to new replies.