• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PMMCli restore execution failed with return code:1

K

kevork

Guest
Hello,

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

Any life-guard arround there ? :)
 
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
 
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
 
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.
 
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.)
 
Experiencing the same problem on 9.2.1

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

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:
mt2.gif

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
 
Back
Top