kaltura/platform-install-packages

Install Error on Xenial

Closed this issue · 4 comments

Bug report

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

Linux distribution name and version:
Ubuntu Xenial

Are you using the RPM or deb packages?

  • RPM
  • [x ] deb

For deb based systems:

# dpkg -l "kaltura-*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version                         Architecture                    Description
+++-=====================================================-===============================-===============================-===============================================================================================================
ii  kaltura-base                                          16.3.0-2                        all                             Kaltura Open Source Video Platform
ii  kaltura-clipapp                                       1.3-1+b2                        all                             Kaltura Video Presentations Manager
ii  kaltura-ffmpeg                                        4.0.2-3                         amd64
ii  kaltura-ffmpeg-aux                                    2.1.3-1                         amd64
ii  kaltura-flexwrapper                                   1.2-1+b1                        all                             Kaltura Video Presentations Manager
iU  kaltura-front                                         16.2.0-1                        all                             Kaltura Open Source Video Platform - frontend server
ii  kaltura-html5-analytics                               0.3                             all                             Kaltura Open Source Video Platform - frontend server
ii  kaltura-html5-studio                                  2.2.1-1                         all                             Kaltura Open Source Video Platform - frontend server
ii  kaltura-html5-studio3                                 3.5.0-1                         all                             Kaltura Open Source Video Platform - frontend server
ii  kaltura-html5lib                                      2.82.2-1                        all                             Kaltura Open Source Video Platform - HTML5 player
ii  kaltura-html5lib3                                     0.53.7-1+b1                     all                             Kaltura Open Source Video Platform - HTML5 player
ii  kaltura-kclip                                         1.1.2.1-1                       all                             Kaltura Video Presentations Manager
ii  kaltura-kcw                                           2.2.4-1+b6                      all                             Kalture Contribution Wizard
ii  kaltura-kdp                                           2.7.0-1+b1                      all                             Kaltura Dynamic Player
ii  kaltura-kdp3                                          3.9.9-1+b4                      amd64                           Kaltura Dynamic Player
ii  kaltura-kdp3wrapper                                   37-1+b3                         all                             KDP3 Wrapper
ii  kaltura-kdpwrapper                                    11-1+b2                         all                             KDP Wrapper
ii  kaltura-kmc                                           5.43.13-11+b33                  all                             Kaltura Management Console
ii  kaltura-kmcng                                         5.19-3+really5.17-1             all                             Kaltura Management Console
ii  kaltura-krecord                                       1.7-1+b1                        all                             Kaltura kRecord - used for recording from web cam
ii  kaltura-kupload                                       1.2.16-1+b2                     all                             Kaltura kupload widget
un  kaltura-libapache2-mod-php7                           <none>                          <none>                          (no description available)
un  kaltura-php7-apcu                                     <none>                          <none>                          (no description available)
un  kaltura-php7-cli                                      <none>                          <none>                          (no description available)
un  kaltura-php7-curl                                     <none>                          <none>                          (no description available)
un  kaltura-php7-gd                                       <none>                          <none>                          (no description available)
un  kaltura-php7-gmp                                      <none>                          <none>                          (no description available)
un  kaltura-php7-mcrypt                                   <none>                          <none>                          (no description available)
un  kaltura-php7-memcache                                 <none>                          <none>                          (no description available)
un  kaltura-php7-mysql                                    <none>                          <none>                          (no description available)
un  kaltura-php7-ssh2                                     <none>                          <none>                          (no description available)
un  kaltura-php7-xsl                                      <none>                          <none>                          (no description available)
iF  kaltura-playkit-bundler                               1.2.0-1+b3                      all                             Kaltura Open Source Video Platform - frontend server
ii  kaltura-postinst                                      1.0.33-3+b13                    all                             Kaltura Open Source Video Platform
ii  kaltura-widgets                                       14.1.0-1                        all                             Kaltura Open Source Video Platform - widgets meta package

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

  • [x ] All in one
  • Cluster

If applicable, please provide the MySQL version
MySQL 5.5 Percona deb package

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

The install failed with this

/var/lib/dpkg/info/kaltura-playkit-bundler.postinst: line 11: yarn: command not found
Job for kaltura-playkit-bundler.service failed because the control process exited with error code. See "systemctl status kaltura-playkit-bundler.service" and "journalctl -xe" for details.
invoke-rc.d: initscript kaltura-playkit-bundler, action "restart" failed.
● kaltura-playkit-bundler.service - LSB: Start/stop Kaltura Bundle-builder-api.
   Loaded: loaded (/etc/init.d/kaltura-playkit-bundler; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-06-15 10:30:40 EDT; 5ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25864 ExecStart=/etc/init.d/kaltura-playkit-bundler start (code=exited, status=2)

Jun 15 10:30:40 kaltura systemd[1]: Starting LSB: Start/stop Kaltura Bundle-builder-api....
Jun 15 10:30:40 kaltura kaltura-playkit-bundler[25864]: Need to install the forever npm module. Exiting.
Jun 15 10:30:40 kaltura systemd[1]: kaltura-playkit-bundler.service: Control process exited, code=exited status=2
Jun 15 10:30:40 kaltura systemd[1]: Failed to start LSB: Start/stop Kaltura Bundle-builder-api..
Jun 15 10:30:40 kaltura systemd[1]: kaltura-playkit-bundler.service: Unit entered failed state.
Jun 15 10:30:40 kaltura systemd[1]: kaltura-playkit-bundler.service: Failed with result 'exit-code'.
dpkg: error processing package kaltura-playkit-bundler (--configure):
 subprocess installed post-installation script returned error exit status 1


Setting up kaltura-html5lib3 (0.53.7-1+b1) ...
dpkg: dependency problems prevent configuration of kaltura-front:
 kaltura-front depends on kaltura-playkit-bundler; however:
  Package kaltura-playkit-bundler is not configured yet.

dpkg: error processing package kaltura-front (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for systemd (229-4ubuntu21.28) ...
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.6) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0ubuntu0.16.04.15) ...
Errors were encountered while processing:
 kaltura-playkit-bundler
 kaltura-front
E: Sub-process /usr/bin/dpkg returned an error code (1)

npm install -g forever

Closing due to lack of response. Feel free to reopen if you're still having issues.

Got new error when trying again:

./install_kaltura_all_in_1.sh
Hit:1 http://installrepo.kaltura.org/repo/apt/xenial propus InRelease
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]                                        
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]                                
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease                                        
Hit:6 http://repo.percona.com/apt xenial InRelease                      
Fetched 463 kB in 0s (669 kB/s)                   
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lsb-release is already the newest version (9.20160110ubuntu0.2).
software-properties-common is already the newest version (0.96.20.9).
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
'multiverse' distribution component is already enabled for all sources.
--2020-07-12 10:43:50--  http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key
Resolving installrepo.kaltura.org (installrepo.kaltura.org)... 13.35.20.55, 13.35.20.7, 13.35.20.8, ...
Connecting to installrepo.kaltura.org (installrepo.kaltura.org)|13.35.20.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1727 (1.7K) [text/plain]
Saving to: 'STDOUT'

-                              100%[====================================================>]   1.69K  --.-KB/s    in 0s      

2020-07-12 10:43:50 (246 MB/s) - written to stdout [1727/1727]

OK
--2020-07-12 10:43:50--  http://installrepo.kaltura.org/repo/apt/xenial/kaltura-deb-256.gpg.key
Resolving installrepo.kaltura.org (installrepo.kaltura.org)... 13.35.20.11, 13.35.20.55, 13.35.20.7, ...
Connecting to installrepo.kaltura.org (installrepo.kaltura.org)|13.35.20.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/plain]
Saving to: 'STDOUT'

-                                  [ <=>                                                 ]       0  --.-KB/s    in 0s      

2020-07-12 10:43:50 (0.00 B/s) - written to stdout [0/0]

gpg: no valid OpenPGP data found.