Upgrading from a previous version
Upgrading from a previous version on Unix-based deployments
Preliminary notes
Upgrading is usually a two-step process:
- upgrade the mdss package by installing the newer package
- upgrade the existing code by downloading new images
Acquire the installer package
In order to acquire the new package please visit https://www.opswat.com/solution
In case of an offline deployment, the offline installation steps need to be followed with the latest installer and offline package:
Debian / Ubuntu package (.deb)
- Update your packages
- Move to the folder containing the installer and install it
- Start the service
- Optionally, you can check the status using the following command:
- Open a browser and navigate to the web interface: http://<server> to configure your deployment.
Red Hat Enterprise Linux / CentOS package (.rpm)
- Update your packages
- Move to the folder containing the installer and install it
- Start the service
- Optionally, you can check the status using the following command:
- Open a browser and navigate to the web interface: http://<server> to configure your deployment.
Offline Upgrade
Instructions to be followed for upgrading after installing the product using the Installing Offline on Linux documentation
- Download the latest MDSS installation package from My OPSWAT portal.
- Download latest MDSS deployment.zip
- Stop the service
sudo mdss -c stop
- Run the installation script
sudo dpkg -i <name of the file>.deb
- Extract deployment.zip folder and load the container images
unzip deployment.zip -d <extracting_path>/
cd <extracting_path>/
sudo docker load -i ./mdcs.tar
- Start the service
sudo mdss -c start
Upgrading from a previous version on Windows-based deployments
Upgrading from v2.1.3 or below
Before your upgrade, please verify your docker and docker-compose version by running the following commands:
- docker -v
- docker-compose -v
If your docker version is below 20.10.3 please run the following commands in order to upgrade your docker installation:
- Upgrade to the latest available version
- A restart is required for the installation to complete
If your docker-compose version is below 1.28.5 please run the following command in order to upgrade your docker-compose installation:
Before you proceed, verify that your docker install was upgraded by running docker -v and docker-compose -v again. If everything looks good, please proceed by running the new installer.
Upgrading from v2.1.4 or above
To upgrade from a previous version, running the new installer is enough. The installer will walk you through the installation wizard.
Upgrading from v2.1.5 or below
When upgrading from v2.1.5 or older versions, a warning box may pop up with the following message:
Service 'MetaDefender Storage Security' (mdss) could not be stopped. Verify if you have sufficient privileges to stop system services.
The issue and the steps to solve it have been documented here.