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?

You could try it from the command line (maybe in a ‘screen’ session, if you’re remote, as ssh can also time out)–the 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.

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.

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.

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
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


and be taking space up on the logical volume.

Any ideas ?

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/ --type cpanel --source /path/to/backup.tgz --domain --pass yourpassword