• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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