i am experimenting with kaltura…
I did succesfully manage to get an single server installation up and running using a docker-compose file… so far so good. and i am stunned and excited to have uploaded some videos and found generally everything up and running well (few exceptions)…
The few exceptions made me want to update the installation to kaltura 16
but i found that the kaltura/server build / tag setup stopped for some reason at 14.12.0.
In what way, would you advice may I contribute to the release of more current docker image?
As i struggled with the kaltura/server image and the mysql setup… for future researchers the files i came up with:
docker-compose.yml (CAUTION: no persistance… besides mysql)
i have some follow up observations (leaving them here, as it relates to docker and possibly helps others)
I managed to build a updated docker image (which is untested for now) with this DockerFile
the problematic sections have been lines 36 to 43
i am not sure if one is aware that the packages ‘kaltura-sshpass’ and ‘kaltura-pentaho’ are not available in the noarch repo (RPM based repos are not my usual landscape to navigate)
so basically the installation failed because of those missing packages… which is odd, since the install instructions do not mention those but are referencing the noarch repo
i just wanted to share my progress …
i did manage to have a running all-in-one docker based on centos8 using a systemd base image (which is 3rd party …see dockerfile)
A word of caution… my experiment is just for research purpose and i am leaning to the ‘cluster’ way of installing and running kaltura…
however the current roadblock ist kaltura-shpinx … this is what i am getting after running the install script.
MY guess ist that kaltura-sphinx needs a local MYSQL (or mariadb, or percona etc) to connect to…
but i am not sure… whith the official kaltura/server container and the mentioned docker-compose.yml the setup ran fine (although i did not check the sphinx functionality specifically)
Checking connectivity to needed daemons...
Connectivity test passed:)
ERROR: Couldn't connect to Sphinx with mysql -h127.0.0.1 -P9312.
Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again.
What version of the mysql-client do you have? You need one comptible with 5.5. Same is true for the mysql-server. This is why the doc recommends Percona. RHEL/CentOS 8 has a newer MariaDB version in its official repos, one that is sadly incompatible with the Kaltura Server. Please see https://github.com/kaltura/platform-install-packages/issues/638
its huge (1.47 GB compressed / Naos 14.12.0 is 1.1GB)
Dockerfile could be optimized (e.g. remove dnf)
systemd and required volume mounts (requires linux based host)
should contain ‘don’t use in production’
pros:
after filling out install script answers… fully working
as far as i can tell… analytics feature looks amazing!
fast to setup recent kaltura CE serving
presumed docker knowledge
Dockerfile => install recipe for CentOS7
at least a handy suggestion, the Dockerfile is based on the official install instructions
Base for evaluation / demos / testing (e.g. make it php7.4 by ENV VAR ?!)
todo:
testing behind a reverse-proxy (easy SSL e.g. traefik)
properly install ‘mysql-server’
The Dockerfile installs mysql-community-server but install.sh complains anyway
to be a propper ‘drop-in’ update of kaltura/server it should work ‘all-in-one’ as before
validate the assumption of it requiring linux hosts
persistence (my initial tryouts didn’t succeed)
remove dnf (use rpm command)
make a deb based version
make a docker-compose based version of the cluster install as the repo server-cluster-container-install seems stale but my feeling is docker-compose based install would clarify a lot of ‘first contact’ questionmarks