Failed migration after WHM were updated to 11.44

po1yak

Member
Jul 17, 2014
6
0
51
cPanel Access Level
DataCenter Provider
Hello,

I'm working to migrate account from shared hosting to the cPanel accounts.
Algorithm is next:
1. Create cpmove-$USERNAME.tar.gz file with info from shared hosting
2. Transfer cpmove-$USERNAME.tar.gz file to the dedicated server with cPanel
3. Restore account via /scripts/restorepkg cpmove-$USERNAME.tar.gz

Unfortunately, after WHM were updated to 11.44 ver. it's algorythm not works any more.
Error at the 3 step:
/scripts/restorepkg cpmove-$USERNAME.tar.gz
ArchiveManager
Preparing archive for restoration …
ArchiveManager
The archive is missing cpuser data.
The archive is missing cpuser data.

In the WHM 11.42 it's still works without errors.

I cant found in cPanel docs which mean this error and how I can correct it.

Could you please explain me, what mean this error and how I can correct it, or give a link with explanation.

Thanks in advance,
Sergey Polyakov.
 

po1yak

Member
Jul 17, 2014
6
0
51
cPanel Access Level
DataCenter Provider
Hello cPanelMichael

Yes, I mean the HSphere control panel.
But I do not understand how it relates to the nature of the issue, because I do not use the built-in cPanel tools import accounts from other control panels.

Algorithm is next:
1. Create cpmove-$USERNAME.tar.gz file manually, according to docs at:
https://documentation.cpanel.net/dis...rball+Contents
it means that I create manually directory structure with data and create archive with name cpmove-$USERNAME.tar.gz
2. Transfer cpmove-$USERNAME.tar.gz file to the dedicated server with cPanel
3. Restore account via /scripts/restorepkg cpmove-$USERNAME.tar.gz
 

AndrewH.

Well-Known Member
Dec 10, 2012
52
3
83
cPanel Access Level
Root Administrator
Are you creating a /cp directory in your cpmove-XXX.tar.gz file? If so does it have a file with the name of the user? Here is an example from a cPanel account I just ran pkgacct on.

Code:
• [[email protected]:/home]# tar -tvf cpmove-reseller.tar.gz
....
drwx------ root/root         0 2014-07-18 14:11 cpmove-reseller/cp/
-rw-r----- root/reseller  1366 2014-07-01 14:16 cpmove-reseller/cp/reseller
....
And here is what that file contains:

Code:
 [[email protected]:/home/cpmove-reseller/cp]# cat reseller
# cPanel -- If you edit this file directly you must run /usr/local/cpanel/scripts/updateuserdomains afterwards to rebuild the system caches.
# If you edit MAX_EMAIL_PER_HOUR or MAX_EMAIL_PER_HOUR-[domain] you must run /usr/local/cpanel/scripts/updateuserdomains'

BACKUP=1
BWLIMIT=10485760
[email protected]
CONTACTEMAIL2=
DEMO=0
DNS=test-reseller.tld
DNS1=as.test-reseller.tld
DNS10=*.test.test-reseller.tld
DNS11=pluto.test-reseller.tld
DNS12=pluto.tld
DNS13=neptune.test-reseller.tld
DNS14=neptune.tld
DNS15=jupiter.test-reseller.tld
DNS16=jupiter.tld
DNS2=asd.test-reseller.tld
DNS3=asdf.test-reseller.tld
DNS4=qwe.test-reseller.tld
DNS5=qwer.test-reseller.tld
DNS6=sasd.test-reseller.tld
DNS7=funkychicken.funkymonkey.someverylongnamethereicantevenexplainwhyyouwoulduse.test-reseller.tld
DNS8=youfancy.test-reseller.tld
DNS9=docs.test-reseller.tld
FEATURELIST=default
HASCGI=1
HASDKIM=1
HASSPF=0
IP=192.168.0.7
LANG=english-utf8
LEGACY_BACKUP=0
LOCALE=en
MAXADDON=unlimited
MAXFTP=5
MAXLST=unlimited
MAXPARK=unlimited
MAXPOP=5
MAXSQL=unlimited
MAXSUB=unlimited
MAX_DEFER_FAIL_PERCENTAGE=unlimited
MAX_EMAIL_PER_HOUR=unlimited
MTIME=1404241448
MXCHECK-test-reseller.tld=0
OWNER=reseller
PLAN=undefined
PREVIOUS_STYLE=
PREVIOUS_THEME=x3
RS=x3
STARTDATE=1346092621
USER=reseller
_PACKAGE_EXTENSIONS=
notify_disk_limit=
notify_email_quota_limit=