• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Check Plesk License Status from CLI

Sysop

Basic Pleskian
I know there's the following command(s) to check an activation status:
Bash:
$ plesk bin license -c
Although that doesn't return anything.

There's also:
Bash:
$ plesk bin license -i <license>
Which does return some information about a license when trying to install it, however, is it possible check without the activation number? Is there a way to return the status of the currently installed license without knowing the activation code?
 
Try to use this command:

# plesk bin license -c && echo "The license key is valid" || echo "The license key is invalid"
 
Try to use this command:

# plesk bin license -c && echo "The license key is valid" || echo "The license key is invalid"

Hi IgorG,

When I try the command it returns "The license key is invalid" every time for a trial license (it works with a paid license). The trial license I tried it with is still valid.

Does it not work on a trial license? Is there a way to check the validity of a trial license, or know how many days are left?

Thank you.
 
Back
Top