copying prime site to a secondary site & moving stuff around in multisite

Her all. I want to shift things around in my multisite and have been getting timeouts and such with cloning plugins so I need a little help.

I have a multisite. Into the Mythica (http://www.intothemythica.com)

I have decided to take one of the sub-sites and make that the main site. The solution that seemed proper to me was to overwrite the original site with a copy of the secondary site and do nothing to the url.

However, I want to save the content on the current main site, and attempted to clone/copy it over to a new sub-site. However it wasn't successful. I'm not sure why, and that's part of the reason for this ticket.

In specific context, I want to move http://www.mythica.intothemythica.com over to http://www.intothemythica.com.

And I wish to copy intothemythica.com to a new subsite, let's say 'journey.intothemythica.com'.

Why am I getting timeouts when trying to copy the site? How to remedy this so I can proceed?

  • Tyler Postle

    Hey Griffin,

    First, make sure you do a full backup of your entire Multisite if you haven't already. You can do this with Snapshots "Managed Backups" feature.

    Cloning the main site of a network can definitely cause issues as it has global tables linked to it that the others don't and you normally won't want those aren't copied.

    That could also be the cause of the timeout so it might be a good thing that it timed out in this case. Did you copy tables that were displayed in this box?

    Several of those will likely be network wide tables, so if it says "network" then you will want to skip it.

    If you grant support access then we can take a look, it might also just be a case of increasing your timeout limit, which you can do by adding a constant to your wp-config, as explained here: https://premium.wpmudev.org/blog/increase-memory-limit/

    If that doesn't work can you grant support access?

    You can grant support access via WPMU DEV > Support > Grant Support Access.

    http://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Look forward to hearing back!

    Cheers,
    Tyler

  • Tyler Postle

    Hey Griffin,

    Thanks for granting access, I see that even without including any of those tables it still gives a 504 gateway timeout. Your max timeout is 1 hour and it's definitely giving the error long before that so there is likely another server restriction that is causing the issue. Asking your host would speed up the process here.

    If you send in your FTP then I can check error logs for more info, but ultimately it is going to be a limit on the server side that needs to be increased or removed.

    You can send the FTP privately through our contact form: https://premium.wpmudev.org/contact/

    Select "I have a different question" for your topic - this and the subject line ensure that it gets assigned to me.

    Send in:

    Subject: "Attn: Tyler Postle"
    -WordPress admin username
    -WordPress admin password
    -login url
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant urls

    **If you keep support access active then no need to send in wp-admin

    If you don't have server error log accessible in your root folder then sending in cPanel would be preferred :slight_smile:

    Talk to you soon.

    Cheers,
    Tyler

  • Griffin

    This is what they told me at WPENGINE. At first they said they had a kill process that activated after 60 seconds, but then investigated it and found that something was just not happening on the site.

    This is what they said:

    "So looking into this further, It actually does not look like it is getting killed by our script. Our kill script resolves in a 502. I am not seeing anything being logged as killed. I am also not seeing any related issues in the error logs. It seems like it may have somethign to do with the cloning plugin you are using itself, or possibly a plugin conflict with other plugins."

  • Tyler Postle

    Hey Griffin,

    Would you be able to send in that FTP or cPanel information then? That way we can investigate further :slight_smile:

    You can send it privately through our contact form: https://premium.wpmudev.org/contact/

    Select "I have a different question" for your topic - this and the subject line ensure that it gets assigned to me.

    Send in:

    Subject: "Attn: Tyler Postle"
    -WordPress admin username
    -WordPress admin password
    -login url
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant urls

    **If you keep support access active then no need to send in wp-admin

    If you don't have server error log accessible in your root folder then sending in cPanel would be preferred

    Look forward to hearing back!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.