Skip to main content

OPNBI Patch Update on client-side server

The document contains steps of patch update at client side, here we have two scenarios where first contains steps where OPNBI is normally installed in client machine. and second, where OPNBI is installed by package installer. Both types have same flow of patch application except for their location.

Flow chart :

Docusaurus Slash Introduction

Note: Patch update on client side contains two types of files:

  1. front-end code.
  2. Backend .jar file.
  • We should have .jar and Front-end code file while updating the patch at client side.
  • While updating the patch, make sure that tomcat server is not running.

Taking backup of Existing files:

  1. Take Dump of MySQL database:
  • Go to sever location and export the Data source at required location. Need path of how to take backup in mysql document.
  1. Take Backup of front-end code:
  • Location: C:\OPNBI\apache-tomcat-8.5.61\webapps and Find OPNBI folder and take its backup at required folder.
  • Take backup steps of repository folder: Location: C:\OPNBI\repository\ and take backup of whole repository folder.
  1. Take Backup of Back-end .jar file:
  • Location: C:\OPNBI\apache-tomcat-8.5.61\webapps\OPNBI\WEB-INF\lib
  • Location: C:\OPNBI\apache-tomcat-8.5.61\webapps and Find OPNBI folder and take its backup at required folder.
  • Take backup steps of repository folder: Location: C:\OPNBI\repository\ and take backup of whole repository folder.

Application of Patch Files:

  1. Go to OPNBI folder and paste the front-end code:
  • Go to Location: C:\OPNBI\apache-tomcat-8.5.61\webapps\OPNBI and paste the front-end code.
  1. Go to Lib folder to add .jar file:
  • Go to Location: C:\OPNBI\apache-tomcat-8.5.61\webapps\OPNBI\WEB-INF\lib and paste the .jar file.