In your browser, open the dev tools and look at the ‘Network’ and ’ Console’ tabs when making the requests.
In the server’s shell:
# source /etc/profile.d/kaltura-base.sh
# kaltlog
–
2015-11-19 15:23:01 [0.000180] [127.0.0.1] [148418789] [51] [API] [SphinxCriteria->applyFilters] DEBUG: Add sort field[entry.CREATED_AT] copy from [entry.CREATED_AT ASC]
2015-11-19 15:23:01 [0.001197] [127.0.0.1] [148418789] [52] [API] [DbManager::connectFallbackLogic] ERR: exception ‘Exception’ with message ‘failed to connect to sphinx2’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/db/DbManager.php(279): KalturaLog::err(‘failed to conne…’)
2015-11-19 15:23:32 [0.003976] [127.0.0.1] [2128877148] [6] [API] [kPermissionManager::getFromCache] DEBUG: Found a cache value for key [role_2_partner_-1_internal_1] map hash [a60f4b55e6f56a455b56e246e8161897] in layer [apcSerialized]
2015-11-19 15:23:32 [0.001669] [127.0.0.1] [1668636055] [52] [API] [DbManager::connectFallbackLogic] ERR: exception ‘Exception’ with message ‘failed to connect to sphinx2’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/db/DbManager.php(279): KalturaLog::err(‘failed to conne…’)
exception ‘Exception’ with message ‘failed to connect to sphinx2’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Can be solved by editing /opt/kaltura/app/configurations/db.ini, setting
sphinx2.connection.dsn = "mysql:host=127.0.0.1;port=9312;"
but that is not what is causing your issue.
What do you see in the ‘console’ and ‘network’ tabs? also, look at /opt/kaltura/log/kaltura_api_v3.log checking for ‘ERR:’.
Checking MySQL version…
Ver 5.5.44-MariaDB found compatible
CREATE USER kaltura;
CREATE USER etl;
CREATE DATABASE kaltura;
CREATE DATABASE kaltura_sphinx_log;
CREATE DATABASE kalturadw;
CREATE DATABASE kalturadw_ds;
CREATE DATABASE kalturadw_bisources;
CREATE DATABASE kalturalog;
Checking connectivity to needed daemons…
Connectivity test passed:)
ERROR: Couldn’t make an API request to https://gmvtube.gmv.com/api_v3/index.php?service=system&action=ping.
Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again.
Do you wish to remove the Kaltura DBs? [n/Y]
Hit ‘n’ to keep it for debugging purposes.
So, if I install using HTTPS then kaltura shares pages using http and https and if I install using HTTP, then kaltura installation process invoques to https.
I´ve install a fresh kaltura (from the begining) using HTTP with success result. I´ve pass the kaltura-sanity.sh program with all the tests result:PASSED.
But still having the same problem (blank screen after login).
Now the browser does not say problems between http and https contents but it indicates probles with functions.js:
I suspect you are trying to login to KMC using the admin console credentials. You should go to Admin Console and create a partner and use it to login to KMC.
I can confirm that the same happens for me. After 11.1 upgrade content is empty. Console in FireFox show no sign of error. The kaltlog is filled with errors though, as usual. Video is still available and plays on pages with code previously pasted.
I am getting these errors:
root@video:~# source /etc/profile.d/kaltura-base.sh
root@video:~# kaltlog
[Tue Jun 28 22:59:06.409595 2016] [authz_core:error] [pid 4645] [client 109.70.113.100:50861] AH01630: client denied by server configuration: /opt/kaltura/app/kmc, referer: http://video.quadcom.ch/index.php/kmc/kmc4
[Tue Jun 28 23:22:05.584244 2016] [:error] [pid 7103] [client 109.70.113.54:50733] PHP Fatal error: Call to undefined method BatchJob::setDeletedAt() in /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kJobsManager.php on line 77
==> /opt/kaltura/log/batch/dbcleanup-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
–
==> /opt/kaltura/log/batch/dropfolderwatcher-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
–
==> /opt/kaltura/log/batch/jobsuspender-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
–
==> /opt/kaltura/log/batch/kschedulehelper-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
–
==> /opt/kaltura/log/batch/partnerloadcleanup-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
–
==> /opt/kaltura/log/batch/synchronizedistribution-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
–
==> /opt/kaltura/log/batch/validatelivemediaservers-0-2016-06-28.err.log <==
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
PHP Class map could not be loaded from path [/opt/kaltura/app/cache//batch/classMap.cache] file permissions [0600]
In addition to what @aquileasfx1 said, which is very true, it seems your main issue now is permissions on the /opt/kaltura/app/cache dir:
PHP Warning: file_get_contents(/opt/kaltura/app/cache//batch/classMap.cache): failed to open stream: Permission denied in /opt/kaltura/app/infra/KAutoloader.php on line 415
The directory should be owned by kaltura, with group apache [in the case of RPM based systems] or www-data, in the case of deb based systems. It should be set to 775. So, on CentOS for instance, it should be:
drwxrwxr-x 8 kaltura apache 4096 Jun 22 18:54 /opt/kaltura/app/cache/
and on say, Ubuntu:
drwxrwxr-x 8 kaltura www-data 4096 Jun 22 18:54 /opt/kaltura/app/cache/
I believe in your case, the permissions are wrong. Correct it.
You can also remove existing cached files with:
# find /opt/kaltura/app/cache/ -type f -exec rm {} ;