I am migrating some user accounts from a cPanel backup to Virtualmin. One of the accounts is fairly big (40Gb of data) and the migration screen seems to time out. Is there a way to monitor the migration process by looking at a log file ? I see a migrate process running but it is difficult to tell what is happening, if there are any errors and how long it will last.
Any help/pointers greatly appreciated
Thanks
Roberto
We did transfer the file first so that we migrate from a local file, still we would like to get more information on what is happening and whether the migration produced any errors but do not know where to look for this information.
$HOME refers to which user ? The one I am migrating or the root/admin ?
I am redoing the migration, it seems the problems I was having where related to the UI timing out and migration getting stuck, I am not sure how this works so unsure whether the browser timing out may affect the process. During migration I see a red bar on top of the page indicating that something is going on … if the laptop does to sleep and I reopen the page the moving bar does not show and the migration process freezes … I may be totally wrong here as I do not know how it works (it may be a nohup background process running the migration) but since I disabled the “screen saver and sleep” in the laptop the migration seems to be progressing.
In the /var/webmin/miniserv.error I find:
[08/Jan/2024:13:06:36 +0100] Reloading configuration
timeout at /usr/share/webmin/miniserv.pl line 4755.
So something seems to timeout during the migration
I check all error logs and there was no indication of what was going on
I started tracing the processes involved in the migration and the sql process seemed to be stuck importing rows
I tweaked some of the DB (MariaDB) parameters allocating more memory to various buffers and re-ran the migration which this time completed without errors
I hope this may be useful to other users, as a side note, of the 10+ accounts migrated one that had a HOME_DIR NOT under public_html was not migrated fully (use created, files copies, database imported but no virtual site created), it seems that migration works only for all accounts with a HOME under public_html