How do I set up a delivery profile and or CDN/Cloudfront?

#14

Hi,

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.

#15

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…’)

#16

Please try:
# php /opt/kaltura/app/deployment/updates/update.php -i -d >> /opt/kaltura/log/kalt_up.log 2>&1
# php /opt/kaltura/app/deployment/updates/update.php -i -s >> /opt/kaltura/log/kalt_up.log 2>&1
# php /opt/kaltura/app/deployment/base/scripts/installPlugins.php >> /opt/kaltura/log/kalt_up.log 2>&1

#17

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:47:55 [0.004110] [45.59.236.158] [1469110420] [4] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘Missing parameter “secret”’ in /opt/kaltura/app/api_v3/lib/KalturaRequestDeserializer.php:191
Stack trace:
#0 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(82): KalturaRequestDeserializer->buildActionArguments(Array)

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…’)

#18

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.

#19

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

#20

Hmm, no, orgs with no Drop Folder Profiles are still generating those errors. Strange.

#21

Here is the errors that show up when I try to upload content, now that I’ve (tried) to set up remote storage with s3/cloudfront.

2016-06-07 19:37:32 [0.000788] [45.59.236.158] [1119043496] [53] [PS2] [KalturaStatement->execute] DEBUG: Sql took - 0.00031495094299316 seconds
2016-06-07 19:37:32 [0.000626] [45.59.236.158] [1119043496] [54] [PS2] [KExternalErrors::dieError] ERR: exception ‘Exception’ with message ‘exiting on error 6 - requested flavor was not found’ 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…’)

        [tmp_name] => /opt/kaltura/web/tmp/phpuONJEm
        [error] => 0
        [size] => 28059144


[tmp_name] => /opt/kaltura/web/tmp/phpuONJEm
[error] => 0
[size] => 28059144

#22

Let’s start by checking this: did the entry convert and is in ready state?

#23

For the most part, yes, I have one asset stuck in converting but that was several settings configurations ago. The most recent few are “Ready”

#24

OK, that’s good.
what does:
mysql> select * from delivery_profiles\G
return?

be sure to mask passwds and tokens when pasting here, please.

#25

Ugh, having issues with my pass. Should it be the same pass as I set when I ran /opt/kaltura/bin/kaltura-config-all.sh ?

#26

You can use:
# mysql -u$DB1_USER -p$DB1_PASS -h$DB1_HOST kaltura

all these are ENV vars that should be preset for you after a successful install.

#27

mysql> select * from delivery_profiles\G
ERROR 1146 (42S02): Table ‘kaltura.delivery_profiles’ doesn’t exist
mysql>

#28

Seems strange though, considering this:

#29

It was a typo on my end, it is delivery_profile, not delivery_profileS.

mysql> select * from delivery_profile\G

And please remember to mask passwds/tokens.

#30

mysql> select * from delivery_profile\G
*************************** 1. row ***************************
id: 1
partner_id: 0
created_at: 2016-06-03 17:44:38
updated_at: 2016-06-03 17:44:38
name: Default HLS Live Delivery Profile
type: 1001
system_name: Default_HLS_Live_Delivery_Profile
description: Default HLS Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: applehttp
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 2. row ***************************
id: 2
partner_id: 0
created_at: 2016-06-03 17:44:38
updated_at: 2016-06-03 17:44:38
name: Default HLS Network Live Delivery Profile
type: 1001
system_name: Default_HLS_Network_Live_Delivery_Profile
description: Default HLS Nework Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: hls
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 3. row ***************************
id: 3
partner_id: 0
created_at: 2016-06-03 17:44:38
updated_at: 2016-06-03 17:44:38
name: Default HD Network Live Delivery Profile
type: 1002
system_name: Default_HD_Network_Live_Delivery_Profile
description: Default HD Network Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: hdnetworkmanifest
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 4. row ***************************
id: 4
partner_id: 0
created_at: 2016-06-03 17:44:38
updated_at: 2016-06-03 17:44:38
name: Default HDS Live Delivery Profile
type: 1002
system_name: Default_HDS_Live_Delivery_Profile
description: Default HDS Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: hds
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 5. row ***************************
id: 5
partner_id: 0
created_at: 2016-06-03 17:44:39
updated_at: 2016-06-03 17:44:39
name: Default RTMP Live Delivery Profile
type: 1005
system_name: Default_RTMP_Live_Delivery_Profile
description: Default RTMP Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: rtmp
is_default: 1
parent_id: 0
custom_data: a:1:{s:12:“enforceRtmpe”;s:1:“0”;}
priority: 0
*************************** 6. row ***************************
id: 6
partner_id: 0
created_at: 2016-06-03 17:44:39
updated_at: 2016-06-03 17:44:39
name: Default HTTP Delivery Profile
type: 14
system_name: Default HTTP Delivery Profile
description: Default HTTP Delivery Profile
url: http://dev-freq-cms.freq.us
host_name: dev-freq-cms.freq.us
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: http
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 7. row ***************************
id: 301
partner_id: 0
created_at: 2016-06-03 17:44:40
updated_at: 2016-06-03 17:44:40
name: Default MPEG-DASH Live Delivery Profile
type: 1003
system_name: Default MPEG-DASH Live Delivery Profile
description: Default MPEG-DASH Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: mpegdash
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 8. row ***************************
id: 302
partner_id: 0
created_at: 2016-06-03 17:44:42
updated_at: 2016-06-03 17:44:42
name: Default HLS To Multicast Live Delivery Profile
type: 1006
system_name: Default_HLS_To_Multicast_Live_Delivery_Profile
description: Default HLS To Multicast Live Delivery Profile
url: NULL
host_name: NULL
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: applehttp_to_mc
is_default: 1
parent_id: 0
custom_data: NULL
priority: 0
*************************** 9. row ***************************
id: 303
partner_id: 109
created_at: 2016-06-06 21:07:56
updated_at: 2016-06-06 21:07:56
name: cloudfront
type: 4
system_name: NULL
description: NULL
url: http://dn94npvun9pom.cloudfront.net
host_name: dn94npvun9pom.cloudfront.net
recognizer: NULL
tokenizer: NULL
status: 2
media_protocols: NULL
streamer_type: http
is_default: 0
parent_id: 0
custom_data: NULL
priority: 0
*************************** 10. row ***************************
id: 304
partner_id: 109
created_at: 2016-06-06 21:16:31
updated_at: 2016-06-06 21:16:31
name: cloudfront
type: 4
system_name: NULL
description: NULL
url: http://dn94npvun9pom.cloudfront.net
host_name: dn94npvun9pom.cloudfront.net
recognizer: NULL
tokenizer: NULL
status: 2
media_protocols: NULL
streamer_type: applehttp
is_default: 0
parent_id: 0
custom_data: NULL
priority: 0
*************************** 11. row ***************************
id: 305
partner_id: 110
created_at: 2016-06-07 18:22:59
updated_at: 2016-06-07 20:59:46
name: test
type: 4
system_name: NULL
description: NULL
url: http://dn94npvun9pom.cloudfront.net
host_name: dn94npvun9pom.cloudfront.net
recognizer: NULL
tokenizer: NULL
status: 0
media_protocols: NULL
streamer_type: applehttp
is_default: 0
parent_id: 0
custom_data: NULL
priority: 0
11 rows in set (0.00 sec)

Player not working fresh installation
#31

So I see a few profiles at the end that are from my cloudfront, but I don’t see a way to use those profiles based on the remote storage page?

How can I use them? Can I force it through an API request perhaps update my remote storage profiles and add the valid ids to it?

EDIT: Hmm…maybe not:
The access to service [storageProfile->list] is forbidden

When I try with an admin secret.

EDIT: I eventually got it working…the profile id eventually showed up, I’m not sure why it was missing though.

#32

i find how to make custom profile appears

  1. tail kaltura_api_v3.log -f | grep -i “delivery_profile”

  2. go to preview& edit and request your media file to play

  3. 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’

  4. 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

#33

I have configure sftp for drop folder but getting this error any one please if tell me whats the problem

==> /opt/kaltura/log/kaltura_apache_errors.log <==
[Thu Aug 02 18:12:21.222003 2018] [:error] [pid 29028] [client 173.249.21.27:56838] PHP Fatal error: Uncaught Error: Call to a member function lock() on null in /opt/kaltura/app/plugins/drop_folder/lib/kDropFolderAllocator.php:105\nStack trace:\n#0 /opt/kaltura/app/plugins/drop_folder/lib/kDropFolderAllocator.php(128): kDropFolderAllocator::lockDropFolder(8, 30000)\n#1 /opt/kaltura/app/plugins/drop_folder/lib/kDropFolderAllocator.php(73): kDropFolderAllocator::allocateDropFolderFromList(Object(kMemcacheCacheWrapper), Array, ‘drop_folder_lis…’, 30000)\n#2 /opt/kaltura/app/plugins/drop_folder/services/DropFolderService.php(243): kDropFolderAllocator::getDropFolder(’’, 30000)\n#3 /opt/kaltura/app/api_v3/lib/reflection/KalturaActionReflector.php(233): DropFolderService->getExclusiveDropFolderAction(’’, 30000)\n#4 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(130): KalturaActionReflector->invoke(Array)\n#5 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(113): KalturaDispatcher->dispatch(‘dropfolder_drop…’, ‘getexclusivedro…’, Array)\n#6 /opt/kaltura/app/api_v3/web/index.php(31): KalturaFrontController- in /opt/kaltura/app/plugins/drop_folder/lib/kDropFolderAllocator.php on line 105