Need to debug and understand what’s causing these errors.
The best way to start is to run:
# kaltlog
on the server’s shell while making the request, looking at the output and looking at the relevant log files checking for the flow that led to the final error/exception
Additionally, on your browser, open the dev tools and check for errors under the “network” tab. You should probably see a request which returned with HTTP 500.
Oh, this is great! Here are some of the errors I’m getting. One major issue I want to resolve is why thumbnails aren’t being generated at a large size, and also aren’t even showing in Kalturas base feed.
When I try to open an entry:
–
2016-06-07 14:00:30 [0.000920] [45.59.236.158] [1234225618] [155] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00045013427734375 seconds
2016-06-07 14:00:30 [0.000833] [45.59.236.158] [1234225618] [156] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [transcript.Transcript] for type [assetType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace: #0 /opt/kaltura/app/plugins/content/transcript/TranscriptPlugin.php(88): kPluginableEnumsManager::apiToCore(‘assetType’, ‘transcript.Tran…’)
#10 {main}
2016-06-07 14:00:30 [0.001150] [45.59.236.158] [1234225618] [157] [API] [KalturaFrontController->getExceptionObject] CRIT: exception ‘kCoreException’ with message ‘Dynamic enum not found [transcript.Transcript] for type [assetType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace: #0 /opt/kaltura/app/plugins/content/transcript/TranscriptPlugin.php(88): kPluginableEnumsManager::apiToCore(‘assetType’, ‘transcript.Tran…’)
2016-06-07 14:00:31 [0.000500] [663996134] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 14:00:31 [0.013797] [663996134] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
When I try to access one of the smaller thumbnails:
– #9 {main}
2016-06-07 15:29:29 [0.000733] [45.59.236.158] [1072939929] [319] [API] [kMrssManager::getEntryMrssXml] ERR: exception ‘Exception’ with message ‘Unable to add MRSS element for contributor [AttachmentPlugin] message [Dynamic enum not found [transcript.Transcript] for type [assetType]]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kMrssManager.php(571): KalturaLog::err(‘Unable to add M…’)
2016-06-07 15:29:29 [0.000680] [45.59.236.158] [1072939929] [342] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00020098686218262 seconds
2016-06-07 15:29:29 [0.000609] [45.59.236.158] [1072939929] [343] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [transcript.Transcript] for type [assetType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace: #0 /opt/kaltura/app/plugins/content/transcript/TranscriptPlugin.php(88): kPluginableEnumsManager::apiToCore(‘assetType’, ‘transcript.Tran…’)
#9 {main}
2016-06-07 15:29:29 [0.000724] [45.59.236.158] [1072939929] [344] [API] [kMrssManager::getEntryMrssXml] ERR: exception ‘Exception’ with message ‘Unable to add MRSS element for contributor [AttachmentPlugin] message [Dynamic enum not found [transcript.Transcript] for type [assetType]]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kMrssManager.php(571): KalturaLog::err(‘Unable to add M…’)
2016-06-07 15:29:30 [0.000748] [45.59.236.158] [1072939929] [425] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.0002589225769043 seconds
2016-06-07 15:29:30 [0.000673] [45.59.236.158] [1072939929] [426] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [transcript.Transcript] for type [assetType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace: #0 /opt/kaltura/app/plugins/content/transcript/TranscriptPlugin.php(88): kPluginableEnumsManager::apiToCore(‘assetType’, ‘transcript.Tran…’)
#9 {main}
2016-06-07 15:29:30 [0.000735] [45.59.236.158] [1072939929] [427] [API] [kMrssManager::getEntryMrssXml] ERR: exception ‘Exception’ with message ‘Unable to add MRSS element for contributor [AttachmentPlugin] message [Dynamic enum not found [transcript.Transcript] for type [assetType]]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kMrssManager.php(571): KalturaLog::err(‘Unable to add M…’)
2016-06-07 15:29:30 [0.000724] [45.59.236.158] [1072939929] [592] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00025582313537598 seconds
2016-06-07 15:29:30 [0.000659] [45.59.236.158] [1072939929] [593] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [transcript.Transcript] for type [assetType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace: #0 /opt/kaltura/app/plugins/content/transcript/TranscriptPlugin.php(88): kPluginableEnumsManager::apiToCore(‘assetType’, ‘transcript.Tran…’)
#9 {main}
2016-06-07 15:29:30 [0.000754] [45.59.236.158] [1072939929] [594] [API] [kMrssManager::getEntryMrssXml] ERR: exception ‘Exception’ with message ‘Unable to add MRSS element for contributor [AttachmentPlugin] message [Dynamic enum not found [transcript.Transcript] for type [assetType]]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/kMrssManager.php(571): KalturaLog::err(‘Unable to add M…’)
2016-06-07 15:30:01 [0.000441] [714234815] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 15:30:01 [0.008611] [714234815] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
Aha, seemed to have worked for some of the problems!
So I have more issues trying to create a generic syndication feed through the API. When I make an add call in the testme console, and try to hit a feedUrl, it takes me to an empty white page /api_v3/testme/index.php
In the errors I keep seeing drop folders that point to a local file on my machine.
–
2016-06-07 17:47:20 [0.000424] [1807109551] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:47:20 [0.008455] [1807109551] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
2016-06-07 17:48:22 [0.000434] [1566629703] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:48:22 [0.007998] [1566629703] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
==> /opt/kaltura/log/kaltura_api_v3.log <==
2016-06-07 17:49:04 [0.100682] [45.59.236.158] [1566896137] [4] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The object type “KalturaBaseSyndicationFeed” is abstract, use one of the object implementations’ in /opt/kaltura/app/api_v3/lib/KalturaRequestDeserializer.php:281
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaRequestDeserializer.php(181): KalturaRequestDeserializer->buildObject(Object(KalturaTypeReflector), Array, ‘syndicationFeed’)
2016-06-07 17:49:23 [0.000452] [1844775162] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:49:23 [0.002736] [1844775162] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
2016-06-07 17:50:24 [0.000487] [1762834557] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:50:24 [0.002754] [1762834557] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
2016-06-07 17:51:25 [0.000444] [1593459514] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:51:25 [0.002743] [1593459514] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
2016-06-07 17:52:26 [0.000419] [561953876] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:52:26 [0.002787] [561953876] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
]
2016-06-07 17:52:45 [0.006003] [45.59.236.158] [982710659] [4] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The object type “KalturaBaseSyndicationFeed” is abstract, use one of the object implementations’ in /opt/kaltura/app/api_v3/lib/KalturaRequestDeserializer.php:281
Stack trace: #0 /opt/kaltura/app/api_v3/lib/KalturaRequestDeserializer.php(181): KalturaRequestDeserializer->buildObject(Object(KalturaTypeReflector), Array, ‘syndicationFeed’)
==> /opt/kaltura/log/kaltura_api_v3.log <==
2016-06-07 17:53:11 [0.000000] [45.59.236.158] [620391692] [1] [API] [KExternalErrors::dieError] ERR: exception ‘Exception’ with message ‘exiting on error 35 - The given feed id is illegal, feedId not supplied’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(128): KalturaLog::err(‘exiting on erro…’)
2016-06-07 17:53:27 [0.005751] [403320956] [47] [BATCH] [kFileTransferMgr->fileExists] DEBUG: File does not exist
2016-06-07 17:53:27 [0.002813] [403320956] [48] [BATCH] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [2] - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder]’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(115): KalturaLog::err(‘Error with fold…’)
Syndication feed - the relevant error is:
"2016-06-07 17:49:04 [0.100682] [45.59.236.158] [1566896137] [4] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The object type “KalturaBaseSyndicationFeed” is abstract, use one of the object implementations’ in /opt/kaltura/app/api_v3/lib/KalturaRequestDeserializer.php:281"
I’ll look into it locally tomorrow before asking you to try stuff.
Dropfolder - Drop folder path not valid [\Users\castl_000\Dropbox\Drop Folder
which is indeed true. This is a Linux system so the path will never have ‘’. Linux uses ‘/’ as path separator.
Do you mean you want to mount a local directory from your own machine onto the server hosting Kaltura? if so, you can, of course but, you need to mount it and set permissions so that the ‘kaltura’ user has access to it.
I was testing it out but I’m not even sure where the config lives anymore…it’s in all my publishers orgs. Maybe it’s by default using a drop folder config
go to preview& edit and request your media file to play
in my case the query was
SELECT
count(*)
FROM delivery_profile
WHERE
delivery_profile.PARTNER_ID IN (‘0’, ‘104’)
AND delivery_profile.TYPE NOT IN (
‘10135’,
‘10136’,
‘1013’,
‘1002’,
‘1001’,
‘1003’,
‘1005’,
‘1006’,
‘1007’,
‘1008’,
‘1009’,
‘1010’
)
AND delivery_profile. STATUS IN (‘0’, ‘3’)
AND delivery_profile.STREAMER_TYPE = ‘http’
so I go to my delivery profile and change in “Delivery Info”
Delivery profile Type*: http
Streamer Type*: http
then the profile appears in the remote storage configuration, i hope this can help