0

I have TFS 2013 v. 5 (Trial version) installed and I want to upgrade it to Azure DevOps Server 2019.

But I get the error: "Direct upgrade from Team Foundation Server 2013 is not supported. You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server".

I have removed the TFS Application Tier using the TFS Administration Console and restarted the computer. The Console shows: "This feature has been installed but needs to be configured".

The installation log contains:

[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12ExpressCoreVersionExists' to value 0
[191C:1B00][2019-10-11T06:17:51]i000: Setting string variable 'TfsDev12ServerCoreVersion' to value '12.0.40629'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12ServerCoreVersionExists' to value 1
[191C:1B00][2019-10-11T06:17:51]i000: Setting string variable 'TfsDev12SharePointExtensionsCoreVersion' to value '12.0.40629'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointExtensionsCoreVersionExists' to value 1
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointIsConfiguredExists' to value 0
[191C:1B00][2019-10-11T06:17:51]i000: Setting string variable 'TfsDev12StandardCoreVersion' to value '12.0.40629'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12StandardCoreVersionExists' to value 1
...
[1AB0:055C][2019-10-11T05:54:53]i000: Setting numeric variable 'RelatedBundleType_Upgrade' to value 1
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(VersionNT = v6.3) AND (WindowsBuildNumber < 9600)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'CompatibilityMode = 0' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'RebootPending = 1' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(VersionNT < v6.2) AND ((NetworkAvailable = 0) OR (DisableRootAutoUpdate = 1)) AND NOT ((MicrosoftRootCertificateAuthority2011RootExists OR MicrosoftRootCertificateAuthority2011AuthRootExists) AND (MicrosoftRootCertificateAuthority2010RootExists OR MicrosoftRootCertificateAuthority2010AuthRootExists))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(VersionNT = v6.3 and (NTProductType = 2 or NTProductType = 3)) AND (KB2919355_amd64_CurrentState <> 112 AND KB2919355_x86_CurrentState <> 112)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(NOT D3DCompiler_47Exists) AND (VersionNT = v6.1 OR VersionNT = v6.2) AND (Not (NetFxFullRedist_InstalledReleaseExists AND NetFxFullRedist_InstalledRelease >= 461808))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'NOT(((NTProductType = 2 or NTProductType = 3) and VersionNT >= v6.2) or (NTProductType = 1 and VersionNT >= v10.0))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'NTSuitePersonal' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'VersionNT = v10.0 and WindowsBuildNumber < 14393' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TFSDev10ATInstalled32 or TFSDev10ATInstalled64 or TFSDev10ProxyInstalled32 or TFSDev10ProxyInstalled64' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND TfsDev11SharePointExtensionsCoreVersion < v11.0.50727' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.50727) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.51106)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.51106) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.60223)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.60315) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.60430)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'TfsDev11SharePointExtensionsCoreVersionExists AND (TfsDev11SharePointExtensionsCoreVersion > v11.0.60610) AND (TfsDev11SharePointExtensionsCoreVersion < v11.0.60830)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND TfsDev12SharePointExtensionsCoreVersionExists' evaluates to true.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND AzureDevOps2019ServerCoreVersionExists AND (AzureDevOps2019ServerCoreVersion > v17.153.29207.5)' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND (AzureDevOps2019ServerCoreVersionExists AND (AzureDevOps2019ServerCoreVersion = v17.153.29207.5)) AND (AzureDevOps2019InstalledFlavorExists AND (NOT AzureDevOps2019InstalledFlavor = 4))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition '(CurrentOperation = "Install") AND ((TfsDev11SharePointIsConfiguredExists AND TfsDev11SharePointIsConfigured = 1) OR (TfsDev12SharePointIsConfiguredExists AND TfsDev12SharePointIsConfigured = 1) OR (TfsDev14SharePointIsConfiguredExists AND TfsDev14SharePointIsConfigured = 1) OR (TfsDev15SharePointIsConfiguredExists AND TfsDev15SharePointIsConfigured = 1))' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'NOT VersionNT64' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i052: Condition 'AllowUpgradeFromPreMinimumMilestoneExists' evaluates to false.
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Configuring feed...
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Stop Block: Dev12_Installed : Direct upgrade from Team Foundation Server 2013 is not supported.  You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server.
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Online feed url authoring not found
[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Stop Block: Dev12_Installed : Direct upgrade from Team Foundation Server 2013 is not supported.  You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server.
[1AB0:055C][2019-10-11T05:54:54]i000: MUX:  Go to Blocker page.
[1AB0:055C][2019-10-11T05:54:54]i199: Detect complete, result: 0x0

This line is probably the cause:

Condition '(CurrentOperation = "Install") AND TfsDev12SharePointExtensionsCoreVersionExists' evaluates to true.

It looks like it is detecting installed, but not configured, Sharepoint extensions, probably from a registry key:

[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointExtensionsCoreVersionExists' to value 1
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\TeamFoundationServer\12.0\InstalledComponents\SharePointExtensions', Value = 'IsConfigured'
[191C:1B00][2019-10-11T06:17:51]i000: Setting numeric variable 'TfsDev12SharePointIsConfiguredExists' to value 0

What am I missing?

Rye bread
  • 1,305
  • 2
  • 13
  • 36

1 Answers1

0

Your logs say you:

[1AB0:055C][2019-10-11T05:54:53]i000: MUX:  Stop Block: Dev12_Installed : Direct upgrade from Team Foundation Server 2013 is not supported.  You must uninstall Team Foundation Server 2013 before you can install this version of Azure DevOps Server.

So, you have to uninstall TFS 2013 through Control Panel->Uninstall a program. Before that check that you have unconfigured SharePoint Extensions:

enter image description here

Shamrai Aleksander
  • 13,096
  • 3
  • 24
  • 31
  • OK. I can try to roll back the server to the restore point before I removed the entire Application tier. Then I can check if Sharepoint extensions are there... and if so, remove it first. I have never used that feature. – Rye bread Oct 11 '19 at 11:14
  • I have removed the application tier using the Management console. I thought that was the appropriate way? I don't want to remove the database etc. – Rye bread Oct 11 '19 at 11:25
  • @Rugbrød 1) Before upgrade, you have to backup all your TFS Databases. 2) If you will remove TFS with `Uninstall a program`, it does not touch your databases. – Shamrai Aleksander Oct 11 '19 at 11:36
  • In this thread https://stackoverflow.com/questions/51988662/error-upgrading-to-tfs-2018 they say: "Uninstalling TFS 2013 won't change the databases. You want the backups in case the upgrade doesn't work" so it seems the backup is just a precaution. – Rye bread Oct 11 '19 at 11:46
  • @Rugbrød Yes, backup is our confidence to repeat upgrade if bad cases will have place. – Shamrai Aleksander Oct 11 '19 at 12:09