Umbraco Database upgrade from v 7.1.8 to 7.6.0 error
I get a database error when Upgrading from 7.1.8 to 7.6.0 via VS2015 Nuget Package Manager.
The error is:
The database failed to upgrade. ERROR: The database configuration failed with the following message: Invalid column name 'typeUniqueId'. Please check log file for additional information (can be found in '/App_Data/Logs/UmbracoTraceLog.txt')
The error fom the App_Data\Logs
2017-05-03 15:56:45,514 [P21540/D22/T268] ERROR Umbraco.Web.Install.Controllers.InstallApiController - Installation step DatabaseUpgrade failed.
System.Reflection.TargetInvocationException: Destinationen for en aktivering udløste en undtagelse. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Invalid column name 'typeUniqueId'.
Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')
ved Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model)
--- Slut på staksporing af indre undtagelser ---
ved System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
ved System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
ved System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
ved Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction)
2017-05-03 15:56:45,516 [P21540/D22/T268] INFO Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 191ms)
2017-05-03 15:56:45,516 [P21540/D22/T268] ERROR Umbraco.Web.Install.Controllers.InstallApiController - An error occurred during installation step DatabaseUpgrade
System.Reflection.TargetInvocationException: Destinationen for en aktivering udløste en undtagelse. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Invalid column name 'typeUniqueId'.
Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')
ved Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model)
--- Slut på staksporing af indre undtagelser ---
ved System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
ved System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
ved System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
ved Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction)
ved Umbraco.Web.Install.Controllers.InstallApiController.PostPerformInstall(InstallInstructions installModel)
2017-05-03 15:56:56,607 [P21540/D21/T268] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: ConfigurationChange
Upgrading from 7.1.8 til 7.5.13 did not have this error.
It seems like a major showstopper and upgrading failed.
Umbraco Database upgrade from v 7.1.8 to 7.6.0 error
I get a database error when Upgrading from 7.1.8 to 7.6.0 via VS2015 Nuget Package Manager.
The error is:
The database failed to upgrade. ERROR: The database configuration failed with the following message: Invalid column name 'typeUniqueId'. Please check log file for additional information (can be found in '/App_Data/Logs/UmbracoTraceLog.txt')
The error fom the App_Data\Logs
2017-05-03 15:56:45,514 [P21540/D22/T268] ERROR Umbraco.Web.Install.Controllers.InstallApiController - Installation step DatabaseUpgrade failed. System.Reflection.TargetInvocationException: Destinationen for en aktivering udløste en undtagelse. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Invalid column name 'typeUniqueId'. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt') ved Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model) --- Slut på staksporing af indre undtagelser --- ved System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ved System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ved System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ved Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction) 2017-05-03 15:56:45,516 [P21540/D22/T268] INFO Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 191ms) 2017-05-03 15:56:45,516 [P21540/D22/T268] ERROR Umbraco.Web.Install.Controllers.InstallApiController - An error occurred during installation step DatabaseUpgrade System.Reflection.TargetInvocationException: Destinationen for en aktivering udløste en undtagelse. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Invalid column name 'typeUniqueId'. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt') ved Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model) --- Slut på staksporing af indre undtagelser --- ved System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ved System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ved System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ved Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction) ved Umbraco.Web.Install.Controllers.InstallApiController.PostPerformInstall(InstallInstructions installModel) 2017-05-03 15:56:56,607 [P21540/D21/T268] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: ConfigurationChange
Upgrading from 7.1.8 til 7.5.13 did not have this error.
It seems like a major showstopper and upgrading failed.
I would recommend reporting this bug here: http://issues.umbraco.org/issues
Thanks
There actually was a similar updgrade error from 7.2.8 til 7.6.0
http://issues.umbraco.org/issue/U4-9842#tab=Comments
The same Invalid column name 'typeUniqueId' database upgrade-error.
It is the umbracoRelationType table that has a typeUniqueId field in a new 7.6.0 but not in 7.1.8. The update script does not add that field.
Hi Jesper
I have a similar problem. Did you find a solution?
René
Not sure if this helps you but I had a similar issue when upgrading from 7.6.5 to 7.7.2.
What I did to fix it is instead of leaving
<add key="umbracoConfigurationStatus" value=" " />
empty I added an earlier version e.g 7.7.0 and it skipped the database error. Maybe if you add an earlier version as well it fixes the error?
is working on a reply...