Error 404 on html5/html5lib/v2.46.rc6/mwEmbedLoader.php

In the kmc, when I try to access to Studio I get a 404 error on http://…/html5/html5lib/v2.46.rc6/mwEmbedLoader.php
and also on


What does /opt/kaltura/apps/studio/v*/studio.ini contain?
It should have:
component.version set to the studio version, i.e:
rpm -q kaltura-html5-studio
and html5_version set to the version returned from:
rpm -q kaltura-html5lib

There version for the HTML5 lib should also be set correctly in /opt/kaltura/app/configurations/local.ini, directive name is html5_version.

Can you check what values you have?

Hi, thank you for your help

First the studio version :

$ dpkg -s kaltura-html5-studio
Package: kaltura-html5-studio
Status: install ok installed
Version: 2.0.6-1

The html5 version

$ dpkg -s kaltura-html5lib    
Package: kaltura-html5lib
Status: install ok installed
Version: 2.46-1

Then the studio.ini

$ more /opt/kaltura/apps/studio/v2.0.6/studio.ini
[general] = HTML5Studio
component.version = v2.0.6.rc1

[defaultKdp] = v2.0.6.rc1 = Video Studio V2 = html5studio = '{"version":"v2.0.6.rc1", "name":"Video Studio V2", "tags":"studio_v2", "ht
ml5_version":"v2.46.rc6", "html5lib":""}

Finally in local.ini

kmc_version = v5.40.3
studio_version = v2.0.6
html5_version = v2.46
kmc_login_version = v1.2.8

Hi @fravetier,

So, it’s almost OK:)
Please run:
# dpkg-reconfigure kaltura-front
That should correct /opt/kaltura/apps/studio/v2.0.6/studio.ini so that it states the correct versions for studio [v2.0.6] and the player [v2.46].

BTW, from these versions, I gather you’re not using the latest stable, this bug is fixed in newer versions but regardless, it’s recommended that you upgrade to latest.

It is done but stillt he same problem

⇒  dpkg-reconfigure kaltura-front
Site zzzkaltura disabled.
To activate the new configuration, you need to run:
  service apache2 reload
Enabling site zzzkaltura.
To activate the new configuration, you need to run:
  service apache2 reload
Site apps already enabled
Site var already enabled
Site admin already enabled
 * Reloading web server apache2                                                                     * 
 * Restarting daemon monitor monit 

I installed it last week and I used the online documentation

What does /opt/kaltura/apps/studio/v2.0.6/studio.ini look like now?
also, what does /etc/apt/sources.list.d/kaltura.list contain?


It looks better

more /opt/kaltura/apps/studio/v2.0.6/studio.ini
[general] = HTML5Studio ;the application Name
component.version = v2.0.6 ;similar to folder name

[defaultKdp] = v2.0.6 = Video Studio V2 = html5studio = '{"version":"v2.0.6", "name":"Video Studio V2", "tags":"studio_v2", "html5_
version":"v2.46", "html5lib":"//
$ more /etc/apt/sources.list.d/kaltura.list
deb [arch=amd64] kajam main

Hi @fravetier,

First of all, thank you for reporting the repo issue. I fixed the documentation here:

To upgrade your installation, change ‘kajam’ to ‘lynx’ in /etc/apt/sources.list.d/kaltura.list and then follow instructions here:

Nonetheless, the studio.ini you posted now looks like it complies with your current versions and should work.
Can you open the devtools in your browser and check the ‘Network’ and ‘Console’ tabs for errors?


I am doing first the update.

For your information I edited the documentation and submit to you.

I found the 404 error in the console. In the network I have two others 404:

  • : /apps/studio/v2.0.6/vendor
  • : /apps/studio/v2.0.6/lib
    But map files are not required to have it working. You can add then to avoid the error but it is not a big deal.

Thanks:) I assume you mean this pull request?, if so, already merged:) if not, which pull are we talking about?

You are correct about the map files. So, just so I’m clear about the current situation, Studio does work for you now and you’re performing an upgrade to get to the latest version [12.3.0], correct?

yes the pull :slight_smile:

It is not working yet, because update is not done yet

OK, even before the upgrade, the last studio.ini you posted seemed alright to me but since you’re upgrading, let’s wait and see the result post upgrade.
Do let me know.


During the reconfigure I have a lot of :

sh: 0: getcwd() failed: No such file or directory

probably because I was in a directory that moved or that was deleted…

I can not access to the KMC interface, I’ve got 404 on http://…/index.phpmodule=kmc/amp;action=kmc2

getcwd() errors - yep, simply because your current working dir in the shell no longer exists.
This will be outputted by the shell itself and has nothing to do with Kaltura, though it shouldn’t really disturb anything, other than outputting this message.
KMC - URL should be $SERVICE_URL/index.php/kmc/kmc4
Are you able to get there? if not, what’s in the Network and Console tabs? also, are you able to access the $SERVICE_URL/admin_console?

yes this url is working

But the $SERVICE_URL/start/index.php contains a link to $SERVICE_URL/kmc that is redirecting me to $SERVICE_URL/index.phpmodule=kmc/amp;action=kmc2

Do you have any idea about the last problem ?

The problem seems to be solved. May be it was some cache…