• Resolved redfez

    (@redfez)


    When I go to clone the root site it times out and returns a 500 error. I have looked through the support forums and elsewhere but none of the code changes have worked. I have increased php timeout, no change. Increased upload size, no change. Increased server space, no change.

    The uploads folder cloning does not complete, no images are moved.

    A site is created, but it is incomplete.

    A copy of my install log is as follows:

    ====

    2014-05-15 14:08:54 - RUNNING NS Cloner version: 2.1.4.9 <br /><br />
    2014-05-15 14:08:54 - Source Prefix: <b>wp_au</b><br />
    2014-05-15 14:08:54 - Target Prefix: <b>wp_au5_</b><br />
    2014-05-15 14:08:54 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:54 - Cloning source table: <b>wp_aucommentmeta</b> (table #1) to Target table: <b>wp_au5_commentmeta</b><br />
    2014-05-15 14:08:54 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:54 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:54 - Cloning source table: <b>wp_aucomments</b> (table #2) to Target table: <b>wp_au5_comments</b><br />
    2014-05-15 14:08:54 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:55 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:55 - Cloning source table: <b>wp_aucsp3_subscribers</b> (table #3) to Target table: <b>wp_au5_csp3_subscribers</b><br />
    2014-05-15 14:08:55 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:55 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:55 - Cloning source table: <b>wp_aucunjoshare</b> (table #4) to Target table: <b>wp_au5_cunjoshare</b><br />
    2014-05-15 14:08:55 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:56 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:56 - Cloning source table: <b>wp_aulinks</b> (table #5) to Target table: <b>wp_au5_links</b><br />
    2014-05-15 14:08:56 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:56 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:56 - Cloning source table: <b>wp_auoptions</b> (table #6) to Target table: <b>wp_au5_options</b><br />
    2014-05-15 14:08:56 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:58 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:08:58 - Cloning source table: <b>wp_aupostmeta</b> (table #7) to Target table: <b>wp_au5_postmeta</b><br />
    2014-05-15 14:08:58 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:08 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:08 - Cloning source table: <b>wp_auposts</b> (table #8) to Target table: <b>wp_au5_posts</b><br />
    2014-05-15 14:09:08 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:13 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:13 - Cloning source table: <b>wp_auterm_relationships</b> (table #9) to Target table: <b>wp_au5_term_relationships</b><br />
    2014-05-15 14:09:13 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - Cloning source table: <b>wp_auterm_taxonomy</b> (table #10) to Target table: <b>wp_au5_term_taxonomy</b><br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - Cloning source table: <b>wp_auterms</b> (table #11) to Target table: <b>wp_au5_terms</b><br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - Cloning source table: <b>wp_auwfBadLeechers</b> (table #12) to Target table: <b>wp_au5_wfBadLeechers</b><br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - Cloning source table: <b>wp_auwfBlocks</b> (table #13) to Target table: <b>wp_au5_wfBlocks</b><br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - Cloning source table: <b>wp_auwfBlocksAdv</b> (table #14) to Target table: <b>wp_au5_wfBlocksAdv</b><br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:14 - Cloning source table: <b>wp_auwfConfig</b> (table #15) to Target table: <b>wp_au5_wfConfig</b><br />
    2014-05-15 14:09:14 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:15 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:15 - Cloning source table: <b>wp_auwfCrawlers</b> (table #16) to Target table: <b>wp_au5_wfCrawlers</b><br />
    2014-05-15 14:09:15 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:15 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:15 - Cloning source table: <b>wp_auwfFileMods</b> (table #17) to Target table: <b>wp_au5_wfFileMods</b><br />
    2014-05-15 14:09:15 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:15 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:15 - Cloning source table: <b>wp_auwfHits</b> (table #18) to Target table: <b>wp_au5_wfHits</b><br />
    2014-05-15 14:09:15 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - Cloning source table: <b>wp_auwfHoover</b> (table #19) to Target table: <b>wp_au5_wfHoover</b><br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - Cloning source table: <b>wp_auwfIssues</b> (table #20) to Target table: <b>wp_au5_wfIssues</b><br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - Cloning source table: <b>wp_auwfLeechers</b> (table #21) to Target table: <b>wp_au5_wfLeechers</b><br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - Cloning source table: <b>wp_auwfLockedOut</b> (table #22) to Target table: <b>wp_au5_wfLockedOut</b><br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - Cloning source table: <b>wp_auwfLocs</b> (table #23) to Target table: <b>wp_au5_wfLocs</b><br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:17 - Cloning source table: <b>wp_auwfLogins</b> (table #24) to Target table: <b>wp_au5_wfLogins</b><br />
    2014-05-15 14:09:17 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - Cloning source table: <b>wp_auwfNet404s</b> (table #25) to Target table: <b>wp_au5_wfNet404s</b><br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - Cloning source table: <b>wp_auwfReverseCache</b> (table #26) to Target table: <b>wp_au5_wfReverseCache</b><br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - Cloning source table: <b>wp_auwfScanners</b> (table #27) to Target table: <b>wp_au5_wfScanners</b><br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:18 - Cloning source table: <b>wp_auwfStatus</b> (table #28) to Target table: <b>wp_au5_wfStatus</b><br />
    2014-05-15 14:09:18 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Cloning source table: <b>wp_auwfThrottleLog</b> (table #29) to Target table: <b>wp_au5_wfThrottleLog</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Cloning source table: <b>wp_auwfVulnScanners</b> (table #30) to Target table: <b>wp_au5_wfVulnScanners</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Cloning source table: <b>wp_auwpgmappity_maps</b> (table #31) to Target table: <b>wp_au5_wpgmappity_maps</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Cloning source table: <b>wp_auwpgmappity_markers</b> (table #32) to Target table: <b>wp_au5_wpgmappity_markers</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Cloned: <b>32</b> tables!<br/ >
    2014-05-15 14:09:22 - running replace on Target table prefix: wp_au5_<br />
    2014-05-15 14:09:22 - Replace: <b>domain.com</b> >> With >> <b>domain.com/dev2</b><br />
    2014-05-15 14:09:22 - Replace: <b>Domain 1</b> >> With >> <b>Domain 2</b><br />
    2014-05-15 14:09:22 - Replace: <b>/wp-content/uploads</b> >> With >> <b>/wp-content/uploads/sites/5</b><br />
    2014-05-15 14:09:22 - Replace: <b>wp_auuser_roles</b> >> With >> <b>wp_au5_user_roles</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_commentmeta</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_comments</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_csp3_subscribers</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_cunjoshare</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_links</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_options</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:22 - Searching table: <b>wp_au5_postmeta</b><br />
    2014-05-15 14:09:22 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:23 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:23 - Searching table: <b>wp_au5_posts</b><br />
    2014-05-15 14:09:23 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_term_relationships</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_term_taxonomy</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_terms</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfBadLeechers</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfBlocks</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfBlocksAdv</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfConfig</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfCrawlers</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfFileMods</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:26 - Searching table: <b>wp_au5_wfHits</b><br />
    2014-05-15 14:09:26 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfHoover</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfIssues</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfLeechers</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfLockedOut</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfLocs</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfLogins</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfNet404s</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfReverseCache</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfScanners</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfStatus</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfThrottleLog</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wfVulnScanners</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wpgmappity_maps</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Searching table: <b>wp_au5_wpgmappity_markers</b><br />
    2014-05-15 14:09:28 - -----------------------------------------------------------------------------------------------------------<br />
    2014-05-15 14:09:28 - Original basedir returned by wp_upload_dir() = <strong>/home/domain/public_html/wp-content/uploads</strong><br />

    As you can see the process dies when it hits the copying of the uploads folders. Any help you can provide would be greatly appreciated.

    https://www.ads-software.com/plugins/ns-cloner-site-copier/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter redfez

    (@redfez)

    Our hosting environment is using this technology apparently.

    https://www.litespeedtech.com/

    Im not familiar with it so I dont know if it’s impacting or not.

    Plugin Author Never Settle

    (@neversettle)

    Thanks for all the details and mentioning everything you’ve tried.

    We’ve seen file permissions cause 500 errors before. The best thing is to create the simplest test possible to try to narrow down the core cause of the issue.

    If there isn’t an obviously file permissions issue, you could try creating a new vanilla site using the standard WP Sites > Add New in Network Admin. Then, edit the Hello World post and add a single image. Now, try to clone that. Success? Or not? That might provide some clues.

    What your site migrated at any point recently? Or did anything with hosting change? Regardless, it might be worth it to check / reset file permissions. Also pay attention to the owner account on the files. If it’s different than the account that runs PHP in the apache (or litespeed) context that could cause issues too. You might have to chmod or chown files and/or directories.

    Hope you find it! Sometimes an issue like that can be like a needle in a haystack. Let us know if you turn up any new interesting data points or get it sorted!

    Thread Starter redfez

    (@redfez)

    OK, I went through and made a new site, set twentyfourteen as the theme, launched the site, edited the hello dolly, uploaded a file and then cloned that site.

    Worked great.

    Then went back to try to clone my template site, 500 error again.

    Checked folder permissions, all set to 755 recursive from /uploads.

    Checked the folders for images and it seems the process quit half way through migrating a file – so it is able to start the process of cloning the image folders and the images – it just doesn’t complete.

    Have tried editing .htaccess to increase php time, and also uploading en edited php.ini file to wp-admin. No luck still.

    Off to call my host. ??

    Plugin Author Never Settle

    (@neversettle)

    Arg! You’re doing all the right things.

    Can you pinpoint it to a specific file. For example, if you do it multiple times, does it die on the exact same spot each time in the file system?

    Maybe a corrupt file or something else similar? If you could identify the file you could pull it and see.

    Another thing, is the total time an even number like 30 seconds or 60 or whatever. Sometimes there are global max_execution_times that override.

    Same Issue here… my page is freshforsale.com

    Plugin Author Never Settle

    (@neversettle)

    @ivanguinea did you try all the same things that @redfez did?

    It’s most likely a memory limit, timeout issue, or file permissions and may be hosting related. Can you both share what host (maybe it’s the same)?

    Plugin Author Never Settle

    (@neversettle)

    We just released an entirely new version. I don’t know if it will help with this issue or not, but it’s worth a shot. If the issue was outside the Cloner, then it could still be there even with the new version. But the new version does have better logging and better validation / error checking. All the best!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘500 error when cloning ID=1 site’ is closed to new replies.