Recovering Connect Server patch AC v3.8
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 haveRead 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 [-] Hide
- Open the Command Prompt.
- Go to the folder from where you applied the patch.
- 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 [-] Hide
- Open the Terminal.
- Go to the directory from where you applied the patch.
- 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.
Post recovery steps
After recovery of this patch, you need to perform the following steps:
- Copy the web.xml file (that you had saved as a backup before performing the upgrade) and paste it at the following location: ...<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\ConnectServer\web\WEB-INF.
- Copy the cacertsfile (that you had saved as a backup) to the ConnectServer\ServerKernel\etc\truststore location.
- Replace the dependency folder by following the steps below:
- Take the backup of the dependency folder at ...<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel.
- Go to the AC v3.8 patch location.
- Navigate to Recovery > recovery.zip.
- Unzip the recovery.zip.
- In the unzipped recovery folder, locate the DeleteFiles folder.
- Copy the dependency folder located in DeleteFiles folder.
- Replace the dependency folder at ...<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel with the one you copied in the previous step.