• 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.

secret_key file

Ernie@

Basic Pleskian
PSA Panel has error 500 after upgraded to 11.0.9.

/var/log/sw-cp-server/error_log shows

2012-10-07 18:30:36: (log.c.166) server started
2012-10-07 18:32:39: (server.c.1543) server stopped by UID = 0 PID = 21239
2012-10-07 18:32:54: (log.c.166) server started
2012-10-07 18:33:12: (mod_fastcgi.c.2746) FastCGI-stderr: PleskFatalException: Unable to obtain secret key for passwords encryption.
file: /usr/local/psa/admin/plib/Plesk/Base/Utils/String.php
line: 330
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(3453): Plesk_Base_Utils_String::getCryptKey()
#1 /usr/local/psa/admin/auto_prepend/auth.php3(191): get_failure_redirect_url('failure_redirec...')
#2 {main}

I've found that following file is missing,

/etc/psa/private/secret_key


How can I regenerate the secret_key file? Can I copy it form other server?

Thanks.
 
Have you tried fix unsuccessful upgrade with bootstrapper repair procedure?
Also /etc/psa/private/secret_key is missing on the box. To generate the key it is needed to run

# /usr/local/psa/admin/sbin/encrypt_keygen
 
Thanks. I can access to the Panel after creating the secret_key file.

For some reasons, the 11.0.9 patches removed the secret_key file.
 
Have you tried fix unsuccessful upgrade with bootstrapper repair procedure?
Also /etc/psa/private/secret_key is missing on the box. To generate the key it is needed to run

# /usr/local/psa/admin/sbin/encrypt_keygen

Thanks Igor this worked.
 
Back
Top