The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Truly baffling behaviour with account copying functionality

Discussion in 'General Discussion' started by ritontor, Feb 4, 2010.

  1. ritontor

    ritontor Member

    Joined:
    May 17, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hi everyone,

    I used the "Copy an account from another server with account password" function to copy a site from one cPanel to another a couple of days ago, and it resulted in some bizarre behaviour I was hoping to get an insight in to.

    Basically what happened is this: for the space of about an hour, the site I copied from was broken because of something I changed on the site I copied to. It's like if I punched some guy in the face but a completely different person fell over.

    So I have to ask - using the mechanism above, does it somehow forward connections on to the new server? And is it also possible that Apache log entries for these forwarded connections would not appear on the new server? There are a number of other even weirder behaviours, but in the interests of not confusing the issue too much, this will do for now.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    A few initial questions I have are the following, numbered for clarity:
    1.) Did any portion of transferred the account already exist on the destination server (e.g., username or domain names)?
    2.) Are there any similar details between the two accounts, such as both having one or more of the same domain names (or the same username)?
    3.) What is the full cPanel version and build number of both systems involved?

    It's difficult to say with any certainty what may have happened without knowing more verbose details about the symptoms experienced. If a bug is suspected please consider submitting a support request so that we can take a closer look.
     
    #2 cPanelDon, Feb 4, 2010
    Last edited: Feb 4, 2010
  3. ritontor

    ritontor Member

    Joined:
    May 17, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    1. No, nothing. It was a fresh install of cPanel.
    2. There were no accounts on the new server at all, so no, there was nothing that matched in any way.
    3. From = cPanel 11.25.0-C43193, to = cPanel 11.25.0-R42400
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    This method of account migration will overwrite the .htaccess on the remote server. The resulting .htaccess file will only contain:

    Code:
    Options All
    
    This of course means that any customizations performed to the .htaccess file are lost.

    Please note that this method of account transfer is a last ditch effort, not guaranteed to be without problems. If you have root access to the remote server it is recommended to use one of the other account transfer methods.

    If the remote server is a cPanel server, and you don't have root access to it, it is safer to create a full backup and transfer that to the new server.
     

Share This Page