Article ID: 112686, created on Nov 2, 2011, last review on Apr 30, 2014

  • Applies to:
  • Plesk 10.x for Linux


The following error is returned during a client migration from Parallels Plesk Panel on Windows platform to Parallels Plesk Panel on Linux platform:
ERROR: (client object 'testclient') Execution of /opt/psa/admin/plib/api-cli/client.php --update testclient -phone +44.466032321 -city Testcity -address Test\ 66\ bus\ 4 -company Testcompany -country GB -zip 1234 -state Test failed with return code 1.
Stderr is
Unable to update a user account:
Wrong syntax for command's '-phone' parameter.


There is a difference between the format of a phone number accepted in Parallels Plesk Panel for Windows and in Parallels Plesk Panel for Linux. The following regexp is used to validate a phone number on these platforms
Windows: /^[\d\(\)\-\+]+|$/
Linux: /^[\d\(\) +-]*$/

In the above example, a phone number can contain a '+' sign in Parallels Plesk Panel for Windows, but cannot contain it in Parallels Plesk Panel for Linux.


Adjust the phone number on the source server according to the requirements on the destination server.

dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF