Script modules or Scheduled Tasks are missing after performing an in-place upgrade
说明
Script modules or Scheduled Tasks missing after performing an in-place upgrade and the log located C:\ProgramData\One Identity\Active Roles\Logs\Configuration Center shows the following error.
"Error: Violation of UNIQUE KEY constraint 'UQ_ScriptModules_distinguishedName'. Cannot insert duplicate key in object 'dbo.ScriptModules'. The duplicate key value is (CN=UpdateServicesToExecute,CN=Builtin,CN=Script Modules,CN=Configuration). The statement has been terminated."
原因
UpdateServicesToExecute registry from the previous database conflicts with the existing one on the new Config DB. This issue has been identified as a product defect and is being tracked by defect 452818.
解决办法
WORKAROUND Please contact Support to get assistance to restore the missing data and rename the websites.