You are here: System management > Hotfix Manager > Applying hotfixes from the command line > Applying hotfixes by using prpcUtils

Applying hotfixes by using the prpcUtils tool

Use the prpcUtils tool to apply hotfixes from the command line to a single system if you have a direct connection to the database even if you do not have a running instance of the Pega Platform.

All Hotfix Manager operations are available from both the user interface and the command line:

  1. Open the command-line console for your platform and navigate to the scripts/utils directory.
  2. Open the prpcUtils.properties file. The comments in the file include information about valid values for each property.
  3. Configure the database properties:
  4. Configure the hotfix operation:

    hotfix.operation=<action>
    Valid values are scan, install, rollback, commit, and GenerateDDL.

  5. Configure the required hotfix parameters:
    Hotfix operationRequired parameters
    scan

    hotfix.CatalogPath= <full path to the Catalog.zip file>

    hotfix.scan.downloadPath= <full path and .zip file name> where you plan to save the scan results

    install

    hotfix.DLFilePath=<comma-delimited list of hotfix package DL file names and paths>

    rollback

    There are no additional parameters. If you run rollback, all uncommitted hotfixes uninstall.

    commitThere are no additional parameters. If you run commit, all uncommitted hotfixes become a permanent part of the system. You cannot roll back committed hotfixes.
    GenerateDDL

    hotfix.DLFilePath=<comma-delimited list of hotfix package DL file names and paths>

  6. Save the file.
  7. Run the prpcUtils.bat or prpcUtils.sh utilities script with the manageHotfixes option. For example:
    run prpcUtils.sh manageHotfixes
  8. Review the log file. Command-line actions may succeed but still result in partially-installed hotfixes. If the log file lists any additional required actions, complete the action and then repeat step 7.