Upgrade VigorACS 3.3.1 on Linux

VigorACS v3.3.1 has upgraded its components, including Java, MariaDB and InfluxDB. This article will guide you on how to upgrade your ACS and keep all your data.

Note:

  • Downgrade isn’t available after upgrading to 3.3.1
  • VigorACS 3 is only compatible with MariaDB 10 and above. If your MariaDB version isn’t up to date, please backup the database and upgrade MariaDB with VigorACS 3 installation.
  • 1. Backup the database

    The database will remain after the upgrade; however, we still strongly recommend backup the database of VigorACS before you start. Please refer to this article to see how to backup the database.

    2. Stop service

  • a. Please login with root or root permission.
  • b. Execute vigoracs.sh in path= /usr/local/vigoracs/VigorACS/bin
  • # cd /usr/local/vigoracs/VigorACS/bin
    # ./vigoracs.sh
  • c. Input 6 to shutdown VigorACS service first.
  • 3. Upgrade ACS 3

    Note: Please edit /usr/local/vigoracs/VigorACS/version/sql_ver_current.txt to 6 before the upgrade.

  • 3-a. Extract VigorACS 3 installation package via the command in your ACS 3 installation file path.
  • # cd /path/to/acs3/downloaded/compress/file/directory
    # tar -jxv -f VigorACS_Unix_Like_Draytek_Pro64_3.3.1_r3770.tar.bz2 (-C /path/for/extract/file)

    ※ you can use the parameter: -C to designate extracted file path.

  • 3-b. Modify the permission of install.sh and uninstall.sh
  • # cd /path/for/extract/file
    # chmod 755 install.sh
    # chmod 755 uninstall.sh

  • 3-c. Execute install.sh
  • # ./install.sh

    Input y to install required packages

  • 3-d. Upgrade Java 17.0.5
  • Input 7 to upgrade Java

    Input y to upgrade jdk

  • 3-e. Upgrade ACS 3.3.1
  • Input 9 to upgrade to ACS3

    Input y to update database

    Input 1 to use Local side database

    Input 1 to use ACS MySQL

    Input the password of root of MariaDB and input y to test

    Input n to keep current JBoss configuration

    Input 11 after ACS upgrade is finished

    4. Start ACS3 service

    Execute vigoracs.sh in path= /usr/local/vigoracs/VigorACS/bin.

    # cd /usr/local/vigoracs/VigorACS/bin
    # ./vigoracs.sh

    Check VigorACS status
    #systemctl status vigroacs

    Now VigorACS 3.3.1 is ready to go

    Published On:2022-12-21 

    Was this helpful?   

    book icon

    Related Articles