How to manually migrate from DirectAdmin to cPanel & WHM?

kssuhesh

Active Member
Jan 11, 2009
26
8
128
Kochi
cPanel Access Level
Root Administrator
Twitter
We are moving account from directadmin to cpanel and geneating the backup using the script "pkgacct-da", we are getting the following error. Can someone give a solution for this ?

---------
da DNS is domain.com
da Copying home directory...Unable to alias home directory item fs/user/home/user/tmp to cpmove-user/homedir/tmp: File exists at /tmp/N8zs4EGMAJ/lib/Filesys/POSIX/Error.pm line 48.
Unable to alias home directory item fs/user/home/user/etc to cpmove-user/homedir/etc: File exists at /tmp/N8zs4EGMAJ/lib/Filesys/POSIX/Error.pm line 48.
Done
da Copying main public_html directory...da Copying web content for domain domain….com Done
da Copying web content for domain domain.2.com..Done
da Copying web content for domain domain.3.com…Done
da Copying web content for domain domain.4.comDone
da Writing subdomains...Done
da Writing parked domains...Done
da Copying mail aliases...Done
da Copying mail...
Copying mail for domain domain2.com...Done
Copying mail for domain domain3.com…Done
Copying mail for domain domain.4.com..Done
Copying mail for domain domain….com….File exists at /tmp/N8zs4EGMAJ/lib/Filesys/POSIX/Error.pm line 48.
Filesys::POSIX::Error::throw(17) called at /tmp/N8zs4EGMAJ/lib/Filesys/POSIX/Mem/Inode.pm line 54
Filesys::POSIX::Mem::Inode::child('Filesys::POSIX::Mem::Inode=HASH(0x187c900)', '[email protected]’.com, 41453) called at /tmp/N8zs4EGMAJ/lib/Filesys/POSIX.pm line 451
Filesys::POSIX::symlink('Cpanel::Pkgacct::Archive=HASH(0x18837e0)', ‘domain.com/admin', 'fs/scratch/homedir/mail/[email protected]’.com) called at /tmp/N8zs4EGMAJ/scripts/main.pl line 672
Script::Pkgacct::da::copy_mail('Script::Pkgacct::da=HASH(0x1c1ebd0)') called at /tmp/N8zs4EGMAJ/scripts/main.pl line 313
Script::Pkgacct::da::script('Script::Pkgacct::da=HASH(0x1c1ebd0)') called at /tmp/N8zs4EGMAJ/scripts/main.pl line 41
Script::Pkgacct::da::run(‘user’) called at /tmp/N8zs4EGMAJ/scripts/main.pl line 37
---------
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,307
2,440
363
cPanel Access Level
Root Administrator
Hey there! When we've run into this error in the past we've had to do more investigating, such as performing an strace with the package command, to see specifically what is causing that error to happen. If you'd like us to check that out, we would need root SSH access to the source machine, but you could open a ticket using the link in my signature.

If you'd like to try and move the data manually we have a guide for that work here:

https://documentation.cpanel.net/di...nts+to+cPanel+from+Unsupported+Control+Panels
 

Ellie89

Registered
Jan 17, 2020
1
0
0
spain
cPanel Access Level
Website Owner
Thinking of moving my site over but apprehensive of the announcements of new pricing structures for cpanel? Although having said that, i believe cPanel, plesk and WHMCS are all owned by the same group anyway so perhaps unavoidable hikes?
 
Last edited by a moderator: