cPanel Migration issues

6 posts / 0 new
Last post
#1 Fri, 11/16/2007 - 11:11
mike@afmu.com

cPanel Migration issues

When attempting to migrate a cpanel backup the migration process just dies and appears to timeout. The process on the server appears to be unziping and untarring the archive but then it just stops. the archive is on the large side at 8 Gig. I have tried increasing the timeout value in apache but this seems to have had no effect. Can anyone offer any suggestions?

Fri, 11/16/2007 - 11:15
Joe
Joe's picture

You could try it from the command line (maybe in a 'screen' session, if you're remote, as ssh can also time out)--the migrate-domain.pl command line script is the one you want. I'll ask Jamie to add a ticker so that the browser won't time out.

Also worth being sure you have plenty of room on the destination machine.

--

Check out the forum guidelines!

Fri, 11/16/2007 - 12:35 (Reply to #2)
mike@afmu.com

Running the migration with firefox produces the same results. The last process that runs before it quits seems to be removing tmp files.
I think there is plenty of free space, but I am still new to LVM so I am not 100%, df shows :

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
287G 15G 258G 6% /
/dev/sdb1 73G 764M 68G 2% /backup
/dev/sda1 99M 16M 79M 17% /boot
tmpfs 506M 0 506M 0% /dev/shm

although everything seems to go into the directory

/tmp/.webmin/403037_1_migrate.cgi

and be taking space up on the logical volume.

Any ideas ?

Fri, 11/16/2007 - 12:44 (Reply to #3)
Joe
Joe's picture

Did you try the command-line migration program as well? That should at least display more information about what is going wrong. The command to run would be like :
/usr/libexec/webmin/virtual-server/migrate-domain.pl --type cpanel --source /path/to/backup.tgz --domain whatever.com --pass yourpassword

--

Check out the forum guidelines!

Fri, 11/16/2007 - 11:37
Joe
Joe's picture

Another alternative to the command line is to use a browser like Firefox, which doesn't timeout requests that are taking a long time on the server side.

Also, make sure you have plenty of disk space in /tmp , as Virtualmin extracts the cPanel backup there first before migrating it.

--

Check out the forum guidelines!

Fri, 11/16/2007 - 11:47
mike@afmu.com

Hey guys, thanks for the quick update. File space should not be an issue so long as the process does not copy temporary files to an unsual parition anywhere, even then I think the smallest one besides /boot has 10G+ free . My first guess was to run it via ssh as well, but I am new to virualmin and was not sure how to do that. I will try your suggestions and report back in a bit.

Topic locked