Trying to install Kaltura Docker locally with SSL. I am using the following answer file as a test, so credentials are ok to see =).
I am getting this error when installing
tarting httpd: [Thu Jun 28 00:13:46 2018] [warn] The Alias directive in /opt/kaltura/app/configurations/apache/conf.d/enabled.apps.conf at line 38 will probably never match because it overlaps an earlier Alias.
httpd: Could not reliably determine the server’s fully qualified domain name, using 172.17.0.2 for ServerName
Not sure if I am missing something in my answer file , doing this on a clean docker install. I add my host k.test.com in the docker container pointing to 127.0.0.1
You’re not doing anything wrong or at least, if you are, that warning is no indication of that:)
This block:
Alias /apps/kea "/opt/kaltura/apps/kea"
<Directory "/opt/kaltura/apps/kea">
DirectoryIndex index.php
Options -Indexes +FollowSymLinks +Includes
Order allow,deny
Allow from all
AllowOverride all
</Directory>
will never match because of the block right above it:
Alias /apps "/opt/kaltura/apps"
<Directory "/opt/kaltura/apps">
DirectoryIndex index.php
Options -Indexes +FollowSymLinks +Includes
AllowOverride None
Order allow,deny
Allow from all
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
It should be removed and I’ll let the person who introduced it into the configuration know. You can safely ignore the warning.
If you have encountered an issue, that’s not the cause. Please provide more details so that I may guide you further.
[Thu Jun 28 17:53:43 2018] [error] [client 172.17.0.1] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: https://k.test.com/admin_console/index
@jess , After fighting with docker I found a solution but now VOD is not working properly. Basically vod when loading the file it tried to open https://vodk.test.com:88 If I change the VOD_PACKAGER_PORT=“88”
to VOD_PACKAGER_PORT=“8443” is causes conflict with nginx_ssl=y and have to go in and change nginx.conf manually. Perhaps I need go manually change the delivery_profile in the setting before this works.
Any ideas?
Also the docker image has the wrong CA files, I fix this with running this
In regards to the Nginx config, if you want to work over SSL, run this SQL statement:
mysql> UPDATE kaltura.delivery_profile SET url = REPLACE(url, "$VOD_PACKAGER_HOST:$VOD_PACKAGER_PORT", "$VOD_PACKAGER_HOST:$VOD_PACKAGER_SSL_PORT") WHERE url LIKE '$VOD_PACKAGER_HOST:$VOD_PACKAGER_PORT/%'
Should get the job done. I recommend backing up the table before making changes to it.
Note that generally speaking, this Dockerfile is meant for development purposes only. On Production, you should deploy a cluster rather than an all in one instance and I’d also recommend using CentOS 7 as base, rather than 6.
We do not offer Dockerfiles for such a setup but it should be relatively easy for you to create your own based on the instructions here:
If you decide to do so and have questions, I’ll be happy to assist you and of course, we will welcome a pull request as well:)
Since CentOS/RHEL 7 make use of systemd and many of the packages in the official 7 repos no longer include tranditional POSIX init scripts, you will find it difficult to deploy an all in one CentOS 7 container but like I said, that sort of setup is not recommended for Production ENVs anyhow:)
Yes, I’m aware of it, thank you:)
However, that repo still requires work and also, uses centos:6 as the base image.
Like I said, it would be best to use centos:7 instead. Due to systemd, that would require some additional work.