Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper 3 posts 23 karma points
    May 03, 2017 @ 14:33
    Jesper
    0

    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.

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    May 03, 2017 @ 15:06
    Nicholas Westby
    0

    I would recommend reporting this bug here: http://issues.umbraco.org/issues

  • Jesper 3 posts 23 karma points
    May 03, 2017 @ 15:14
    Jesper
    0

    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.

  • René 327 posts 852 karma points
    Nov 02, 2017 @ 09:04
    René
    0

    Hi Jesper

    I have a similar problem. Did you find a solution?

    René

  • Mike Dorst 53 posts 215 karma points
    Nov 02, 2017 @ 10:27
    Mike Dorst
    0

    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?

Please Sign in or register to post replies

Write your reply to:

Draft