Hi,
When I login to the KMC and hit the Content tab, I get a message “Search engine query failed”, after hitting OK and KMC’s Refresh link a random number of times the message dissapear and eventually loads my video list, but at some point it goes over again.
Sanity Check failed when creating partner (Partner creation failed. I will skip all tests that require it.)
As of
I run
/usr/bin/php /opt/kaltura/bin/create_partner.php $secret_key someemail@example.com param @service_url
Return: new_partner_id
Following a piece of information I captured from each cycle. Any hints?
indent preformatted text by 4 spaces
2017-08-12 19:17:28 [0.000120] [137.82.232.55] [1643084131] [70] [API] [KalturaPDO->exec] DEBUG: Sql took - 3.9100646972656E-5 seconds
2017-08-12 19:17:28 [0.000116] [137.82.232.55] [1643084131] [71] [API] [kSphinxSearchManager->execSphinx] ERR: exception 'Exception' with message 'No database selected' in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/sphinx_search/lib/kSphinxSearchManager.php(446): KalturaLog::err('No database sel...')
--
2017-08-12 19:17:59 [0.000119] [137.82.232.55] [1224585153] [73] [API] [KalturaPDO->queryAndFetchAll] DEBUG: Sql took - 4.1007995605469E-5 seconds
2017-08-12 19:17:59 [0.000225] [137.82.232.55] [1224585153] [74] [API] [kCoreException->__construct] ERR: exception 'kCoreException' with message 'Invalid sphinx query [SELECT str_entry_id FROM kaltura_entry WHERE partner_id = 100 AND moderation_status not in(1,3) AND media_type in(1,2,5,6,201) AND type in(1,2,7) AND entry_status in(-2,-1,0,1,2,4,7) AND display_in_search <> -1 AND MATCH('( @sphinx_match_optimizations P100ST-1 | P100ST-2 | P100ST0 | P100ST1 | P100ST2 | P100ST7 | P100ST4)') ORDER BY created_at DESC LIMIT 50 OPTION ranker=none, max_matches=50, comment='@KALTURA_COMMENT@']
SQLSTATE error code [3D000]
--
Driver error message [No database selected]' in /opt/kaltura/app/plugins/sphinx_search/lib/SphinxCriteria.php:173
Stack trace:
#0 /opt/kaltura/app/plugins/sphinx_search/lib/SphinxCriteria.php(594):
SphinxCriteria->executeSphinx('kaltura_entry', 'WHERE partner_i...', 'ORDER BY create...', 50, 50, true, '')
indent preformatted text by 4 spaces
Thanks
Riclaso