Hello, I am running Kaltura on a single server, CentOS 7, latest versions of both.
Initially the analytics were running OK, however after a few days they stopped updating.
I have checked other forum entries relating to Analytics but none seem to help with my situation.
The DB locks are at 0.
When manually running kaltura-run-dwh.sh, kaltlog gives out multiple of the following:
==> /opt/kaltura/log/kaltura_scripts.log <==
2020-07-16 10:03:14 [1399814226] [updateEntryPlaysViews.php] [global] ERR: Exception: Couldn’t find entry [0_5kbs4uw7] in /opt/kaltura/app/infra/log/KalturaLog.php:88
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/dwh/updateEntryPlaysViews.php(19): KalturaLog::err(‘Couldn’t find e…’)
2020-07-16 10:03:14 [KalturaStatement->execute] DEBUG: Sql took - 0.0006248950958252 seconds
2020-07-16 10:03:14 [global] ERR: Exception: Couldn’t find entry [0_72qiik00] in /opt/kaltura/app/infra/log/KalturaLog.php:88
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/dwh/updateEntryPlaysViews.php(19): KalturaLog::err(‘Couldn’t find e…’)
Same with dwh_plays_views_sync.sh
2020-07-16 10:08:09 [153274352] [updateEntryPlaysViews.php] [global] ERR: Exception: Couldn’t find entry [0_qjz96if7] in /opt/kaltura/app/infra/log/Kaltug.php:88
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/dwh/updateEntryPlaysViews.php(19): KalturaLog::err(‘Couldn’t find e…’)
#1 {main}
Is there a way to force Kaltura to update its index DB or do I have to drop the DWH DB and start from scratch? I have not done so yet as I tried this on another server and afterwards kaltura-run-dwh.sh could not run properly:
ERROR 1305 (42000) at line 1: PROCEDURE kalturadw.get_data_for_operational does not exist
ERROR 1305 (42000) at line 1: PROCEDURE kalturadw.mark_operational_sync_as_done does not exist
kaltura-dwh-config.sh was run after kaltura-drop-dwh.sh
I also have another Analytics problem that I could not find on the forums, the GEO Location feature does not work properly, when I click on a specific country, which has data in it, I receive: ERROR Internal server error occurred, kaltlog shows:
2020-07-16 10:24:09 [0.000136] [89.136.235.146] [260354244] [25] [API] [myReportsMgr::executeQueryByType] NOTICE: Cannot find mapping for []
2020-07-16 10:24:09 [0.001010] [89.136.235.146] [260354244] [26] [API] [KalturaFrontController->getExceptionObject] CRIT: Exception: Cannot find mapping for [] in /opt/kaltura/app/alpha/apps/kaltura/lib/reports/myReportsSqlFileMgr.class.php:664
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/reports/myReportsSqlFileMgr.class.php(32): myReportsSqlFileMgr::getFileNameMappingConfig(NULL, ‘count’, ‘_no_text’, ‘’, false, ‘’)
2020-07-16 10:24:09 [0.000161] [89.136.235.146] [260354244] [34] [API] [myReportsMgr::executeQueryByType] NOTICE: Cannot find mapping for []
2020-07-16 10:24:09 [0.000236] [89.136.235.146] [260354244] [35] [API] [KalturaFrontController->getExceptionObject] CRIT: Exception: Cannot find mapping for [] in /opt/kaltura/app/alpha/apps/kaltura/lib/reports/myReportsSqlFileMgr.class.php:664
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/reports/myReportsSqlFileMgr.class.php(32): myReportsSqlFileMgr::getFileNameMappingConfig(NULL, ‘total’, ‘_no_text’, ‘’, false, ‘’)