Solved

Fail Commvault hw refresh upgrade W2012+11.20+SQL2012 to W2022+11.32

  • 26 January 2024
  • 2 replies
  • 140 views

Badge +1

Hi,

We are installing a new server W2022 Commvault 11.32 from W2012+11.20+SQL2012 from a DR Backup. As we understand, this update path is allowed.

The process of installation was fine, but at the step restore an upgrade DB from DR Backup, The process begins and is progressing well, but fail with:

FATAL ERROR - DBScriptsPath value does not exist in DBUpgradeSteps table. This should not have happened

 

Any idea what the problem could be?
Is it necessary to move a case with support?

DatabaseUpgrade.log

…..

CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Stored Procedure: wr_UserCellSelection_CVupdate_SP20-HotFix-2352 <<<] [RecNum:1, LineNum:45, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: AlertDetectedTimeInUTC_CVupdate_SP20-HotFix-4669 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: AppFetchWebServiceURL_CVupdate_SP20-HotFix-4652 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: AppPlanGetEntityValueV2_CVupdate_SP20-HotFix-2577 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: CCSComputeTableHashRows_CVupdate_SP20-HotFix-3881 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: GetLicNameFromType_CVupdate_SP20-HotFix-2476 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: GetReportApptypeName_CVupdate_SP20-HotFix-4788 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: IsCCSSoftwareUsageValidForClient_CVupdate_SP20-HotFix-3253 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: IsOperationAllowedAndMatchedLevel_CVupdate_SP20-HotFix-2486 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: IsOperationAllowedAndMatchedLevel_CVupdate_SP20-HotFix-3328 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: IsOperationAllowedAndMatchedLevel_CVupdate_SP20-HotFix-4254 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: MMS2FUNC_GetMediaValidData_CVupdate_SP20-HotFix-4735 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: MMS2FUNC_IsMountPathHasSpaceRequired_CVupdate_SP20-HotFix-2476 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: NormalizeForXML_CVupdate_SP20-HotFix-2612 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: scgV2DaysSinceLastBkpForClient_CVupdate_SP20-HotFix-2752 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: scgV2GetClientProps_CVupdate_SP20-HotFix-3888 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: scgV2IsDeletedVMClients_CVupdate_SP20-HotFix-4321 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [>>> Dropping Function: sec_getImpersonationUserIdForReseller_CVupdate_SP20-HotFix-2346 <<<] [RecNum:1, LineNum:117, Spid:76] 
CVSimpleDB::SQLINFO() - INFO: [FATAL ERROR - DBScriptsPath value does not exist in DBUpgradeSteps table. This should not have happened.] [RecNum:1, LineNum:223, Spid:76] 
DBUpgrade::cleanupStaleSPAndFunc() - Successfully cleaned up the stale SPs and Funcs in DB.
CSDBUpgrade::addAllExtendedStoredProcsAndCreateCLRFunctions() - Add all extended procs and Create CLR Functions.
CSDBUpgrade::populateGalaxyEventMessages() - Populating Simpana Event messages for database [CommServ], ControlSet [Instance001].
CvProcess::StartProcessUnicode() - Preparing to launch process: <E:\Program Files\Commvault\ContentStore\Base\prePopulateEvents.exe>. Priority: <Normal>. Value: <32> creational flag <8>.
CSDBUpgrade::populateGalaxyEventMessages() - Failed to execute [E:\Program Files\Commvault\ContentStore\Base\prePopulateEvents.exe]. ExitCode [-1]
DBUpgrade::runUpgrade() - Main Upgrade failed for Database [CommServ].
DatabaseUpgrade() - retValue [2].
CVDBUPGRADEWRAPPER() - Return code for Product [CommServer] is [2]
CVDBUPGRADEWRAPPER() - Return Code [2]
CVDBUPGRADEWRAPPER() - [MainUpgrade] Phase Completed

 

Install.log

….

Not taking backup of databases since new packages have been selected
Performing MainUpgrade tasks for the databases...
Please check [E:\Program Files\Commvault\ContentStore\Log Files\DatabaseUpgrade.log] for granular details
Warning: ["E:\Program Files\Commvault\ContentStore\Base\CvDBUpgradeWrapper.exe" -install -phasename MainUpgrade 
Error: Failed to complete Main Upgrade tasks for the databases.
Error: Failed Main Upgrade phase for the databases.
User clicked Cancel button
Set application exit code=[Cancel]
Warning: ["E:\Program Files\Commvault\ContentStore\Base\ConfigureClientTool.exe" ] exit code 2 
Set application exit code=[Cancel]
Setup is shutting down with exit code Cancel ... 
Set application exit code=[Cancel]
 

Thanks a lot!

icon

Best answer by Sebastien Merluzzi 26 January 2024, 15:26

View original

2 replies

Userlevel 6
Badge +14

@Esierra ,

Which MR did you install.

We have a Hotfix in 32.35

https://documentation.commvault.com/2023e/expert/files/service_pack/updates/11_32_38.htm

During hardware refresh, Database upgrade may fail to execute the prepopulateevents.exe with below error. Failed to execute [C:\Program Files\Commvault\ContentStore\Base\prePopulateEvents.exe]. ExitCode [-1]

9507, 9522

 

Best Regards,

Sebastien

Badge +1

Hello Sebastien

Repeating the process but installing the software with MR 11.32.38, the update has been completed successfully

Thanks a lot!

Reply