Article ID: 122546, created on Aug 1, 2014, last review on Aug 15, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


The following message occurred on the main Plesk page (and pretty much every other page):


Warning: You are currently operating within the grace period of your product license. To update your product license, select the Retrieve Keys option on the License Management page.

However when I press Retrieve Keys on the License Management page the key is updated fine.

The error comes back on the next key update date, shouldn't daily maintenance task update the keys automatically?


One of the tasks that is performed by Plesk's Daily Maintenance script is to update license keys. There is probably a misconfiguration somewhere in the system.


Plesk Daily Maintenance task consists of many different parts. The part which is responsible for retrieveing keys is called UpdateKeys and its commandline is:

/usr/local/psa/bin/sw-engine-pleskrun "/usr/local/psa/admin/plib/DailyMaintainance/task-script.php" UpdateKeys '--period=daily'

To ensure that Daily Maintenance task is present:

# stat /etc/cron.daily/50plesk-daily && md5sum  /etc/cron.daily/50plesk-daily
  File: `/etc/cron.daily/50plesk-daily'
  Size: 284             Blocks: 8          IO Block: 4096   regular file
Device: 803h/2051d      Inode: 8139977     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-08-01 03:23:18.800435717 +1000
Modify: 2013-08-19 16:11:33.000000000 +1000
Change: 2014-06-03 15:59:48.963806717 +1000
cc58b516e7dc70f70816a605cbc2a42b  /etc/cron.daily/50plesk-daily

and its content is correct:

# cat /etc/cron.daily/50plesk-daily
### Copyright 1999-2012. Parallels IP Holdings GmbH. All Rights Reserved.

# install_statistics
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1

# install_mysqldump
/usr/local/psa/bin/ >/dev/null 2>&1

Note: There is NO newline at the end of file.

Note: These values are valid for Plesk 11.5.

Check that cron is running:

# service cron status
cron (pid  24250) is running...

for Cron or

# service crond status
crond (pid  24250) is running...

for Anacron.

To further debug this you can enable debug logging (without SQL query log) and run the task manually with output redirection like this:

# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php > ~/dm.out 2>&1

After some time you can check ~/dm.out and search for the following string (or its substring):

Task run Update keys: /usr/local/psa/bin/sw-engine-pleskrun "/usr/local/psa/admin/plib/DailyMaintainance/task-script.php" UpdateKeys '--period=daily'

Check the section below it to find the results. Example:

DEBUG (7)  [util_exec]: End: 994170fb72fbd3730df0d72069edee37
DEBUG (7)  [panel]: KeyUpdate Subject: Parallels Panel key update deferral notification
DEBUG (7)  [panel]: KeyUpdate Notify: Unable to update . An error occurred while processing your key. You can try updating it later.
ERR (3)  [panel]: KeyUpdate Result code: 2 Unspecified error
ERR (3)  [panel]: KeyUpdate Result desc: License key is not prolongated yet
INFO (6)  [panel]: update resultCode=2 resultDesc=License key is not prolongated yet

Here, the key has expired and Key Server has notified your Plesk installation about it. This means that updating works fine (since Plesk is able to contact the KA server).

Other result:

INFO (6)  [panel]: update resultCode=2 resultDesc=Key update disabled

This means that key was checked and does not require an update (also no error).

Sometimes, if Daily Maintenance task gets stuck somewhere, it can not be launched on the next day (or never reach key update stage) and, therefore, no key update will happen. You can check what is currently being performed by the task using the following commands:

  1. Define the function which will show all child processes for PID:

    pidtree() {
        myPtree() {
          echo -n $1 " "
          for _child in $(ps -o pid --no-headers --ppid $1); do
            echo -n $_child `myPtree $_child` " "
        ps f $(myPtree $1)
  2. Find PID of a daily maintenance task (/usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/DailyMaintainance/script.php). Also, you can check the time that process was running to determine if it is too long:

    ps -eo pid,etime,command | grep -i Daily
  3. Check what processes did it spawn:

    # pidtree 30700
    30700 pts/1    S+     0:00 /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/DailyMaintainance/script.php
    31380 pts/1    S+     0:00  \_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/DailyMaintainance/task-script.php ExecuteStatistics --peri
    31388 pts/1    S+     0:00      \_ /usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/sbin/statistics --no-webstat
    31404 pts/1    S      0:00          \_ /usr/local/psa/admin/bin/statistics_collector
    23468 pts/1    R      5:20              \_ /usr/local/psa/admin/bin/pmm-ras --get-domain-dumps-disc-usage --domain-guid 5b309ed5-4871-4d5e-a2ba-c9d3c3592d47  --session-pat

For example, here, the task is currently calculating the disk space usage for a domain. If there are a lot of domains and many large files, task can run for pretty long periods of time (sometimes even ~24 hours). This might be the root cause of your key not getting updated.

Search Words

grace period

Warning: You are currently operating within the grace period of your product license

license renewal

To update your product license, select the Retrieve Keys option on the License Management page.

Licence auto update didn't work properly

Unable to update PLSK.03083303.0000: an error occurred while processing your key.


automatic license update problem

license update

daily maintenance

For a while now, Plesk license keys have not been renewing as they should but when I check them with our supplier, they have been renewed. As soon as the license expires and we click on the renew button, the license is renewed without any issues. We've checked the connection to, the IP address is correct + the outgoing port isn't blocked. Furthermore, the date/time settings on the servers are correct, so this shouldn't be an issue either. Below you'll find the specs of at least two servers who are experiencing these issues: Key number: PLSK.02325719.0026 Hostname: IP address: Plesk version: 12.0.18 Update #49 OS: CentOS 6.4 (Final) Key number: PLSK.02325701.0025 Hostname: IP Address: Plesk version: 11.0.9 Update #63 OS: CentOS 6.4 (Final) Can you explain why the renewals aren't going automatically? As I mentioned, when we try to renew them manually there aren't any issues.


retrieve keys

licens is prolongated

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF