• BobWP

    (@bobdunn-trainer)


    Okay, so client did a WP install on his host through the hosts install. We did some changes and moved it to another folder on the host, diffferent domain. Now nothing will update. Host won’t help as they said it has been moved and isn’t the original install. The error I am getting is this:

    Warning: copy(/usr/www/users/rbavasi/evertrustfoundation/wp-admin/includes/update-core.php) [function.copy]: failed to open stream: Permission denied in /usr/www/users/rbavasi/evertrustfoundation/wp-admin/includes/class-wp-filesystem-direct.php on line 200
    Could not copy files.

    Installation Failed

    Any suggestions?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter BobWP

    (@bobdunn-trainer)

    The host did and said they were okay.

    What specific file should I recheck the permissions on and what should they be set for? I did looked at this file: /usr/www/users/rbavasi/evertrustfoundation/wp-admin/includes/class-wp-filesystem-direct.php

    it was set for 755

    check the permissions on the wp-content folder. I would use something like filezilla to check them my self. Hosts are very lazy when it comes to this sort of tech support

    Thread Starter BobWP

    (@bobdunn-trainer)

    yeah, they were set at 755, tried 775 and 777, still same error

    check all your root files (wp-admin, wp-content, wp-includes). Looks like a file permission on wp-admin from the error you posted.

    Also check the parent folder

    Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    Check the file OWNERSHIP.

    I know when a lot of people use DreamPress’s cPanel import, sometimes it gets dumb and uses the OLD host’s user IDs and groups, and not the new ones.

    To check, log in via SSH as the user (in this case ptbarnum) and type ls -la

    You’ll get something like this:

    -rw-r--r-- 1 ptbarnum webusers   380 May  5  2010 .htaccess
    -rw-r--r-- 1 ptbarnum webusers   395 Aug 21 18:36 index.php

    Then as the user type `touch test.txt’

    Run ls -la again and make sure that test ALSO has ptbarum.

    An example of a broken one might be this:

    -rw-r--r-- 1 ptbarnum circusly   380 May  5  2010 .htaccess
    -rw-r--r-- 1 ptbarnum circusly   395 Aug 21 18:36 index.php
    -rw-r--r-- 1 ptbarnum webusers   395 Aug 27 09:10 test.txt

    See how the older files have circusly as the group? That’s wrong, so you’d want to change that:

    chown -R ptbarnum:webusers *

    Thread Starter BobWP

    (@bobdunn-trainer)

    Thanks Ipstenu…. once I figure out how to login via SSH, I will check this out…

    Thread Starter BobWP

    (@bobdunn-trainer)

    If this was moved on the same host, could this still be an issue?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot update anything, host won't help’ is closed to new replies.