Recovering Connect Portal patch

The patch will automatically recover if any error occurs. In case, you want to recover the patch manually, follow the steps described later in this section.  

This section lists the prerequisites and steps for recovering the patch.

Prerequisites

  • Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>
  • Stopped Connect Portal Services. 

Recovering the patch

 For Windows
  1. Open the Command Prompt.
  2. Go to the folder from where you applied the previous patch.
  3. Run the following command to recover the patch:

    Recover-Patch.bat -portal “<Path where Adeptia Suite/Connect is installed till ConnectPortal folder>” 

    For example:

    Recover-Patch.bat -portal  "C:/Program Files/AdeptiaConnect/AdeptiaConnect-x.x/ConnectPortal"
     
    Once the patch is recovered, a confirmation message will be displayed. 
  4. Start Connect Portal
 For Linux
  1. Open the Terminal.
  2. Go to the directory from where you applied the previous patch.
  3. Run the following command to recover the patch:

    ./Recover-Patch.sh -portal <Path where Adeptia Connect is installed till ConnectPortal folder> 

    For example:

    ./Recover-Patch.sh -portal /mnt/AdeptiaConnect-x.x/ConnectPotal

    Once the patch is recovered, a confirmation message will be displayed.

  4. Start Connect Portal.
Remove all the changes done manually at the time of deploying the patch.

Post recovery steps

After recovery of this patch, you need to perform the following steps manually.

  1. Paste the apps.properties file (that you had saved as a backup) at the …<ConnectPortalInstallFolder>\resources_config location. 
  2. Paste the web.xml file (that you had saved as a backup) at the …<ConnectPoratlInstallFolder>\conf location.
  3. Paste the securityContext.xml file (that you had saved as a backup) at the ConnectPortal\resources_config\saml location.