1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk Migration Fails: 9.5.4 -> 10.4.4

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by A.P, Apr 16, 2012.

  1. A.P

    A.P New Pleskian

    15
    85%
    Joined:
    Nov 22, 2010
    Messages:
    6
    Likes Received:
    0
    I'm getting frustrated by the Plesk migration function. You'd think that it should be straightforward to migrate between two versions as close as 9.5.4 and 10.4.4. Not so. It seems to run fine until it reaches about the 7% or so mark and then it just stops with a 'Failed' status update. The error I found in the migration log file seems to indicate that execution stopped due to---

    From the log, it appears that it's failing specifically due to the error:

    I'm not sure where to begin to resolve the problem, so, any and all help will be mostly appreciated! Help, please!

    Thanks!
    ..a.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
  3. A.P

    A.P New Pleskian

    15
    85%
    Joined:
    Nov 22, 2010
    Messages:
    6
    Likes Received:
    0
    Thanks, Igor,

    I ran the tool suggested in the link, and from one of the files generated (migration.log) it seems the root authentication succeeds. However when it attempt to remotely execute 'cat', it fails:
    Code:
    . . . .
    [01:05:14|DEBG: 7212:p.libssh2pp.Socket] Connected
    [01:05:14|DEBG: 7212:p.libssh2pp.Session] Trying to start SSH session
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Selected aes256-cbc encryption method
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] SSH session started successfully
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Requested authorization for user root
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Getting userauth methods for user 'root'
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Got the following allowed userauth methods: publickey,password,keyboard-interactive
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Trying 'password' authentication
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Authenticated succesfully
    [01:05:15|DEBG: 7212:p.Ssh] Reading data from the remote file /var/cache/20120417005929136/dumping-status.xml
    [01:05:15|DEBG: 7212:p.Ssh] Executing cat /var/cache/20120417005929136/dumping-status.xml on the remote host
    [01:05:15|DEBG: 7212:p.libssh2pp.Session] Opening SSH channel for command 'cat /var/cache/20120417005929136/dumping-status.xml'
    [01:05:16|DEBG: 7212:p.Ssh] Execution finished with return code 0
    [01:05:16|DEBG: 7212:p.libssh2pp.Channel] Closed
    [01:05:16|DEBG: 7212:p.libssh2pp.Session] SSH session finished
    [01:05:16|INFO: 7212:p.log] Launchpad finished. Exit code: 0
    [01:05:19|DEBG: 7051:p.Ssh] Reading data to the file /usr/local/psa/PMM/msessions/20120417005929136/dumping-status.xml.tmp
    [01:05:19|DEBG: 7051:p.Ssh] Reading data from the remote file /var/cache/20120417005929136/dumping-status.xml
    [01:05:19|DEBG: 7051:p.Ssh] Executing cat /var/cache/20120417005929136/dumping-status.xml on the remote host
    [01:05:19|DEBG: 7051:p.libssh2pp.Session] Opening SSH channel for command 'cat /var/cache/20120417005929136/dumping-status.xml'
    [01:05:19|DEBG: 7051:p.Ssh] Execution finished with return code 0
    [01:05:19|DEBG: 7051:p.libssh2pp.Channel] Closed
    [01:05:22|DEBG: 7051:p.libssh2pp.Channel] Closed
    [01:05:22|DEBG: 7051:p.libssh2pp.Session] SSH session finished
    [01:05:22|INFO: 7051:p.log] CantRetrieveDump[c5ea7abc-15e4-4c62-83ed-48736b004aa8^@]: Error during dump retrieval [./actions.cpp:331]
    virtual void plesk::RetrieveDumpAction::execute()
    Inner exception:
    SshConnectionFault[11e2c057-a137-48e7-88b0-a9fd4da9a94c^@]: Lost connection with the remote host [./libssh2pp.h:100]
    int plesk::libssh2pp::Channel::poll(int)
    [01:05:22|INFO: 7051:p.log] Launchpad finished. Exit code: 2
    
    
    Any idea on how to resolve this?

    Thanks,
    ...a.
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Looks like some network problems... Try to check it from this side?
     
  5. A.P

    A.P New Pleskian

    15
    85%
    Joined:
    Nov 22, 2010
    Messages:
    6
    Likes Received:
    0
    Thanks, Igor.

    And, do you mean you can check the connectivity from your side? If so, that'll be great! Or, if I'm not quite understanding you, then can you please explain what "check it from this side?" means?

    Alternatively, is it likely that the connection wait timeout is too short? If so, how do I increase it to make it wait longer before timing out?

    Best,
    ...a.
     
    Last edited: Apr 17, 2012
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Sorry for misunderstanding. I meant that you may check network connection between servers. Actually, it can be related to some timeouts or routing rules or something else.
     
  7. A.P

    A.P New Pleskian

    15
    85%
    Joined:
    Nov 22, 2010
    Messages:
    6
    Likes Received:
    0
    I tried running the commands that fail in the log file manually, and there was no problem connecting by ssh from the new to the old server, and no problem executing the 'cat' command where the connection failure occurs. So, what now? Any tips on how to proceed from here?

    Thanks,
    ...a.
     
  8. A.P

    A.P New Pleskian

    15
    85%
    Joined:
    Nov 22, 2010
    Messages:
    6
    Likes Received:
    0
    I hope you're still there, Igor ... or anyone else with advice --

    I've given on using the migration manager since, from the manual tests I ran, there's no connection problem I can find between the old and new server. In short ssh and wget, etc. all work fine without a hitch ... except when I try to use the plesk migration function.

    So, I'm now trying to do a manual migration per the article I found at http://www.parallels.com/fileadmin/parallels/documents/support/plesk/plesk-10-migration-guide.pdf (page 41)

    For starters, I'm testing it for one client only to see if it proceeds to completion. I successfully did a dump of the client information on the old server and successfully copied the dump.xml (listed in content-list.xml) to the new server.

    However, when I try the next step listed which is, from the destination server, start a new migration with the option of 'Transfer data already processed by the migration agent and located on the local host'. It goes nowhere and I get this error message instead:
    I know the directory and the files do exist on the destination. So, this error message is completely unhelpful. Any ideas what the problem is now, or how to debug it?

    Thanks,
    ...a.
     
    Last edited: Apr 18, 2012
  9. A.P

    A.P New Pleskian

    15
    85%
    Joined:
    Nov 22, 2010
    Messages:
    6
    Likes Received:
    0
    An update -- I've just found out that "Migration data file location" field wants the file name, not just the directory (i.e. not {dump_file_dir} but {dump_file_fir}/dump.xml)

    With that, the error message is gone, but now it does not display anything at all. It seems to execute and then jumps back to the home screen of the Plesk console without any message whatsoever. And a check shows that nothing was done or migrated. This is a most frustrating console software! Any and all help appreciated.

    ...a.
     
Loading...