Kaltura File not processing after moving to new db and storage

we have changed our database from older kaltura server to new kaltura server with all the files
now i am facing issue when i just import the file using api

i get these errors from kaltlog

2018-01-06 19:00:33 [0.000403] [] [1534260320] [25] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00025296211242676 seconds
2018-01-06 19:00:33 [0.000646] [] [1534260320] [26] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The usage of feature [contentDistribution] is forbidden’ in /opt/kaltura/app/plugins/content_distribution/services/EntryDistributionService.php:17
Stack trace:
#0 /opt/kaltura/app/api_v3/lib/reflection/KalturaActionReflector.php(255): EntryDistributionService->initService(‘contentdistribu…’, ‘entryDistributi…’, ‘list’)

2018-01-06 19:00:34 [0.000163] [] [201400468] [41] [PS2] [kFileSyncUtils::getReadyFileSyncForKey] NOTICE: FileSync was not found
2018-01-06 19:00:34 [0.000470] [] [201400468] [42] [PS2] [KExternalErrors::dieError] ERR: exception ‘Exception’ with message ‘exiting on error 11 - processing capture thumbnail’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/KExternalErrors.class.php(134): KalturaLog::err(‘exiting on erro…’)

Hi @faheem_mohammad_zike,

The log snippet you pasted is not enough to determine where the problem is.
Please go over the following logs and find the root cause:

My guess is it has to do with file permissions and that when you copied the data over, you did not preserve the original file permissions, thus the Apache user [www-data in Debian/Ubuntu, apache in RHEL/CentOS] and the ‘kaltura’ user cannot write and read from various directories, causing processes to fail.

Hi Jess,

Thanks for the response it was permission issue in opt/kaltura/web/tmp.

Hi @faheem_mohammad_zike,

Glad to hear it is resolved. Generally speaking, when copying files from one volume to another, always make sure to preserve the original permissions.

Happy videoing,