• 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

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