• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved License keys update error

Oliver Marugg

Basic Pleskian
Hi
I have a fully and correctly licensed Web Host Plesk 17.0.17 U7.
Since this morning my plesk mentions that it is not possible to update the keys (valid until today), here some logentries out of /var/log/plesk/panel.log.
Code:
 [2016-11-28 06:26:32] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2016-11-28 06:26:32] ERR [panel] KeyUpdate Result desc: Internal error, please
try after some time
[2016-11-28 08:08:23] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2016-11-28 08:08:23] ERR [panel] KeyUpdate Result desc: Internal error, please
try after some time
[2016-11-28 08:09:19] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2016-11-28 08:09:19] ERR [panel] KeyUpdate Result desc: Internal error, please
try after some time
[2016-11-28 08:11:40] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2016-11-28 08:11:40] ERR [panel] KeyUpdate Result desc: Internal error, please
try after some time
[2016-11-28 09:59:26] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2016-11-28 09:59:26] ERR [panel] KeyUpdate Result desc: Internal error, please
try after some time
I tried several time, also with some hours interval.
Any ideas? Many thanks Oliver
 
Hi Oliver Marugg,

pls. keep in mind, that it might be a good idea to increase the log - level for your Plesk Control Panel, in order to get a more verbose output in your panel - logs:



In addition, you are able to run the "key-update" - command as well over the command line, with the example command:

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateKeys


Consider as well to use:

plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base
 
Last edited by a moderator:
Hi @Oliver Marugg ,
Be careful with debug mode. A lot of lines will be written to panel.log and this is not good for performance.
It seems to me your Plesk instance is OK. We are investigating this issue at our key servers... I'll update status of it tomorrow.
Thank you for reporting!
 
Code:
All logfiles are from/var/log/plesk/panel.log with debug level 7

-->>> How to enable/disable debug logging in Plesk 11.5 and up? ( KB - article 120 101 ):

I updated panel.ini to level 7 with that result:

[2016-11-28 12:19:00] DEBUG [util_exec] [some numbers] Starting: httpd_modules_ctl --status
[2016-11-28 12:19:02] DEBUG [util_exec] [some numbers] Finished in 1.77005s, Error code: 0
[2016-11-28 12:19:04] DEBUG [panel] Key handler was called with params Array
(
    [0] => /usr/lib/plesk-9.0/key-handler
    [1] => /etc/sw/keys
    [2] => reschedule
    [3] => --id
    [4] => PLSK.LICENSE
    [5] => --update-time
    [6] => 2016-11-29 01::0:8:
)

[2016-11-28 12:19:04] DEBUG [panel] Response from KA to force update key PLSK.LICENSE request: Array
(
    [code] => 8
    [resultCode] => 2
    [resultDesc] => Internal error, please try after some time
    [resultExtra] =>
)

[2016-11-28 12:19:05] DEBUG [panel] KeyUpdate Subject: <FQDN> Plesk key update deferral notificatio
[2016-11-28 12:19:05] DEBUG [panel] KeyUpdate Notify: Unable to update PLSK.LICENSE: an error occurred while processing your key. You can try to retrieve the key manually in Plesk (Tools & Settings > License Management) or let Plesk try to update it in the next 24 hours. If you do not want to receive this notification any more, remove this key from Plesk.
[2016-11-28 12:19:05] ERR [panel] KeyUpdate Result code: 2 Unspecified error
[2016-11-28 12:19:05] ERR [panel] KeyUpdate Result desc: Internal error, please try after some time
 
->>>> Then I ran /opt/psa/bin/sw-engine-pleskrun update-keys (I use Ubuntu 16.04):
With the result:
Code:
 /opt/psa/bin/sw-engine-pleskrun /opt/psa/admin/plib/DailyMaintainance/script.php -f UpdateKeys
[2016-11-28 13:02:52] ERR [panel] Task named UpdateKeys is not found.
[2016-11-28 13:02:52] INFO [panel] PleskFatalException: Task named UpdateKeys is not found.
file: /opt/psa/admin/plib/DailyMaintainance/Runner/Batch/Main.php
line: 148
code: 0
trace: #0 /opt/psa/admin/plib/DailyMaintainance/script.php(48): DailyMaintainance_Runner_Batch_Main->setFilter(array)
[/QUOTE]
 
fter that I tested with plesk installer (all updates including U8 went through), With that result:
Code:
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base
[2016-11-28 13:08:42] DEBUG [panel] Response from KA to force update key PLSK.LICENSE request: Array
(
    [code] => 8
    [resultCode] => 2
    [resultDesc] => Internal error, please try after some time
    [resultExtra] =>
)

[2016-11-28 13:08:48] DEBUG [panel] KeyUpdate Subject: <FQDN> Plesk key update deferral notification

[2016-11-28 13:08:48] DEBUG [panel] KeyUpdate Notify: Unable to update PLSK.LICENSE: an error occurred while processing your key. You can try to retrieve the key manually in Plesk (Tools & Settings > License Management) or let Plesk try to update it in the next 24 hours. If you do not want to receive this notification any more, remove this key from Plesk.

[2016-11-28 13:08:48] ERR [panel] KeyUpdate Result code: 2 Unspecified error

[2016-11-28 13:08:48] ERR [panel] KeyUpdate Result desc: Internal error, please try after some time
 
@Igor Losev
Now I have the same behaviour, but no more with the plesk main license, instead with additional licenses like ext-dnssec, ext-docker, ext-multiserver. I have Web Host edition with additional Hosting pack and the licence keys are in.
 
Back
Top