Transferring ACCOUNTS FROM OLD TO NEW SERVER!

Status
Not open for further replies.

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
Hi. I am having major trouble with transfering accounts from my old Cpanel 11 Server to My New Cpanel 11 server.

It will transfer everything in the account but it will fail to copy an Parked domain, Addon Domains or Subdomains. It will say failed. Before saying that it would refer to the apache log.

If i create a backup on the old server and transfer it to here, it still comes up with this error. Also the domains are pointed at the server and i have set it to allow creations of domains that are not pointed to the server.

Is anyone else having this problem?
Thanks,
Nathaniel
 

MeGaMASTER

Well-Known Member
May 24, 2003
49
0
156
I got the same issue when transferring accounts from a server to another server. Had to manually edit httpd.conf to setup the virtualhosts.
 
Last edited:

fenixer

Well-Known Member
Feb 23, 2007
92
0
156
Exactly just the same here......

I cannot copy accounts neither restore them.......

Only the main domain will be added to the httpd.conf with current virtualhost..... but subdomains won't.........

someone has already notified to bugzilla or similar?

example:

Restoring SubDomain...SUBDOMAIN...Bind reloading on HOSTNAME using rndc zone: [DOMAIN] /usr/local/apache/conf/httpd.conf: line 1109: ....Done
(repeated this line several times... dns alright, but not added to an virtualhost)

Failed to restore the domain [SUBDOMAIN]!
 
Last edited:

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
I no. Just dont do this tomany times. It cocks up Apache if you do it tomany times.

I just restored the account, but no subdomains and then recreate the subdomains again.

I find that works fine. Just takes longer.

Thanks,
Nathaniel
 

MeGaMASTER

Well-Known Member
May 24, 2003
49
0
156
Try this:

Go to

https://__YOUR__SERVER__DOMAIN__HERE__:2087/scripts2/autofixer

Enter

diagnose_apache_conf

in the box.


Please paste the results back here.
Here is the result:

Requesting script ... Testing connection speed (2 servers)...(this could take a while)......Done
Ping:6.248 Testing connection speed to 208.74.121.37 using pureperl...(421750.00 bytes/s)...Done
Ping:6.556 Testing connection speed to 208.74.121.38 using pureperl...(421750.00 bytes/s)...Done
5 usable mirrors located
Done.

Executing script ...

Checking httpd.conf....Done
No problems founds!!

Done.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Looks like subdomain/addondomain/parked domain transfers are BROKEN in RELEASE.

Confirmed: the ea3 compatibility code in CURRENT/RELEASE breaks setting up subdomains/addondomains/parked domains on transfer.
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
323
3
168
NE Illinois
cPanel Access Level
Root Administrator
I just experienced this on Friday. The transfer seemed to be fine, but the parked subdomain (addon) accounts were not showing up, but the folders were all transferred there correctly.

I had only one site that actualy failed to transfer, and just used the "full backup" and copied it to the new server.

Back to the ones that did transfer and lost the addon domains: My solution was to find all mentions of the troubled domain(s) in the following files and directories, removing every reference to the troubled domains. This will take a while....
( I suggest backing these up to another place before you edit them just in case you need to restore them)

/usr/local/apache/conf/httpd.conf (take the addon domains whole section out - CAREFULL!)
/var/cpanel/users
/var/named
/etc/localdomains
/etc/named.conf
/etc/passwd
/etc/shadow
/etc/trueuserdomains
/etc/trueuserowners
/etc/userdomains
/etc/vdomainaliases
/etc/valiases
/etc/vfilters
/etc/vftp
/etc/vmail

After these references were removed, I entered the users control panel and created the subdomain that their domain was parked on. (The folder is there with the sites data in it! Make sure to get the correct folder.)

After the subdomain was created, I went to addon domains and created the domain name and setup the username, document root and password. It took about 30 seconds for it to give a success message, (I was ready to panic), but it worked!

This restored the sites for me, hope it works for you.

I can not give credit to the original poster of this information as I copied it down a couple of months back and forgot where I got it from, but it sure helped me this weekend!

Ron
 

innsites

Well-Known Member
Nov 30, 2005
57
0
156
Transfer from one server to another FAILS.

I have used this feature many a time to successfully transfer an account from one cpanel server to another. It now fails with each account I try.

Main >> Transfers >> Copy an account from another server
Using WHM 11.1.0 CP 11.4.19 R14379 on both servers.

Tarball copy ok!
Extracting tarball................... Done

cpmove- prefix is missing, but non prefixed directory exists.. the cpmove- prefix discarded. expected extaction point babyempo was not found. Guessing the tar dir is cpmove-user based on the extraction results. Extracting Domain....Done
Sorry, the copy failed. Unable to find the cpanel user file. Is the archive missing (cwd: /home loaded cpmove-user/cp/ user)?
Transfer Error
Account Restore Failed

How to fix?
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
I have used this feature many a time to successfully transfer an account from one cpanel server to another. It now fails with each account I try.

Main >> Transfers >> Copy an account from another server
Using WHM 11.1.0 CP 11.4.19 R14379 on both servers.

Tarball copy ok!
Extracting tarball................... Done

cpmove- prefix is missing, but non prefixed directory exists.. the cpmove- prefix discarded. expected extaction point babyempo was not found. Guessing the tar dir is cpmove-user based on the extraction results. Extracting Domain....Done
Sorry, the copy failed. Unable to find the cpanel user file. Is the archive missing (cwd: /home loaded cpmove-user/cp/ user)?
Transfer Error
Account Restore Failed

How to fix?

Please open a ticket @ https://tickets.cpanel.net/submit and pm the # to me.

Thanks
 

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
Hi Here is the problem i am having.

I am having major trouble running the latest release version of Cpanel 11.

Suddenly Addon Domains and subdomains just suddenly disappear from Cpanel. They all work but cpanel does not see they are there. They have just suddenly disappeared. If you try to add the addon domain it will say there was an error that the domain is already parked and then when i go back to the home of the cpanel it is there again.

Also with subdomains if you go to the subdomain panel to add a subdomain. i see that there are no subdomains created. However if i select the drop down where you would usually choose another domain, they are all there.

What in the world is going on? Is anyone else having this problem?

Thanks,
Nathaniel
 

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
948
29
178
Yep, having problems...

Just transferreed 200 accounts from one server to another. ALL addon domains, parked domains and redirects were lost. I'm mighty pissed.

11.8.0-R16276 on both servers.

I've got another 14 servers to migrate - if this happens on all of them I'll be very upset.
 
Status
Not open for further replies.