You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x ] This is not a support request or question that should be posted on the Kaltura forum
Bug report
When installing kaltura-front..
the dependency kaltura-playkit-bundler fails in the init step of its installation
this is a duplicate of #690..
with a bit more details leading to a possible PR
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:
Setting up kaltura-playkit-bundler (1.2.0-1+b2) ...
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
> [email protected] preinstall /usr/local/lib/node_modules/yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)
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; generated)
Active: failed (Result: exit-code) since Wed 2021-02-10 18:04:28 CET; 14ms ago
Docs: man:systemd-sysv-generator(8)
Process: 49501 ExecStart=/etc/init.d/kaltura-playkit-bundler start (code=exited, status=2)
Feb 10 18:04:28 kaltura-all-in-one systemd[1]: Starting LSB: Start/stop Kaltura Bundle-builder-api....
Feb 10 18:04:28 kaltura-all-in-one kaltura-playkit-bundler[49501]: Need to install the forever npm module. Exiting.
Feb 10 18:04:28 kaltura-all-in-one systemd[1]: kaltura-playkit-bundler.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Feb 10 18:04:28 kaltura-all-in-one systemd[1]: kaltura-playkit-bundler.service: Failed with result 'exit-code'.
Feb 10 18:04:28 kaltura-all-in-one systemd[1]: Failed to start LSB: Start/stop Kaltura Bundle-builder-api..
dpkg: error processing package kaltura-playkit-bundler (--configure):
installed kaltura-playkit-bundler package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of kaltura-front:
log files
are not present
Linux distribution name and version:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
Are you using the RPM or deb packages?
RPM
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.5.0-2+b1 all Kaltura Open Source Video Platform
ii kaltura-clipapp 1.3-1 all Kaltura Video Presentations Manager
ii kaltura-ffmpeg 4.0.2-3+b1 amd64
ii kaltura-ffmpeg-aux 3.4.6-1+b1 amd64
ii kaltura-flexwrapper 1.2-1+b1 all Kaltura Video Presentations Manager
iU kaltura-front 16.5.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+b1 all Kaltura Open Source Video Platform - frontend server
ii kaltura-html5-studio3 3.5.0-1+b1 all Kaltura Open Source Video Platform - frontend server
ii kaltura-html5lib 2.83-1 all Kaltura Open Source Video Platform - HTML5 player
ii kaltura-html5lib3 0.54.0-1 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-7 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-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+b2 all Kaltura Open Source Video Platform - frontend server
ii kaltura-postinst 1.0.33-3+b14 all Kaltura Open Source Video Platform
ii kaltura-widgets 14.1.0-1+b1 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
percona-5.5.5
Investigation / Efforts
first attempt (forever via node)
trying to install nodejs npm beforehand and forever globally
Errors were encountered while processing:
kaltura-playkit-bundler
kaltura-front
E: Sub-process /usr/bin/dpkg returned an error code (1)
# env
SHELL=/bin/bash
(...)
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/kaltura/bin
but forever is gone
after installing forever
# ls -ali /usr/local/bin
total 8
4457 drwxr-xr-x 2 root root 4096 Feb 10 18:30 .
4456 drwxr-xr-x 10 root root 4096 Dec 10 15:27 ..
404 lrwxrwxrwx 1 root root 39 Feb 10 18:30 forever -> ../lib/node_modules/forever/bin/forever
after apt install kaltura-playkit-bundler
# ls -ali /usr/local/bin
total 8
4457 drwxr-xr-x 2 root root 4096 Feb 10 18:26 .
4456 drwxr-xr-x 10 root root 4096 Dec 10 15:27 ..
the yarn way
weirdly, when using yarn to install 'forever' it does not happen
# curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
# sh -c "echo 'deb https://dl.yarnpkg.com/debian/ stable main' >> /etc/apt/sources.list"
# apt update
# apt install nodejs yarn
# yarn global add forever
(...)# ls -ali /usr/local/bin
total 8
4457 drwxr-xr-x 2 root root 4096 Feb 10 18:47 .
4456 drwxr-xr-x 10 root root 4096 Dec 10 15:27 ..
18380 lrwxrwxrwx 1 root root 54 Feb 10 18:47 forever -> ../share/.config/yarn/global/node_modules/.bin/forever
movin on
first i thought it would be kaltura-playkit-bundler.init
but thats the init script
and then there is this info (when i did install forever via yarn and ran the install)
which tells me it wouldn't remove 'forever'
Setting up kaltura-playkit-bundler (1.2.0-1+b2) ...
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN rm not removing /usr/local/bin/forever as it wasn't installed by /usr/local/lib/node_modules/forever
The text was updated successfully, but these errors were encountered:
Bug report
When installing kaltura-front..
the dependency kaltura-playkit-bundler fails in the init step of its installation
this is a duplicate of #690..
with a bit more details leading to a possible PR
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:
Error in bash:
log files
are not present
Linux distribution name and version:
Are you using the RPM or deb packages?
For deb based systems:
Is this an all in one instance [single server] or a cluster?
If applicable, please provide the MySQL version
percona-5.5.5
Investigation / Efforts
first attempt (forever via node)
trying to install nodejs npm beforehand and forever globally
which works, but:
the PATH looks okay
after installing forever
after apt install kaltura-playkit-bundler
but forever is gone
after installing forever
after apt install kaltura-playkit-bundler
the yarn way
weirdly, when using yarn to install 'forever' it does not happen
movin on
and then there is this info (when i did install forever via yarn and ran the install)
which tells me it wouldn't remove 'forever'
The text was updated successfully, but these errors were encountered: