Skip to main content

 –

Patching out-of-place by using the command line

Suggest edit Updated on September 29, 2021

To use the command line to configure the setupDatabase.properties file, the Deployment user must run the appropriate script. For patches 8.3.6, 8.4.4 and later, 8.5.3 and later, use the patch.bat (for Windows) or patch.sh (for Linux) script; for all other patches, use the upgrade.bat (for Windows) or upgrade.sh (for Linux) script.

  1. If you have not done so already, edit the setupDatabase.properties file.
    1. Open the setupDatabase.properties file in the scripts directory of your distribution image: Directories.distributionDirectory\scripts\setupDatabase.properties.
    2. Configure the connection properties. Use the new rules schema name for the rules schema name and the temporary data schema for the data schema name. Even if your system includes a separate customer data schema, leave it blank or use the temporary data schema name, it will be patched along with the original data schema in a later step
    3. Save and close the file.
  2. Open a command prompt and navigate to the scripts directory.
  3. Run either patch.bat or patch.sh.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us