Hello, I’ve been trying to install the latest version of Kaltura CE for some days now without any luck, I’ve tried many different setup but keep failing, I’ve decided to ask for help and see if somebody had the same experience as me and could help me out in resolving them.
I’ve tried the different installation setup but none have worked out of the box, the only one that was close to working is the installation on a redhat server, which is the one i decided to install it on.
I’m running a RedHat 7.7 VM in microsoft azure (No application gateway)
I followed the steps from: https://github.com/kaltura/platform-install-packages/blob/Propus-16.8.0/doc/install-kaltura-redhat-based.md
First problem: The kaltura repo seems to be broken for redhat 7.7, when you install the repo, the baseurl in the kaltura.repo file contains a variable for your OS version, therefore the URL becomes: baseurl = http://installrepo.kaltura.org/releases/latest/7.7/RPMS/$basearch/ but that dosent exist, i;ve got it fixed by manualy updating the RedHat version to 7 instead of 7.7, that seems to work. Not sure if this an explicit problem for RedHat 7.7 or any other version, but just leaving it in here if others have the same problem.
Once kaltura has been fully downloaded and the dependencies installed i started the kaltura-config-all.sh script
SQL service on the same VM: mariadb-server
no mail services
SSL certs from let’s encrypt
I’ve managed to get it to work without SSL but the main problem is with the SSL installation which does not cooperate. Now enough with the explanation, here’s with the real problem.
The first error i’m getting in the kaltura-config-all.sh script is the following:
Stopping kaltura-elastic-populate (via systemctl): [ OK ] Starting kaltura-elastic-populate (via systemctl): Job for kaltura-elastic-populate.service failed because the control process exited with error code. See "systemctl status kaltura-e lastic-populate.service" and "journalctl -xe" for details. [FAILED] Redirecting to /bin/systemctl reload httpd.service
Second error is this one:
Generating UI confs.. PHP Fatal error: Uncaught exception 'KalturaClientException' with message 'Peer's Certificate issuer is not recognized.' in /data/kaltura/apps/clientlibs/php5/KalturaClientBase.php:3 62 Stack trace: #0 /data/kaltura/apps/clientlibs/php5/KalturaClient.php(7168): KalturaClientBase->doQueue() #1 /data/kaltura/html5/html5lib/playkitSources/kaltura-ovp-player/create_playkit_uiconf.php(17): KalturaSessionService->start('e248c2683977ccb...', NULL, 2, '0') #2 {main} thrown in /data/kaltura/apps/clientlibs/php5/KalturaClientBase.php on line 362 kaltura-db-config.sh FAILED with: 255 on line 240 Archving logs to /opt/kaltura/log/log_02_10_20_11_29.tar.gz... ERROR: we failed on something else..
Here is my ans file:
Checking MySQL version.. Ver 5.5.64-MariaDB found compatible TIME_ZONE="America/Toronto" KALTURA_FULL_VIRTUAL_HOST_NAME="kaltura-dev.c******.azure.com" KALTURA_VIRTUAL_HOST_NAME="kaltura-dev.c******.azure.com" DB1_HOST="127.0.0.1" DB1_PORT="3306" DB1_PASS="******" DB1_NAME="kaltura" DB1_USER="kaltura" SERVICE_URL="https://kaltura-dev.c******.azure.com" SPHINX_SERVER1="127.0.0.1" SPHINX_SERVER2="127.0.0.1" DWH_HOST="127.0.0.1" DWH_PORT="3306" ADMIN_CONSOLE_ADMIN_MAIL="******" ADMIN_CONSOLE_PASSWORD="******" CDN_HOST="kaltura-dev.c******.azure.com" KALTURA_VIRTUAL_HOST_PORT="80" SUPER_USER="******" SUPER_USER_PASSWD="******" ENVIRONMENT_NAME="Kaltura Video Platform" DWH_PASS="******" PROTOCOL="http" PRIMARY_MEDIA_SERVER_HOST="kaltura-dev.c******.azure.com" USER_CONSENT="0" VOD_PACKAGER_HOST="kaltura-dev.c******.azure.com" VOD_PACKAGER_PORT="88" IP_RANGE="0.0.0.0-255.255.255.255" WWW_HOST="kaltura-dev.c******.azure.com" IS_SSL="Y" CRT_FILE="/etc/letsencrypt/live/kaltura-dev.c******.azure.com/cert.pem" KEY_FILE="/etc/letsencrypt/live/kaltura-dev.c******.azure.com/privkey.pem" CA_FILE="NO_CA"
(You might see kaltura being installed in /data instead of /opt, i’m using a symbolic link, just so you know)
Looking at the errors, the second one seems interesting, is let’s encrypt supported?
My guess is that it is, so out of curiosity, i’ve tried removing the SSL verification from the following 2 files:
admin.ini: settings.clientConfig.verifySSL = false
and
batch.ini: clientConfig.verifySSL = 0
and ran kaltura-front-config.sh, got the same error
Here are my httpd settings:
-
No modification in /etc/httpd/conf/httpd.conf
-
I’ve modified the SSLCertificateKeyFile and SSLCertificateFile from /etc/httpd/conf.d/ssl.conf to match my let’s encrypt files
-
/etc/httpd/conf.d/zzzkaltura.ssl.conf contains both SSLCertificateKeyFile and SSLCertificateFile from let’s encrypt and placeholder for ##SSLCACertificateFile @SSL_CERTIFICATE_CHAIN_FILE@
-
/etc/hosts contains an entry for my URL to redirect to 127.0.0.1
Now for some extra stuff:
-
httpd seems to be running at this time on port 443, going to my URL i’m getting the default Red Hat Enterprise Linux Test Page
-
Azure networking interface has the ports : 80, 443, 88, 1935, 1936, 9312 open (Based on ports that needs to be open from the install documentation)
-
I’ve tried with a regular server certificate instead of let’s encrypt and i got a different error, that the certificate was invalid, i did not post this error since i want a valid certificate, not a default server one
-
I’ve tried SSL offloading to an application gateway but got different errors (i can go back to it if you suggest it as an easier approach)
That’s a really long post, but i honestly can’t find anything else i can do, i’ve tried many combination with the ans file for the service URL and the base url without any luck.
I’m open for suggestion, or let me know if you need more info about the setup.
Thank you!!