Can't get rid of snakeoil in kaltura apache ssl configuration file when installing

Dear Jess,

I think I found the answer to my last P.S. already in the FAQ (there is a script to reconfigure the server settings).
As for kaltura propoer: I found that, with all the re-installations & experiments I did, I must have done yet another kaltura-drop-db.sh and this is probably the reason why I can’t log in. I’m trying to reinstall everything now and will let you know.

Hi Peter,

Sure. Do let me know if you have any issues.

Dear Jess,

After trying several suggestions on this forum, the login problem was not solved and the kaltura installation did seem to be somewhat messed up, so I decided to reinstall from scratch. The installation script ran almost flawlessly, except that I got a warning where the script enables the various apache2 modules and sites and wants to reload apache2. It then concludes (incorrectly) that apache2 is not runnng and wants to restart it, resulting in the following output:
Reloading web server apache2

Apache2 is not running
Restarting web server apache2
There are preocesses named 'apache2’running which do not match your pid file which are left untouched in the name of safety, Please review the situation by hand.

The script then concludes that package kaltura-front failed to install and tries to recover, which works out fine this time, including reloading of apache2 and restarting monit.
However, at the very end I get two error messages saying:
/etc/monit/conf.d/batch/rc:3: Warning: Program does not exist: '/etc/init.d/kaltura-batch
/etc/monit/conf.d/batch/rc:4: Warning: Program does not exist: '/etc/init.d/kaltura-batch

When I checked I found that the package kaltura-batch indeed hasn’t been installed, so I manually installed it (apt-get install kaltura-batch) which downloads the package but fails with the following message:

ERROR 1045 (28000): Access denied for user ‘kaltura’@‘localhost’ (using password: YES)

This seemed to me a problem with packages being installed out of order since indeed the kaltura databases and user had not yet been created in MySQL, so I restarted install_kaltura_all_in_1.sh.

However, this results in the same error message

ERROR 1045 (28000): Access denied for user ‘kaltura’@‘localhost’ (using password: YES)

So I ran kaltura-sanity.sh and got mostly OK results except:

  • kaltura-batch deamon is not running
    (but kaltura-batch init status is OK)
  • memcached deamon started by Monit Failed
  • check_testme_page Failed
  • check_kmc_index_page Failed
  • and from thereon many errors about pages, create Partner, etc.

Also, when checking with myphpadmin, the kaltura database tables have not been created (let alone that they would be populated). When I try to start the kaltura-batch deamon manually, I get the following:

Starting:[Failed]
Serice batch isn’t running but stale lock file exists
Removing stale lock file at /opt/kaltura/log/batch/batch.pid
/usr/bin/php … 2>&1 &
[ OK ]

But apparently the deamon isn’t running, because trying to start it again gives the same result and ps -aux doesn’t show any process including ‘kaltura’ in the name.

I can now access the same “Welcome to the Kaltura Video Platform…” webpage as yesterday and still cannot log into the admin_console (which makes sense because the database with the username does not exist).

Obviously I’m doing something very wrong and now I’m stuck again, sorry… Could you please give me a hint on what to try next?

Best regards,

 Peter

Hi Peter,

Indeed, the packages need to be installed in a certain order which why we provide the install_kaltura_all_in_1.sh wrapper.

I would suggest you remove everything using:
# /opt/kaltura/bin/kaltura-drop-db.sh $MYSQL_ROOT_PASSWD && aptitude purge “~Nkaltura” -y && aptitude purge “~Napache2” -y && rm -rf /opt/kaltura
and then re-run:
# ./install_kaltura_all_in_1.sh 2>&1 | tee -a /tmp/kaltura.log

if something fails, please take a look at the /tmp/kaltura.log and share relevant pieces of it here. Please be sure to mask any sensitive info when doing so.

Dear Jess,

Thanks once more for your help. Unfortunately I even run into problems removing Kaltura in this way: he kaltura-drop-db.sh crashes with:
Error at line1: Operation DROP USER failed for ; kaltura’ @’%'
which makes sense because the database was not populated (or even created, for that matter). Therefore, I left out his first section and started the command with aptitude purge “~NKaltura” etc.
This failed with e message
ERROR 1045 (28000): Access denied for user ‘kaltura’@‘localhost’ (using password: YES)

Do I just neglect these errors or should I remove kaltura manually through the package manager (I’ve done that before: just remove anything with kaltura in the name, remove the databases if present, remove the apache2 configuration files for the sites, and delete /opt/kaltura). What is the best approach? After that I can remove apache2 (preferably later this evening when nobody will notice that our regular website is down :wink: ).

Thanks again for your advice!

Best regards,

Peter

Hi Peter,

If you never got to the stage of populating the Kaltura DB, which seems to be the case, then there’s no need to drop it:)
I recommend you experiment on a machine that does not currently run a live site… as you know, the installation makes changes to the Apache config and also needs to reload it several times, better install it on a server that isn’t used for other purposes.

And, of course, if you DO HAVE OTHER APACHE CONFIGURATIONS on this machine, DO NOT purge Apache as it will delete them.

Dear Jess, thanks for your concern. Don’t worry, it’s only my students that use this server ;-). And I already backed up /etc/apache and /etc/ssl. But I don’t have a convenient alternative server that meets the prerequistes and is externally accessible (I’m travelling again) so the students wil have to suffer through this I’m afraid. In the end they are the ones that are going to benefit once everything is working.

I’ll run the removal commands for kaltura and apache a few times and the will use synaptic to remove any remaining packages. I’ll remove /opt/kaltura and the apache config files manually and then start the installation as yo described. once I have the log file I’ll report back.

Best regards,

   Peter

Dear Jess,

I’ve ran the script and everything went well up to the point where the databases had been created. Then an error occurred:
ERROR: Couldn’t make an API request to http://kaltura.cwte.eu:8082/api_v3/index.php?service=system&action=ping.

In the configuration questions, I had indicated that kaltura should listen on port 443 (default SSL), although in the very first installation of kaltura that I did I had indeed answered 8082. I changed that later because I had read on the forum that using non-default ports could create problems during the installation. Apparently, this 8082 is still memorized somewhere and overrides the 443 that I entered during installation. Since apache by default only listens to ports 80 and 443, I can understand that the installation script cannot connect to port 8082 even though that is configured in zzzkaltura.ssl.conf.

Do you have any suggestion where this 8082 setting from the past is memorized and how I can delete it? Then I can remove everything again and run the script once more. Thanks for your help!

Best regards,

 Peter

Hi Peter,

The installation can work on any port actually, you might run into some issues further along though, in particular with the preview and embed. As for the port, if you completely removed the old install as per our previous discussion there should be no left overs.

I suggest:
# apachectl -t -DDUMP_VHOSTS

and also,
# grep 8082 /opt/kaltura/app/configurations/* -r

lets see what we find.

Dear Jess,

Thanks again for your help! As it turns out, the ports.conf still contained a leftover reference to port 8082 (in addition to 80, 8080, 443, and 8443), however the conf files configured apache to only listen on 443 and 8080. So to avoid further problems this time I not only removed /etc/apache2/sites-* but the complete /etc/apache2, removed all kaltura and apache related packages through synaptic to avoid the problems I had before, and re-ran the installation script. This avoided the 8082 problem, so apparently that was indeed caused by the ports.conf, but now there is a problem with a dependency on libapache2-mod-php5. The error message is:

dpkg: error processing package libapache2-mod-php5 (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kaltura-html5lib:
kaltura-html5lib depends on libapache2-mod-php5; however:
Package libapache2-mod-php5 is not configured yet.

dpkg: error processing package kaltura-html5lib (–configure):
dependency problems - leaving unconfigured

When I check with synaptic the status of libapache2-mod-php5 shows green (installed). Should I try and remove/reinstall it manually and then re-run the script? Or is there a better approach? Thanks again for your help!

Best regards,

  Peter

In case I’m overlooking something I’ve included the complete log file (excluding some privacy-sensitive stuff):

–2015-09-15 18:28:46-- http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key
Resolving installrepo.kaltura.org (installrepo.kaltura.org)… 54.230.130.165, 54.230.131.6, 54.230.131.70, …
Connecting to installrepo.kaltura.org (installrepo.kaltura.org)|54.230.130.165|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1727 (1,7K) [text/plain]
Saving to: ‘STDOUT’

 0K .                                                     100%  229M=0s

2015-09-15 18:28:46 (229 MB/s) - written to stdout [1727/1727]

OK
/usr/bin/aptitude
Hit http://installrepo.kaltura.org jupiter InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://nl.archive.ubuntu.com trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-updates InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-backports InRelease
Hit http://nl.archive.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Get: 1 http://nl.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-backports Release.gpg
Hit http://nl.archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release
Get: 2 http://nl.archive.ubuntu.com trusty-updates Release [63,5 kB]
Hit http://installrepo.kaltura.org jupiter/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty/restricted Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://nl.archive.ubuntu.com trusty/universe Sources
Hit http://nl.archive.ubuntu.com trusty/multiverse Sources
Hit http://ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://nl.archive.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://nl.archive.ubuntu.com trusty/universe Translation-en
Get: 3 http://nl.archive.ubuntu.com trusty-updates/main Sources [234 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Get: 4 http://nl.archive.ubuntu.com trusty-updates/restricted Sources [4725 B]
Get: 5 http://nl.archive.ubuntu.com trusty-updates/universe Sources [135 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Get: 6 http://nl.archive.ubuntu.com trusty-updates/multiverse Sources [5143 B]
Get: 7 http://nl.archive.ubuntu.com trusty-updates/main amd64 Packages [619 kB]
Hit http://security.ubuntu.com trusty-security Release.gpg
Get: 8 http://nl.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15,4 kB]
Get: 9 http://nl.archive.ubuntu.com trusty-updates/universe amd64 Packages [312 kB]
Get: 10 http://nl.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [11,9 kB]
Get: 11 http://nl.archive.ubuntu.com trusty-updates/main i386 Packages [601 kB]
Hit http://security.ubuntu.com trusty-security Release
Get: 12 http://nl.archive.ubuntu.com trusty-updates/restricted i386 Packages [15,1 kB]
Get: 13 http://nl.archive.ubuntu.com trusty-updates/universe i386 Packages [313 kB]
Get: 14 http://nl.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12,1 kB]
Hit http://nl.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/main Sources
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://nl.archive.ubuntu.com trusty-backports/universe Sources
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Sources
Ign http://nl.archive.ubuntu.com trusty/main Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/universe Translation-en_US
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Ign http://installrepo.kaltura.org jupiter/main Translation-en_US
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://installrepo.kaltura.org jupiter/main Translation-en
Fetched 2343 kB in 3s (758 kB/s)
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
‘multiverse’ distribution component is already enabled for all sources.
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
The following NEW packages will be installed:
kaltura-postinst
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/69,7 kB of archives. After unpacking 308 kB will be used.
Writing extended state information…
Selecting previously unselected package kaltura-postinst.
(Reading database … 302565 files and directories currently installed.)
Preparing to unpack …/kaltura-postinst_1.0.28-1+b4_all.deb …
Unpacking kaltura-postinst (1.0.28-1+b4) …
Setting up kaltura-postinst (1.0.28-1+b4) …
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
The following NEW packages will be installed:
kaltura-base
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/81,5 MB of archives. After unpacking 202 MB will be used.
Writing extended state information…
Preconfiguring packages …
Selecting previously unselected package kaltura-base.
(Reading database … 302634 files and directories currently installed.)
Preparing to unpack …/kaltura-base_10.19.0-2_all.deb …
Unpacking kaltura-base (10.19.0-2) …
Setting up kaltura-base (10.19.0-2) …
[… Answers to configuration questions:
CDN Hostname: mydomain.eu
Apache virtual hostname: kaltura.mydomain.eu
Vhost port to listen on: 443
DB hostname: mydomain.eu
DB port: 3306
MySQL super use [only needed for install]: *******
MySQL super user passwd [only for install]: *******
Analytics DB hostname: localhost
Analytics DB port: 3306
Sphinx hostname: 127.0.0.1
Secondary Sphinx hostname: mydomain.eu
Base URL where the Kaltura API and Apps will be accessed from: https//kaltura.mydomain.eu:443
Range of ip addresses belonging to internal kaltura servers: 0.0.0.0-255.255.255.255
VOD packager hostname: 127.0.0.1
VOD packager port: 88
Kaltura Admin user (email address): myemail@mydomain.eu
Admin user login password: ****
(…)
Your Kaltura install name: Kaltura Video Platform
Auto generate MySQL kaltura password? Y

apache2: unrecognized service
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 492 0 0 100 492 0 1178 --:–:-- --:–:-- --:–:-- 1179
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
The following NEW packages will be installed:
apache2{a} apache2-bin{a} apache2-data{a} apache2-mpm-prefork{a}
kaltura-clipapp{a} kaltura-html5-studio kaltura-html5lib kaltura-kclip{a}
kaltura-kcw{a} kaltura-kdp{a} kaltura-kdp3{a} kaltura-kdp3wrapper{a}
kaltura-kdpwrapper{a} kaltura-kmc{a} kaltura-krecord{a}
kaltura-kupload{a} kaltura-widgets libapache2-mod-php5{a} libapr1{a}
libaprutil1{a} libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a}
0 packages upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/639 MB of archives. After unpacking 783 MB will be used.
Writing extended state information…
Selecting previously unselected package libapr1:amd64.
(Reading database … 318337 files and directories currently installed.)
Preparing to unpack …/libapr1_1.5.0-1_amd64.deb …
Unpacking libapr1:amd64 (1.5.0-1) …
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack …/libaprutil1_1.5.3-1_amd64.deb …
Unpacking libaprutil1:amd64 (1.5.3-1) …
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack …/libaprutil1-dbd-sqlite3_1.5.3-1_amd64.deb …
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) …
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack …/libaprutil1-ldap_1.5.3-1_amd64.deb …
Unpacking libaprutil1-ldap:amd64 (1.5.3-1) …
Selecting previously unselected package apache2-bin.
Preparing to unpack …/apache2-bin_2.4.7-1ubuntu4.5_amd64.deb …
Unpacking apache2-bin (2.4.7-1ubuntu4.5) …
Selecting previously unselected package apache2-data.
Preparing to unpack …/apache2-data_2.4.7-1ubuntu4.5_all.deb …
Unpacking apache2-data (2.4.7-1ubuntu4.5) …
Selecting previously unselected package apache2.
Preparing to unpack …/apache2_2.4.7-1ubuntu4.5_amd64.deb …
Unpacking apache2 (2.4.7-1ubuntu4.5) …
Selecting previously unselected package apache2-mpm-prefork.
Preparing to unpack …/apache2-mpm-prefork_2.4.7-1ubuntu4.5_amd64.deb …
Unpacking apache2-mpm-prefork (2.4.7-1ubuntu4.5) …
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack …/libapache2-mod-php5_5.5.9+dfsg-1ubuntu4.11_amd64.deb …
Unpacking libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) …
Selecting previously unselected package kaltura-clipapp.
Preparing to unpack …/kaltura-clipapp_1.3-1+b2_all.deb …
Unpacking kaltura-clipapp (1.3-1+b2) …
Selecting previously unselected package kaltura-html5-studio.
Preparing to unpack …/kaltura-html5-studio_2.0.0-1_all.deb …
Unpacking kaltura-html5-studio (2.0.0-1) …
Selecting previously unselected package kaltura-html5lib.
Preparing to unpack …/kaltura-html5lib_2.34-1_all.deb …
Unpacking kaltura-html5lib (2.34-1) …
Selecting previously unselected package kaltura-kclip.
Preparing to unpack …/kaltura-kclip_1.1.2.1-1_all.deb …
Unpacking kaltura-kclip (1.1.2.1-1) …
Selecting previously unselected package kaltura-kcw.
Preparing to unpack …/kaltura-kcw_2.2.4-1+b3_all.deb …
Unpacking kaltura-kcw (2.2.4-1+b3) …
Selecting previously unselected package kaltura-kdp.
Preparing to unpack …/kaltura-kdp_2.7.0-1_all.deb …
Unpacking kaltura-kdp (2.7.0-1) …
Selecting previously unselected package kaltura-kdp3.
Preparing to unpack …/kaltura-kdp3_3.9.9-1+b3_amd64.deb …
Unpacking kaltura-kdp3 (3.9.9-1+b3) …
Selecting previously unselected package kaltura-kdp3wrapper.
Preparing to unpack …/kaltura-kdp3wrapper_37-1_all.deb …
Unpacking kaltura-kdp3wrapper (37-1) …
Selecting previously unselected package kaltura-kdpwrapper.
Preparing to unpack …/kaltura-kdpwrapper_11-1_all.deb …
Unpacking kaltura-kdpwrapper (11-1) …
Selecting previously unselected package kaltura-kmc.
Preparing to unpack …/kaltura-kmc_5.39.8-1+b1_all.deb …
Unpacking kaltura-kmc (5.39.8-1+b1) …
Selecting previously unselected package kaltura-krecord.
Preparing to unpack …/kaltura-krecord_1.7-1_all.deb …
Unpacking kaltura-krecord (1.7-1) …
Selecting previously unselected package kaltura-kupload.
Preparing to unpack …/kaltura-kupload_1.2.16-1_all.deb …
Unpacking kaltura-kupload (1.2.16-1) …
Selecting previously unselected package kaltura-widgets.
Preparing to unpack …/kaltura-widgets_10.9.0-1+b4_all.deb …
Unpacking kaltura-widgets (10.9.0-1+b4) …
Processing triggers for man-db (2.6.7.1-1ubuntu1) …
Processing triggers for ureadahead (0.100.0-16) …
Processing triggers for ufw (0.34~rc-0ubuntu2) …
Setting up libapr1:amd64 (1.5.0-1) …
Setting up libaprutil1:amd64 (1.5.3-1) …
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.3-1) …
Setting up libaprutil1-ldap:amd64 (1.5.3-1) …
Setting up apache2-bin (2.4.7-1ubuntu4.5) …
Setting up apache2-data (2.4.7-1ubuntu4.5) …
Setting up apache2 (2.4.7-1ubuntu4.5) …
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.

  • Starting web server apache2
    AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message

Setting up kaltura-clipapp (1.3-1+b2) …
Setting up kaltura-html5-studio (2.0.0-1) …
Setting up kaltura-kclip (1.1.2.1-1) …
Processing triggers for ureadahead (0.100.0-16) …
Processing triggers for ufw (0.34~rc-0ubuntu2) …
Setting up apache2-mpm-prefork (2.4.7-1ubuntu4.5) …
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) …
php5_invoke: Enable module readline for apache2 SAPI
php5_invoke: Enable module memcached for apache2 SAPI
php5_invoke: Enable module ldap for apache2 SAPI
php5_invoke zz-kaltura: already enabled for apache2 SAPI
php5_invoke: Enable module opcache for apache2 SAPI
php5_invoke: Enable module ssh2 for apache2 SAPI
php5_invoke: Enable module xsl for apache2 SAPI
php5_invoke: Enable module pdo_mysql for apache2 SAPI
php5_invoke: Enable module curl for apache2 SAPI
php5_invoke: Enable module mysql for apache2 SAPI
php5_invoke: Enable module gmp for apache2 SAPI
php5_invoke: Enable module gd for apache2 SAPI
php5_invoke: Enable module json for apache2 SAPI
php5_invoke: Enable module mcrypt for apache2 SAPI
php5_invoke: Enable module apcu for apache2 SAPI
php5_invoke: Enable module pdo for apache2 SAPI
php5_invoke: Enable module mysqli for apache2 SAPI
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork

  • Restarting web server apache2
    AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message
    …done.
    dpkg: error processing package libapache2-mod-php5 (–configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of kaltura-html5lib:
    kaltura-html5lib depends on libapache2-mod-php5; however:
    Package libapache2-mod-php5 is not configured yet.

dpkg: error processing package kaltura-html5lib (–configure):
dependency problems - leaving unconfigured
Setting up kaltura-kcw (2.2.4-1+b3) …
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up kaltura-kdp (2.7.0-1) …
Setting up kaltura-kdp3 (3.9.9-1+b3) …
Setting up kaltura-kdp3wrapper (37-1) …
Setting up kaltura-kdpwrapper (11-1) …
Setting up kaltura-kmc (5.39.8-1+b1) …
Setting up kaltura-krecord (1.7-1) …
Setting up kaltura-kupload (1.2.16-1) …
Setting up kaltura-widgets (10.9.0-1+b4) …
Processing triggers for libc-bin (2.19-0ubuntu6.6) …
Errors were encountered while processing:
libapache2-mod-php5
kaltura-html5lib
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.11) …
php5_invoke readline: already enabled for apache2 SAPI
php5_invoke memcached: already enabled for apache2 SAPI
php5_invoke ldap: already enabled for apache2 SAPI
php5_invoke zz-kaltura: already enabled for apache2 SAPI
php5_invoke opcache: already enabled for apache2 SAPI
php5_invoke ssh2: already enabled for apache2 SAPI
php5_invoke xsl: already enabled for apache2 SAPI
php5_invoke pdo_mysql: already enabled for apache2 SAPI
php5_invoke curl: already enabled for apache2 SAPI
php5_invoke mysql: already enabled for apache2 SAPI
php5_invoke gmp: already enabled for apache2 SAPI
php5_invoke gd: already enabled for apache2 SAPI
php5_invoke json: already enabled for apache2 SAPI
php5_invoke mcrypt: already enabled for apache2 SAPI
php5_invoke apcu: already enabled for apache2 SAPI
php5_invoke pdo: already enabled for apache2 SAPI
php5_invoke mysqli: already enabled for apache2 SAPI
dpkg: error processing package libapache2-mod-php5 (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of kaltura-html5lib:
kaltura-html5lib depends on libapache2-mod-php5; however:
Package libapache2-mod-php5 is not configured yet.

dpkg: error processing package kaltura-html5lib (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libapache2-mod-php5
kaltura-html5lib
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…

Hi Peter,

The problem starts here:
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork

  • Restarting web server apache2
    AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive globally to suppress this message
    …done.
    dpkg: error processing package libapache2-mod-php5 (–configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of kaltura-html5lib:
    kaltura-html5lib depends on libapache2-mod-php5; however:
    Package libapache2-mod-php5 is not configured yet.

Seems the current Apache config is broken.

I suggest you check what sites are enabled for Apache, look at:
/etc/apache2/sites-enabled

if there is anything of an old Kaltura install there, for example zzzkaltura.conf, disable it with
# a2dissite zzzkaltura.conf
then make sure apache starts properly with:
# /etc/init.d/apache2 restart
purge any old install left overs, run the script again while logging everything and let me know as to the result

Dear Jess,

I saw that error about the missing server name but don’t know what to do about it: I had completely removed apache, or at least I think so, using synaptic to remove any package that had ‘apache’ in the name and doing rm -rf /etc/apache2 for good measure so there was no /etc/apache2/sites-enabled directory at all before I started the installation. Was there anything else I should have removed?

At this point, the sites-available directory has been created but it only contains the newly-installed 000-default.conf and default-ssl.conf. Only 000-default is enabled, redirecting *.80 to 127.0.0.1 document dir /var/www/html.

Should I put the global ServerName in a conf file (httpd.conf or fqdn.conf and then leave these files in place when I remove apache/kaltura & re-run the script? Or should I put it in hostname or /etc/hosts?

Currently hostname only contains the name of the computer, but not the domain (so it is something like myhostname rather than myhostname.mydomain.eu) and the /etc/hosts file contains references to myhostname, myhostname.mydomain.eu, mydomain.eu, myhostname.ouruniversity.eu and localhost, all referring to 127.0.0.1 . Should I include a line in /etc/hosts with the external host name and the external IPv4 address?

Sorry for all the questions caused by my lack of Linux knowledge, and thanks for your patience!

Best regards,

Peter

Hi Peter,

You shouldn’t need to do any Apache configurations prior to running the install script unless you have some prior configurations that might cause an issue which, from your current description of things does not seem to be the case.

its fine for the hostname to resolve to 127.0.0.1 internally but you do need to make sure your client, i.e, where you open the browser to login to the Kaltura interfaces, can resolve the service URL you input during the installation.

Hi Jeff,

Thanks for your help! I agree, to the best of my knowledge (which isn’t saying much I’m afraid) there shouldn’I have been anything left from previous apache2 installations. That’s why I looked into hostname and /etc/hostnames, but I understand from your message that this doesn’t explain it either. THe server can be accessed externally through the mydomain.eu address, that is just regularly registered through a hostingprovider and I’ve pointed the IPV4 pointer to the fixed IP address of this server. I could also easily access the main website through this address (at least before I removed apache and the /etc/apache2 directories :wink: ).

In order to see whether we can make further progress I tried the following experiment:

  • update/upgrade to make sure I’ve the latest versions of all current packages
  • reinstall apache2 from synaptic. This gave an error on an unmet dependency on libapache2-mod-php5 (even though synaptic indicated that this package was installed)
  • completely removed libapache2-mod-php5 and installed again. THen re-ran reinstall apache2. This time the error was about an unmet dependency for libapache2-mod-xsendfile, for which I did the same (remove, install, reran reinstall apache2). Now there were no error messages any more and apache was running happily on *:80 with the default conf.

I then re-ran the installation script. This time I think the script progressed further before running into problems. The first serious problem seems to be:
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Storage Profile [] not found’ in /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kPathManager.php:77

This doesn’t ring a bell, I don’t think I’ve seen this message before. For completeness I’m once again including the complete transcript. Since this time the script did not ask for input, I did not edit it, there doesn’t seem to be any privacy-sensitive stuff in there:

–2015-09-17 17:59:03-- http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key
Resolving installrepo.kaltura.org (installrepo.kaltura.org)… 54.230.130.165, 54.230.131.6, 54.230.131.70, …
Connecting to installrepo.kaltura.org (installrepo.kaltura.org)|54.230.130.165|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1727 (1,7K) [text/plain]
Saving to: ‘STDOUT’

 0K .                                                     100%  240M=0s

2015-09-17 17:59:03 (240 MB/s) - written to stdout [1727/1727]

OK
/usr/bin/aptitude
Ign http://nl.archive.ubuntu.com trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-updates InRelease
Ign http://nl.archive.ubuntu.com trusty-backports InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty InRelease
Hit http://nl.archive.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty-updates Release.gpg
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-backports Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty Release
Hit http://nl.archive.ubuntu.com trusty-updates Release
Hit http://extras.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security Release
Hit http://nl.archive.ubuntu.com trusty-backports Release
Ign http://ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty/restricted Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty/universe Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://nl.archive.ubuntu.com trusty/multiverse Sources
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://nl.archive.ubuntu.com trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://nl.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty/main i386 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://nl.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://ppa.launchpad.net trusty Release
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://nl.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://installrepo.kaltura.org jupiter InRelease
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty/universe Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://nl.archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/universe Sources
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/main Sources
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://nl.archive.ubuntu.com trusty-backports/universe Sources
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://installrepo.kaltura.org jupiter/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://nl.archive.ubuntu.com trusty/main Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/universe Translation-en_US
Ign http://installrepo.kaltura.org jupiter/main Translation-en_US
Ign http://installrepo.kaltura.org jupiter/main Translation-en
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
The following packages will be REMOVED:
kaltura-ffmpeg{u} kaltura-ffmpeg-aux{u}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 42,0 kB will be freed.
Writing extended state information…
(Reading database … 338245 files and directories currently installed.)
Removing kaltura-ffmpeg (2.1.3-1+b23) …
Removing kaltura-ffmpeg-aux (0.6-2+b1) …
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
‘multiverse’ distribution component is already enabled for all sources.
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
The following NEW packages will be installed:
kaltura-ffmpeg{a} kaltura-ffmpeg-aux{a} kaltura-front
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/18,8 MB of archives. After unpacking 50,2 kB will be used.
Writing extended state information…
Preconfiguring packages …
Selecting previously unselected package kaltura-ffmpeg.
(Reading database … 337897 files and directories currently installed.)
Preparing to unpack …/kaltura-ffmpeg_2.1.3-1+b23_amd64.deb …
Unpacking kaltura-ffmpeg (2.1.3-1+b23) …
Selecting previously unselected package kaltura-ffmpeg-aux.
Preparing to unpack …/kaltura-ffmpeg-aux_0.6-2+b1_amd64.deb …
Unpacking kaltura-ffmpeg-aux (0.6-2+b1) …
Selecting previously unselected package kaltura-front.
Preparing to unpack …/kaltura-front_10.19.0-1+b2_all.deb …
Unpacking kaltura-front (10.19.0-1+b2) …
Setting up kaltura-ffmpeg (2.1.3-1+b23) …
Setting up kaltura-ffmpeg-aux (0.6-2+b1) …
Setting up kaltura-front (10.19.0-1+b2) …
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 491 0 0 100 491 0 1067 --:–:-- --:–:-- --:–:-- 1065
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
service apache2 restart
ERROR: No site found matching zzzkaltura*!
Enabling site zzzkaltura.ssl.
To activate the new configuration, you need to run:
service apache2 reload
Enabling site apps.
To activate the new configuration, you need to run:
service apache2 reload
Enabling site var.
To activate the new configuration, you need to run:
service apache2 reload
Enabling site admin.
To activate the new configuration, you need to run:
service apache2 reload

  • Reloading web server apache2

Site 000-default disabled.
To activate the new configuration, you need to run:
service apache2 reload
Site default-ssl already disabled

  • Reloading web server apache2
  • Restarting daemon monitor monit
    /etc/monit/conf.d/batch.rc:3: Warning: Program does not exist: ‘/etc/init.d/kaltura-batch’
    /etc/monit/conf.d/batch.rc:4: Warning: Program does not exist: ‘/etc/init.d/kaltura-batch’
    …done.
    PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Storage Profile [] not found’ in /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kPathManager.php:77
    Stack trace:
    #0 /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kFileSyncUtils.class.php(954): kPathManager::getFilePathArr(Object(FileSyncKey))
    #1 /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kFileSyncUtils.class.php(216): kFileSyncUtils::getLocalFilePathArrForKey(Object(FileSyncKey))
    #2 /opt/kaltura/app/alpha/lib/model/uiConf.php(340): kFileSyncUtils::file_put_contents(Object(FileSyncKey), ‘<layout id="def…’)
    #3 /opt/kaltura/app/alpha/lib/model/uiConf.php(143): uiConf->saveConfFileToDisk(’<layout id="def…’, NULL, false)
    #4 /opt/kaltura/app/deployment/uiconf/deploy_v2.php(356): uiConf->save()
    #5 /opt/kaltura/app/deployment/uiconf/deploy_v2.php(181): uiConfDeployment::addUiConfThroughPropel(Object(uiConf))
    #6 /opt/kaltura/app/deployment/uiconf/deploy_v2.php(49): uiConfDeployment::deploy(Object(Zend_Config_Ini))
    #7 {main}
    thrown in /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kPathManager.php on line 77
    chown: cannot access ‘/opt/kaltura/web/content/generatedUiConf/’: No such file or directory
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
    100 493 0 0 100 493 0 1270 --:–:-- --:–:-- --:–:-- 1267
    100 493 0 0 100 493 0 1269 --:–:-- --:–:-- --:–:-- 1267
    Processing triggers for libc-bin (2.19-0ubuntu6.6) …
    Reading package lists…
    Building dependency tree…
    Reading state information…
    Reading extended state information…
    Initializing package states…
    Writing extended state information…
    Reading package lists…
    Building dependency tree…
    Reading state information…
    Reading extended state information…
    Initializing package states…
    The following NEW packages will be installed:
    kaltura-sphinx
    0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/5528 kB of archives. After unpacking 15,5 MB will be used.
    Writing extended state information…
    Selecting previously unselected package kaltura-sphinx.
    (Reading database … 338246 files and directories currently installed.)
    Preparing to unpack …/kaltura-sphinx_2.2.1-3+b1_amd64.deb …
    Unpacking kaltura-sphinx (2.2.1-3+b1) …
    Processing triggers for ureadahead (0.100.0-16) …
    Setting up kaltura-sphinx (2.2.1-3+b1) …
    update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match kaltura-sphinx Default-Start values (none)
    update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match kaltura-sphinx Default-Stop values (0 1 2 3 4 5 6)
    Adding system startup for /etc/init.d/kaltura-sphinx …
    /etc/rc0.d/K20kaltura-sphinx -> …/init.d/kaltura-sphinx
    /etc/rc1.d/K20kaltura-sphinx -> …/init.d/kaltura-sphinx
    /etc/rc6.d/K20kaltura-sphinx -> …/init.d/kaltura-sphinx
    /etc/rc2.d/S20kaltura-sphinx -> …/init.d/kaltura-sphinx
    /etc/rc3.d/S20kaltura-sphinx -> …/init.d/kaltura-sphinx
    /etc/rc4.d/S20kaltura-sphinx -> …/init.d/kaltura-sphinx
    /etc/rc5.d/S20kaltura-sphinx -> …/init.d/kaltura-sphinx
    System start/stop links for /etc/init.d/kaltura-populate already exist.
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
    100 492 0 0 100 492 0 1337 --:–:-- --:–:-- --:–:-- 1340
  • Starting daemon monitor monit
    /etc/monit/conf.d/batch.rc:3: Warning: Program does not exist: ‘/etc/init.d/kaltura-batch’
    /etc/monit/conf.d/batch.rc:4: Warning: Program does not exist: ‘/etc/init.d/kaltura-batch’
    …done.
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
    100 494 0 0 100 494 0 1302 --:–:-- --:–:-- --:–:-- 1303
    Processing triggers for libc-bin (2.19-0ubuntu6.6) …
    Reading package lists…
    Building dependency tree…
    Reading state information…
    Reading extended state information…
    Initializing package states…
    Writing extended state information…
    Reading package lists…
    Building dependency tree…
    Reading state information…
    Reading extended state information…
    Initializing package states…
    The following NEW packages will be installed:
    kaltura-db
    0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/3984 B of archives. After unpacking 8192 B will be used.
    Writing extended state information…
    Preconfiguring packages …
    Selecting previously unselected package kaltura-db.
    (Reading database … 338264 files and directories currently installed.)
    Preparing to unpack …/kaltura-db_10.10.0+b3_all.deb …
    Unpacking kaltura-db (10.10.0+b3) …
    Setting up kaltura-db (10.10.0+b3) …
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
    100 488 0 0 100 488 0 1285 --:–:-- --:–:-- --:–:-- 1284
    Checking MySQL version…

e[?1049he[1;24re[4le[?25le(Be[me[37me[40me[1;24re[He[2Je[1;1He[1me[37me[45m e[2;1H e[3;1H e[4;1H e[5;1H e[6;1H e[7;1H e[8;1H e[9;1H e[10;1H e[11;1H e[12;1H e[13;1H e[14;1H e[15;1H e[16;1H e[17;1H e[18;1H e[19;1H e[20;1H e[21;1H e[22;1H e[23;1H e[24;1H e[24;79H e[4h e[4le[1;1He(Be[me[37me[45mPackage configuratione[8;16He[30me[47m┌──────────┤ e[31mConfiguring kaltura-dbe[30m ├───────────┐e[9;16H│ │e[1me[37me[40m e[10;16He(Be[me[30me[47m│ Do you wish to remove the existing DB? │e[1me[37me[40m e[11;16He(Be[me[30me[47m│ │e[1me[37me[40m e[12;16He(Be[me[30me[47m│ The kaltura DB seems to already be installed │e[1me[37me[40m e[13;16He(Be[me[30me[47m│ │e[1me[37me[40m e[14;16He(Be[me[30me[47m│ e[37me[41me[30me[47m │e[1me[37me[40m e[15;16He(Be[me[30me[47m│ │e[1me[37me[40m e[16;16He(Be[me[30me[47m└───────────────────────────────────────────────┘e[1me[37me[40m e[17;17H e[14;48He[14;28He(Be[me[37me[41me[14Ce[30me[47me[14;29He[14Ce[37me[41me[14;48He[?12le[?25he[24;1He[40me(Be[me[39;49m
e[K
e[?1049lReading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
The following NEW packages will be installed:
kaltura-batch
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3892 B of archives. After unpacking 8192 B will be used.
Writing extended state information…
Selecting previously unselected package kaltura-batch.
(Reading database … 338264 files and directories currently installed.)
Preparing to unpack …/kaltura-batch_10.18.0-1_all.deb …
Unpacking kaltura-batch (10.18.0-1) …
Processing triggers for ureadahead (0.100.0-16) …
Setting up kaltura-batch (10.18.0-1) …
System start/stop links for /etc/init.d/kaltura-batch already exist.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 491 0 0 100 491 0 1037 --:–:-- --:–:-- --:–:-- 1038
ERROR: could not retreive partner.admin_secret for id -1. It probably means you did not yet run /opt/kaltura/app/kaltura-base-config.sh yet. Please do.
dpkg: error processing package kaltura-batch (–configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
kaltura-batch
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up kaltura-batch (10.18.0-1) …
System start/stop links for /etc/init.d/kaltura-batch already exist.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 491 0 0 100 491 0 1291 --:–:-- --:–:-- --:–:-- 1292
ERROR: could not retreive partner.admin_secret for id -1. It probably means you did not yet run /opt/kaltura/app/kaltura-base-config.sh yet. Please do.
dpkg: error processing package kaltura-batch (–configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
kaltura-batch
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
Writing extended state information…

I sincerely hope this makes more sense to you than it does to me ;-). Thanks again!

 Peter

Hi Peter,

The attached output indicates that you have old DB left overs.
I suggest you connect to the MySQL and run:
mysql> show databases;
and then drop all the ones that have to do with Kaltura
also:
mysql> select user,host from mysql.user;
and then drop both the kaltura and etl users if they exist.
Then try to install again.

Hi Jess,

Indeed, that is correct. These are the fresh databases installed during the run of the script yesterday, so I assumed that they would be OK. But I have of course done as you propose. Both kaltura and etl users existed, and I saw more kaltura-related databases than ever before, which seems a good sign. After removing the databases and users I re-ran the script and now it complained about missing database ‘kaltura’ , which makes sense since I just removed it. Shouldn’t I have done that? But I would have expected the script to regenerate them, at least I seem to remember that happening on previous reinstalls.

There’s another really puzzling thing this time: the zzzkaltura.ssl.conf refers to port 8082 again, and for the life of me I can’t explain where this came from, I thought I really eradicated all traces of this old configuration - I “completely uninstalled” everyting apache2 related and for good measure deleted the /etc/apache2 directory. Also, the error about not finding the hostname and reverting to 127.0.0.1 is back, although the server is approachable from outside. Thinking back, this seems to happen whenever the script does not ask for input, so when it is using the answers file (if I understand it correctly). COuld it be that there is somewhere an old answers file that is mixing things up? It’s not in /tmp, that one does exist during the installation when the scripts asks for input, but disappears at the end of the run of the script. But the next time I don’t have to answer all these questions, so apparently it is saved somewhere - and maybe for some reason that is still a very old version?

Here’s the script output:

–2015-09-17 19:36:20-- http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key
Resolving installrepo.kaltura.org (installrepo.kaltura.org)… 54.240.184.68, 54.240.184.103, 54.230.128.188, …
Connecting to installrepo.kaltura.org (installrepo.kaltura.org)|54.240.184.68|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1727 (1,7K) [text/plain]
Saving to: ‘STDOUT’

 0K .                                                     100% 5,25M=0s

2015-09-17 19:36:20 (5,25 MB/s) - written to stdout [1727/1727]

OK
/usr/bin/aptitude
Ign http://nl.archive.ubuntu.com trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-updates InRelease
Ign http://nl.archive.ubuntu.com trusty-backports InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Get: 1 http://nl.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://nl.archive.ubuntu.com trusty-backports Release.gpg
Hit http://nl.archive.ubuntu.com trusty Release
Get: 2 http://nl.archive.ubuntu.com trusty-updates Release [63,5 kB]
Hit http://extras.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://nl.archive.ubuntu.com trusty/restricted Sources
Hit http://nl.archive.ubuntu.com trusty/universe Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty/main amd64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted i386 Packages
Ign http://security.ubuntu.com trusty-security InRelease
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://installrepo.kaltura.org jupiter InRelease
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://nl.archive.ubuntu.com trusty/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com trusty/main Translation-en
Hit http://nl.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get: 3 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://nl.archive.ubuntu.com trusty/universe Translation-en
Get: 4 http://nl.archive.ubuntu.com trusty-updates/main Sources [234 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get: 5 http://nl.archive.ubuntu.com trusty-updates/restricted Sources [4725 B]
Get: 6 http://nl.archive.ubuntu.com trusty-updates/universe Sources [136 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Get: 7 http://nl.archive.ubuntu.com trusty-updates/multiverse Sources [5143 B]
Get: 8 http://nl.archive.ubuntu.com trusty-updates/main amd64 Packages [619 kB]
Hit http://ppa.launchpad.net trusty/main Translation-en
Get: 9 http://nl.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15,4 kB]
Get: 10 http://nl.archive.ubuntu.com trusty-updates/universe amd64 Packages [312 kB]
Get: 11 http://nl.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [11,9 kB]
Get: 12 http://nl.archive.ubuntu.com trusty-updates/main i386 Packages [601 kB]
Get: 13 http://security.ubuntu.com trusty-security Release [63,5 kB]
Get: 14 http://nl.archive.ubuntu.com trusty-updates/restricted i386 Packages [15,1 kB]
Get: 15 http://nl.archive.ubuntu.com trusty-updates/universe i386 Packages [314 kB]
Get: 16 http://nl.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12,1 kB]
Hit http://nl.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://installrepo.kaltura.org jupiter/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/main Sources
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://nl.archive.ubuntu.com trusty-backports/universe Sources
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://nl.archive.ubuntu.com trusty/main Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://nl.archive.ubuntu.com trusty/universe Translation-en_US
Get: 17 http://security.ubuntu.com trusty-security/main Sources [94,6 kB]
Get: 18 http://security.ubuntu.com trusty-security/restricted Sources [2061 B]
Get: 19 http://security.ubuntu.com trusty-security/universe Sources [30,5 kB]
Get: 20 http://security.ubuntu.com trusty-security/multiverse Sources [2330 B]
Get: 21 http://security.ubuntu.com trusty-security/main amd64 Packages [344 kB]
Get: 22 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8875 B]
Get: 23 http://security.ubuntu.com trusty-security/universe amd64 Packages [116 kB]
Ign http://installrepo.kaltura.org jupiter/main Translation-en_US
Get: 24 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3686 B]
Get: 25 http://security.ubuntu.com trusty-security/main i386 Packages [328 kB]
Ign http://installrepo.kaltura.org jupiter/main Translation-en
Get: 26 http://security.ubuntu.com trusty-security/restricted i386 Packages [8846 B]
Get: 27 http://security.ubuntu.com trusty-security/universe i386 Packages [116 kB]
Get: 28 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3830 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 3467 kB in 3s (874 kB/s)
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…
The following partially installed packages will be configured:
kaltura-batch
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Writing extended state information…
Setting up kaltura-batch (10.18.0-1) …
System start/stop links for /etc/init.d/kaltura-batch already exist.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 491 0 0 100 491 0 1239 --:–:-- --:–:-- --:–:-- 1236
ERROR 1049 (42000): Unknown database ‘kaltura’

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

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 482 0 0 100 482 0 1254 --:–:-- --:–:-- --:–:-- 1258
dpkg: error processing package kaltura-batch (–configure):
subprocess installed post-installation script returned error exit status 11
Errors were encountered while processing:
kaltura-batch
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up kaltura-batch (10.18.0-1) …
System start/stop links for /etc/init.d/kaltura-batch already exist.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 491 0 0 100 491 0 1317 --:–:-- --:–:-- --:–:-- 1319
ERROR 1049 (42000): Unknown database ‘kaltura’

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

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 482 0 0 100 482 0 1264 --:–:-- --:–:-- --:–:-- 1265
dpkg: error processing package kaltura-batch (–configure):
subprocess installed post-installation script returned error exit status 11
Errors were encountered while processing:
kaltura-batch
Reading package lists…
Building dependency tree…
Reading state information…
Reading extended state information…
Initializing package states…

Dear Jeff,

I’ve tried reinstalling everything from scratch again. Also this time I ran into the port 8082 issue. To solve that, I manually edited all files in /opt/kaltura and below referring to this port, and made sure that there is no reference to this port in /etc/apache2 and below either. This time the installation script got beyond this error but I ran into a new error:

ERROR: could not retreive partner.admin_secret for id -1. It probably means you did not yet run /opt/kaltura/app/kaltura-base-config.sh yet. Please do.
dpkg: error processing package kaltura-batch (–configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
kaltura-batch

My conclusion at this point is that my Linux and Kaltura skills are so limited and/or the installation of Kaltura is so difficult that I cannot justify investing more time in trying to get Kaltura operational. Therefore I will now first look into alternatives, even though they probably are not be the best match for my requirements. Hopefully, in the future my skills will increase and the installation of Kaltura will become easier to the point where they are a good match and then I will try again.

Thanks for all your help and patience!

Best regards,

 Peter

Hi Peter,

The installation is not difficult but indeed, it requires some Linux administration skills.

ERROR: could not retreive partner.admin_secret for id -1. It probably means you did not yet run /opt/kaltura/app/kaltura-base-config.sh yet. Please do.
dpkg: error processing package kaltura-batch (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
kaltura-batch

Means the DB deployment phase, which is done as part of the kaltura-db postinst stage failed.
You can choose to go with our SaaS instead, where all is managed for you and no Linux admin skills are required or with OnPrem, which means you can self host the platform on your servers but our professional services team will manage it for you.
You can read more about that here:

Thanks,

Hi Jess,

Thanks a lot for your help - again! Yes, I will look into Kaltura SaaS or OnPrem, that might in the end be more cost-effective than spending more time on trying to do this myself with your help.

Best regards,

Peter