Error during installation when upgrade from 7.5.3 to any version after this.
Hello all,
I hope someone will be able to shed some light on what's going on here. We are trying to upgrade our development branch to the latest version of Umbraco and we have been unable to upgrade to any version from our current version of 7.5.3.
We get the following error when we try to install the database upgrade:
The database failed to upgrade. ERROR: The database configuration failed with the following message: Cannot insert the value NULL into column 'id', table 'devwebsite.dbo.umbracoMigration'; column does not allow nulls. INSERT fails.
The statement has been terminated. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')
Here is the output of the trace log:
2017-02-27 11:01:29,950 [P7304/D5/T22] ERROR Umbraco.Web.Install.Controllers.InstallApiController - Installation step DatabaseUpgrade failed.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Cannot insert the value NULL into column 'id', table 'devwebsite.dbo.umbracoMigration'; column does not allow nulls. INSERT fails.
The statement has been terminated.
Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')
at Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model)
--- End of inner exception stack trace ---
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 Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction)
2017-02-27 11:01:29,953 [P7304/D5/T22] INFO Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 478ms)
2017-02-27 11:01:29,953 [P7304/D5/T22] ERROR Umbraco.Web.Install.Controllers.InstallApiController - An error occurred during installation step DatabaseUpgrade
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Cannot insert the value NULL into column 'id', table 'devwebsite.dbo.umbracoMigration'; column does not allow nulls. INSERT fails.
The statement has been terminated.
Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')
at Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model)
--- End of inner exception stack trace ---
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 Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction)
at Umbraco.Web.Install.Controllers.InstallApiController.PostPerformInstall(InstallInstructions installModel)
Does anyone know why we would be experiencing this?
Error during installation when upgrade from 7.5.3 to any version after this.
Hello all,
I hope someone will be able to shed some light on what's going on here. We are trying to upgrade our development branch to the latest version of Umbraco and we have been unable to upgrade to any version from our current version of 7.5.3.
We get the following error when we try to install the database upgrade:
The database failed to upgrade. ERROR: The database configuration failed with the following message: Cannot insert the value NULL into column 'id', table 'devwebsite.dbo.umbracoMigration'; column does not allow nulls. INSERT fails. The statement has been terminated. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt')
Here is the output of the trace log:
2017-02-27 11:01:29,950 [P7304/D5/T22] ERROR Umbraco.Web.Install.Controllers.InstallApiController - Installation step DatabaseUpgrade failed. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Cannot insert the value NULL into column 'id', table 'devwebsite.dbo.umbracoMigration'; column does not allow nulls. INSERT fails. The statement has been terminated. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt') at Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model) --- End of inner exception stack trace --- 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 Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction) 2017-02-27 11:01:29,953 [P7304/D5/T22] INFO Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 478ms) 2017-02-27 11:01:29,953 [P7304/D5/T22] ERROR Umbraco.Web.Install.Controllers.InstallApiController - An error occurred during installation step DatabaseUpgrade System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Umbraco.Web.Install.InstallException: The database failed to upgrade. ERROR: The database configuration failed with the following message: Cannot insert the value NULL into column 'id', table 'devwebsite.dbo.umbracoMigration'; column does not allow nulls. INSERT fails. The statement has been terminated. Please check log file for additional information (can be found in '/AppData/Logs/UmbracoTraceLog.txt') at Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep.Execute(Object model) --- End of inner exception stack trace --- 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 Umbraco.Web.Install.Controllers.InstallApiController.ExecuteStep(InstallSetupStep step, JToken instruction) at Umbraco.Web.Install.Controllers.InstallApiController.PostPerformInstall(InstallInstructions installModel)
Does anyone know why we would be experiencing this?
Thank you
Bump
Im having the same issue, did you ever find a work around?
Trev
is working on a reply...