Kaltura db deploy ERROR

Hi,
Cannot deploy db after dropping it.

kaltura-db-config.sh FAILED with: 5723 on line 184

[root@node1 bin]# cat /opt/kaltura/log/insertContent.log
Queuing action [userRole.add]
Queuing action [user.add]
Executing multirequest
service url: [http://portal.servcast.net:80]
curl: http://portal.servcast.net:80/api_v3/service/multirequest
post: {“format”:“3”,“ignoreNull”:true,“clientTag”:“php5:16-06-24”,“apiVersion”:“3.3.0”,“0”:{“service”:“userrole”,“action”:“add”,“userRole”:{“objectType”:“KalturaUserRole”,“name”:“System Administrator”,“systemName”:“System Administrator”,“description”:“System Administrator”,“status”:“1”,“permissionNames”:"",“tags”:“admin_console”},“ks”:“YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”},“1”:{“service”:“user”,“action”:“add”,“user”:{“objectType”:“KalturaUser”,“id”:“admin@servcast.net”,“screenName”:“admin@servcast.net”,“fullName”:“Kaltura Administrator",“email”:"admin@servcast.net”,“status”:“1”,“password”:“xxxxxxx”,“isAdmin”:“1”,“roleIds”:"{1:result:id}",“allowedPartnerIds”:""},“ks”:“YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”},“kalsig”:“d33380ad8cdb9cdf8ab30ef8adaef848”}
server: [node1.servcast.net], session: [1370633599]
result (serialized): a:2:{i:0;a:4:{s:4:“code”;s:10:“INVALID_KS”;s:7:“message”;s:125:“Invalid KS “YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”, Error “-1,INVALID_STR””;s:10:“objectType”;s:19:“KalturaAPIException”;s:4:“args”;a:3:{s:4:“KSID”;s:88:“YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”;s:8:“ERR_CODE”;s:2:"-1";s:8:“ERR_DESC”;s:11:“INVALID_STR”;}}i:1;a:4:{s:4:“code”;s:10:“INVALID_KS”;s:7:“message”;s:125:“Invalid KS “YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”, Error “-1,INVALID_STR””;s:10:“objectType”;s:19:“KalturaAPIException”;s:4:“args”;a:3:{s:4:“KSID”;s:88:“YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”;s:8:“ERR_CODE”;s:2:"-1";s:8:“ERR_DESC”;s:11:“INVALID_STR”;}}}
result (object dump): Array
(
[0] => Array
(
[code] => INVALID_KS
[message] => Invalid KS “YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”, Error “-1,INVALID_STR”
[objectType] => KalturaAPIException
[args] => Array
(
[KSID] => YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7
[ERR_CODE] => -1
[ERR_DESC] => INVALID_STR
)

    )

[1] => Array
    (
        [code] => INVALID_KS
        [message] => Invalid KS "YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7", Error "-1,INVALID_STR"
        [objectType] => KalturaAPIException
        [args] => Array
            (
                [KSID] => YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7
                [ERR_CODE] => -1
                [ERR_DESC] => INVALID_STR
            )

    )

)

execution time for [http://portal.servcast.net:80/api_v3/service/multirequest]: [0.027239084243774]
Executing failed for request #1 with error [Invalid KS “YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”, Error “-1,INVALID_STR”]
PHP Fatal error: Uncaught exception ‘KalturaException’ with message ‘Invalid KS “YzFhMDU5NjQ2ZmMxZjdlZmQ3ZmNjNDBiNjhiZWU2Y2JlZGY1MWE2ZnwtMjstMjsxNDY4NDg0ODMxOzI7NzM5OTs7”, Error “-1,INVALID_STR”’ in /opt/kaltura/app/tests/standAloneClient/exec.php:351
Stack trace:
#0 {main}
thrown in /opt/kaltura/app/tests/standAloneClient/exec.php on line 351

Hi @razvan_iacob,

Yes, this will happen when you have several API nodes behind an LB.
During DB deployment, please make sure the LB is configured to point only to one of them.
Post DB deployment, you can re-enable them.

Everything works, starting live streaming functionality.
Please close this thread.