Plesk backup fails: pmm utility 'PMMCli' raised an exception. Error code is: 1

Created:

2016-11-16 13:21:33 UTC

Modified:

2017-08-16 17:13:39 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk backup fails: pmm utility 'PMMCli' raised an exception. Error code is: 1

Applicable to:

  • Plesk for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Windows

Symptoms

An attempt to create backup fails with the following error:

Error: pmm utility 'PMMCli' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this

The following error can be observed in the /usr/local/psa/PMM/logs/pmmcli.log

[2014-04-25 10:25:12.995|2095] INFO: Subprocess raised ExecuteException: Subprocess <subprocess[2096] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size -c --session-path=/usr/local/psa/PMM/sessions/2014-04-25-102512.178 60'> was finished with exit code 1
== STDOUT ====================

== STDERR ====================

[2014-04-25 10:25:12.997|2095] CRITICAL: PMMUtility exception:
Subprocess <subprocess[2096] '/usr/bin/perl /usr/local/psa/admin/bin/plesk_agent_manager domains-id --get-size -c --session-path=/usr/local/psa/PMM/sessions/2014-04-25-102512.178 60'> was finished with exit code 1
== STDOUT ====================

== STDERR ====================

Traceback (most recent call last):
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 2491, 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 2354, in make_dump
return ActionRunner(MakeDumpAction, backup_task_description, None).doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 164, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/pmmcli/pmmcli.py", line 1349, in doActivity
raise PMMUtilityException('PMMCli', x)
PMMUtilityException: PMMCli was finished with exit code 1

Cause

Plesk Panel version file is missing:

# ls -l /usr/local/psa/version
ls: cannot access /usr/local/psa/version: No such file or directory

Resolution

Create Plesk Panel version file:

  1. Copy content from the /usr/local/psa/core.version if core.version exists:

    #cat /usr/local/psa/core.version > /usr/local/psa/version
  2. Run the following command to create version file:

CentOS:

    # echo "11.5.30" > /usr/local/psa/version
# lsb_release -a | grep Description | awk '{print $2}' >> /usr/local/psa/version
# lsb_release -a | grep Release| awk '{print $2}' | awk -F '.' '{print $1}' >> /usr/local/psa/version
# rpm -qi pp11.5.30-bootstrapper | grep Release | awk '{print $3}' | awk -F 'build' '{print $2}' >> /usr/local/psa/version
# perl -p -i -e 's/\\R/ /g;' /usr/local/psa/version

Debian:

    # echo "11.5.30" > /usr/local/psa/version
# lsb_release -a | grep Description | awk '{print $2}' >> /usr/local/psa/version
# lsb_release -a | grep Release| awk '{print $2}' >> /usr/local/psa/version
# dpkg -l pp11.5.30-bootstrapper | grep build | awk '{print $3}' | awk -F 'build' '{print $2}' >> /usr/local/psa/version
# perl -p -i -e 's/\\R/ /g;' /usr/local/psa/version

Ubuntu:

    # echo "11.5.30" > /usr/local/psa/version
# lsb_release -a | grep Description | awk '{print $2}' >> /usr/local/psa/version
# lsb_release -a | grep Release| awk '{print $2}' >> /usr/local/psa/version
# dpkg -l pp11.5.30-bootstrapper | grep build | awk '{print $3}' | awk -F 'build' '{print $2}' >> /usr/local/psa/version
# perl -p -i -e 's/\\R/ /g;' /usr/local/psa/version

The core.version should look like

# cat /usr/local/psa/version
11.5.30 CentOS 6 115140407.17
# ls -l /usr/local/psa/version_x
-rw-r--r-- 1 root root 30 Apr 25 10:53 /usr/local/psa/version

Note: do not pay attention on the possible waniing like: "No LSB modules are available."

Have more questions? Submit a request
Please sign in to leave a comment.