Kaltura Update to 11.17 - Fails - Can No Longer Upload

I tried to upgrade from kaltura 11.13 to 11.17 this morning following the instructions on the guide (https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md). The original install of 11.13 was performed on centos 7.

After updating, file uploading no longer seems to work and throws some permission errors. I think analytics might be broken too. Both tests failed while running the sanity check. Many things do pass: I’m able to login and view videos. All the core services appear to be running according to kaltura-monit.

Here’s what kaltlog produces after trying to upload a file. I’m guessing the permission error is probably an indication of the root cause, but it’s not one that I’ve run across before. Any help would be much appreciated!

==> /opt/kaltura/log/batch/dbcleanup-0-2016-06-29.err.log <==
PHP Warning: file_put_contents(/opt/kaltura/app/cache//batch/controls/KAsyncDbCleanup.0.run): failed to open stream: Permission denied in /opt/kaltura/app/batch/scheduler/KScheduleHelperManager.class.php on line 199


==> /opt/kaltura/log/batch/import-0-2016-06-29.err.log <==
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220


==> /opt/kaltura/log/batch/import-1-2016-06-29.err.log <==
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220


==> /opt/kaltura/log/batch/import-2-2016-06-29.err.log <==
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220


==> /opt/kaltura/log/batch/import-3-2016-06-29.err.log <==
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220
PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /opt/kaltura/app/infra/general/KCurlWrapper.class.php on line 220


==> /opt/kaltura/log/batch/jobsuspender-0-2016-06-29.err.log <==
PHP Warning: file_put_contents(/opt/kaltura/app/cache//batch/controls/KAsyncJobSuspender.0.run): failed to open stream: Permission denied in /opt/kaltura/app/batch/scheduler/KScheduleHelperManager.class.php on line 199


==> /opt/kaltura/log/batch/partnerloadcleanup-0-2016-06-29.err.log <==
PHP Warning: file_put_contents(/opt/kaltura/app/cache//batch/controls/KAsyncPartnerLoadCleanup.0.run): failed to open stream: Permission denied in /opt/kaltura/app/batch/scheduler/KScheduleHelperManager.class.php on line 199


==> /opt/kaltura/log/batch/validatelivemediaservers-0-2016-06-29.err.log <==
PHP Warning: file_put_contents(/opt/kaltura/app/cache//batch/controls/KAsyncValidateLiveMediaServers.0.run): failed to open stream: Permission denied in /opt/kaltura/app/batch/scheduler/KScheduleHelperManager.class.php on line 199


2016-06-29 09:11:44 [0.000462] [127.0.0.1] [1637541082] [37] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00032401084899902 seconds
2016-06-29 09:11:44 [0.000267] [127.0.0.1] [1637541082] [38] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

#12 {main}
2016-06-29 09:11:44 [0.000151] [127.0.0.1] [1637541082] [39] [API] [kEventsManager::raiseEvent] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

2016-06-29 09:11:44 [0.000440] [127.0.0.1] [1342052400] [26] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.0003049373626709 seconds
2016-06-29 09:11:44 [0.000243] [127.0.0.1] [1342052400] [27] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

#12 {main}
2016-06-29 09:11:44 [0.000150] [127.0.0.1] [1342052400] [28] [API] [kEventsManager::raiseEvent] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

2016-06-29 09:11:44 [0.000475] [127.0.0.1] [1734953613] [37] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.0003349781036377 seconds
2016-06-29 09:11:44 [0.000284] [127.0.0.1] [1734953613] [38] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

#12 {main}
2016-06-29 09:11:44 [0.000170] [127.0.0.1] [1734953613] [39] [API] [kEventsManager::raiseEvent] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

2016-06-29 09:11:44 [0.000458] [127.0.0.1] [75534386] [26] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00030684471130371 seconds
2016-06-29 09:11:44 [0.000251] [127.0.0.1] [75534386] [27] [API] [kCoreException->__construct] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

#12 {main}
2016-06-29 09:11:44 [0.000156] [127.0.0.1] [75534386] [28] [API] [kEventsManager::raiseEvent] ERR: exception ‘kCoreException’ with message ‘Dynamic enum not found [scheduleBulkUpload.SCHEDULE_EVENT] for type [BulkUploadObjectType]’ in /opt/kaltura/app/alpha/lib/kPluginableEnumsManager.php:167
Stack trace:
#0 /opt/kaltura/app/plugins/schedule/bulk_upload/BulkUploadSchedulePlugin.php(237): kPluginableEnumsManager::apiToCore(‘BulkUploadObjec…’, ‘scheduleBulkUpl…’)

I’m having the same issue here. Did you manage to solve this?

I ended up upgrading later to 12.0 instead. I ran into similar issues, but jess gave me a hand in this thread: Updating 11.13 to 12.0 Help

I seem to recall that there were a few steps around re-generating the cache, as well as some running a few update scripts manually.

For the benefit of other people hitting this post, resolved here: