Unable to migrate: Failed to set locale

Created:

2016-11-16 12:57:41 UTC

Modified:

2017-08-08 13:21:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to migrate: Failed to set locale

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Unable to migrate reseller with subscription due to the following error:

warning: Failed to set locale en-US: u'Command reseller_pref --update reseller_re -locale en-US failed with exit code 1:
stdout:
stderr: Wrong syntax for command's '-locale' parameter. 'en-US' does not match the pattern '/^(de-DE|da-DK)$/'.

Cause

Locale en-US is not specified in license key or locale is disabled under Tools & Settings > Languages .

Resolution

  1. Check locale in Tools & Settings > Languages , if it is turned off click on Activate .
  2. If activation is not possible due to license restrictions and it is needed to use en-US locale (in this case) consider to retrieve license with it.
  3. Or you can make default locale de-DE (in this case) on source serve in Tools & Settings > Languages > de-DE > Make Default .

Replace names of locales with locales in question.

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