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

PMMCli restore execution failed with return code:1

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by kevork, May 15, 2009.

  1. kevork

    kevork Guest

    0
     
    Hello,

    Trying to migrate a client, got this:
    PMMCli restore execution failed with return code:1

    Any life-guard arround there ? :)
     
  2. Che-MingC

    Che-MingC Guest

    0
     
    got the same problem with plesk 9.2.1.
    "PMMCli restore execution failed with return code:1"
    already tryed several migration settings, but got this error everytime and with clients with different size.
    any ideas?

    greetings CM
     
  3. Che-MingC

    Che-MingC Guest

    0
     
    got the same problem here with plesk 9.2.1
    PMMCli restore execution failed with return code:1
    already tryed several migration settings, but got this message everytime and with clients with different sizes.
    any ideas?

    greetings CM
     
  4. Denis Sirochenko

    Denis Sirochenko Guest

    0
     
    Hello,

    I once had the same error message when trying to backup a domain.

    The problem was site application configured on subdomain of troubled.domain

    mysql> select id from domains where name='troubled.domain';
    +-----+
    | id |
    +-----+
    | 56 |
    +-----+
    1 row in set (0.00 sec)

    mysql> select id, name from subdomains where dom_id=56;
    +-----+------+
    | id | name |
    +-----+------+
    | 25 | org |
    +-----+------+
    1 row in set (0.00 sec)

    mysql> SELECT * FROM SiteApps WHERE dom_id=25;
    +-----+-------------+--------+-----------+----------------+------------------+--------------+-----------+------------+
    | id | app_release | dom_id | dom_type | install_prefix | htdocs_directory |
    capp_item_id | params_id | license_id |
    +-----+-------------+--------+-----------+----------------+------------------+--------------+-----------+------------+
    | 139 | 26 | 25 | subdomain | . | httpdocs |
    39 | 504 | NULL |
    +-----+-------------+--------+-----------+----------------+------------------+--------------+-----------+------------+
    1 row in set (0.00 sec)

    mysql> SELECT * FROM APSClientApplicationItems where id="39";
    Empty set (0.00 sec)

    mysql>

    I deleted the problem record:

    mysql> delete from SiteApps WHERE dom_id=25;
    Query OK, 1 row affected (0.00 sec)

    mysql>

    After that domain was backed up normally.

    Check domains of the client you wish to migrate.

    Regards,
    Denis.
     
  5. Che-MingC

    Che-MingC Guest

    0
     
    hello,

    the curious think is, i get this error with a client with absolutely no content. no mysql databases, no email, and no html files (except the default index ect.)
     
  6. Oldskool

    Oldskool Guest

    0
     
    Experiencing the same problem on 9.2.1

    This is not an option, as SiteApps ae not available on the old machine:

    Code:
    mysql> select * from SiteApps;
    Empty set (0.01 sec)
    pmmcli.log shows me this:

    Code:
    == STDERR ====================
    Runtime error: Unable to create dump: Can't use an undefined value as a symbol reference
    
    
    Traceback (most recent call last):
      File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1846, 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 1691, in restore
        return ActionRunner(RestoreAction, restore_task_specification, parameters).doActivity()
      File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 75, in doActivity
        result = self.processor.doActivity()
      File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 592, in doActivity
        plesk_actual_dump = PleskActualDump(session.get_session_path()).get()
      File "/usr/local/psa/admin/share/pmmcli/pmm_conflict_detector.py", line 25, in get
        raise PMMUtilityException('plesk_agent_manager', x)
    PMMUtilityException:  was finished with exit code 1
    Looks like an error in the pmmcli.py script?

    Further investigation into the PMM logs learned that the error was being caused by a domain that was already deleted from the client, so that's weird. Seems like the migration manager is parsing domains I did not even check, nor even exist anymore. I now deleted that entire client (was his only domain anyway) and am now running the migration again to see what happens.
     
    Last edited by a moderator: Jul 23, 2009
  7. bigCat Mao

    bigCat Mao New Pleskian

    22
     
    Joined:
    Mar 29, 2009
    Messages:
    3
    Likes Received:
    0
    [​IMG]
    I got the same error in plesk 10....

    /usr/local/psa/PMM/msessions/20110222101705649/migration.log
    It seems everything is ok

    but
    /usr/local/psa/PMM/msessions/20110222101705649/failed-restore.result
    PMMCli restore execution failed with return code:1
     
Loading...