U4-9842 - Error updating to 7.6.0

Created by Tito 02 May 2017, 16:28:59 Updated by Stephan 26 Jun 2017, 08:23:28

Subtask of: U4-9609

I have updated from 7.2.8 to the new 7.6.0 During the update progress i have this error on the log:

2017-05-02 18:12:38,185 [P5208/D5/T37] ERROR Umbraco.Web.Install.Controllers.InstallApiController - Installation step DatabaseUpgrade failed. System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: El nombre de columna 'typeUniqueId' no es válido. Please check log file for additional information (can be found in '/App_Data/Logs/UmbracoTraceLog.txt') en Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model) --- Fin del seguimiento de la pila de la excepción interna --- en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) en Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction) 2017-05-02 18:12:38,189 [P5208/D5/T37] INFO Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 229ms) 2017-05-02 18:12:38,190 [P5208/D5/T37] ERROR Umbraco.Web.Install.Controllers.InstallApiController - An error occurred during installation step DatabaseUpgrade

Note that i have succesfully updated to 7.5 so i think it is a 7.6 update bug

Comments

Tito 02 May 2017, 16:56:57

After updating succesfully from 7.2.8 to 7.5.10 i have been able to update to 7.6 but when loading the site i get this error: ExamineSettings.config Line: 12 "<add name="InternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"

I have tried deleting Temp folder in app_data. This is what i get in the log file:

2017-05-02 18:53:24,821 [P18368/D2/T1] ERROR Umbraco.Core.CoreBootManager - An error occurred running OnApplicationStarted for handler Umbraco.Web.Search.ExamineEvents System.Configuration.ConfigurationErrorsException: Se produjo una excepción en el destino de la invocación. (D:\Webs\umbracos\vyrsa.new\config\ExamineSettings.config line 12) ---> System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.TypeInitializationException: Se produjo una excepción en el inicializador de tipo de 'Umbraco.Core.IO.FileSystemProviderManager'. ---> System.InvalidOperationException: Could not find type Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem, Our.Umbraco.FileSystemProviders.Azure. en Umbraco.Core.IO.FileSystemProviderManager.GetUnderlyingFileSystemCtor(String alias, Func1 fallback) en Umbraco.Core.IO.FileSystemProviderManager.GetUnderlyingFileSystemNoCache(String alias, Func1 fallback) en Umbraco.Core.IO.FileSystemProviderManager.<>c__DisplayClass91.<GetFileSystemProvider>b__8(String _) en System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) en Umbraco.Core.IO.FileSystemProviderManager.GetFileSystemProvider[TFileSystem](Func1 fallback) en Umbraco.Core.IO.FileSystemProviderManager.CreateWellKnownFileSystems() en Umbraco.Core.IO.FileSystemProviderManager..ctor() en Umbraco.Core.IO.FileSystemProviderManager..cctor()


Tito 02 May 2017, 17:07:42

Somehow Azure file system provider was deleted, now that error is fixed. But i cant access the backoffice with my user.. i will wait to 7.6.1 release to continue testing


Jesper Buch 03 May 2017, 15:48:45

I get the same Upgrading from 7.1.8 til 7.6.0.

the error is in the table [umbracoRelationType].
In a new 7.6.0 database the field [umbracoRelationType].[typeUniqueId] exists but not i 7.1.8.


Ole Martin Bakke 10 May 2017, 16:16:59

I get the same upgrading from 7.1.8 to 7.6.1

Error in migration TargetVersionSevenThreeZero -> AddRelationTypeForDocumentOnDelete


Jesper Buch 10 May 2017, 16:27:29

Yes it is Due in version 7.6.2


Stephan 14 Jun 2017, 12:22:03

Almost positive this has been fixed with U4-9927. Will close this issue unless someone objects to it.


Stephan 26 Jun 2017, 08:23:23

No objection = closing


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.6.0

Due in version: 7.6.5

Sprint: Sprint 62

Story Points:

Cycle: 2