Upgrading MCS Version
Table of Contents
- 1 Download Backup Configuration
- 2 Steps to Upgrade MCS from Version 1.2.X to 1.2.Y or from Version 1.2.X to 1.3.Y
- 3 Steps to Upgrade MCS from Version 1.3.X to 1.3.Y or Apply a New Build File for 1.3.X
- 4 Page Cache Refresh
- 5 Elasticsearch Setup
- 6 Add Redis Password
- 7 Related Articles
Download Backup Configuration
Before upgrading the MCS software, it is recommended to create a backup file of the current MCS configuration. Download the backup data to your local machine to prevent data loss in case of unforeseen circumstances. Detailed instructions can be found here.
Steps to Upgrade MCS from Version 1.2.X to 1.2.Y or
from Version 1.2.X to 1.3.Y
1. Connect to the MCS Server
Access your MCS server via SSH:
ssh {user_name}@{mcs_ip}
Enter your server password when prompted.
2. Download the New MCS Version File
Log in to the TAG Video Systems Sharing Files Website.
Note: If you do not have an account, contact TAG customer support to request one.
Locate the tar build file (the new version file):
Use the download link provided in the email sent by TAG. The email subject will be: {TAG’s employee name}@TAGVS shared "update_{version number}.tar" with you.
Alternatively, navigate to the Shared with you tab on the left menu of the website to find the file.
Click the file name to download it to your local computer.
3. Transfer the Tar File to the MCS Server
Use the scp
command to copy the tar build file from your computer to the folder on the MCS server containing your MCS directory:
scp {Your_Path_In_Your_Computer}/{tar_file_path} {mcs_user}@{mcs_ip}:{Your_Path_In_MCS_Server}
4. Stop MCS Docker Containers (stop the MCS software from running)
Navigate to the MCS directory:
cd {Your_Path_To_MCS_Folder}
Run the run.sh script:
Enter your MCS server password when prompted.
In the pop-up menu, choose option 2 (Stop) to stop all MCS containers.
Wait for all containers to stop before proceeding.
Press 9 to exit
5. Extract the Update File
Return to the the folder containing your MCS directory:
Extract the contents of the tar file to overwrite the existing MCS folder’s files:
Follow the on-screen instructions, choosing yes/no or default settings as appropriate.
Upgrade Instructions by Version
Upgrading from 1.2.X to 1.2.Y
Navigate to the MCS directory:
Execute the following command:
Enter your MCS server password when prompted.
In the pop-up menu, choose option 4 (Update) to display available images. Select the version to which you want to upgrade.
Enter "yes" to continue.
Wait for the operation to finish.
Run the
./run.sh
script again and select option 1 (Start) to start the containers (start the MCS software).
Upgrading from 1.2.X to 1.3.Y
Navigate to the MCS directory:
Execute the installation script:
Follow the instructions as necessary.
Execute the setup script:
You will be prompted to configure the
.env
file or select default values.After completion, if needed, you can edit
.env
parameters using the command:
Note:
If you do not need to make any changes to the .env
file, you can skip the .env
configuration step.
Run the following command to start the containers (start the MCS software):
Enter your MCS server password when prompted.
In the pop-up menu, choose option 1 (Start) to start the containers (start the MCS software).
Steps to Upgrade MCS from Version 1.3.X to 1.3.Y or Apply a New Build File for 1.3.X
1. Connect to the MCS Server
Access your MCS server via SSH:
Enter your server password when prompted.
2. Download the New MCS Version File
Log in to the TAG Video Systems Sharing Files Website.
Note: If you do not have an account, contact TAG customer support to request one.
Locate the tar build file (the new version file):
Use the download link provided in the email sent by TAG. The email subject will be: {TAG’s employee name}@TAGVS shared "update_{version number}.tar" with you.
Alternatively, navigate to the Shared with you tab on the left menu of the website to find the file.
Click the file name to download it to your local computer.
3. Transfer the Tar File to the MCS Server
Use the scp
command to copy the tar build file from your computer to the following folder: {Your_Path_In_MCS_Server_To_MCS_Folder
}/storage/system/versions
on your MCS server.
4. Update MCS Version
Navigate to the MCS directory:
Run the run.sh script:
Enter your MCS server password when prompted.
In the pop-up menu, choose option 4 (Update) to display available versions. Select the version to which you want to upgrade.
Enter "yes" to continue.
Wait for the operation to finish.
The MCS containers should be running now.
Page Cache Refresh
After upgrading, refresh your browser’s page cache:
Windows: Press Ctrl + F5.
Mac: Press Command + Shift + R.
Elasticsearch Setup
To configure Elasticsearch:
Edit the
.env
file:Update the following parameters based on your requirements:
Disable Internal Elastic Search:
Enable External Elastic Search:
Save changes with Ctrl + O and exit with Ctrl + X.
Add Redis Password
From version 1.1.1 onwards, MCS supports Redis password configuration.
Edit the
.env
file:Add passwords to the password fields: