The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Failed migration after WHM were updated to 11.44

Discussion in 'Data Protection' started by po1yak, Jul 17, 2014.

  1. po1yak

    po1yak Member

    Joined:
    Jul 17, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    To clarify, you're moving a cPanel account from one cPanel server, to another cPanel server. Is that right?
     
  3. po1yak

    po1yak Member

    Joined:
    Jul 17, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate more on this statement? Do you mean the HSphere control panel?

    Thank you.
     
  5. po1yak

    po1yak Member

    Joined:
    Jul 17, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  6. cPAndrewHodge

    cPAndrewHodge cPanel UI Developer
    Staff Member

    Joined:
    Dec 10, 2012
    Messages:
    52
    Likes Received:
    3
    Trophy Points:
    8
    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:
    • [root@andrewhodge:/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:
     [root@andrewhodge:/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
    CONTACTEMAIL=-------@cpanel.net
    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=
     
Loading...

Share This Page