1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Permissions in wordpress running on Cent OS VPS - unable to update theme/plugin/wordpress

Discussion in 'WordPress' started by theonkar10, Jan 3, 2015.

  1. #1
    I am running wordpress 4.0 on Cent OS powered VPS. The installation runs smoothly, in my admin dashboard I see updates for wordpress/plugins/themes .I am facing the following errors when I try to upgrade them from dasboard

    Updating Wordpress to 4.1 from 4.0

    UpdateWordPress

    Downloading update from https://downloads.wordpress.org/release/wordpress-4.1-new-bundled.zip…
    Unpacking the update…
    Couldnot create directory.
    InstallationFailed

    Updating Plugins


    UpdatePlugin
    Downloading update from https://downloads.wordpress.org/plugin/google-sitemap-plugin.2.9.5.zip…
    Unpacking the update…
    Couldnot create directory.

    Updating Themes


    UpdatingThemeTwentyFourteen(1/1)
    Downloading update from https://downloads.wordpress.org/theme/twentyfourteen.1.3.zip…Unpacking the update…
    An error occurred while updating TwentyFourteen:Couldnot create directory.
    All updates have been completed.

    I know I am messing with the file permissions, I have tried setting the permissions for the files as well. I tried assigning them to various groups/users like apache,root and nginx.

    These are the current file permissions for my wordpress directory.
    -rwxr-xr-x 1 apache apache 3070Jan210:59 wp-config.php
    drwxr-xr-x 12 apache apache 4096Jan123:31 wp-includes
    drwxrwxrwx 6 apache apache 4096Jan122:37 wp-content
    drwxr-xr-x 9 apache apache 4096Jan122:31 wp-admin
    -rwxr-xr-x 1 apache apache 435Jan122:25 index.php-rwxr-xr-x 1 apache apache 19930Jan122:25 license.txt-rwxr-xr-x 1 apache apache 7290Jan122:25 readme.html-rwxr-xr-x 1 apache apache 3824Jan122:25 sitemap.backup.xml-rwxr-xr-x 1 apache apache 5082Jan122:25 wp-activate.php-rwxr-xr-x 1 apache apache 289Jan122:25 wp-blog-header.php-rwxr-xr-x 1 apache apache 5110Jan122:25 wp-comments-post.php-rwxr-xr-x 1 apache apache 2826Jan122:25 wp-config-sample.php-rwxr-xr-x 1 apache apache 3071Jan122:25 wp-cron.php-rwxr-xr-x 1 apache apache 2460Jan122:25 wp-links-opml.php-rwxr-xr-x 1 apache apache 2787Jan122:25 wp-load.php-rwxr-xr-x 1 apache apache 34185Jan122:25 wp-login.php-rwxr-xr-x 1 apache apache 8512Jan122:25 wp-mail.php-rwxr-xr-x 1 apache apache 11489Jan122:25 wp-settings.php-rwxr-xr-x 1 apache apache 27005Jan122:25 wp-signup.php-rwxr-xr-x 1 apache apache 4153Jan122:25 wp-trackback.php-rwxr-xr-x 1 apache apache 3132Jan122:25 xmlrpc.php

    Please guide me for suitable permissions.
     
    theonkar10, Jan 3, 2015 IP
  2. Ofek Kolim

    Ofek Kolim Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    What plugins do you have?
     
    Ofek Kolim, Jan 3, 2015 IP
  3. theonkar10

    theonkar10 Active Member

    Messages:
    116
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    90
    #3
    Akismet and Google XML SiteMap
     
    theonkar10, Jan 3, 2015 IP