To upgrade MCS from one version to another, please follow the steps below:
Stop all MCS containers.
Copy the update file into the root folder of the MCS user.
Expand the update file with tar -xvf to overwrite the files in the active MCS folder.
Navigate to the MCS folder, and run the ./run.sh command.
Choose option 4 update; this will display all the images available in the system. Select the version to which you want to upgrade.
Elasticsearch setup
It is essential to edit the ‘enviroment’ file to externalize the elasticsearch before proceeding further.
Use the command nano enviroment to edit the ‘enviroment’ file.
Note:
Setting EXTERNAL_LOG_DB_TYPE = “disabled”, disables all the data. Additionally, disable the Internal Elastic Search ENABLE_INTERNAL_ES=false
If EXTERNAL_LOG_DB_TYPE = “elasticsearch”, then ENABLE_INTERNAL_ES = true
Control O to save
Control X to exit
Additionally, it is recommended to do a page cache refresh,
Windows users: Press ctrl + F5 on your keyboard.
Mac users: Press command + shift + R on your keyboard.