Installation failed kalturaCE_v1.5_linux64, Linux64 Debian - How to make it work

1 reply [Last post]
Joined: 07/18/2009
Points: 11

Hello,

So I've tried to install kaltura CE on my server and bumped into some problems.

1. First one is during the check ffmpeg can't be executed by apache.
Most of the server install come with ffmpeg.
So do

$ which ffmpeg
should give you something like
/usr/bin/ffmpeg

then
$ cd /path/to/your/install//kaltura/bin/binaries/ffmpeg-bin-0.5/
$ mv ffmpeg ffmpeg.org
$ ln -s /usr/bin/ffmpeg ffmpeg

This will create a symbolic link to your already installed ffmpeg. Should do the trick

2. Continue the install. At the end of the install you may have something like
-------------------
Kaltura Community Edition Server Installed Successfully

Local Registration failed
Error Code:
Error Message:

IMPORTANT!

* This information was sent to your email, assuming your mail server was set up and operational on this server.
* If your mail server is not set up, save this information now! You will not be able to recover it later.
-----------------

It may be due to the fact that the registration as a partner failed.
To register manually go to
http://youripordomain/api/testme
untick partner_id
in the service combo box select register partner and fill the details. Put 1 in fields you don't know what to put in. Anyway you'll be able to update those in the admin panel later on ( once registration successful ). Click submit, it should be ok.

Once registration done go to your Kaltura Management Console (KMC).
if it works then it's cool for you. For my case, I 've had a problem with the path being wrong.

3. For some reason the path were
http://mysubdomain/myDocumentRoot/ instead of http://mysubdomain

To rectify this log into ssh
go to your document root ( path where you've installed kaltura ) then excute ( change the command to fit your directory path )
$ sed -i -e 's/http:\/\/my\.subdomain\.com\/your\/install\/path/http:\/\/my\.subdomain\.com/g' `grep -l -r 'http://my.subdomain.com/your/install/path' ./`
This will check for malformed path ( domainname+pathdirectory ) and will replace them by the correct one ( domainname )

Do the same for the skin
$ sed -i -e 's/skinPath="\/your\/install\/path\/content/skinPath="\/content/g' `grep -l -r 'skinPath="/your/install/path/content' ./`
This will get the skinPath targeting your install path and will replace it with relative path to your domain

And voila. Everything should work... hopefully :)

I hope it'll help some of you
++

Joined: 07/18/2009
Points: 11

one more thing, when registering as a partner, email address and password ( cms_password ) will be your login details for the Kaltura Management Console (KMC)