Hi,
The below error is generated in the post upgrade phase of the a CommServe upgrade from 11.36.68 to 11.40.26.
Install.log
2196 7 12/10 14:17:52 ### ### ### - Performing PostUpgrade tasks for the databases...
2196 7 12/10 14:17:52 ### ### ### - Please check [E:\Program Files\Commvault\ContentStore\Log Files\DatabaseUpgrade.log] for granular details
2196 7 12/10 14:17:53 ### ### ### - Warning: ["E:\Program Files\Commvault\ContentStore\Base\CvDBUpgradeWrapper.exe" -install -phasename PostUpgrade -clientname 'CommServe' -instance Instance001 -productname ALL -ProductVersion 11.40.26 -oemId 1 -DBUpgradeDir "E:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "E:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "E:\Program Files\Commvault\ContentStore\Log Files" -DoNotBackupDB -resume ] exit code 2
2196 7 12/10 14:17:53 ### ### ### - Error: Failed to complete PostUpgrade tasks for the databases.
2196 7 12/10 14:17:53 ### ### ### - Error: Failed post install configuration for the databases.
DatabaseUpgrade.log
4616 25f4 12/10 14:17:52 ### DBUpgrade::executePhase() - <?xml version="1.0" encoding="UTF-8" standalone="no" ?><CVDBUpgrade_ProcessPhase currentFileName="UpgradePostgreSQLCredentialsToUseCM.sql" currentLstFileName="PostUpgrade.lst" currentStep="1" phaseName="PostUpgrade" resume="0"/>
24616 25f4 12/10 14:17:52 ### INIFileProcessor::validatePhase() - Validating Phase [PostUpgrade].
24616 25f4 12/10 14:17:52 ### INIFileProcessor::processPhase() - Processing Phase [PostUpgrade].
24616 25f4 12/10 14:17:52 ### INIFileProcessor::executeSQLList() - Processing list file [E:\Program Files\Commvault\ContentStore\Base\DBUpgrade\CommServer\PostUpgrade\PostUpgrade.lst].
24616 25f4 12/10 14:17:53 ### INIFileProcessor::executeSQLList() - Executing file [E:\Program Files\Commvault\ContentStore\Base\DBUpgrade\CommServer\PostUpgrade\UpgradePostgreSQLCredentialsToUseCM.sql].
24616 25f4 12/10 14:17:53 ### CVSimpleDB::SQLINFO() - INFO: [Error running script. Error code: 515 , Cannot insert the value NULL into column 'password', table 'CommServ.dbo.APP_Credentials'; column does not allow nulls. INSERT fails.] [RecNum:1, LineNum:371, Spid:74]
24616 25f4 12/10 14:17:53 ### CVSimpleDB::SQLINFO() - INFO: [ERROR CODE: 515 ERROR LINE: 139 ERROR STRING: Cannot insert the value NULL into column 'password', table 'CommServ.dbo.APP_Credentials'; column does not allow nulls. INSERT fails.] [RecNum:1, LineNum:376, Spid:74]
24616 25f4 12/10 14:17:53 ### CVSimpleDB::SQLINFO() - INFO: [Cannot insert the value NULL into column 'password', table 'CommServ.dbo.APP_Credentials'; column does not allow nulls. INSERT fails.] [RecNum:1, State:23000, NativeErr:515, RowNum:1, Severity:16, LineNum:139, Spid:74]
24616 25f4 12/10 14:17:53 ### INIFileProcessor::executeSQLList() - INFO: [Error running script. Error code: 515 , Cannot insert the value NULL into column 'password', table 'CommServ.dbo.APP_Credentials'; column does not allow nulls. INSERT fails.] [RecNum:1, LineNum:371, Spid:74] INFO: [ERROR CODE: 515 ERROR LINE: 139 ERROR STRING: Cannot insert the value NULL into column 'password', table 'CommServ.dbo.APP_Credentials'; column does not allow nulls. INSERT fails.] [RecNum:1, LineNum:376, Spid:74] INFO: [Cannot insert the value NULL into column 'password', table 'CommServ.dbo.APP_Credentials'; column does not allow nulls. INSERT fails.] [RecNum:1, State:23000, NativeErr:515, RowNum:1, Severity:16, LineNum:139, Spid:74]
24616 25f4 12/10 14:17:53 ### INIFileProcessor::executeSQLList() - Execution of file [E:\Program Files\Commvault\ContentStore\Base\DBUpgrade\CommServer\PostUpgrade\UpgradePostgreSQLCredentialsToUseCM.sql] failed
The upgrade was reverted by means of a VMWare snapshot.
I was wondering if there is a way that the offending entry in the table “CommServ.dbo.APP_Credentials” could be identified and corrected.
Thanks.
Ignes

