kaltura / platform-install-packages

Official deployment packages to install the Kaltura platform on a server or cluster environments using native OS package managers
GNU Affero General Public License v3.0
521 stars 242 forks source link

docker setup does not work #633

Closed DanielRuf closed 6 years ago

DanielRuf commented 6 years ago

Bug report

*Please provide steps to reproduce, including errors from /opt/kaltura/log/kaltura_api_v3.log, /opt/kaltura/log/kaltura_apache_errorslog and /opt/kaltura/log/kaltura_prod.log:**

Run the steps from https://github.com/kaltura/platform-install-packages/blob/master/doc/install-docker.md

docker exec -i -t kaltura /root/install/install.sh
setenforce: SELinux is disabled
Starting mysqld:                                           [  OK  ]
mysql-server-5.1.73-8.el6_8.x86_64
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Loaded plugins: fastestmirror, ovl
Setting up Reinstall Process
Determining fastest mirrors
 * base: centos.bio.lmu.de
 * extras: centos.bio.lmu.de
 * updates: mirror.alpix.eu
Kaltura                                                                                                                                                                                                         | 2.9 kB     00:00     
Kaltura-noarch                                                                                                                                                                                                  | 2.9 kB     00:00     
base                                                                                                                                                                                                            | 3.7 kB     00:00     
extras                                                                                                                                                                                                          | 3.4 kB     00:00     
updates                                                                                                                                                                                                         | 3.4 kB     00:00     
updates/primary_db                                                                                                                                                                                              | 649 kB     00:00     
Installed package ca-certificates-2017.2.14-65.0.1.el6_9.noarch (from Updates) not available.
Error: Nothing to do
Running base config...

/dev/mem: No such file or directory
curl: (77) Problem with the SSL CA cert (path? access rights?)
kaltura-base-14.1.0-19.noarch
Welcome to Kaltura Server 14.1.0 post install setup.
Checking MySQL version..
Unknown suffix '@' used for variable 'port' (value '@MYSQL_PORT@')
mysql: Error while setting value '@MYSQL_PORT@' to 'port'

kaltura-base-config.sh FAILED with: 9 on line 323

Archving logs to /opt/kaltura/log/log_19_07_18_08_08.tar.gz...
cp: cannot stat `/opt/kaltura/log/*log': No such file or directory
tar: *log: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
/dev/mem: No such file or directory
curl: (77) Problem with the SSL CA cert (path? access rights?)

kaltura-config-all.sh FAILED with: 1002 on line 42

Archving logs to /opt/kaltura/log/log_19_07_18_08_08.tar.gz...
cp: cannot stat `/opt/kaltura/log/*log': No such file or directory
tar: *log: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
/dev/mem: No such file or directory
curl: (77) Problem with the SSL CA cert (path? access rights?)

Linux distribution name and version:

Are you using the RPM or deb packages?

When using RPM, paste the output for:

# rpm -qa "kaltura-*"

For deb based systems:

# dpkg -l "kaltura-*"

Is this an all in one instance [single server] or a cluster?

If applicable, please provide the MySQL version

If you're having an issue with a specific media asset, please provide a link from which it can be downloaded/played:

jessp01 commented 6 years ago

Hello @DanielRuf,

Two deployment options are available for the Docker container:

You did not specify in your report which one you've opted for. If it's the first, then you need to pass the MySQL root passwd as the first argument to /root/install/install.sh which, according to your output, you have not. If it's the latter, please share your config.ans file, masking sensitive info [passwds/ secrets].

Thanks,

DanielRuf commented 6 years ago

I did use the example config.ans file (probably not correct, saw no clear instructions what I have to change there).

jessp01 commented 6 years ago

Like I said:

please share your config.ans file, masking sensitive info [passwds/ secrets].

:)

DanielRuf commented 6 years ago

Like I said:

please share your config.ans file, masking sensitive info [passwds/ secrets].

:)

https://github.com/kaltura/platform-install-packages/blob/Naos-14.3.0/docker/install/config.ans.template

DanielRuf commented 6 years ago

Still, I miss some more clear instructions as in the docs the example config was mentioned but not what to do with it.

jessp01 commented 6 years ago

I meant share the values you have set in config.ans [again, mask sensitive info, of course], not the template.

jessp01 commented 6 years ago

There are detailed instructions about what needs to be done here: https://github.com/kaltura/platform-install-packages/blob/master/doc/install-docker.md#unattended-installation

and the template includes comments about the values. If you have specific questions about any of the params, feel free to post them here.

DanielRuf commented 6 years ago

I have nothing set in there because the instructions were a bit unclear (the docs website does not really explain the options or I missed something).

DanielRuf commented 6 years ago

Used this one but "according to template" does not really explain further.

https://github.com/kaltura/platform-install-packages/blob/master/doc/kaltura.template.ans

I hoped to have a working standard config with standard setting for a Docker container like others do (sitespeed.io and others). Tried another image then which was preconfigured. This is what I needed for an evaluation of Kaltura.

jessp01 commented 6 years ago

See my comment here: https://github.com/kaltura/platform-install-packages/issues/633#issuecomment-408080437

At any rate, from your last comment, I gather you managed to get an instance up and running so I will go ahead and close this issue. Feel free to reopen if you still have specific questions.