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

Applying hotfixes from the command line

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

To run Hotfix Manager from 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 rollback 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.