- VigorACS
How to Upgrade a Self Hosted Vigor ACS 1.x server to the latest VigorACS 1.x installation
XV. VigorACS and VigorConnect
How to Upgrade a Self Hosted Vigor ACS 1.x server to the latest VigorACS 1.x version
This article demonstrates how to upgrade a self hosted installation of Vigor ACS-SI either for Windows or Linux installed versions.
From time to time, there are newer versions of Vigor ACS adding new features or improving existing ones.
Upgrading a Linux-based VigorACS 1.x server to a later 1.x version
This procedure assumes the installation of Vigor ACS-SI is installed on a Linux OS server.
1. Ensure you take a backup of the Vigor ACS-SI installation. This separate KB article explains how to do this
https://www.draytek.co.uk/support/guides/kb-acssi-backup#2-linux-unix-backup
After the upgrade the backup will need to be reconfigured because the backupconfig_si_txt file will be replaced with a new version during the upgrade process.
2. The upgrade should not affect the /EMS directory which contacing the .cfg files (config backups), .all and .rst firmware files previously uploaded but it is best practice to have a backup of these prior to the upgrade in case of any unexpected issues. The backup process is explained in the "Other Files" tab in the above KB article.
3. Download the Vigor ACS-SI upgrade file from the link provided by DrayTek Support
The file is likely to be similar to this file name
"VigorACS_Unix_Like_Draytek_Pro64_1.1.7_update.tar.bz2"
4. Copy the upgrade file to a new folder in Linux
e.g. /home/ACS117Update
5. Uncompress the file
e.g. # bzip2 -cd VigorACS_Unix_Like_Draytek_Pro64_1.1.7_update.tar.bz2 | tar xvf -
6. Change the privilege mode of the install and uninstall files
# chmod 755 ./install.sh
# chmod 755 ./uninstall.sh
6. run
# /usr/local/vigoracs/VigorACS/bin/vigoracs.sh
Select 2 to shutdown mysql, and 4 to shutdown VigorACS
7. Run ./install.sh
Select 4 to upgrade Vigor ACS-SI
- Select Y to upgrade tr069 db.
- Enter the MySQL database, just enter for ACS MYSQL
- Enter the root login password for MYSQL/MariaDB
- If prompted to replace files, select "A" to replace all VigorACS files with the new upgrade files
8. When the upgrade is completed, you should see on screen as below
Select 5 to exit
9. run
/usr/local/vigoracs/VigorACS/bin/vigoracs.sh
View option 7, and change via option 6 to suitable setting depending on the amount of memory in the Linux server. Typically this can be 2000 for MAX, and 1900 for MIN for a server with 4-6Gb RAM
Next select 1 (Although this may already be running), then 3 (this may take a few mins to complete)
10. Re-setup the backup. https://www.draytek.co.uk/support/guides/kb-acssi-backup#2-linux-unix-backup
Upgrading a Windows-based VigorACS 1.x server to a later 1.x version
The following instructions detail how to upgrade an existing installation of VigorACS version 1.x such as 1.1.9 to the latest version of VigorACS 1.x.
The architecture on later version has changed slightly, so there are some additional steps as part of the upgrade process. Changing the MariaDB from 5.5 to 10.2 is optional, but worthwhile doing.
Differences between older VigorACS 1.x and latest VigorACS 1.x Platform
- Different default VigorACS directory install location
- Current version: .\VigorACS
- Previous version: .\VigorACS SI
- OpenJDK instead of Java
- Different EMS directory location
- Current version: Specified as %homepath variable configured during installation
- Previous version: Fixed location of C:\Windows\System32\config\systemprofile\EMS
- MariaDB 10.2 instead of 5.5
Step 1 - Stop the VigorACS Service

Step 2. Backup DB
Perform a VigorACS DataBase backup

Check that the backup file has been created successfully and looks the appropriate size compared to previous backups.
Do not proceed until you're sure that the backup has completed successfully.
Step 3. Uninstall MariaDB 5.5

On the next screen you can choose the option to Keep Data.
Note the directory (Normally C:\Program Files\MariaDB 5.5\data) path. After the uninstall you can then rename the directory to ensure that the new install of MariaDB 10.2 doesn’t get accidentally pointed to the old data.
Step 4. Install MariaDB 10.2

Set the new installation path is C:\Program Files\MariaDB 10.2.
VigorACS should be pointed to this directory during the installation and also in the DB Backup script.

Step 5. Restore the Database
- Change the backupconfig_si_windows.txt
- PASSWORD should be set to the mysql password
- MYSQLPATH should point to C:\Program Files\MariaDB 10.2\bin
- Log into mysql C:\Program Files\MariaDB 10.2\bin\mysql -uroot -p
and type the following commands:
-
use tr069;
-
CREATE DATABASE tr069; -
exit
-
- Restore the file
- cd c:\Program Files\VigorACS SI\dbutil\BackupRestoreScripts\SI\Windows\
- mysqlrestore.bat c:\mysqlback\backup_filename_.sql
More detailed instructions on restoring the Database
Step 6. Uninstall Java

Step 7. Install OpenJDK with default options
Step 8. Make a backup copy of VigorACS SI directory
Step 9. Uninstall VigorACS SI

(check VigorACS SI service is still stopped before doing uninstall)
Step 10. Install VigorACS SI with the following options
- Local Database
- MariaDB location C:\Program Files\MariaDB 10.2
- Upgrade Database
- Input mariadb password
- Use Check Password
- Set Memory
- Set Ports
- Set Stun
- Set VigorACS user home path to where you want the cfg/firmware stored (e.g. C:\acshome) (This is called the EMS data)
- Set the Install Dir (C:\Program Files\VigorACS). Don’t point it to the old install dir
Step 11. Copy the EMS data into VigorACS
Copy the old EMS data from C:\Windows\System32\config\systemprofile\EMS to the new path selected in step 10.
- e.g. copy from C:\Windows\System32\config\systemprofile\EMS to C:\acshome\EMS
- Choose ‘overwrite exiting files’ if you want to copy across the old graph data
How do you rate this article?
Add a comment to this article
NOTE : All comments are reviewed before publication and may not be posted or may be redacted if the editors do not consider them helpful. The use of offensive or obscene language, copyrighted material, or advertising or promotion or linking to any other product or service is prohibited. By submitting your comment, you confirm that you are the original author and assign copyright of the content to DrayTek indefinitely and irrevocably.
