Hello,
I’m having problems installing Kaltura on a fresh Ubuntu server 14.04.3 LTS.
It fails with the following errors:
root@nick:~# ./install_kaltura_all_in_1.sh
...
The following partially installed packages will be configured:
kaltura-base
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.
Setting up kaltura-base (10.19.0-2) ...
* apache2 is running
* Stopping web server apache2
*
* Stopping daemon monitor monit
...done.
dpkg: error processing package kaltura-base (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
kaltura-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up kaltura-base (10.19.0-2) ...
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
tr: write error: Broken pipe
tr: write error
* apache2 is not running
dpkg: error processing package kaltura-base (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
kaltura-base
Please help!
Thank you!
jess
September 10, 2015, 11:20am
2
Hello,
Please edit /var/lib/dpkg/info/kaltura-base.postinst
changing:
#!/bin/bash
to:
#!/bin/bash -x
then run:
# dpkg-reconfigure kaltura-base
and look at the debug info.
Hello,
Thank you for the reply!
I have made the change but when running
dpkg-reconfigure kaltura-base
I only get
root@nick:/var/lib/dpkg/info# dpkg-reconfigure kaltura-base
/usr/sbin/dpkg-reconfigure: kaltura-base is broken or not fully installed
You can see the entire output here (edited the file and changed the clear text passwords to ******)
http://nick.go.ro//kaltura-base-install-output.txt
as I couldn’t find any file upload option.
Thank you in advance!
jess
September 11, 2015, 11:05am
4
Hi,
Can seem to get http://nick.go.ro//kaltura-base-install-output.txt .
If I am not mistaken, I was able to view it yesterday and saw the failing step was:
# php /opt/kaltura/app/generator/generate.php
in the kaltura-base postinst.
If I am correct, then I suggest you run this manually from the shell and paste the output here.
Otherwise, please reshare the log file.
posixx
October 1, 2015, 4:14pm
5
Hello Jess,
I’m having this issue aswell. Running the command manually outputs:
PHP Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'syntax error, unexpected '(' in /opt/kaltura/app/configurations/local.ini on line 66
' in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php:184
Stack trace:
#0 /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile('/opt/kaltura/ap...')
#1 /opt/kaltura/app/alpha/config/kConf.php(158): Zend_Config_Ini->__construct('/opt/kaltura/ap...')
#2 /opt/kaltura/app/alpha/config/kConf.php(202): kConf::getMap('local')
#3 /opt/kaltura/app/alpha/config/kConf.php(223): kConf::getInternal('cache_root_path', 'local')
#4 /opt/kaltura/app/generator/bootstrap.php(19): kConf::get('cache_root_path')
#5 /opt/kaltura/app/generator/generate.php(49): require_once('/opt/kaltura/ap...')
#6 {main}
thrown in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php on line 184
Regards,
Frans
posixx
October 1, 2015, 4:31pm
6
Guys,
Reading my own output it seems using a bracket in the phonenumber field during setup results in this error. Use only numbers and you will be good to go:-)
Frans
jess
October 1, 2015, 7:58pm
7
Yep, indeed, “[” and “]” will currently cause an issue. I will correct that but making sure the string is quoted. Thanks for reporting it:)