• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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