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.
Table of Contents
Prerequisites
- You have have Read and and Write permissions on all subfolders and files of .../<SecureBridge>AdeptiaConnect-<Version>.Services such as Kernel, WebRunner, and AIMap are stopped.
- Stopped Connect Portal service.
Recovering the patch
For Windows
- Open the Command Prompt.
- Go to the folder from where you applied the previous patch.
Run the following command to recover the patch:
Recover-Patch.bat -portal “<Path where Adeptia Connect is installed till
AdeptiaServerConnectPortal folder>”
For example:
Recover-Patch.bat -portal "C:/Program Files/AdeptiaConnect/AdeptiaConnect-x.x/
ConnectServer/AdeptiaServerConnectPortal"
Once the patch is recovered, a confirmation message will be displayed.- Start the services, i.e. Kernel, WebRunner, and AIMap.
Post recovery steps
After recovery of this patch, you will have to manually perform these steps:
- Paste the backup AgentContext.xml file (that you had saved as a backup) at the …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Paste the backup hubConfiguration.properties file (that you had saved as a backup) at the …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc locationConnect Portal
For Linux
- Open the Terminal.
- Go to the directory from where you applied the previous patch.
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.
- Start Connect Portal.