Running Automated Upgrades

To upgrade Plesk without needing to supply any information in the process, run the command:

plesk-installer <packages source options> --select-release-id <ID> --upgrade-installed-components <components installation options> [other options]

where

Examples, Linux/Unix

1. The following command upgrades Plesk to the 12.0.18 release version (ID is PANEL_12_0_18) from the mirror set up on the server mirror.example.com available via HTTP. Installation files will temporarily be stored at /tmp/panel, and the installation status will be reported to the email admin@example.com. The PostgreSQL server component is additionally installed.

./plesk-installer --source http://mirror.example.com/ --target /tmp/panel --select-release-id PANEL_12_0_18 --upgrade-installed-components --install-component postgresql --notify-email admin@example.com

2. The following command performs the upgrade to the Plesk 12.0.18 release version (ID is PANEL_12_0_18) from the Plesk updates server. All Installer's output is redirected to an XML file.

./plesk-installer --select-release-id PANEL_12_0_18 --upgrade-installed-components --enable-xml-output

Examples, Windows

1. The following command upgrades Plesk to the 12.0.18 release version (ID is PANEL_12_0_18_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_12_0_18_WIN --upgrade-installed-components --install-component dns --notify-email admin@example.com

2. The following command performs the upgrade to the Plesk 12.0.18 release version (ID is PANEL_12_0_18) from the Plesk updates server. All installer output is redirected to an XML file.

plesk-installer.exe --select-release-id PANEL_12_0_18_WIN --upgrade-installed-components --enable-xml-output