VigorACS provides OTA script for Download and Upgrade, this article will guide you on how to upgrade your ACS and keep all your data.
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.
![](/assets/files/faq/2023/CF2125/340backup.png)
2. Stop ACS service
Please login with root or root permission.
Execute vigoracs.sh in path= /usr/local/vigoracs/VigorACS/bin
# cd /usr/local/vigoracs/VigorACS/bin/vigoracs.sh
Input 6 to shutdown VigorACS service.
![](/assets/files/faq/2023/CF2125/stopacs.png)
3. Download ACS 3
Extract VigorACS 3 OTA package via the command in your ACS 3 OTA file path.
# tar -jxv -f VigorACS_OTA_Linux_3.5.0_r4522.tar.bz2 (-C /path/for/extract/file)
※ you can use the parameter: -C to designate extracted file path.
![](/assets/files/faq/2023/CF2125/extract.png)
Modify the permission of ota.sh and execute it.
# cd /path/for/extract/file
# chmod 755 ota.sh
# ./ota.sh
![](/assets/files/faq/2023/CF2125/chmod.png)
It will start to download the latest VigorACS installation files. We can upgrade ACS after the download finishes, enter y to upgrade ACS.
![](/assets/files/faq/2023/CF2125/upgradeacs.png)
4. Upgrade Java
Input 6 to upgrade Java
Input y to upgrade jdk
![](/assets/files/faq/2023/CF2125/upgradejava.png)
5. Upgrade ACS3
Input 8 to upgrade ACS
![](/assets/files/faq/2023/CF2125/upgradeacs8.png)
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 your Influxdb version(It’s shown on ACS UI About>Software Update>System Info)
Input n to keep current JBoss configuration
![](/assets/files/faq/2023/CF2125/enterdb.png)
Input 10 after ACS upgrade finishes
![](/assets/files/faq/2023/CF2125/exit.png)
6. Start ACS3 service
Execute vigoracs.sh in path= /usr/local/vigoracs/VigorACS/bin.
# cd /usr/local/vigoracs/VigorACS/bin/vigoracs.sh
Input 5 to start ACS
Enter ACS port and memory configuration
![](/assets/files/faq/2023/CF2125/startacs.png)
We will see VigorACS PID after it starts.
![](/assets/files/faq/2023/CF2125/acsstarted.png)
Now new VigorACS3 is ready to go
![](/assets/files/faq/2023/CF2125/login.png)
After ACS upgrade by ota.sh, the auto software upgrade will be available on ACS UI when there is a new version. ACS can be upgraded in the background by just clicking Download and Upgrade.
![](/assets/files/faq/2023/CF2125/softwareupdate.png)