Article ID: 126088, created on Jul 5, 2015, last review on Jul 5, 2015

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 12.0 for Windows
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo containers for Windows


In case, if you are using some provisioning script to automate Plesk 12 deploying, it is impossible to install the Plesk license immediately after Plesk template is installed . The script will result in container is locked message on license installation step.


By default, Plesk 12 template installer initiates micro updates installation right after setup is completed.


This behavior can be configured in the template post-install file.


For example, commenting out of the following lines will prevent the installer to initiate micro updates installation:

# diff /vz/template/centos/6/x86_64/config/app/pp12/default/post-install /vz/template/centos/6/x86_64/config/app/pp12/default/post-install.orig
< #if [ -f /var/lock/parallels-panel-apply-microupdates.flag ]; then
< #     ai_bin="/usr/local/psa/admin/sbin/autoinstaller"
< #     if [ -x "$ai_bin" ]; then
< #             $ai_bin --select-product-id plesk --select-release-current --reinstall-patch --install-component base --separate-logs 2>/dev/null 1>/dev/null
< #     fi
< #fi
> if [ -f /var/lock/parallels-panel-apply-microupdates.flag ]; then
>       ai_bin="/usr/local/psa/admin/sbin/autoinstaller"
>       if [ -x "$ai_bin" ]; then
>               $ai_bin --select-product-id plesk --select-release-current --reinstall-patch --install-component base --separate-logs 2>/dev/null 1>/dev/null
>       fi
> fi


The following part of install.vbs is initiating the micro updates vz\Templates\PANEL-\upgrade\install.vbs

 ' Launch updates and microupdates installation from public server
    ReDim cmds(0)
    cmds(0) = "vzctl exec2 --skiplock " & veid & " """ & pathInsideVPSToDistribFiles & "\ai.exe"" --reinstall-patch --debug --upgrade-installed-components --select-product-id panel --select-release-id " & UPGRADE_CURRENT_RELEASE_ID & " --ignore-key-errors"
    PrivateInstall = StartCommand(cmds(0))
    If PrivateInstall <> EXIT_SUCCESS Then
        LogError("Unable to up-to-date Parallels Panel product.")
    End If

All these lines should be commented out or deleted from install.vbs (do not forget to make a copy of the file before making any changes).

Search Words


plesk license

micro update disable

0dd5b9380c7d4884d77587f3eb0fa8ef 2897d76d56d2010f4e3a28f864d69223 965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c ed7be2b984f9c27de1d2dc349dc19c6d 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 e8e50b42231236b82df27684e7ec0beb 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF