Correct my configuration (config.ans)

Hi,

Since I had issues with a normal installation I decided to try a docker install. I’m STILL getting errors so I figure something is wrong with my answers/configuration. Can you take a look? Can Nginx hostname be same as for Kaltura?

(I’ve copied my letsencrypt cert-files into the container in the correct spot)

local TZ to be used by PHP code. Note that it MUST be the same as your DB TZ.

TIME_ZONE=“Europe/Stockholm”

Apache port

KALTURA_VIRTUAL_HOST_PORT=“443”
KALTURA_VIRTUAL_HOST_NAME=“video.omsorgsforlaget.se”

host and port

KALTURA_FULL_VIRTUAL_HOST_NAME="$KALTURA_VIRTUAL_HOST_NAME:$KALTURA_VIRTUAL_HOST_PORT"

operational DB name and user

DB1_NAME=“kaltura”
DB1_USER=“kaltura”
PROTOCOL=“https”
SERVICE_URL="$PROTOCOL://$KALTURA_FULL_VIRTUAL_HOST_NAME"
SPHINX_SERVER1=“127.0.0.1”
SPHINX_SERVER2=" "
SPHINX_DB_HOST=“127.0.0.1”
SPHINX_DB_PORT=“3306”

user name for the Kaltura Admin Console, MUST be in the form of an email

ADMIN_CONSOLE_ADMIN_MAIL=“kaltura@omsorgsforlaget.se”

passwd for the Kaltura Admin Console

ADMIN_CONSOLE_PASSWORD="*************"

for installs that have no remote CDN storage, use the same as $KALTURA_VIRTUAL_HOST_NAME

CDN_HOST=“video.omsorgsforlaget.se”

display name used when sending the ‘welcome’ mail.

ENVIRONMENT_NAME=“OF Kaltura”

what web I/F would you want to enable, options:

0 - All web interfaces

1 - Kaltura Management Console [KMC], Hosted Apps, HTML5 lib and ClipAp

2 - KAC - Kaltura Admin Console

CONFIG_CHOICE=“0”

are we working over SSL? needed since, if so, we perform cert validity checks

IS_SSL=“y”

hostname for Red5

RED5_HOST=“video.omsorgsforlaget.se”

allow the install scripts to send install data for analytics and support purposes:

1 - allow

0 - prevent

USER_CONSENT=1

SSL cert path

CRT_FILE=/etc/letsencrypt/live/video.omsorgsforlaget.se/fullchain.pem

SSL key path

KEY_FILE=/etc/letsencrypt/live/video.omsorgsforlaget.se/privkey.pem

if such exists enter path here, otherwise leave as is.

CHAIN_FILE=/etc/letsencrypt/live/video.omsorgsforlaget.se/chain.pem

Operational DB MySQL

DB1_HOST=“127.0.0.1”

MySQL PORT

DB1_PORT=“3306”

desired passwd, make it good.

DB1_PASS="**************"

analytics MySQL DB

DWH_HOST=“127.0.0.1”

analytics MySQL port

DWH_PORT=“3306”

analytics MySQL password

DWH_PASS="***************"

MySQL super user, this is only used for bootstrap, the app itself will not connect with it.

SUPER_USER=“root”
SUPER_USER_PASSWD="***********"

For nginx packager module

VOD_PACKAGER_HOST=“video.omsorgsforlaget.se”
VOD_PACKAGER_PORT=“8443”

whether or not to configure Nginx over SSL

IS_NGINX_SSL=“Y”

path to SSL cert

#SSL_CERT=/etc/letsencrypt/live/video.omsorgsforlaget.se/fullchain.pem

path to SSL key

#SSL_KEY=/etc/letsencrypt/live/video.omsorgsforlaget.se/privkey.pem

NGINX SSL PORT - note, if you have Apache running over SSL as well and on port 443, do not select 443 here too

#VOD_PACKAGER_SSL_PORT=8443
WWW_HOST=“https://video.omsorgsforlaget.se:443

Range of ip addresses belonging to internal kaltura servers

The range is used when checking service actions permissions and allowing to access certain services without KS from the internal servers.

The default is only good for testing, on a production ENV you should adjust according to your network.

IP_RANGE=“0.0.0.0-255.255.255.255”

Port to use with Nginx’s RTMP module

RTMP_PORT=1935

Hello @Edward,

Can your nginx user access the server certificate path?
For example, can the user access “/etc/lestsencrypt” and “/etc/letsencrypt/live”?

Regards,

I will look into it!

Yes. Port needs to be different to that of Apache, of course (see my reply on your other post).
If you’re still having issues, could you share a version of the answer file with only the VARs and their values? I will be happy to review it.

Cheers,