Upgrading from Kaltura CE4 to CE5
Posted By : Arvind Das | 19-Jun-2012
After reading this blog entry one would able to upgrade from Kaltura CE4 to Kaltura CE5. In this entry , i briefly explained the steps needed for migration from Kaltura CE4 to Kaltura CE5
- Export your CE 4 DataBase
Run the following command (replace [user] and [password] with relevant values:
mysqldump kaltura -u[user] -p[password] > kaltura.sql
Backup CE4 installation data and /opt/kaltura/web directory and install Kaltura CE5.
Run the following command (replace [user] and [password] with relevant values):
mysql kaltura -u[user] -p[password] < kaltura.sql
For example
rsync -r pathtobackup/web/* /opt/kaltura/web/
- run /opt/kaltura/app/deployment/updates/update.php
- Run all sql scripts from /opt/kaltura/app/deployment/updates/sql
- Run all php scritps from /opt/kaltura/app/deployment/updates/scripts with realrun param (for example: php script_name.php realrun)
- Run all php scritps from /opt/kaltura/app/deployment/updates/scripts/add_permissions with realrun param (for example: php script_name.php realrun)
Deploy kmc v4.0.12.5 ui conf by running:
php /opt/kaltura/app/deployment/uiconf/deploy_v2.php --ini=/opt/kaltura/web/flash/kmc/v4.2.14.9/config.ini
Also change permission of files
chmod -R 777 /opt/kaltura/web/content/entry/data
For CE5 to CE5 do not deploy UIconf and execute this script
php /opt/kaltura/app/scripts/utils/updatePartnerEntries2Sphinx.php “partner_id”
It should execute without errors else execute again.
Execute the script below if you are unable to see newly uploaded content after rebooting server
/usr/bin/php /opt/kaltura/app/plugins/sphinx_search/scripts/populateFromLog.php /opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.php
#!/bin/sh /usr/bin/php /opt/kaltura/app/plugins/sphinx_search/scripts/populateFromLog.php /opt/kaltura/app/plugins/sphinx_search/scripts/configs/server-sphinx.php > /dev/null 2>&1 &
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Arvind Das
Technical Product Manager experienced in developing Real Time Planning Solutions, Video CMS with experience in Product Management and technical expertise in Reactive applications , Micro-services . Spending most of his time in planning , new solutions.