• Hi all,

    I’m running my own server and I can’t seem to get the packages to unpack properly. I don’t think its a permissions error as the temp package shows up, I keep getting this error from the installer:
    Unpacking the package…

    Could not copy file. wordpress-importer/wordpress-importer.php

    Any help would be greatly appreciated

Viewing 6 replies - 1 through 6 (of 6 total)
  • It could be an ownership problem. If you are in a lamp environment, and the owner of the wordpress installation isn’t set like this:
    sudo chown -R www-data /wordpress-directory
    You will have problems.

    Thread Starter eholtgrefe

    (@eholtgrefe)

    So I had the FTP set to chown all downloads to user1, should that actually chown them to www-data in order to get this to work?

    I am in a LAMP environment, and I’ve tried alot of the previous suggestions to get rid of this error to no avail. I’m sure its a permissions error, but I’ve gotten severely frustrated with trying to figure out why chmod 777 doesn’t work either. I’ve opened the whole wordpress directory and still can’t get the updater to work right…

    Yeah, if you’ve cranked the perms all the way up to 777 (I’m assuming recursively), it’s an ownership issue.
    So try (throwing in the perms just for debugging purposes):
    sudo chown -R 777 www-data /wordpress-directory

    If this doesn’t work, there is another issue that needs to be addressed.

    Thread Starter eholtgrefe

    (@eholtgrefe)

    Weirdly I can manually unzip the files and transfer them over to the appropriate folders just fine. This is a decent workaround if need be, but I’d really like to figure out why I can’t use the regular FTP process automatically.

    What happened when you changed the ownership of your wordpress installation to www-data? Did this not work for you?

    Thread Starter eholtgrefe

    (@eholtgrefe)

    Nope,

    Same error actually…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Can't unpack plugins/themes’ is closed to new replies.