• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

ERROR: Exception Can't decrypt data

Andrei C

Regular Pleskian
Hello,

I can see password witch command "%plesk_bin%"\plesksrvmng.exe -get , but when I try open http://localhost:8443/, I see next error:
----------------------------------------------------
ERROR: Exception
Can' decrypt data

0: String.php 331
plesk_get_symmentric_key()
1. String.php:331
Plesk_Base_Utils_String::getCryptKey()
2: common_func.php3:3225
get_failure_redirect_url(string 'failure_redirect_url')
3: auth.php3:222

How can I fix this error?
 
You need to disable encryption in Plesk database, because encryption was enabled in Plesk, but there is no way to decrypt passwords back, so you should change it manually:

mysql> update misc set val='false' where param='secure_passwords';

It is not correct way just to copy Plesk settings from registry, because when password encryption is enabled in Plesk, system creates special key in registry HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\sym_key which is responsible for decryption. AES key stored in sym_key value in registry is generated randomly. If it is lost/modified, then all passwords with type = 'sym' in following tables are un-decipherable:

- psa.accounts -- passwords for mail accounts, clients, resellers and mailboxes

- psa.misc -- passwords for access to apsc database

- psa.databaseservers -- passwords for accessing database servers

In such case, the only solution is to reset all passwords to random values using our password mass changer script (KB http://kb.parallels.com/113391). You need to reset passwords for admin and apsc users and for MYsql database, set Plesk password. Please update passwords for domains as well using the article above.
Contact Support Team if you can't fix it by yourself.
 
I have full backup of Regedit, this path "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\sym_key" too and all MySQL/MSSQL databases and all users data, I try recovery Plesk Panel on another Server -> simulating a server crash.
 
Thanks, but I need the first try to restoring without reseting all password (using our backups).

Why restoring regedit and MySQL settings not working on another server?
Working only at the same server.
 
Back
Top