Upgrading Plesk for Windows in Unattended Mode
-
Log in to the server via RDP.
-
Download Plesk Installer.
-
Launch the installer with necessary options
To install Plesk without requiring any user input, run the installer script providing all the necessary information through the corresponding options:
plesk-installer.exe <OPTIONS> --upgrade-installed-components <OTHER_OPTIONS>
The following installer options are commonly used when automating Plesk upgrade.
Option | Use | Explanation |
---|---|---|
--source |
or
|
Packages source options define the location where the installer
should obtain the Plesk packages for upgrading or installation.
You can use either For information on managing local mirror repositories, see Mirroring Plesk Autoinstall Servers. |
--select-release-id |
--select-release-id <ID> |
This option defines what version Plesk will be upgraded to. <ID> is a unique Plesk version identifier (e.g. PANEL_17_0_17_WIN). View the list of available version IDs for publicly released versions by running: plesk-installer.exe --show-releases View the complete list of available version IDs including those intended for product review and testing purposes by running: plesk-installer.exe --show-releases --skip-branch-filter |
--installation-type |
--installation-type <TYPE> |
Choose one of the predefined sets of components for installation: Recommended, Full or Custom. View the available installation types by running: plesk-installer.exe --select-release-id <ID> --show-installation-types |
--install-component |
--install-component <COMPONENT_1> [--install-component <COMPONENT_2> [... [--install-component <COMPONENT_N>]]] |
Alternatively to View the complete list of components available for a specific version by running: plesk-installer.exe --select-release-id <ID> --show-components |
To view the complete list of the installer options, run:
plesk-installer.exe --help
Example 1: Upgrading Plesk from default updates server
The following command performs the upgrade to the Plesk 17.0.17 release version (ID is ‘PANEL_17_0_17’) from the Plesk updates server. All installer output is redirected to an XML file.
plesk-installer.exe --select-release-id PANEL_17_0_17_WIN --upgrade-installed-components --enable-xml-output
Example 2: Upgrading Plesk from a mirror, specific components
The following command upgrades Plesk to the 17.0.17 release version (ID is ‘PANEL_17_0_17_WIN’) from the mirror set up on the server ‘mirror.example.com’ available via HTTP. Installation files will temporarily be stored in the ‘%SystemDrive%Parallels’ folder, and the installation status will be reported to the email ‘admin@example.com’. The Bind name server component is additionally installed.
plesk-installer.exe --source http://mirror.example.com/ --target %SystemDrive%\Parallels --select-release-id PANEL_17_0_17_WIN --upgrade-installed-components --install-component dns --notify-email admin@example.com