Recovering Connect Server 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

  • You have Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>
  • Stopped the services, i.e., Kernel, WebRunner, and AIMap.

Recovering the patch

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

    Recover-Patch.bat “<Path where Adeptia Connect is installed till AdeptiaServer folder>”

    For example:
    Recover-Patch.bat "C:/Program Files/AdeptiaConnect-x.x/ConnectServer/AdeptiaServer"  

  4. Once the patch is recovered, a confirmation message will be displayed.
  5. Start the services, i.e. Kernel, WebRunner, and AIMap.
 For Linux
  1. Open the Terminal.
  2. Go to the directory from where you applied the patch.
  3. Run the following command to recover the patch:

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

    For example:
    ./Recover-Patch.sh /mnt/AdeptiaConnect-x.x/AdeptiaServer 

  4. Once the patch is recovered, a confirmation message will be displayed. 
  5. Start the services, i.e. Kernel, WebRunner, and AIMap.
Remove all the changes done manually at the time of deploying the patch.

Post recovery steps

After recovery of this patch, you will have to manually perform these steps:

  1. Paste the backup securityContext.xml file (that you had saved as a backup) at the …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\saml location.
  2. Paste the backup export.xml file (that you had saved as a backup) at the <ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\MigrationUtility location.
  3. Paste the backup connect_export.xml file (that you had saved as a backup) at the <ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\MigrationUtility location.
  4. Paste the backup applicationconfig.xml file (that you had saved as a backup) at the <ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.