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

Migration error 9.5.4 to 10.3.1

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Red Paint, Oct 11, 2011.

  1. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello,

    We are trying to migrate from Plesk 9.5 to Plesk 10.3 and we keep getting the following error in pmmcli.log:

    I've searched through the forums and can't find anything that relates to this issue. What could the problem be and does anyone have any ideas on how we can fix it?

    Many thanks
     
    Last edited: Oct 11, 2011
  2. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Looking at the logs in more detail it seems the migration scripts are buggy. This is a FreeBSD system.

    Specifically
    and more importantly
    portion of the log:

    Does anyone from Parallels read these forums?
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    Try to replace /usr/local/psa/PMM/agents/shared/HelpFuncs.pm on destination server with attached file.
     

    Attached Files:

  4. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello Igor,

    I've replaced /usr/local/psa/PMM/agents/shared/HelpFuncs.pm on the destination server but each new attempt seems to be using the old HelpFuncs.pm (verified by looking at the source code for line 213). Is this cached somewhere or should I be replacing HelpFuncs.pm on the source server as well??

    Thanks
    Andy
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    No, replacing only on destination server should be enough.
     
  6. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Is there a cache or other source of HelpFuncs.pm that could be preventing the modified file from taking affect?
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    Do not understand what do you mean? This file is a part of psa-backup-manager package and there is no any cache or something else. For example:
     
  8. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Sorry, my mistake, got mixed up between source and destination on SSH.
     
  9. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    And how it goes on?
     
  10. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    I'm just waiting for another rsync operation to end before I can run this. I've tried but it comes back with Error: Rsync is not available on the source host ... this is definitely better than the previous error and seems to suggest it might just work. I'll update this post later today once rsync is freed up to test.

    Thank you for your help so far; it's very much appreciated.
     
  11. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello Igor,

    We had to upgrade the version of rsync on the source server but the migration wizard is now running. However it's been sitting at 0% for 44 minutes and I think that perhaps something has gone wrong.

    I've had a look at the following posts: http://forum.parallels.com/showthread.php?t=91450 AND http://forum.parallels.com/showthread.php?t=101083 but neither applies. However the second post did make me think that perhaps our licence key could be an issue(?). We are migrating from our 9.5.4 licence key over to a trial licence key ... could this cause the migration to hang?

    Many thanks
    Andy
     
  12. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello,

    Quick update, the migration manager seems to be running correctly now. After making a clean install of rsync on the source server we also needed to open up the appropriate ports on the firewall and modify the SSH settings in /etc/ssh/sshd_config to allow for a longer timeout and ensure all other settings were correct.

    Will update this thread if migration fails for any reason.

    Thanks for your help Igor.
     
  13. Red Paint

    Red Paint Basic Pleskian

    26
    23%
    Joined:
    Aug 19, 2009
    Messages:
    78
    Likes Received:
    1
    Hello Igor,

    Migration is stalling at 55% and looking at the log we have several errors, one of which is this:

    I'm not sure where du --b is specified .. any thoughts?

    Also there is an illegal operation at the start of the migration log:

    in FreeBSD the equivalent should be
    could this be causing problems?
     
    Last edited: Oct 14, 2011
  14. yusuf1990

    yusuf1990 Guest

    0
     
    help please


    Error: Runtime error in pmmcli:
    exceptions.AttributeError 'ExportDumpAsFileAction' object has no attribute 'unsetProcess'
    Traceback (most recent call last):
    File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1423, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
    File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1305, in export_dump_as_file
    return ActionRunner(ExportDumpAsFileAction, src_dst_files_specification, None).doActivity()
    File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 67, in doActivity
    result = self.processor.doActivity()
    File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 287, in doActivity
    proc = cmd.spawn()
    File "/usr/local/psa/admin/lib/python/subproc.py", line 246, in spawn
    self.process_handler.unsetProcess(self.proc)
    AttributeError: 'ExportDumpAsFileAction' object has no attribute 'unsetProcess'
     
Loading...