Kaltura Admin Console Errors

@jess

When I try to setup a Distribution Profile from admin_console I get the following error:

An error occurred
(error code: Server:INTERNAL_SERVERL_ERROR)

Then, when I attempt to setup a profile for a specific storage instance the overlay page never populates with the form to enter the information. All the other profile forms load properly except these two. Is there any idea what cause this issue or how to resolve it?

In admin console, under the publishers tab, for your partner, in the “Actions” selectbox, select “configure” and make sure “Content Distribution Module” is checked.
If it is and you’re still having issues, do as I stated here:

@jess

I have not errors in the non ssl apache file at all. As for the api_v3.log file that file is HUGE and has a few lines about DEBUGing and takes being run but it is too large to copy paste hear and I am not sure what part is related to the error.

now after running # kaltlog I got the following message when accessing the “Remote Storage” menu:

==> /opt/kaltura/log/kaltura_apache_errors_ssl.log <==
[Sun Feb 07 12:50:44 2016] [error] [client ###.###.###.###] PHP Fatal error: Undefined class constant ‘FACEBOOK’ in /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php on line 72, referer: https://mydomainhere.com/admin_console/index.php/partner/external-storages/filter_type/byid/filter_input/106
[Sun Feb 07 12:54:17 2016] [error] [client ###.###.###.###] PHP Fatal error: Undefined class constant ‘FACEBOOK’ in /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php on line 72, referer: https://mydomainhere.com/admin_console/index.php/partner/external-storages/filter_type/byid/filter_input/106
[Sun Feb 07 12:54:38 2016] [error] [client ###.###.###.###] PHP Fatal error: Undefined class constant ‘FACEBOOK’ in /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php on line 72, referer: https://mydomainhere.com/admin_console/index.php/partner/external-storages/filter_type/byid/filter_input/106

This error was return when I attempted to access the “Distribution Profile” menu item.

2016-02-07 14:21:20 [0.023186] [###.###.###.###] [293990219] [34] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.022746086120605 seconds
2016-02-07 14:21:20 [0.012383] [###.###.###.###] [293990219] [35] [API] [kCoreException->__construct] ERR: exception 'kCoreException' with message 'Dynamic enum not found [facebookDistribution.FACEBOOK] for type [DistributionProviderType]' in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php(197): kPluginableEnumsManager::apiToCore('DistributionPro...', 'facebookDistrib...')
--
#10 {main}
2016-02-07 14:21:20 [0.010821] [###.###.###.###] [293990219] [36] [API] [KalturaFrontController->getExceptionObject] CRIT: exception 'kCoreException' with message 'Dynamic enum not found [facebookDistribution.FACEBOOK] for type [DistributionProviderType]' in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php(197): kPluginableEnumsManager::apiToCore('DistributionPro...', 'facebookDistrib...')
--
2016-02-07 14:21:20 [0.000067] [2106480220] [11] [%context%] [Kaltura_Client_ClientBase->doQueue] DEBUG: execution time for [https://mydomainhere.com/api_v3/index.php/service/contentdistribution_distributionprovider/action/list]: [0.2343168258667]
2016-02-07 14:21:20 [0.013030] [2106480220] [12] [%context%] [ErrorController->errorAction] ERR: exception 'Kaltura_Client_Exception' with message 'Internal server error occurred' in /opt/kaltura/app/admin_console/lib/Kaltura/Client/ParseUtils.php:78
Stack trace:
#0 /opt/kaltura/app/admin_console/lib/Kaltura/Client/ContentDistribution/DistributionProviderService.php(54): Kaltura_Client_ParseUtils::checkIfError(Object(SimpleXMLElement))
--
==> /opt/kaltura/log/kaltura_apache_errors_ssl.log <==
[Sun Feb 07 14:21:21 2016] [error] [client ###.###.###.###] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: https://mydomainhere.com/admin_console/index.php/plugin/DistributionProfileListAction/filter_type/byid/filter_input/106

Look here:

@jess

I followed the instructions and both ways and got rid of one issue. This did not resolve my issues completely but we did get progress. When I try to setup a Distribution Profile from admin_console I get the following error:

An error occurred
(error code: Server:INTERNAL_SERVERL_ERROR)

This appears to be the only remaining issue.

@jess
This resolved my issue on my instance of Kaltura. I was not able to resolve all errrors.

Thanks

@jess

I am getting the following error when I try to access Live Real-Time Stats.

Not Found
The requested URL /apps/liveanalytics/v2.5/index.html was not found on this server.

Apache/2.2.15 (CentOS) Server at my.domain.com Port 443

No error related to this specific error show up in the kaltlog. These are the only errors I have in that log at this time. Which relate to other issues. LIke the one previously reported and unresolved in this thread. I still get a error when I try to access the Distrubution Profile from administration console.

An error occurred
(error code: Server:INTERNAL_SERVERL_ERROR)

This is what my current kaltlog looks like right now.

> [root@server ~]# kaltlog
> ==> /opt/kaltura/log/kaltura_apache_errors_ssl.log <==
> [Mon Feb 29 04:13:02 2016] [error] [client 69.88.xxx.xxx] File does not exist: /opt/kaltura/apps/studio/v2.0.2/templates, referer: https://my.domain.com/apps/studio/v2.0.2/index.html
> [Mon Feb 29 04:15:48 2016] [error] [client 69.88.xxx.xxx] File does not exist: /opt/kaltura/apps/studio/v2.0.2/templates, referer: https://my.domain.com/apps/studio/v2.0.2/index.html
> [Mon Feb 29 10:21:29 2016] [error] [client 1.215.xxx.xxx] script '/opt/kaltura/web/html5/html5lib/v2.38.1/mwembedloader.php' not found or unable to stat
> [Mon Feb 29 10:21:32 2016] [error] [client 1.215.xxx.xxx] script '/opt/kaltura/web/html5/html5lib/v2.38.1/mwembedloader.php' not found or unable to stat
> [Mon Feb 29 15:06:11 2016] [error] [client 69.88.xxx.xxx] File does not exist: /opt/kaltura/apps/liveanalytics, referer: https://my.domain.com/index.php/kmc/kmc4
> [Mon Feb 29 15:13:02 2016] [error] [client 69.88.xxx.xxx] File does not exist: /opt/kaltura/apps/liveanalytics, referer: https://my.domain.com/index.php/kmc/kmc4

> --
> ==> /opt/kaltura/log/batch/dbcleanup-0-2016-02-28.err.log <==
> PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal database error' in /opt/kaltura/app/batch/client/KalturaClientBase.php:894
> Stack trace:
> #0 /opt/kaltura/app/batch/client/KalturaClient.php(1300): KalturaClientBase->throwExceptionIfError(Array)
> --
> ==> /opt/kaltura/log/batch/jobsuspender-0-2016-02-28.err.log <==
> PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal database error' in /opt/kaltura/app/batch/client/KalturaClientBase.php:894
> Stack trace:
> #0 /opt/kaltura/app/batch/client/KalturaClient.php(1138): KalturaClientBase->throwExceptionIfError(Array)
> --
>   thrown in /opt/kaltura/app/batch/client/KalturaClientBase.php on line 894
> PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal database error' in /opt/kaltura/app/batch/client/KalturaClientBase.php:894
> Stack trace:
> #0 /opt/kaltura/app/batch/client/KalturaClient.php(640): KalturaClientBase->throwExceptionIfError(Array)
> --
> ==> /opt/kaltura/log/batch/partnerloadcleanup-0-2016-02-28.err.log <==
> PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal database error' in /opt/kaltura/app/batch/client/KalturaClientBase.php:894
> Stack trace:
> #0 /opt/kaltura/app/batch/client/KalturaClient.php(1123): KalturaClientBase->throwExceptionIfError(Array)
> --
>   thrown in /opt/kaltura/app/batch/client/KalturaClientBase.php on line 894
> PHP Fatal error:  Uncaught exception 'KalturaException' with message 'Internal database error' in /opt/kaltura/app/batch/client/KalturaClientBase.php:894
> Stack trace:
> #0 /opt/kaltura/app/batch/client/KalturaClient.php(4130): KalturaClientBase->throwExceptionIfError(Array)
> --
> ==> /opt/kaltura/log/kaltura_apache_errors_ssl.log <==
> [Mon Feb 29 15:16:39 2016] [error] [client 69.88.xxx.xxx] File does not exist: /opt/kaltura/apps/liveanalytics, referer: https://my.domain.com/index.php/kmc/kmc4
> --
> 2016-02-29 15:17:50 [0.000363] [107.152.xxx.xxx] [34550893] [34] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00026988983154297 seconds
> 2016-02-29 15:17:50 [0.000301] [107.152.xxx.xxx] [34550893] [35] [API] [kCoreException->__construct] ERR: exception 'kCoreException' with message 'Dynamic enum not found [facebookDistribution.FACEBOOK] for type [DistributionProviderType]' in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
> Stack trace:
> #0 /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php(197): kPluginableEnumsManager::a                  piToCore('DistributionPro...', 'facebookDistrib...')
> --
> #10 {main}
> 2016-02-29 15:17:51 [0.007627] [107.152.xxx.xxx] [34550893] [36] [API] [KalturaFrontController->getExceptionObject] CRIT: exception'kCoreException' with message 'Dynamic enum not found [facebookDistribution.FACEBOOK] for type [DistributionProviderType]' in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
> Stack trace:
> #0 /opt/kaltura/app/plugins/content_distribution/providers/facebook/FacebookDistributionPlugin.php(197): kPluginableEnumsManager::a                  piToCore('DistributionPro...', 'facebookDistrib...')
> --

I tried to run the following command:

$APP_DIR/deployment/base/scripts/installPlugins.php

Then got this error:

-bash: /opt/kaltura/app/deployment/base/scripts/installPlugins.php: Permission denied

I changed the permissions to the caption file to 755 and re-ran the command. After running it the delivery profile started working. So this issue is actually resolved now.

However, I still have not fixed or found entries in the kaltlog to explain the error when I try to access Live Real-Time Stats.

Not Found
The requested URL /apps/liveanalytics/v2.5/index.html was not found on this server.
Apache/2.2.15 (CentOS) Server at my.domain.com Port 443

As I mention before no error related to this specific error show up in the kaltlog. I have already posted my kaltlog to show the errors I was getting.

Hi,

You’re suppose to run it like so:
# php $APP_DIR/deployment/base/scripts/installPlugins.php
no need for exec permissions when you do it like that.

Yes, live analytics is not included in CE at the moment.

@jess

Is this feature to be added in the future at some point? I think it would be good coding eithic to put a page in that location that returns a user friendly message stating that the function is not availble in this version of Kaltura at this time. Rather than a ugly 404 error.