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

Setting Service plan for Subdomain via Command line interface

B

bastienger

Guest
Hello,

i am using the following commands to create customers, subdomains, webusers and then trying to set a subscription for that new subdomain but it doesnt work.

my $exec_command_customer = "/usr/local/psa/bin/customer --create $login -name \"$subdomain\" -passwd $pass -country CH -notify false 2>&1";

my $exec_command_domain = "/usr/local/psa/bin/subdomain --create $login -domain crypefree.org -ssi true -php true -perl true -ssl true 2>&1";

my $exec_command_webuser = "/usr/local/psa/bin/webuser --create $login -domain crypefree.org -passwd $pass -php true -quota 1024M";

my $exec_command_subscription = "/usr/local/psa/bin/subscription --add-subscription $login -service-plan CrypeFree";

Please tell me how to set up a subscription or service plan ( eg, CrypeFree with 1GB Space&Traffic ) for the subdomain "$subdomain".

many thanks in return,
Sebastian
 
Back
Top