• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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