- Plesk Onyx for Windows
The error message below is displayed when trying to install a Plesk VPS license on a Windows Server on QEMU KVM on RedHat virtualization platform:
PLESK_ERROR: Error: The license key is invalid. In order to use Plesk, you need to obtain and install a new valid license key. The license key is intended only for use with Plesk operating inside the following virtual environments: Virtuozzo containers, VMWare, Microsoft Hyper-V, Xen, KVM, Virtuozzo Server, LXC, Docker.
The php script info.php in this article gives this output:
CONFIG_TEXT: 'platform' => 'dedicated',
Note: if the message This app can't run on your PC is displayed, it is possible to use this command instead:
C:\> "%plesk_dir%\admin\engine\php.exe" info.php | findstr platform
'platform' => 'dedicated',
The command below gives the output "none":
C:\> "%plesk_dir%\admin\engine\php.exe" -dauto_prepend_file= -r "echo get_virtualization();"
The command below answers Red Hat and KVM as System Manufacturer and Model:
C:\> systeminfo | findstr /C:"System Manufacturer" /C:"System Model"
System Manufacturer: Red Hat
System Model: KVM
The server is detected by Plesk as dedicated and not as virtual. This issue has been reported as a bug with ID #PPPM-9784. It will be fixed in future Plesk updates.
As a workaround, it is possible to apply the patch attached following these steps:
Connect to the server via RDP
Download the archive PPPM-9784-Plesk-17.8.zip.
Extract it on the server.
Run Windows command prompt as Administrator
Stop Plesk Management Service:
C:\> net stop "Plesk Management Service"
- Run the following 2 commands to create a backup of
C:\> cd %plesk_bin%
C:\> ren plesksrv.exe plesksrv.exe_backup
plesksrv.exefrom the extracted archive to the
Start Plesk Management Service again:
C:\> net start "Plesk Management Service"