I was upgrading our test SCOM 2012 SP1 UR 4 sever to R2 and ran into the following issue:
Setup cannot be completed… Final configuration failed to install.
Everything else upgraded fine.
There was no rollback performed…. The log states “Skipping rollback for install item Final Configuration as it was not successfully installed”
Looking in OpsManagerSetupWizard.log in the section for Final Configuration I see the following:
[16:00:43]: Always: :!***** Installing: POSTINSTALL ***
[16:00:43]: Info: :SetProgressScreen: StartMinorStep.
[16:00:43]: Warn: :ApplyUpdates: Unable to load QFE file.
[16:00:43]: Always: :Doing Preinstall task for POSTINSTALL
[16:00:43]: Warn: :CheckAndLoadUpdateFiles: Unable to load QFE file.
[16:00:43]: Always: :Doing Install task for POSTINSTALL
[16:00:44]: Debug: :DoInstallTask: Found Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.PostInstall;PostInstallProcessor as type and method.
[16:00:44]: Info: :Type: Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.PostInstall Method: PostInstallProcessor
[16:00:44]: Info: :SetProgressScreen: Init Exe Install progress.
[16:00:44]: Info: :AddUninstallChangeEntry: Cleaning out existing files at the ARP file cache location D:\Program Files\System Center 2012\Operations Manager\Setup
[16:00:44]: Error: :InstallActionProcessor.DoInstallTask: method PostInstallProcessor threw exception. We will return installSuccessful = false.: Threw Exception.Type: System.Reflection.TargetInvocationException, Exception Error Code: 0x80131604, Exception.Message: Exception has been thrown by the target of an invocation.
[16:00:44]: Error: :StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.SystemCenter.Essentials.SetupFramework.InstallActionProcessor.DoInstallTask(InstallItemsInstallDataItem itemToInstall)
[16:00:44]: Error: :Inner Exception.Type: System.UnauthorizedAccessException, Exception Error Code: 0x80131604, Exception.Message: Access to the path 'EULA_EN_EVAL.RTF' is denied.
[16:00:44]: Error: :InnerException.StackTrace: at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupHelpers.ARPFileCache()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupHelpers.AddUninstallChangeEntry()
at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.PostInstall.PostInstallProcessor(Func`3 setProgressScreen)
[16:00:44]: Error: :ProcessInstalls: Install Item Final Configuration failed to install. We did not launch the post process delegate.
[16:00:44]: Always: :SetErrorType: Setting VitalFailure. currentInstallItem: Final Configuration
[16:00:44]: Info: :SetProgressScreen: FinishMinorStep.
[16:00:44]: Always: :****************************************************************
[16:00:44]: Always: :****Starting*RollBack*******************************************
[16:00:44]: Always: :****************************************************************
[16:00:44]: Info: :SetProgressScreen: StartMinorStep.
[16:00:44]: Always: :ProcessRollback: Skipping rollback for install item Final Configuration as it was not successfully installed.
[16:00:44]: Always: :****************************************************************
[16:00:44]: Always: :****Ended*RollBack**********************************************
[16:00:44]: Always: :****************************************************************
[16:00:44]: Always: :Entering Page: FinishPage
The log states “Access to the path 'EULA_EN_EVAL.RTF' is denied.” I was able to find this file in D:\Program Files\System Center 2012\Operations Manager\SetupTemp\EN, but when viewing its contents I see it was from the SP 1 upgrade as it starts off with “MICROSOFT EVALUATION SOFTWARE LICENSE TERMS MICROSOFT SYSTEM CENTER 2012 STANDARD SERVICE PACK 1.” Based on everything else referenced in the log file previously, it seems like it was trying to locate this file in D:\Program Files\System Center 2012\Operations Manager\Setup. Also, I applied the product key after installing SP1 previously, so it was not running with an evaluation license.
Running Get-SCOMManagementGroup | ft skuforlicense, version, timeofexpiration –a
gives me:
SkuForLicense Version TimeOfExpiration
------------- ------- ----------------
Retail 7.1.10226.0 12/31/9999 11:59:59 PM
The version (7.1.10226.0) is that of SCOM 2012 R2 (as I noted before, there was no rollback.) Everything seems to be functioning fine (Console, Web Console, Reporting Services.)
Is there a way to get it to re-run only the Final Configuration steps (which will probably fail again as the EULA file does not exist where it expects it)? I am not sure if there were supposed to be any further configuration steps that did not get completed, so i dont know how stable SCOM is now. Should I re-run the R2 installer? Or is it OK as is? The only info online about a SCOM Install where the final configuration failed to install dealt with an error upgrading the SCOM Console, which is not relevant to my situation. This is my test SCOM environment, running on a VM. I could revert to the pre-upgrade snapshot and see if another upgrade attempt completes successfully, but if that does work I am concerned that something like this may happen in my prod environment, which is not running on a VM, so has no ability to revert to a snapshot.