Upgrading
- Linux (CentOS, Debian etc)
|
Important Upgrade Notes
This script is a BETA and it is recommended to backup your control panel before upgrading. The most important files are the ./database.php and ./content/ directory.
Templates / Themes If you have used the MediaPanel directory for your theme, it will be backed up into a folder called "MediaPanel_original". Any other directories will be preserved with the upgrade script
|
Automated Upgrade
- Login to SSH as root.
- Navigate to your /root directory and download the setup script from our server:
cd /root; wget http://www.cast-control.net/files/init.sh; chmod 777 init.sh; |
- Launch the setup script by issueing the following command:
- Setup will prompt you to upgrade the software.
Press "u" (lowercase) and then enter.
You will now be guided through the upgrade process.
If you have difficulty, please consult with your server administrator.
- The installation may prompt you for various information during the process.
Once the upgrade is completed, you will need to run the MediaCP Web Based Upgrade.
Open http://www.yourdomain.com/mediacp/system/upgrade.php to complete the upgrade
Manual Upgrade to latest release
- Firstly, we want to backup crucial files.
a) Copy the [MCP-InstallDir]/database.php to your desktop
b) Copy the [MCP-InstallDir]/system/theme/MediaPanel to MediaPanel_original
- Download latest release
http://www.cast-control.net/billing/client_area.php
- Extract Contents
Extract the contents to your desktop which will reveal 3 items:
a) upload_and_rename
b) readme.txt
c) software_license_agreement.txt
Open upload_and_rename and delete the database.php file.
Now copy all the files within this directory to your [MCP-InstallDir] overwriting everything.
- Launch the upgrade script
Open your browser and launch the URL listed below.
MAKE SURE YOU UPDATE THE URL BELOW TO POINT TO YOUR OWN SERVER!
http://yourdomain.com/mediacp/system/upgrade.php
- 3rd Party Billing Systems
If you are using WHMCS, Blesta or another billing system - the latest files are available in [MCP-InstallDir]/other/
You will want to upgrade these files to take advantage of the latest features.
- Delete setup & other dirs
Delete the [MCP-InstallDir]/setup and [MCP-InstallDir]/other directories.
That is it - now you will be running the latest version available.
Upgrade Wowza Media Server
- Login to SSH as root.
- Navigate to your /root directory and download the setup script from our server:
cd /root;rm setup.sh; wget http://www.cast-control.net/files/setup.sh; chmod 777 setup.sh; |
- Upgrade Wowza Media Server (and automatically configure for MediaCP):
| /root/setup.sh -upgradeonlywowza |
- Update License Key
If you are currently using Wowza Media Server 2 or earlier, you will need to update the license key.
| nano /usr/local/WowzaMediaServer/Server.license |
- Restart Wowza Media Server
| /etc/init.d/WowzaMediaServer restart |