kaltura / platform-install-packages

Official deployment packages to install the Kaltura platform on a server or cluster environments using native OS package managers
GNU Affero General Public License v3.0
520 stars 242 forks source link

Ubuntu 20.04 server-all-in-1 install error on kaltura-db.postinst FAILED with: 194956 on line 236 #697

Open nyok92 opened 3 years ago

nyok92 commented 3 years ago

The install script stop at:

Dépaquetage de kaltura-db (15.10.0-1+b1) ... Paramétrage de kaltura-db (15.10.0-1+b1) ... Checking MySQL version..

CREATE USER kaltura; CREATE USER etl@'%'; CREATE DATABASE kaltura; CREATE DATABASE kaltura_sphinx_log; CREATE DATABASE kalturadw; CREATE DATABASE kalturadw_ds; CREATE DATABASE kalturadw_bisources; CREATE DATABASE kalturalog; Checking connectivity to needed daemons... Connectivity test passed:) Cleaning cache.. Populating DB with data.. please wait.. Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log Output for /opt/kaltura/app/deployment/base/scripts/insertDefaults.php being logged into /opt/kaltura/log/insertDefaults.log

kaltura-db.postinst FAILED with: 194956 on line 236

Archving logs to /opt/kaltura/log/log_10_03_21_11_59.tar.gz... dpkg: erreur de traitement du paquet kaltura-db (--configure) : installed kaltura-db package post-installation script subprocess returned error exit status 11 Des erreurs ont été rencontrées pendant l'exécution : kaltura-db E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the /opt/kaltura/log/installPlugins.log

PHP Fatal error: Uncaught Error: Call to undefined function mb_strcut() in /opt/kaltura/app/alpha/apps/kaltura/lib/model/ktagword.class.php:36 Stack trace:

0 /opt/kaltura/app/alpha/apps/kaltura/lib/model/ktagword.class.php(68): ktagword::tagsListFromParagraph()

1 /opt/kaltura/app/alpha/lib/model/entry.php(1196): ktagword::updateTags()

2 /opt/kaltura/app/deployment/base/scripts/insertDefaults.php(216): entry->setTags()

3 /opt/kaltura/app/deployment/base/scripts/insertDefaults.php(69): handleFile()

4 /opt/kaltura/app/deployment/base/scripts/insertDefaults.php(23): handleDirectory()

5 {main}

thrown in /opt/kaltura/app/alpha/apps/kaltura/lib/model/ktagword.class.php on line 36

binhhieu001 commented 3 years ago

Same issue with me, @jessp01 @lucaguindani please help on this. Thanks

binhhieu001 commented 3 years ago

Hi @nyok92

I've resolved this issue. Because missing the mbstring for php7.4, please try the command to install it and try again:

apt-get install php7.4-mbstring