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
520 stars 241 forks source link

SSL apache configuration failing on installation at InsertContent #367

Closed acheckley closed 9 years ago

acheckley commented 9 years ago

Hi Everyone,

I had problems installing the latest version of Kaltura (Centos 6.5 Minimal) so rolled back to 10.7.

Version 10.7 http install works perfectly.

The httpS installation fails at the InsertContent stage.

Upon checking the virtual host files, the kaltura.conf only contains template locations. Both the kaltura.ssl.conf and the kaltura.conf substitute in double port numbers e.g. */443:433 and https://mysite.com:443:433.

I've followed the prompts on the install to no avail and had greater success commenting out the http configuration and entering my own values manually or by pre-populating the kaltura.conf.template and running the script. I've then had to go in and delete the double ports.

Thanks,

Andrew

acheckley commented 9 years ago

My information:

TIME_ZONE="Europe/London" KALTURA_FULL_VIRTUAL_HOST_NAME="mediaserver.company.co.uk:443" KALTURA_VIRTUAL_HOST_NAME="mediaserver.company.co.uk" DB1_HOST="127.0.0.1" DB1_PORT="3306" DB1_PASS="REMOVED" DB1_NAME="kaltura" DB1_USER="kaltura" SERVICE_URL="https://mediaserver.company.co.uk:443" SPHINX_SERVER1="127.0.0.1" SPHINX_SERVER2=" " DWH_HOST="127.0.0.1" DWH_PORT="3306" SPHINX_DB_HOST="127.0.0.1" SPHINX_DB_PORT="3306" ADMIN_CONSOLE_ADMIN_MAIL="REMOVED" ADMIN_CONSOLE_PASSWORD="REMOVED" CDN_HOST="mediaserver.company.co.uk" KALTURA_VIRTUAL_HOST_PORT="443" SUPER_USER="root" SUPER_USER_PASSWD="REMOVED" ENVIRONMENT_NAME="Kaltura Video Platform" DWH_PASS="REMOVED" PROTOCOL="https" RED5_HOST="mediaserver.company.co.uk" USER_CONSENT="0" CONTACT_MAIL="NO" VOD_PACKAGER_HOST="mediaserver.company.co.uk" VOD_PACKAGER_PORT="88" IP_RANGE="0.0.0.0-255.255.255.255"

php -v PHP 5.3.3

MySQL 5.1

Configured yum proxy, user proxy and no_proxy locations Disabled CURL SSL check (for testing)

curl -I -v $SERVICE_URL/kmc curl -I -v $SERVICE_URL/api_v3/

apachectl -t -DDUMP_VHOSTS VirtualHost configuration: 127.0.0.1:443 mediaserver.company.co.uk (/etc/httpd/conf.d/zzzkaltura.ssl.conf:17) 10.9.3.1:443 mediaserver.company.co.uk (/etc/httpd/conf.d/zzzkaltura.ssl.conf:17) wildcard NameVirtualHosts and default servers: default:443 mediaserver.company.co.uk (/etc/httpd/conf.d/ssl.conf:74) *:80 mediaserver.company.co.uk (/etc/httpd/conf.d/zzzkaltura.conf:1) Syntax OK

Installation completed successfully (with correct paths and ports entered into the template files) - I had to change this because the /opt/kaltura/bin/kaltura-config-all.sh kept adding in double port numbers e.g. */443:443 and the @value@ were not being populated. I am unable to log into:

https://mediaserver.company.co.uk/admin_console/index.php/user/login

Error:

An error occurred

(error code: API:-1)

jessp01 commented 9 years ago

Hi Andrew,

You are right, this is indeed a bug. Please edit the template file: /opt/kaltura/app/configurations/apache/kaltura.ssl.conf.template

And remove: ':@KALTURA_VIRTUAL_HOST_PORT@' It should work then. And we will have it fixed in our repos shortly.

This is actually a fix that needs to happen here: https://github.com/kaltura/server/blob/master/configurations/apache/kaltura.ssl.conf.template

If you'd like to submit a pull request then we can also credit you for the finding.

Thanks,

acheckley commented 9 years ago

. /etc/profile.d/kaltura_base.sh

kaltlog

[Wed Apr 01 15:34:22 2015] [error] [client 10.9.4.174] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: https://mediaserver.company.co.uk/admin_console/index.php/user/login [Wed Apr 01 15:47:42 2015] [error] [client 10.9.4.174] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: https://mediaserver.company.co.uk/admin_console/index.php/user/login

[2015-04-01 15:23:45]failed to connect [1] [0.0042300224304199] mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log; PHP Fatal error: Uncaught exception 'PropelException' with message 'Unable to open PDO connection dsn[mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log;] user[kaltura] password[REMOVED] [wrapped: SQLSTATE[42000] [1044] Access denied for user 'kaltura'@'%' to database 'kaltura_sphinx_log']' in /opt/kaltura/app/vendor/propel/Propel.php:649 Stack trace:

0 /opt/kaltura/app/vendor/propel/Propel.php(532): Propel::initConnection(Array, 'sphinx_log')

2015-04-01 15:40:15 [0.006070] [127.0.0.1] [1841975520] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc" 2015-04-01 15:40:15 [0.012586] [127.0.0.1] [1841975520] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php" 2015-04-01 15:40:15 [0.006206] [127.0.0.1] [1841975520] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php" 2015-04-01 15:40:15 [0.000210] [127.0.0.1] [1841975520] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"

2015-04-01 15:40:15 [0.003094] [127.0.0.1] [1841975520] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client

2015-04-01 15:26:09 [1512025366] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 Stack trace:

0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')

acheckley commented 9 years ago

Thanks Jess. II'd be happy to submit a pull request but am new to the GitHUb. I'm not sure on how to complete a pull.

I'll test this out shortly.

jessp01 commented 9 years ago

Hi,

Your DB obviously is corrupted cause of the SSL bug. Please remove it using kaltura-drop-db.sh and then rerun config scripts post editing the template.

Thanks,

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Wed, 1 Apr 2015, acheckley wrote:

. /etc/profile.d/kaltura_base.sh

kaltlog

[Wed Apr 01 15:34:22 2015] [error] [client 10.9.4.174] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: https://mediaserver.company.co.uk/admin_console/index.php/user/login [Wed Apr 01 15:47:42 2015] [error] [client 10.9.4.174] File does not exist: /opt/kaltura/app/alpha/web/opt, referer: https://mediaserver.company.co.uk/admin_console/index.php/user/login

[2015-04-01 15:23:45]failed to connect [1] [0.0042300224304199] mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log; PHP Fatal error: Uncaught exception 'PropelException' with message 'Unable to open PDO connection dsn[mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log;] user[kaltura] password[REMOVED] [wrapped: SQLSTATE[42000] [1044] Access denied for user 'kaltura'@'%' to database 'kaltura_sphinx_log']' in /opt/kaltura/app/vendor/propel/Propel.php:649 Stack trace:

0 /OPT/KALTURA/APP/VENDOR/PROPEL/PROPEL.PHP(532): PROPEL::INITCONNECTION(ARRAY, 'SPHINX_LOG')

2015-04-01 15:40:15 [0.006070] [127.0.0.1] [1841975520] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc" 2015-04-01 15:40:15 [0.012586] [127.0.0.1] [1841975520] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php" 2015-04-01 15:40:15 [0.006206] [127.0.0.1] [1841975520] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php" 2015-04-01 15:40:15 [0.000210] [127.0.0.1] [1841975520] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"

2015-04-01 15:40:15 [0.003094] [127.0.0.1] [1841975520] [PS2] [SFRENDERINGFILTER->EXECUTE] INFO: {SFFILTER} RENDER TO CLIENT

2015-04-01 15:26:09 [1512025366] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:64 Stack trace:

0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert('ERROR - Permiss...')

— Reply to this email directly or view it on GitHub.[AFBqvZoX2PJJdOOsdOQ2EQIup95A2DlFks5n6_1sgaJpZM4D4BNq.gif]

acheckley commented 9 years ago

Hi Jess,

I've re-run the scripts and still get a fail.

Reloading httpd: not reloading due to configuration syntax error [FAILED]

Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zzzkaltura.conf: Include directory '/etc/httpd/@APP_DIR@/configurations/apache/conf.d' not found.

nano /configurations/apache/conf.d/zzzkaltura.conf

(left arrow) VirtualHost *:@KALTURA_VIRTUAL_HOST_PORT@ (right arrow) ErrorLog "@LOG_DIR@/kaltura_apache_errors.log" CustomLog @LOG_DIR@/kaltura_apache_access.log vhost_kalt

    Include "@APP_DIR@/configurations/apache/conf.d/enabled.*.conf"

(left arrow)/ VirtualHost (right arrow)

However nano /configurations/apache/conf.d/zzzkaltura.ssl.conf looks fine.

acheckley commented 9 years ago

I've since updated my original ssl.conf from the httpd/conf.d and changed the location of my server .crt and .key file.

This enables me to restart apache successfully and access the web address. The crt and key file are password protected.

When logging in, I obtain the error:

An error occurred (error code: API:-1)

For testing, I've now refilled the kaltura.conf.template with fixed values, dropped the MySQL tables and re-run the main configuration script. I'll post results shortly.

RESULTS: Same error :-(

acheckley commented 9 years ago

/opt/kaltura/bin/kaltura-sanity.sh

[root@sslkaltura apache]# /opt/kaltura/bin/kaltura-sanity.sh [Space on /] [PASSED, RC: 0] - [.017042416] [Space on /opt/kaltura/web] [PASSED, RC: 0] - [.006991343] [Check httpd daemon status] [PASSED, RC: 0] - [.058751729]

Lots of:

Napping 1 seconds to allow the daemon httpd to finish its init after monit restarted it..

[Check httpd daemon is started by Monit] [FAILED, RC: 1] - [63.161998757] [check daemon httpd init status] [PASSED, RC: 0] - [.012274550] [Check kaltura-sphinx daemon status] [PASSED, RC: 0] - [.060774872]

Lots of:

Napping 1 seconds to allow the daemon kaltura-sphinx to finish its init after monit restarted it..

[Check kaltura-sphinx daemon is started by Monit] [PASSED, RC: 0] - [14.265003346] [check daemon kaltura-sphinx init status] [PASSED, RC: 0] - [.012946260] [Check kaltura-batch daemon status] [PASSED, RC: 0] - [.052796706]

Lots of:

Napping 1 seconds to allow the daemon kaltura-batch to finish its init after monit restarted it..

[check daemon kaltura-batch init status] [PASSED, RC: 0] - [.008007310] [Check kaltura-monit daemon status] [PASSED, RC: 0] - [.032170574] [check daemon kaltura-monit init status] [PASSED, RC: 0] - [.007274321] [Check memcached daemon status] [PASSED, RC: 0] - [.032510921]

Lots of:

Napping 1 seconds to allow the daemon memcached to finish its init after monit restarted it..

[Check memcached daemon is started by Monit] [PASSED, RC: 0] - [7.403934970] [check daemon memcached init status] [PASSED, RC: 0] - [.008878114] [kaltura-html5lib ver in KMC config.ini] [PASSED, RC: 0] - [.107392621] [kaltura-kdp3 ver in KDP3 config.ini] [PASSED, RC: 0] - [.061064003] [kaltura-kmc ver in KMC config.ini] [PASSED, RC: 0] - [.068689764]

PHP Warning: file_get_contents(https://mediaserver.company.co.uk:443/kmc): failed to open stream: Connection refused in /opt/kaltura/bin/get_kmc_swfs.php on line 9

[Get KMC SWFs] [FAILED, RC: 255] - [.165930357] curl: no URL specified! curl: try 'curl --help' or 'curl --manual' for more information [check_testme_page] [FAILED, RC: 1] - [.015415737] [check_kmc_index_page] [FAILED, RC: 1] - [.009138663] curl: no URL specified! curl: try 'curl --help' or 'curl --manual' for more information [check_admin_console_index_page] [FAILED, RC: 1] - [.016394777] [check_studio_index_page] [FAILED, RC: 1] - [.459806752] [check_clipapp_index_page] [FAILED, RC: 1] - [.454949475] [Create Partner] [FAILED, RC: 255] - [.150973172] Partner creation failed. I will skip all tests that require it. [Red5 file upload] [SKIPPED as OflaDemo isn't configured] see: https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#configure-red5-server

Thank you for running Kaltura! To keep Kaltura viable, stable and well tested, please join the community and help by contributing sanity tests that verify overall platform stability: http://bit.ly/kaltura-ci , and by contributing to the project roadmap by solving simple tasks and challenges: http://bit.ly/kaltura-tasks.

jessp01 commented 9 years ago

Hello,

Not sure I understand the current situation.. just to confirm:

  1. dropped the db
  2. edited the template for ssl conf and removed the @KALTURA_VIRTUAL_HOST_PORT@ token
  3. re-run the kaltura-config-all.sh script

and the tokens were not replaced?

Thanks,

acheckley commented 9 years ago

Correct.

Tokens were not replaced in /configurations/apache/conf.d/zzzkaltura.conf

and this interfered with the installation.

jessp01 commented 9 years ago

Can you rerun the kaltura-base-config.sh with an answer file and log all the output to a file like so:

bash -x /opt/kaltura/bin/kaltura-base-config.sh /path/to/answer/file 2>

/tmp/base.log

And send me the output to jess.portnoy@kaltura.com?

The answer file is auto generated in /tmp/kaltura*.ans

Thanks,

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Thu, 2 Apr 2015, acheckley wrote:

Correct.

Tokens were not replaced in /configurations/apache/conf.d/zzzkaltura.conf

and this interfered with the installation.

— Reply to this email directly or view it on GitHub.[AFBqvXLGhmt2U_t0pSd19s43Q_aqyjygks5n7P9BgaJpZM4D4BNq.gif]

acheckley commented 9 years ago

Will do. I'll run and post shortly.

acheckley commented 9 years ago

Hi Jess, I've run the following:

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

bash -x /opt/kaltura/bin/kaltura-base-config.sh /tmp/kaltura_02_04_10_32.ans 2> /tmp/base.log

Welcome to Kaltura Server 10.7.0 post install setup.

ERROR: Missing the following params in /tmp/kaltura_02_04_10_32.ans

PROTOCOL

Then nano /tmp/base.log and can see this at the end. However, I'll email the whole log over shortly. I'll complete an install from a fresh instance (I'm using Virtual Box for cloning).

jessp01 commented 9 years ago

Hi there,

Please add: PROTOCOL=https to your answer file and try again.

Thanks,

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Thu, 2 Apr 2015, acheckley wrote:

Hi Jess, I've run the following:

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

bash -x /opt/kaltura/bin/kaltura-base-config.sh /tmp/kaltura_02_04_10_32.ans 2> /tmp/base.log

Welcome to Kaltura Server 10.7.0 post install setup.

ERROR: Missing the following params in /tmp/kaltura_02_04_10_32.ans

PROTOCOL

Then nano /tmp/base.log and can see this at the end. However, I'll email the whole log over shortly. I'll complete an install from a fresh instance (I'm using Virtual Box for cloning).

  • OUT='ERROR: Missing the following params in /tmp/kaltura_02_04_10_32.ans \nPROTOCOL '
  • echo -en '\033[1;31mERROR: Missing the following params in /tmp/kaltura_02_04_10_32.ans \nPROTOCOL \033[m\n'
  • send_install_becon kaltura-base Europe/London install_fail 'ERROR: Missing the following params in /tmp/kaltura_02_04_10_32.ans \nPROTOCOL '

— Reply to this email directly or view it on GitHub.[AFBqvRtD3bAvZinIbUjHQIxg_rh4ros4ks5n7QXEgaJpZM4D4BNq.gif]

acheckley commented 9 years ago

Thanks Jess. If I re-run /opt/kaltura/bin/kaltura-config-all.sh

A new answer file will be generated. Is there a method of using a previous answer file to configure Kaltura?

jessp01 commented 9 years ago

Yes, you can put it anywhere you'd like and pass it as an argument to the config scripts.

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Thu, 2 Apr 2015, acheckley wrote:

Thanks Jess. If I re-run /opt/kaltura/bin/kaltura-config-all.sh

A new answer file will be generated. Is there a method of using a previous answer file to configure Kaltura?

— Reply to this email directly or view it on GitHub.[AFBqvTSs5DxnoOU4GkV3dT_93QeAn8Byks5n7QqlgaJpZM4D4BNq.gif]

acheckley commented 9 years ago

Great, I've just ran a complete fresh install and the https isn't appearing as an issue on a fresh installation (only a re-installation over the top of the old installation). I'm going to double check and see if I can identify any errors on the initial installation by cloning my fresh VB and re-running the installation. (I'll have a clean log).

I'll email the log over to you.

jessp01 commented 9 years ago

Great. So first, can you please submit a pull request to fix: https://github.com/kaltura/server/blob/Jupiter-10.8.0/configurations/apache/kaltura.ssl.conf.template

As per our discussion? I would like for the report to be attributed to you. If you prefer, I can submit the pull myself and just link to the issue you opened, whichever way you feel like, just let me know.

Next, I would like to find the reason why a reconfig fails for you as it SHOULD be supported so please send me the log.

Thanks a lot,

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Thu, 2 Apr 2015, acheckley wrote:

Great, I've just ran a complete fresh install and the https isn't appearing as an issue on a fresh installation (only a re-installation over the top of the old installation). I'm going to double check and see if I can identify any errors on the initial installation by cloning my fresh VB and re-running the installation. (I'll have a clean log).

I'll email the log over to you.

— Reply to this email directly or view it on GitHub.[AFBqvdAVbaB9NxWwrLplDDUraRxLRf3iks5n7QxDgaJpZM4D4BNq.gif]

acheckley commented 9 years ago

Thanks Jess, I have created a pull request:

https://github.com/kaltura/server/compare/Jupiter-10.8.0...acheckley:patch-1

https://github.com/kaltura/server/pull/2384/files

acheckley commented 9 years ago

Generating client libs... This can take a few minutes to complete, see log at /opt/kaltura/log/generate.php.log.

    Configuration of 10.7.0 finished successfully!

Running FrontEnd config...

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

kaltura-front-10.7.0-1.noarch Is your Apache working with SSL?[Y/n] y Please input path to your SSL certificate[/etc/ssl/certs/localhost.crt]: /etc/ssl/certs/server.crt Please input path to your SSL key[/etc/pki/tls/private/localhost.key]: /etc/pki/tls/private/server.key Please input path to your SSL chain file or leave empty in case you have none:

Enter pass phrase for /etc/pki/tls/private/server.key: Which port will this Vhost listen on? [443]

Please select one of the following options [0]:

  1. All web interfaces
  2. Kaltura Management Console [KMC], Hosted Apps, HTML5 lib and ClipApp
  3. KAC - Kaltura Admin Console 0 Enabling Apache config - apps.conf Enabling Apache config - var.conf Enabling Apache config - admin.conf

Kaltura install answer file written to /tmp/kaltura_02_04_12_19.ans - Please save it!

This answers file can be used to silently-install re-install this machine or deploy other hosts in your cluster.

Stopping httpd: [ OK ] Starting httpd: Apache/2.2.15 mod_ssl/2.2.15 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide the pass phrases.

Server mediaserver.company.co.uk:443 (RSA) Enter pass phrase:

OK: Pass Phrase Dialog successful. [ OK ] Shutting down monit: [FAILED] Starting monit: monit: generated unique Monit id 2c41461d5b02d2561537e97ef1d9bd94 and stored to '/root/.monit.id' Starting monit daemon with http interface at [*:2812] [ OK ] Running Sphinx config... mediaserver.company.co.uk

kaltura-sphinx-2.2.1-16.x86_64 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

Starting monit: Starting monit daemon with http interface at [*:2812] [ OK ]

Configuring your Kaltura DB...

Checking MySQL version.. Ver 5.1.73 found compatible

CREATE USER kaltura; CREATE USER etl; CREATE DATABASE kaltura; CREATE DATABASE kaltura_sphinx_log; CREATE DATABASE kalturadw; CREATE DATABASE kalturadw_ds; CREATE DATABASE kalturadw_bisources; CREATE DATABASE kalturalog; Checking connectivity to needed daemons... Connectivity test passed:) Cleaning cache.. Populating DB with data.. please wait.. Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log Output for /opt/kaltura/app/deployment/base/scripts/insertDefaults.php being logged into /opt/kaltura/log/insertDefaults.log Output for /opt/kaltura/app/deployment/base/scripts/insertPermissions.php being logged into /opt/kaltura/log/insertPermissions.log Output for /opt/kaltura/app/deployment/base/scripts/insertContent.php being logged into /opt/kaltura/log/insertContent.log Generating UI confs.. Shutting down monit: [FAILED] Starting monit: Starting monit daemon with http interface at [*:2812] [ OK ] Running Batch config...

kaltura-batch-10.7.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

Reloading httpd: not reloading due to configuration syntax error [FAILED]

    Archving logs to /opt/kaltura/log/log_02_04_15_12_23.tar.gz...

ERROR: /opt/kaltura/bin/kaltura-batch-config.sh failed:( You can re-run it when the issue is fixed.

acheckley commented 9 years ago

cd /tmp/ contains two answer files:

kaltura_02_04_12_17.ans kaltura_02_04_12_19.ans

KalturaCommunity-zz commented 9 years ago

Yup, just concat the smaller one into the bigger one:) Each separate step creates its own file so one was created during base and the other during front.

Thanks,

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Thu, 2 Apr 2015, acheckley wrote:

cd /tmp/ contains two answer files:

kaltura_02_04_12_17.ans kaltura_02_04_12_19.ans

— Reply to this email directly or view it on GitHub.[ACH7Xq9n3KsJP_y1rjOkDguOuiPCReKEks5n7R_JgaJpZM4D4BNq.gif]

acheckley commented 9 years ago

Hi Jess, I've emailed over. I'm going to have a look through myself to see if I can spot the error.

KalturaCommunity-zz commented 9 years ago

Hey Andrew,

Got it, looking. Please also sign our CLA so we can merge your pull. Thanks.

May the source be with you,

Jess Portnoy

Join us for the Kaltura Connect Virtual Summits 2015 - Register now! connect.kaltura.com

On Thu, 2 Apr 2015, acheckley wrote:

Hi Jess, I've emailed over. I'm going to have a look through myself to see if I can spot the error.

— Reply to this email directly or view it on GitHub.[ACH7XrrujeRZMVF3ymGurz81IUt6JWsVks5n7SlygaJpZM4D4BNq.gif]

jessp01 commented 9 years ago

Closing this one as @acheckley confirmed it fixes the issue. I patched the install here: https://github.com/kaltura/platform-install-packages/commit/8dee0dbddb87ebd510c1b7b7413385e2b184f302

And the next version [10.8.0] should include the merged pull by @acheckley.

dannie96 commented 5 years ago

Checking MySQL version.. Ver 5.1.73 found compatible

CREATE USER kaltura; CREATE USER etl; CREATE DATABASE kaltura; CREATE DATABASE kaltura_sphinx_log; CREATE DATABASE kalturadw; CREATE DATABASE kalturadw_ds; CREATE DATABASE kalturadw_bisources; CREATE DATABASE kalturalog; Checking connectivity to needed daemons... Connectivity test passed:) ERROR: Couldn't make an API request to http://xxxxxx:xxxx/api_v3/index.php?service=system&action=ping. Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again.


On configuring All in one Kaltura server Docker container I am getting this error. I am not able to access either KMC or KAC from the Kaltura Home Page after this.

jessp01 commented 5 years ago

Hi @dannie96.

Please see https://forum.kaltura.org/t/self-hosted-all-in-one-instance-from-v6-uninstall-to-v13-5-0-1-new-install/8055/13. Should you have additional questions, please post on the forum.

dannie96 commented 5 years ago

Hi Jess, We have configured kaltura all in one server container setup.

After login KMC we tried to upload a sample video using a python client but then internal server error occured

Also we are not able to fetch the details of entries already there in KMC with this client.

The default entries are not playable and metadata is not there.

Regards Anoob Dani Titus


From: Jess Portnoy notifications@github.com Sent: Friday, April 5, 2019 9:32:21 PM To: kaltura/platform-install-packages Cc: Anoob Titus; Mention Subject: Re: [kaltura/platform-install-packages] SSL apache configuration failing on installation at InsertContent (#367)

Hi @dannie96https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdannie96&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123071689&sdata=%2Fp%2BMHhxrzTO%2BX0gow7vJXevMg%2FimfohDppM5l9ttddA%3D&reserved=0.

Please see https://forum.kaltura.org/t/self-hosted-all-in-one-instance-from-v6-uninstall-to-v13-5-0-1-new-install/8055/13https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fforum.kaltura.org%2Ft%2Fself-hosted-all-in-one-instance-from-v6-uninstall-to-v13-5-0-1-new-install%2F8055%2F13&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123071689&sdata=pTb8MoJ5FMVsMPnjavNe15Bqu4b03kvamEywnQUW9UU%3D&reserved=0. Should you have additional questions, please post on the forum.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkaltura%2Fplatform-install-packages%2Fissues%2F367%23issuecomment-480330551&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123081697&sdata=%2Fz954uCKLeyZXy0t724DLjHPfm63vzNbTAsX66YfSJM%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAmK1DZjecjs0Zl75PkoD0OnwRAMJfVx6ks5vd3ONgaJpZM4D4BNq&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123081697&sdata=pztL9%2BtYSAHaS3DNwTZDF4TqurMM49B%2Fhd0z6n%2FSuM8%3D&reserved=0.

dannie96 commented 5 years ago

Hi, I have setup kaltura Docker cluster container All the 9 containers are running and we have given port mapping as per the information given. But Empty page is coming when loading port 80.

Any help will be appreciated.

Regards, Anoob


From: Anoob Titus Sent: Wednesday, April 10, 2019 5:30:52 PM To: kaltura/platform-install-packages Subject: Re: [kaltura/platform-install-packages] SSL apache configuration failing on installation at InsertContent (#367)

Hi Jess, We have configured kaltura all in one server container setup.

After login KMC we tried to upload a sample video using a python client but then internal server error occured

Also we are not able to fetch the details of entries already there in KMC with this client.

The default entries are not playable and metadata is not there.

Regards Anoob Dani Titus


From: Jess Portnoy notifications@github.com Sent: Friday, April 5, 2019 9:32:21 PM To: kaltura/platform-install-packages Cc: Anoob Titus; Mention Subject: Re: [kaltura/platform-install-packages] SSL apache configuration failing on installation at InsertContent (#367)

Hi @dannie96https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdannie96&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123071689&sdata=%2Fp%2BMHhxrzTO%2BX0gow7vJXevMg%2FimfohDppM5l9ttddA%3D&reserved=0.

Please see https://forum.kaltura.org/t/self-hosted-all-in-one-instance-from-v6-uninstall-to-v13-5-0-1-new-install/8055/13https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fforum.kaltura.org%2Ft%2Fself-hosted-all-in-one-instance-from-v6-uninstall-to-v13-5-0-1-new-install%2F8055%2F13&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123071689&sdata=pTb8MoJ5FMVsMPnjavNe15Bqu4b03kvamEywnQUW9UU%3D&reserved=0. Should you have additional questions, please post on the forum.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkaltura%2Fplatform-install-packages%2Fissues%2F367%23issuecomment-480330551&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123081697&sdata=%2Fz954uCKLeyZXy0t724DLjHPfm63vzNbTAsX66YfSJM%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAmK1DZjecjs0Zl75PkoD0OnwRAMJfVx6ks5vd3ONgaJpZM4D4BNq&data=02%7C01%7Canoob.titus%40infosys.com%7Ca8a3f6a4ec7b454a66f508d6b9e03f0c%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636900770123081697&sdata=pztL9%2BtYSAHaS3DNwTZDF4TqurMM49B%2Fhd0z6n%2FSuM8%3D&reserved=0.