Upgrade

Last updated 2 months ago

This guide will assist you with upgrading MediaCP on CentOS or Debian linux operating systems.

The upgrade utility will also upgrade Wowza Streaming Engine & Flussonic Media Server to the latest version supported by our software. You should check release notes to see latest changes.

Upgrade Process

The standard upgrade process will install the most recent version according to the release tier preference configured in your MediaCP. To upgrade to the most recent version of the MediaCP you can run the following command as root user in SSH.

cd /root/;rm -f init;wget http://install.mediacp.net/scripts/init;chmod 777 init;./init upgrade;

Upgrade from 2.1.9.x or older versions

If you are using a much older version of the MediaCP then you should read the following information before upgrading. In this instance we highly recommend that you contact our support team to complete this for you.

Windows Servers

Windows is no longer supported by the MediaCP software. If upgrading from version 2.1.9.x or earlier then you will be required to re-install the MediaCP software and manually migrate your services.

Linux Servers

The MediaCP now operates stand-alone and includes it’s own web server, database server, ftp server and utilities bundled. MediaCP 2.2.x operates on port 2000 and your panel will be redirected automatically to http://your-domain:2000 after upgrade.

To upgrade from versions prior to 2.2.0, please be aware that the standard upgrade script which will automatically detect your previous version and perform a migrate. The migrate tool will perform the following tasks:

  • Install MediaCP 2.2.x to /usr/local/mediacp/
  • Copy your database to MediaCP own mysql service and updates file paths
  • Move your [MediaCP]/content directory to /usr/local/mediacp/content
  • Stops all media services in 2.1.9.x
  • Starts all media services in 2.2.x running as user mediacp
  • Upgrade Wowza Streaming Engine to latest supported version

Important Notes!

  • Please make sure there is enough space in /usr/local/ for the content/ directory to be moved.
  • As the entire database is copied, we recommend clearing the Advanced Reporting Statistics before beginning the upgrade to 2.2.x from Admin -> System Config -> RESET Reporting Statistics.

Windows Server Upgrades

 

This guide will assist you with upgrading MediaCP on Windows 2003, 2008 or 2012 Server Edition. We recommend this be performed by an experienced server administrator.

Important: If you are upgrading from version 2.1.9 or earlier then you must read the Upgrade from 2.1.9.x or older documentation before continuing.

Step 1. Prerequisites

  1. Complete all windows updates before proceeding
  2. Download and Install Visual C++ 2008 Redistributable Package (x86)
  3. Download and Install VIsual C++ 2015 Redistributable Package (x86)
  4. Download and Install VIsual C++ 2015 Redistributable Package (x64)
  5. Restart server after installing Visual C++ packages

Step 2. Backup

The following steps will create a backup of the entire MediaCP software and media files.

  1. Run C:/mediacp/xampp-control.exe and press Stop next to each service
  2. Copy the entire contents of c:/mediacp/ directory to your desktop
  3. Run C:/mediacp/xampp-control.exe and press Start next to each service

Step 3. Upgrade

  1. Download and save the latest version of the installation software:
    http://install.mediacp.net/MediaCP-Install.exe
  2. Run MediaCP-Install.exe
  3. Select MediaCP Upgrade and follow the prompts

 

Upgrade from 2.1.9.x or older versions

If you are using a much older version of the MediaCP then you should read the following information before upgrading. In this instance we highly recommend that you contact our support team to complete this for you.

Windows Servers

Windows is no longer supported by the MediaCP software. If upgrading from version 2.1.9.x or earlier then you will be required to re-install the MediaCP software and manually migrate your services.

Linux Servers

The MediaCP now operates stand-alone and includes it’s own web server, database server, ftp server and utilities bundled. MediaCP 2.2.x operates on port 2000 and your panel will be redirected automatically to http://your-domain:2000 after upgrade.

To upgrade from versions prior to 2.2.0, please be aware that the standard upgrade script which will automatically detect your previous version and perform a migrate. The migrate tool will perform the following tasks:

  • Install MediaCP 2.2.x to /usr/local/mediacp/
  • Copy your database to MediaCP own mysql service and updates file paths
  • Move your [MediaCP]/content directory to /usr/local/mediacp/content
  • Stops all media services in 2.1.9.x
  • Starts all media services in 2.2.x running as user mediacp
  • Upgrade Wowza Streaming Engine to latest supported version

Important Notes!

  • Please make sure there is enough space in /usr/local/ for the content/ directory to be moved.
  • As the entire database is copied, we recommend clearing the Advanced Reporting Statistics before beginning the upgrade to 2.2.x from Admin -> System Config -> RESET Reporting Statistics.

Table of Contents