• 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 Onyx/CentOS 6.8: Error while renewing license-key

umgfoin

New Pleskian
An attempt (License Management page -> Retrieve Keys) to update my ONYX-license key failed with the following message::
ERROR: Call to undefined function demo_version() (FileServerStatus.php:15)

Same when running via CLI:
/usr/local/psa/bin/license --retrieve
Updating Plesk license key: PHP Fatal error: Call to undefined function demo_version() in /usr/local/psa/admin/plib/modules/fileserver/FileServerStatus.php on line 15

Current license status: Grace period.
Plesk: Product: Plesk Onyx 17.0.17 Update #12 , last updated at Dec 27, 2016 04:07 AM
PHP: 5.6

Any ideas?
Thanks & bg,
umgfoin.
 
Please first try this:
# plesk repair installation

Is the error still there afterwards?
 
psa-fileserver package is corrupted.
Reinstall the package:

# rpm -e --nodeps psa-fileserver
# /usr/local/psa/admin/bin/autoinstaller --select-release-current --install-component psa-fileserver
 
@IgorG ; I got the same issue on Debian (7).
How can I repair this best there?

The error shown on login is
Code:
ERROR: Call to undefined function demo_version() (FileServerStatus.php:15)
Search for related Knowledge Base articles
 
Solved it with

Code:
dpkg  -r psa-fileserver
/usr/local/psa/admin/bin/autoinstaller --select-release-current --install-component psa-fileserver
 
Back
Top