|
|||
|
Problems moving accounts between cPanel servers
I'm trying to move a reseller's account from one cPanel server to another. On the first attempt the script failed after backing up the account and moving it, stating that it couldn't find the account. I found that this is a pretty common error and d the suggest solution was clearing out the /tmp directory of the account on the server the account is being moved from.
So now I'm trying to start again, and I'm getting this error: Code:
Attempting to login as USER to xxx.xxx.xxx.xxx via ftp Login ok Uploading Htaccess Uploading Wrapper Uploading Dectector Uploading Packager Uploading Downloader Uploading Killer chmoding scripts Found uid to be: 32026 Compiling wrapper uploading wrapper chmodding wrapper Closing FTP Control Packing Account using suexec method pkgacct started. pkgacct version 4.1 - running with uid 32026 using time::hires for speedups /tmp/cpmove-USER exists, please remove it and try again DOWNLOAD READY in /tmp/cpmove-USER.tar.gz Downloading Tarball Removing Scripts using suexec method UNLINKED Checksum Failure [[d41d8cd98f00b204e9800998ecf8427e]] [[]]...trace information follows...HTTP/1.1 200 OK Date: Thu, 01 Jun 2006 07:12:49 GMT Server: Apache Connection: close Content-Type: text/html pkgacct started. pkgacct version 4.1 - running with uid 32026 using time::hires for speedups /tmp/cpmove-USER exists, please remove it and try again DOWNLOAD READY in /tmp/cpmove-USER.tar.gz Error while copying account...! Aborting Extraction |
|
|||
|
Update cPanel once and try to transfer the account from shell. Below are the steps :-
/scripts/pkgacct <username> >>>> Will create a file for that particular account as cpmove-<username>.tar.gz in /home dir. Transfer this file to the required server using Ftp or SCP. Login to another server :- Move the above specified file to /home dir. Execute the command :- /scripts/restorepkg <username> If you still face any problems, then login to cPanel for that account and take a complete backup on your machine. Upload the backup file on the new server and then restore it. What OS are you using on old and new server ? |
|
|||
|
Okay was able to log into cPanel on the old server and do a full backup from there, and copied it over to the new server in the /home directory. Here's the error I get now:
Code:
Main >> Backup >> Restore a Full Backup/cpmove file
Searching /home....
No Restorable archives found!
Searching /usr/home....
No Restorable archives found!
Searching /web....
No Restorable archives found!
Searching /home2....
No Restorable archives found!
Searching /home3....
No Restorable archives found!
Searching /root....
No Restorable archives found!
Searching /usr....
No Restorable archives found!
No archives where found!!
This feature will restore full backups, cpanel backups and cpanel move files in the format of:
cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz
The files must be in one of these directories on the server:
/home,/usr/home,/web,/home2,/home3,/root,/usrYou must upload the file to one of the above locations before
using this feature.
What's missing here? WHM 10.8.0 cPanel 10.8.2-R115 RedHat Enterprise 4 i686 - WHM X v3.1.0 |
|
|||
|
The backup seems to be corrupted and renaming the .tar.gz file won't do anything. Try to take the backup once again from cPanel, if it goes the same way then try taking seperate backup of your home directory and Sql databases from the 'Backup' option and then restore them on your server
If you wish to generate full backup and your are not able to contact your Hosting company then I guess you are helpless. You will have to contact your hosting company who can generate full backup of your account from shell. Last edited by madaboutlinux; 06-10-2006 at 10:01 AM. |
|
|||
|
Try to generate a new backup thru cpanel "backup" feature. The new backup.xxxx.tar.gz file would be downloadable at the /home/user of your client. You can move the tar.gz backup to public_html > then wget it on your new hosting or FTP it to the new hosting server > try to restore full backup > mails, dbase, files, etc should be restored if the new backup is ok.
|
|
|||
|
I tried it again from scratch, same errors. It's not even checking to see if the backup files are valid, the checksums match, etc. It's just flat out not seeing any files in /home.
But, then again, one some accounts it's not having ANY problems with this. So is this feature just broken in cPanel or what? It makes no sense that this works to back up some accounts but not others. |
|
|||
|
Just for stuff and giggles, I generated a full backup via cPanel on the old server and had it FTP'd to the new server, moved the backup file into /home, run the "restore from backup", and again cPanel fails to recognize any file there, it returns the same error that I reported a few posts ago:
Code:
Main >> Backup >> Restore a Full Backup/cpmove file
Searching /home....
No Restorable archives found!
Searching /usr/home....
No Restorable archives found!
Searching /web....
No Restorable archives found!
Searching /home2....
No Restorable archives found!
Searching /home3....
No Restorable archives found!
Searching /root....
No Restorable archives found!
Searching /usr....
No Restorable archives found!
No archives where found!!
This feature will restore full backups, cpanel backups and cpanel move files in the format of:
cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz
The files must be in one of these directories on the server:
/home,/usr/home,/web,/home2,/home3,/root,/usrYou must upload the file to one of the above locations before using this feature.
Code:
root@cpanel [/]# cd home root@cpanel [/home]# pwd /home root@cpanel [/home]# ls ./ client/ emhs/ moms/ taes/ vcw/ ../ .cpan/ gtg/ MySQL-install/ tameone/ warz/ admin/ cpmove-alexis.tar.gz justen/ naw/ timothy/ willow/ alexis/ cptmp/ last2act/ patriot/ tiwonge/ bethesda/ eblade/ maxx/ roe/ uswf/ root@cpanel [/home]# |
|
|||
|
No, I didn't ignore your question. Again, the problems started before the account "alexis" was created on the server today.That is, it doesn't matter if the account on the new server is there or not, I am getting the same error message, cPanel is not seeing the the cpmove-* or backup-* files for certain accounts when they are placed in the /home directory. It isn't even checking the md5 sums or if the files are valid, it flat out doesn't see them.
---- Re-reading your question again -- The original problem is that when I log into WHM, transfer an account from another cPanel server, sometimes it will successfully do so, and other times it will not, claiming that the file is invalid, when the file is sitting in /home. It was suggested that I try to run a backup from the cPanel server I'm moving from, place it in /home myself and run a restore from previous back-up. This also is not working, and it is giving me the same errors, WHM cannot find the file in /home, even when it tells me that the file *is* sitting in /home. Last edited by kamnet; 06-13-2006 at 12:18 AM. |
|
|||
|
I've tried renaming the file using all three prefixes, it doesn't work. I've tried without the user accounts, that doesn't work. I've tried with the user accounts, that doesn't work. I've tried importing from the old server using and not using the user/password, I've tried with full backups FTPd to the new server, I've tried downloading them straight to my computer and re-uploading them to the new server.
The file has the right name(s), the file is in the right spot, and I can open up the .gz file with no issues. I just need to freaking import ALL of the account settings, e-mail settings, files, databases etc. and I need it to work right. But no matter what I've tried sofar, same results - it works for some accounts, doesn't work on others. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|