• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Unable to remove installed language packs

M

Mr. Mike

Guest
Greetings,

I am attempting to remove 4 language packs that are not necessary and that exceed the limit of 4 on the license.

When I attempt to remove the language packs from the admin interface by selecting Languages from the main screen then selecting the language I want to remove and click on remove it get the following error:

ERROR: PleskUtilException


Up Level
localemng failed: error: locale zh-CN not exists

0: localemng.php:85
localemng->localeCall_(string 'remove', array)
1: localemng.php:60
localemng->remove(string 'zh-CN')
2: LocaleManager.php:27
LocaleManager->remove(string 'zh-CN')
3: server.interface.locale.delete.php:31
plesk__server__interface__locale__delete->remove(array)
4: DeleteUIPointer.php:27
DeleteUIPointer->accessItem(string 'POST', NULL null)
5: UIPointer.php:596
UIPointer->access(string 'POST')
6: plesk.php:38

When I check for the installed rpm's, the only psa-locale installed is en-US.

There are actually 4 that give this same error when trying to remove them: Italian, Japanese, Russian, and Chinese.

I also believe that this may be causing the automatic license update feature to break.

Any help on removing them would be greatly appreciated.

Mike
 
It looks like there are extra records about un-existed locales in psa database. Check it with

# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e"select * from locales"

After that install missing locales with something like

# /usr/local/psa/admin/sbin/autoinstaller --select-release-latest --install-component ja-JP-locale --install-component ru-RU-locale --install-component it-IT-locale --install-component zh-CN-locale

Then try to remove language packs again.
 
Thanks IgorG,

By re-installing the locales from the command-line and using Plesk to remove each unnecessary langeuage pack cleared the problem.

Thanks for your help.
 
Back
Top