Migrating from SendSecure On-Premises Version 3 to Version 4

Administrator -

This article explains how to upgrade from SendSecure On-Premises version 3 to version 4.

Note: This article applies to SendSecure On-Premises version 3 only. If you are looking to install SendSecure On-Premises version 4 without an existing installation of SendSecure, please refer to the SendSecure On-Premises Installation Procedure.

(Article initially published / modified: 2020-04-27/ 2020-04-27)


  • Access to a system running a SendSecure On-Premises version 3 server.
Note: The system requirements of SendSecure 3 and SendSecure 4 remain the same.
Attention: It is highly recommended to take a snapshot of the Virtual Machine running SendSecure 3 before starting the upgrade process so that you can revert to it if anything goes wrong.


You must complete the following preliminary steps before upgrading to SendSecure 4.

  1. Remove the obsolete ClamAV antivirus packages:
    sudo rpm -e --nodeps clamav-scanner clamav-scanner-systemd clamav-server clamav-server-systemd
  2. Add a necessary permission for the SELinux security module:
    sudo semanage fcontext -a -t httpd_log_t "/var/log/xmedius(/.*)?"
    sudo restorecon -Rv "/var/log/xmedius"
    Note: This step restores Apache's write permission in the /var/log/xmedius directory removed following a SELinux update.
  3. Update the system:
    sudo yum -y update

Updating Ruby

  1. Uninstall the old Ruby version:
    Note: Following the installation of SendSecure On-Premises version 3, this should be Ruby 2.3.3.
    rvm uninstall ruby-2.3.3
  2. Install Ruby version 2.6.6:
    rvm install ruby-2.6.6
  3. Install the Bundler dependency manager:
    gem install bundler

Upgrading SendSecure to Version 4

  1. Add the SendSecure version repository:
    sudo -E curl http://repos.xmedius.com/CentOS/sendsecureR4/sendsecureR4.repo -o /etc/yum.repos.d/sendsecureR4.repo
  2. Update the SendSecure RPM packages:
    sudo yum -y update
  3. Execute the upgrade script:
    Note: In this step, you will need to enter the activation code you received in your email to activate your license.
    rvmsudo_secure_path=1 rvmsudo /opt/xmedius/portal/script/upgrade_all.sh
    Tip: If license activation fails when running the upgrade script, you can activate it at a later time with the following command:
    sudo /opt/xmedius/portal/script/getlicense.sh <your_activation_code>
  4. Install the required ClamAV packages:
    sudo yum -y install clamav-data clamav-update clamav-filesystem clamav clamav-devel clamav-lib clamd
  5. Re-configure ClamAV:
    sudo /opt/xmedius/fileserver/scripts/configure_clamav.sh
    sudo systemctl restart httpd
Important: Once SendSecure is installed, it is highly recommended to enable two-factor authentication (2FA) using the SendSecure interface as this will greatly strengthen security.
Have more questions? Submit a request


Powered by Zendesk