ERROR: could not retreive partner.admin_secret for id -1

After this command:/opt/kaltura/bin/kaltura-config-all.sh, I face the problem.

kaltura-front-11.21.0-1.noarch
Is your Apache working with SSL?[Y/n]
n
It is recommended that you do work using HTTPs. Would you like to continue anyway?[N/y]
y
Which port will this Vhost listen on? [80]

Please select one of the following options [0]:
0. All web interfaces

  1. Kaltura Management Console [KMC], Hosted Apps, HTML5 lib and ClipApp
  2. KAC - Kaltura Admin Console
    0
    Enabling Apache config - apps.conf
    Enabling Apache config - var.conf
    Enabling Apache config - admin.conf

========================================================================================================================
Kaltura install answer file written to /tmp/kaltura_18_08_04_22.ans - Please save it!
This answers file can be used to silently-install re-install this machine or deploy other hosts in your cluster.

Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using li120-57.members.linode.com for ServerName
[ OK ]
Stopping memcached: [ OK ]
Starting memcached: [ OK ]
Shutting down monit: [ OK ]
Starting monit: Starting Monit 5.18 daemon with http interface at [*]:2812
[ OK ]
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Storage Profile [] not found’ in /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kPathManager.php:75
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kFileSyncUtils.class.php(965): 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), ‘{“version”:"v2…’)
#3 /opt/kaltura/app/alpha/lib/model/uiConf.php(143): uiConf->saveConfFileToDisk(’{“version”:"v2…’, ‘config’, 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 75
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Storage Profile [] not found’ in /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kPathManager.php:75
Stack trace:
#0 /opt/kaltura/app/alpha/apps/kaltura/lib/storage/kFileSyncUtils.class.php(965): 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 75
Running Sphinx config…

kaltura-sphinx-2.2.1-19.x86_64
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following script:

rm /opt/kaltura/app/base-config.lock

/opt/kaltura/bin/kaltura-base-config.sh

Starting monit: Starting Monit 5.18 daemon with http interface at [*]:2812
[ OK ]
Running Batch config…

kaltura-batch-11.21.0-1.noarch
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following script:

rm /opt/kaltura/app/base-config.lock

/opt/kaltura/bin/kaltura-base-config.sh

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.
ERROR: /opt/kaltura/bin/kaltura-batch-config.sh failed:( You can re-run it when the issue is fixed.

What should I do? I use CentOS 6 .

Hello,

I am operating under the assumption this is the second attempt of a new install and that the first attempt failed to properly populate the DB.
I suggest you drop the current corrupted DB by calling:
# /opt/kaltura/bin/kaltura-drop-db.sh

and then rerun kaltura-config-all.sh.

Note that if this is NOT a new install, then at some point something corrupted your DB, in which case, if you have backups, you should try to restore and if you do not have backups, you should first backup the current broken DB, then drop it, repopulate it and then we can see what can be salvaged from the corrupted one and imported to the new.