Support » Plugin: WP STAGING WordPress Backup Plugin - Migration Backup Restore » Copying file has been failed and will be skipped

  • Resolved Elliot Sowersby

    (@elliotvs)


    Hello

    Great plugin!

    Before installing it on a main site for a client on their servers, I tested it on a seperate website and everything worked perfect.

    I’ve now installed it on the main site and ran a staging site.

    The database copy worked fine, but when it got to file copy, it repeated the following error for all files:

    Fail: Copying file has been failed and will be skipped: /home/website/public_html/website.com/wp-includes/widgets/class-wp-widget-pages.php

    Any ideas what could be causing this on the servers for the site?

    Cheers.

    https://wordpress.org/plugins/wp-staging/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    There is likely no read permission on it. You should check the file permissions of it. Make the owner of the files the same as the server owner. Usually www-data.

    Hello,
    I get the same error. I can successfully clone der db and it is starting copying files. But after a while i get the same error:
    Copying file has been failed and will be skipped: “/homepages/17/d29071585/htdocs/mydomain/wp-content/uploads/2014/10/mypicture.jpg”

    I disabled all plugins in the settings.

    The persmissions seem to be all right. I can copy files in this directory.

    Thanks

    I’ve got a File Copy Failed error but it was for any file with Chinese Unicode characters in the filename. The failed files are just a bunch of PDFs in our uploads folder so no rush.

    The server runs CloudLinux 6, Apache FCGI and PHP 5.6 for this site. All the file permissions should be correct; 755 for directories and 644 for files.

    The log spit out the Chinese characters as junk and the plugin failed to copy them but succeeded in copying the rest of the site. The files are not critical to our process but it would be nice to have it function correctly when files with Unicode names are present.

    I posted this here because, I don’t know if you want to put this in a separate topic.

    I’m the sysadmin for this server so, I can provide file names or anything needed to debug the issue.

    • This reply was modified 7 years, 4 months ago by Derek Chafin. Reason: Clarify poster's rank in business
    Plugin Author Rene Hermenau

    (@renehermi)

    Hi,

    A file name would be useful.

    Are you using Windows server?

    Regards
    Rene

    CloudLinux 6 is a variant of CentOS 6 https://www.cloudlinux.com/all-products/product-overview/cloudlinuxos

    CentOS uses the Linux kernel and our server uses ext4 as the home directory file system.

    Original: 簡體中文-EXECUTIVE-SUMMARY.pdf
    URL Encoded: %u7C21%u9AD4%u4E2D%u6587-EXECUTIVE-SUMMARY.pdf
    Octal Escape Codes from Shell:\347\260\241\351\253\224\344\270\255\346\226\207-EXECUTIVE-SUMMARY.pdf

    I have added encoded versions here in case wordpress.org does not preserve the original encoding.

    Hi – I don’t know why I get the ‘Copying file has been failed and will be skipped’

    error. Initially it gave me an error saying the logs folder does not have read permission. I fixed that post which the database is getting created successfully. But after that the copying fails.

    I tried changing the read/write mode for wp-content folder and the wp-staging folder. It still fails.

    Can you pls help me?

    Thanks in advance,
    John

    I found the permissions issue on my site. While the Apache user, www-data for Debian, owned all of the files in the root documents folder. He did not own the root of the folder “.” Once I gave www-data ownership of the root of the folder he could now create the new sub directory and copy the files into it.

    Hi, i am getting some copy errors if the file name has letter Æ, Ø or Å from the Danish alphabet. Are there any fix for this?

    Otherwise an awesome plugin!

    Plugin Author Rene Hermenau

    (@renehermi)

    Hi Kristian,

    will release soon an update for this.

    Cheers,
    René

    Cool, looking forward for the release!

    I have just installed wp-staging on a live site.(latest version) I am also getting copy file failed error after successful copy of database. The plugin folder permissions are 755

    I read your solution above:
    ‘Make the owner of the files the same as the server owner. Usually www-data.’
    I’m sorry, I don’t know what that means or where to do it.

    Please explain or provide a different solution.

    Thanks

    Hi, i am getting some copy errors if the file name has letter Æ, Ø or Å from the Danish alphabet. Are there any fix for this?

    I have the same issue with letters from German alphabet like Ä, Ö, Ü or ß.

    Plugin Author Rene Hermenau

    (@renehermi)

    @richi400, please check out latest developer version.
    It’s a complete rewrite and is hopefully fixing your issue.

    Can you test it and send me your results to support [at] wp-staging.com so that i know it is working?

    You can download latest version from from here: https://www.mashshare.net/wp-content/uploads/wp-staging/wp-staging.zip

    Thank you
    René

    Plugin Author Rene Hermenau

    (@renehermi)

    Latest beta version: https://wp-staging.com/beta.php

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Copying file has been failed and will be skipped’ is closed to new replies.