Plesk 10.3 to WHM/cPanel 11.32.5 build 11 (Multiple Accounts Transfer)

allentkw

Registered
Jul 13, 2012
2
0
51
cPanel Access Level
Root Administrator
Hi,

I have tried performing a migration from a VPS running Plesk 10.3.0 CentOS 5 1012110629.18 to another VPS running cPanel/WHM 11.32.5 (build 11) and encountered the following issue when I am trying to use the WHM->Transfers->Copy multiple accounts/packages from another server.

The following is the error encountered:

Creating /scripts... Done
Copying pkgacct-pXa script.....0%.. ..100%.. ...Done
Copying unpkgacct script.....0%.. ..100%.. ...Done
Copying updateuserdomains-universal script.....0%.. ..100%.. ...Done
Running updateuserdomains-universal script... Done
Copying packages-pXa script......Done
Running packages script...
bash: /scripts/packages: No such file or directory

The trace output:

==sshcontroloutput==
bash: /scripts/packages: No such file or directory

sshcommandfailed=127

Could this be a bug in the WHM multiple accounts transfers (For Plesk) script?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

Could you try doing the following on the Plesk box?

Code:
touch /scripts/packages
chmod 700 /scripts/packages 
mkdir -p /var/cpanel/packages
echo 'FEATURELIST=unsupported' > /var/cpanel/packages/unsupported
If you still have issues after doing the above on the Plesk machine, please open up a ticket on the cPanel server in WHM > Support Center > Contact cPanel and provide both server login credentials (source Plesk and destination cPanel). Please also indicate this is a Plesk to cPanel transfer so the ticket will go to the right queue for Migrations Team to assist further.

Thanks!
 

allentkw

Registered
Jul 13, 2012
2
0
51
cPanel Access Level
Root Administrator
Hello,

Could you try doing the following on the Plesk box?

Code:
touch /scripts/packages
chmod 700 /scripts/packages 
mkdir -p /var/cpanel/packages
echo 'FEATURELIST=unsupported' > /var/cpanel/packages/unsupported
If you still have issues after doing the above on the Plesk machine, please open up a ticket on the cPanel server in WHM > Support Center > Contact cPanel and provide both server login credentials (source Plesk and destination cPanel). Please also indicate this is a Plesk to cPanel transfer so the ticket will go to the right queue for Migrations Team to assist further.

Thanks!
The above works. After applying the above fix to the Plesk box, WHM->Transfers->Copy multiple accounts/packages is now able to get a list of accounts that are in the Plesk box.

However, when I try to perform a test transfer using WHM->Transfers->Copy an account from another server; It failed at transferring the .tar.gz files. I checked the Plesk box and there are splitted .tar.gz files in /home/cpmove-<ACCOUNT>-split/ though.

The output after the "pXa Creating archive" process. Note, I have replaced the actual account name with <ACCOUNT>:

Code:
Filesys::POSIX::Real::Inode::open('Filesys::POSIX::Real::Inode=HASH(0x184980f0)', 0) called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX/Userland/Tar.pm line 73
Filesys::POSIX::Userland::Tar::_write_file('Filesys::POSIX::Real::Inode=HASH(0x184980f0)', 'Filesys::POSIX::IO::Handle=REF(0x24b34f0)') called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX/Userland/Tar.pm line 107
Filesys::POSIX::Userland::Tar::_archive('Filesys::POSIX::Real::Inode=HASH(0x184980f0)', 'Filesys::POSIX::IO::Handle=REF(0x24b34f0)', 'cpmove-<ACCOUNT>/homedir/mail/<ACCOUNT>.com/zn/cur/1349675634...', 'HASH(0x242a230)') called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX/Userland/Tar.pm line 146
Filesys::POSIX::Userland::Tar::__ANON__('Filesys::POSIX::Path=ARRAY(0x184928b0)', 'Filesys::POSIX::Real::Inode=HASH(0x184980f0)') called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX/Userland/Find.pm line 96
Filesys::POSIX::Userland::Find::find('Cpanel::Pkgacct::Archive=HASH(0x1d6e860)', 'CODE(0x241ea30)', 'HASH(0x242a230)', 'cpmove-<ACCOUNT>') called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX.pm line 129
Filesys::POSIX::AUTOLOAD('Cpanel::Pkgacct::Archive=HASH(0x1d6e860)', 'CODE(0x241ea30)', 'HASH(0x242a230)', 'cpmove-<ACCOUNT>') called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX/Userland/Tar.pm line 148
Filesys::POSIX::Userland::Tar::tar('Cpanel::Pkgacct::Archive=HASH(0x1d6e860)', 'Filesys::POSIX::IO::Handle=REF(0x24b34f0)', 'HASH(0x242a230)', 'cpmove-<ACCOUNT>') called at /tmp/.perl-ppk-DmKJHu/lib/Filesys/POSIX.pm line 129
Filesys::POSIX::AUTOLOAD('Cpanel::Pkgacct::Archive=HASH(0x1d6e860)', 'Filesys::POSIX::IO::Handle=REF(0x24b34f0)', 'HASH(0x242a230)', 'cpmove-<ACCOUNT>') called at /tmp/.perl-ppk-DmKJHu/lib/Cpanel/Pkgacct/Archive.pm line 118
Cpanel::Pkgacct::Archive::write_tar_to_handle('Cpanel::Pkgacct::Archive=HASH(0x1d6e860)', 'GLOB(0x240baf0)') called at /tmp/.perl-ppk-DmKJHu/lib/Cpanel/Pkgacct/Archive.pm line 137
Cpanel::Pkgacct::Archive::__ANON__('GLOB(0x240baf0)') called at /tmp/.perl-ppk-DmKJHu/lib/Cpanel/IO/Tarball.pm line 84
Cpanel::IO::Tarball::new('Cpanel::IO::Tarball', 'tar_writer', 'CODE(0x1d72e00)') called at /tmp/.perl-ppk-DmKJHu/lib/Cpanel/Pkgacct/Archive/Writer.pm line 176
Cpanel::Pkgacct::Archive::Writer::write_split_tarballs('Cpanel::Pkgacct::Archive::Writer=HASH(0x241ea40)', 'dest', '/home/cpmove-<ACCOUNT >-split', 'chunk_name_format', 'cpmove-<ACCOUNT>.tar.gz.part%05d', 'chunk_size', 100000000) called at /tmp/.perl-ppk-DmKJHu/lib/Cpanel/Pkgacct/Archive.pm line 141
Cpanel::Pkgacct::Archive::write_to_disk('Cpanel::Pkgacct::Archive=HASH(0x1d6e860)', 'split', 1, 'dest', '/home/cpmove-<ACCOUNT>-split', 'timer', 'Cpanel::Event::Timer=HASH(0x1d72e20)') called at /tmp/.perl-ppk-DmKJHu/scripts/main.pl line 1355
Script::Pkgacct::pXa::script('Script::Pkgacct::pXa=HASH(0x1b3d5c0)') called at /tmp/.perl-ppk-DmKJHu/scripts/main.pl line 51 at /tmp/.perl-ppk-DmKJHu/lib/Cpanel/IO/Tarball.pm line 174.
The trace output:

==sshcontroloutput==

sshcommandfailed=1

Do you have any known fixes for the above? Or will I need to submit a ticket to let the migration team to assist further?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
At this point, you'll need to submit a ticket as I'm not sure what might be causing this one to occur. Please ensure to provide the login details for both machines and to indicate it is a Plesk to cPanel transfer. Thanks!
 

JeffP.

Well-Known Member
Sep 28, 2010
164
15
68
Hi rip_curl,

If you are still experiencing this issue and have not done so aleady, please open a ticket using the instructions provided by cPanelTristan shown above.

Thanks!