Skip to main content

Upgrade OPNBI in Linux

The documentation contains the steps to upgrade OPNBI in linux OS. The tutorial contains command and example screens with it.

Objective

  • Objective of this document is to guide the user in the upgradation process of OPNBI on a Linux machine.

Download Linux installer

  1. Download latest linux installer from opnbi website. Click here to download

  2. Fill the mandatory details, accept the terms & conditions and click on Linux button to download setup.

Upgrade OPNBI in Linux

warning

Make sure you have shut down tomcat server before proceeding with upgrade process. run stop_opnbi.sh file from OPNBI folder to shut down tomcat server.

  1. Open Terminal window from linux machine

  2. Run opnbi setup file

    Docusaurus Slash Introduction

  3. Read the the license agreement by hitting enter. At the end of license agreement it will ask to accept license aggrement

    Docusaurus Slash Introduction

  4. After you accept license agreement it will ask for new installation, press N and hit enter

    Docusaurus Slash Introduction

  5. In the second option, press Y and hit enter to upgrade existing OPNBI

    Docusaurus Slash Introduction

  6. Press Y and to ensure selection is correct

    Docusaurus Slash Introduction

  7. Select installation directory and application name and hit enter

    Docusaurus Slash Introduction

  8. Select to upgrade opnbi from local. press 2 and hit enter

    Docusaurus Slash Introduction

  9. Before starting upgradation, enter Y and hit enter

    Docusaurus Slash Introduction

  10. Upgrade installation has started

    Docusaurus Slash Introduction

  11. Once setup has been finished, you will see message **Setup has finished installing OPNBI on your computer

    Docusaurus Slash Introduction

  12. Stop the postgres server if your OPNBI is installed with PostgreSQL. run command stop_db.sh to stop database server. After server is stopped, start the server by running start_db.sh file. once database server is started, start tomcat server by running this command start_opnbi.sh

    info

    If OPNBI is installed with MySQL or Oracle, skip database starting commands and directly start tomcat server

    Docusaurus Slash Introduction

  13. To check tomcat running logs, run this command cat tomcat/logs/catalina.out and hit enter you will see tomcat logs printed.

    Docusaurus Slash Introduction

  14. Wait for some time and run above command again and you will see Server Startup in [*****] milliseconds. now server is started

    Docusaurus Slash Introduction

  15. Login to OPNBI application from browser and go to the license page. you will see version information is updated.