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

Create a new CLI user

mattdwen

New Pleskian
I am trying to create a user which has rights to the Panels CLI tools.
I've added the user to the psaadm group, as the documentation indicates, as well as the swkey-data group, as I was getting access denied for that dir.
I am using sudo to run the command as that user:

sudo -u mcp /usr/local/psa/bin/subscription --info test.com

But I am receiving this error:

Unable to connect to database: get_admin_password() failed: file_get_contents() failed:

Suggestions?
 
You should be logged as root for running Plesk CLI utilities.
 
No other options? I'm trying to automate a few things, and root really isn't an option.
I'll write everything I need to use the API RPC if I have to, but would prefer to avoid the work :)
 
Back
Top