Nginx error at install

Hello,

I have install the latest Kaltura CE on CentOS 7 and /opt/kaltura/bin/kaltura-config-all.sh have problem to configure nginx, please see the below:


Generating UI confs…
Restarting kaltura-monit (via systemctl):                  [  OK  ]
Running Batch config…

kaltura-batch-10.10.0-1.noarch
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following script:

rm /opt/kaltura/app/base-config.lock

/opt/kaltura/bin/kaltura-base-config.sh

Note: Forwarding request to ‘systemctl enable httpd.service’.
Redirecting to /bin/systemctl reload  httpd.service
Starting kaltura-monit (via systemctl):                    [  OK  ]
kaltura-nginx-1.8.0-1.x86_64
Kaltura API host [vod.test99.ps]:

Nginx server name [vod.test99.ps]:

Nginx port to listen on [88]:
/opt/kaltura/bin/kaltura-nginx-config.sh: line 79: /opt/kaltura/nginx/conf/nginx.conf: No such file or directory
Note: Forwarding request to ‘systemctl enable kaltura-nginx.service’.
ln -s ‘/usr/lib/systemd/system/kaltura-nginx.service’ '/etc/systemd/system/multi-user.target.wants/kaltura-nginx.service’
Redirecting to /bin/systemctl start  kaltura-nginx.service
Job for kaltura-nginx.service failed. See ‘systemctl status kaltura-nginx.service’ and ‘journalctl -xn’ for details.
ERROR: /opt/kaltura/bin/kaltura-nginx-config.sh failed:( You can re-run it when the issue is fixed.

Thank you and Best Regards,
Saleh

After I make this change

errors “nginx” in kaltura-nginx-config.sh
to changes line 79 “/opt/kaltura/nginx/conf/nginx.conf” on /etc/nginx/nginx.conf

Fixed, now works without any problem.

Best Regrad,
Saleh

Hey Saleh,

This was spotted and fixed a few days back.
Can you tell me which version you have in /etc/yum.repos.d/kaltura.repo and also what is the output for:
# rpm -q kaltura-postinst

Thanks,

[root@vod ~]# cat /etc/yum.repos.d/kaltura.repo

URL: http://kaltura.org/

[Kaltura]
name = Kaltura Server
baseurl = http://installrepo.kaltura.org/releases/rhel7/RPMS/$basearch/
gpgkey = http://installrepo.kaltura.org/releases/RPM-GPG-KEY-kaltura
gpgcheck = 1
enabled = 1

[Kaltura-noarch]
name = Kaltura Server arch independent
baseurl = http://installrepo.kaltura.org/releases/latest/RPMS/noarch
gpgkey = http://installrepo.kaltura.org/releases/RPM-GPG-KEY-kaltura
gpgcheck = 1
enabled = 1

we currently do not have the nightly so commented. We do have plans to add that.

#[Kaltura-testing]
#name = Kaltura Server arch independent
#baseurl = http://installrepo.kaltura.org/releases/nightly/RPMS/$basearch/
#gpgkey = http://installrepo.kaltura.org/releases/RPM-GPG-KEY-kaltura
#gpgcheck = 1
#enabled = 0

#[Kaltura-testing-noarch]
#name = Kaltura Server arch independent
#baseurl = http://installrepo.kaltura.org/releases/nightly/RPMS/noarch
#gpgkey = http://installrepo.kaltura.org/releases/RPM-GPG-KEY-kaltura
#gpgcheck = 1
#enabled = 0

[root@vod ~]# rpm -q kaltura-postinst
kaltura-postinst-1.0.25-12.noarch

CentOS 7

Best Regards,
Saleh

You should have kaltura-postinst-1.0.25-14.noarch.rpm available for update after doing yum clean all.
Can you upgrade please?

Hi Jess,

After yum clean all and yum update now I have the right below kaltura-postinst version:

[root@vod ~]# rpm -q kaltura-postinst
kaltura-postinst-1.0.25-14.noarch

Thank you and Best Regards,
Saleh