• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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