Truly baffling behaviour with account copying functionality

ritontor

Member
May 17, 2009
19
0
51
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.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
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.
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.
 
Last edited:

ritontor

Member
May 17, 2009
19
0
51
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
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
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.